1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00
samba-mirror/docs-xml/smbdotconf/logon/setprimarygroupscript.xml
Gerald W. Carter 8f8a9f0190 Moving docs tree to docs-xml to make room for generated docs in the release tarball.
(This used to be commit 9f672c26d63955f613088489c6efbdc08b5b2d14)
2008-04-23 08:47:48 -05:00

21 lines
841 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 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>
</description>
<value type="default"></value>
<value type="example">/usr/sbin/usermod -g '%g' '%u'</value>
</samba:parameter>