Clarify that you don't want to use %m in 'add machine script'.
[Samba.git] / docs / smbdotconf / logon / addmachinescript.xml
blob08e255d00906075d416455bc24b1ce546cd9acd1
1 <samba:parameter name="add machine script"
2                  context="G"
3                                  type="string"
4                  advanced="1" developer="1"
5                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <description>
7         <para>
8         This is the full pathname to a script that will  be run by
9         <citerefentry><refentrytitle>smbd</refentrytitle> <manvolnum>8</manvolnum></citerefentry> when a machine is
10         added to Samba's domain and a Unix account matching the machine's name appended with a &quot;$&quot; does not
11         already exist.
12         </para>
13         <para>This option is very similar to the <smbconfoption
14         name="add user script"/>, and likewise uses the %u
15         substitution for the account name.  Do not use the %m
16         substitution.  </para>
17 </description>
19 <value type="default"/>
20 <value type="example">/usr/sbin/adduser -n -g machines -c Machine -d /var/lib/nobody -s /bin/false %u</value>
21 </samba:parameter>