summaryrefslogtreecommitdiffstats
path: root/docs/smbdotconf/security/validusers.xml
blob: 313739d7c15d9a7f38277710dbedf49232e5f89a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<samba:parameter name="valid users"
                 context="S"
				 type="list"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
    <para>
    This is a list of users that should be allowed to login to this service. Names starting with 
    '@', '+' and  '&amp;' are interpreted using the same rules as described in the 
    <parameter moreinfo="none">invalid users</parameter> parameter.
    </para>

    <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>

    <para>
    The current servicename is substituted for <parameter moreinfo="none">%S</parameter>. 
    This is useful in the [homes] section.
    </para>
</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>