mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
1b0690fd83
Thanks to Frans Luteijn <f.a.g.luteijn at knoware.nl> for providing the fixes! Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Jun 11 23:16:26 CEST 2012 on sn-devel-104
21 lines
844 B
XML
21 lines
844 B
XML
<samba:parameter name="set primary group script"
|
|
context="G"
|
|
type="string"
|
|
advanced="1" developer="1"
|
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
|
<description>
|
|
|
|
<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 user database 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>
|
|
</description>
|
|
<value type="default"></value>
|
|
<value type="example">/usr/sbin/usermod -g '%g' '%u'</value>
|
|
</samba:parameter>
|