~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to docs-xml/smbdotconf/logon/setprimarygroupscript.xml

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>