1 <samba:parameter name="only user"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <para>This is a boolean option that controls whether
7 connections with usernames not in the <parameter moreinfo="none">user</parameter>
8 list will be allowed. By default this option is disabled so that a
9 client can supply a username to be used by the server. Enabling
10 this parameter will force the server to only use the login
11 names from the <parameter moreinfo="none">user</parameter> list and is only really
12 useful in <smbconfoption name="security">share</smbconfoption> level security.</para>
14 <para>Note that this also means Samba won't try to deduce
15 usernames from the service name. This can be annoying for
16 the [homes] section. To get around this you could use <command moreinfo="none">user =
17 %S</command> which means your <parameter moreinfo="none">user</parameter> list
18 will be just the service name, which for home directories is the
19 name of the user.</para>
22 <related>user</related>
24 <value type="default">no</value>