sync packagaing with SAMBA_3_0
[kai/samba.git] / docs / docbook / smbdotconf / security / onlyuser.xml
1 <samba:parameter xmlns:samba="http://samba.org/common">
2                 <term><anchor id="ONLYUSER"/>only user (S)</term>
3                 <listitem><para>This is a boolean option that controls whether 
4                 connections with usernames not in the <parameter moreinfo="none">user</parameter> 
5                 list will be allowed. By default this option is disabled so that a 
6                 client can supply a username to be used by the server.  Enabling
7                 this parameter will force the server to only use the login 
8                 names from the <parameter moreinfo="none">user</parameter> list and is only really
9                 useful in <link linkend="SECURITYEQUALSSHARE">share level</link>
10                 security.</para>
11
12                 <para>Note that this also means Samba won't try to deduce 
13                 usernames from the service name. This can be annoying for 
14                 the [homes] section. To get around this you could use <command moreinfo="none">user =
15                 %S</command> which means your <parameter moreinfo="none">user</parameter> list
16                 will be just the service name, which for home directories is the 
17                 name of the user.</para>
18
19                 <para>See also the <link linkend="USER"><parameter moreinfo="none">user</parameter>
20                 </link> parameter.</para>
21
22                 <para>Default: <command moreinfo="none">only user = no</command></para>
23                 </listitem>
24                 </samba:parameter>