summaryrefslogtreecommitdiffstats
path: root/docs/docbook/smbdotconf/logon/setprimarygroupscript.xml
blob: c19c307417430460d967f332c8f71c20b72aa0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<samba:parameter name="set primary group script"
                 context="G"
                 advanced="1" developer="1"
                 xmlns:samba="http://samba.org/common">
<listitem>

	<para>Thanks to the Posix subsystem in NT a Windows User has a
	primary group in addition to the auxiliary groups.  This script
	sets the primary group in the unix userdatase when an
	administrator sets the primary group from the windows user
	manager or when fetching a SAM with <command>net rpc
	vampire</command>. <parameter>%u</parameter> will be replaced
	with the user whose primary group is to be set. 
	<parameter>%g</parameter> will be replaced with the group to
	set.</para>

	<para>Default: <emphasis>No default value</emphasis></para>

	<para>Example: <command>set primary group script = /usr/sbin/usermod -g '%g' '%u'</command></para>
</listitem>
</samba:parameter>