1 <samba:parameter name="set primary group script"
4 advanced="1" developer="1"
5 xmlns:samba="http://samba.org/common">
8 <para>Thanks to the Posix subsystem in NT a Windows User has a
9 primary group in addition to the auxiliary groups. This script
10 sets the primary group in the unix userdatase when an
11 administrator sets the primary group from the windows user
12 manager or when fetching a SAM with <command>net rpc
13 vampire</command>. <parameter>%u</parameter> will be replaced
14 with the user whose primary group is to be set.
15 <parameter>%g</parameter> will be replaced with the group to
18 <value type="default"></value>
19 <value type="example">/usr/sbin/usermod -g '%g' '%u'</value>