From 992f1e6b8f86b346fddd266b04d29cde69585633 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 7 Apr 2004 10:15:11 +0000 Subject: Add all the source files from the old CVS tree, add the 5 missing chapters from the HOWTO and add jht's Samba by Example book. (This used to be commit 9fb5bcb93e57c5162b3ee6f9c7d777dc0269d100) --- docs/smbdotconf/logon/setprimarygroupscript.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/smbdotconf/logon/setprimarygroupscript.xml (limited to 'docs/smbdotconf/logon/setprimarygroupscript.xml') diff --git a/docs/smbdotconf/logon/setprimarygroupscript.xml b/docs/smbdotconf/logon/setprimarygroupscript.xml new file mode 100644 index 0000000000..08a3d50b4a --- /dev/null +++ b/docs/smbdotconf/logon/setprimarygroupscript.xml @@ -0,0 +1,20 @@ + + + + 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 net rpc + vampire. %u will be replaced + with the user whose primary group is to be set. + %g will be replaced with the group to + set. + + +/usr/sbin/usermod -g '%g' '%u' + -- cgit