summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/security/validusers.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/smbdotconf/security/validusers.xml')
-rw-r--r--docs/smbdotconf/security/validusers.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/smbdotconf/security/validusers.xml b/docs/smbdotconf/security/validusers.xml
new file mode 100644
index 0000000000..28cc576e67
--- /dev/null
+++ b/docs/smbdotconf/security/validusers.xml
@@ -0,0 +1,23 @@
+<samba:parameter name="valid users"
+ context="S"
+ type="list"
+ xmlns:samba="http://samba.org/common">
+<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>