1 <samba:parameter xmlns:samba="http://samba.org/common">
2 <term><anchor id="ADDUSERTOGROUPSCRIPT"/>add user to group script (G)</term>
3 <listitem><para>Full path to the script that will be called when
4 a user is added to a group using the Windows NT domain administration
5 tools. It will be run by <citerefentry><refentrytitle>smbd</refentrytitle>
6 <manvolnum>8</manvolnum></citerefentry> <emphasis>AS ROOT</emphasis>.
7 Any <parameter moreinfo="none">%g</parameter> will be replaced with the group name and
8 any <parameter moreinfo="none">%u</parameter> will be replaced with the user name.
11 <para>Default: <command moreinfo="none">add user to group script = </command></para>
13 <para>Example: <command moreinfo="none">add user to group script = /usr/sbin/adduser %u %g</command></para>