summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/logon/addmachinescript.xml
blob: fdc69c9490f3e0670522dbabeb57ca8b91586d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="ADDMACHINESCRIPT"/>add machine script (G)</term>
		<listitem><para>This is the full pathname to a script that will 
		be run by <citerefentry><refentrytitle>smbd</refentrytitle>
		<manvolnum>8</manvolnum></citerefentry> when a machine is added
                to it's domain using the administrator username and password method. </para>

		<para>This option is only required when using sam back-ends tied to the
                Unix uid method of RID calculation such as smbpasswd.  This option is only
                available in Samba 3.0.</para>

		<para>Default: <command moreinfo="none">add machine script = &lt;empty string&gt;
		</command></para>	

		<para>Example: <command moreinfo="none">add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
                </command></para>
		</listitem>
		</samba:parameter>