validusers.xml   [plain text]


<samba:parameter name="valid users"
                 context="S"
                 xmlns:samba="http://samba.org/common">
<listitem>
    <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>

    <para>See also <link linkend="INVALIDUSERS"><parameter moreinfo="none">invalid users
    </parameter></link></para>

    <para>Default: <emphasis>No valid users list (anyone can login)
    </emphasis></para>

    <para>Example: <command moreinfo="none">valid users = greg, @pcusers</command></para>
</listitem>
</samba:parameter>