| 1 |
<samba:parameter name="add machine script" |
| 2 |
context="G" |
| 3 |
type="string" |
| 4 |
substitution="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 "$" 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> |
| 18 |
|
| 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> |