2004-04-07 14:15:11 +04:00
<samba:parameter name= "valid users"
context="S"
2015-07-23 18:19:19 +03:00
type="cmdlist"
2005-03-13 01:41:20 +03:00
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
2004-04-07 14:15:11 +04:00
<description >
2005-08-25 20:49:40 +04:00
<para >
This is a list of users that should be allowed to login to this service. Names starting with
'@', '+' and '& ' are interpreted using the same rules as described in the
<parameter moreinfo= "none" > invalid users</parameter> parameter.
</para>
2004-04-07 14:15:11 +04:00
2005-08-25 20:49:40 +04:00
<para >
If this is empty (the default) then any user can login. If a username is in both this list
and the <parameter moreinfo= "none" > invalid users</parameter> list then access is denied
for that user.
</para>
2004-04-07 14:15:11 +04:00
2005-08-25 20:49:40 +04:00
<para >
The current servicename is substituted for <parameter moreinfo= "none" > %S</parameter> .
This is useful in the [homes] section.
</para>
2013-09-17 14:47:58 +04:00
<para > <emphasis > Note: </emphasis> When used in the [global] section this
parameter may have unwanted side effects. For example: If samba is configured as a MASTER BROWSER (see
<parameter moreinfo= "none" > local master</parameter> ,
<parameter moreinfo= "none" > os level</parameter> ,
<parameter moreinfo= "none" > domain master</parameter> ,
<parameter moreinfo= "none" > preferred master</parameter> ) this option
will prevent workstations from being able to browse the network.
</para>
2004-04-07 14:15:11 +04:00
</description>
<related > invalid users</related>
<value type= "default" > <comment > No valid users list (anyone can login) </comment> </value>
<value type= "example" > greg, @pcusers</value>
</samba:parameter>