Merge Samba3 and Samba4 together
[amitay/samba.git] / docs-xml / smbdotconf / logon / setprimarygroupscript.xml
1 <samba:parameter name="set primary group 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
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
16         set.</para>
17 </description>
18 <value type="default"></value>
19 <value type="example">/usr/sbin/usermod -g '%g' '%u'</value>
20 </samba:parameter>