summaryrefslogtreecommitdiff
path: root/docs/Samba-HOWTO-Collection
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2005-03-24 08:07:24 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:23 -0500
commit3cf92d3200cefde62665428cb4c3951828314e01 (patch)
treed91bf437f618aab3cb36f7a276c167d5d2a61a12 /docs/Samba-HOWTO-Collection
parent425fdd6b9c77b0e9a50f19c62e1c679b31e6c16f (diff)
downloadsamba-3cf92d3200cefde62665428cb4c3951828314e01.tar.gz
samba-3cf92d3200cefde62665428cb4c3951828314e01.tar.bz2
samba-3cf92d3200cefde62665428cb4c3951828314e01.zip
Fix bug #2476.
(This used to be commit 48b7929a867fa742e96e3ccc82249fa147dbfa69)
Diffstat (limited to 'docs/Samba-HOWTO-Collection')
-rw-r--r--docs/Samba-HOWTO-Collection/FastStart.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/Samba-HOWTO-Collection/FastStart.xml b/docs/Samba-HOWTO-Collection/FastStart.xml
index 2dc995bb5a..0cc3c9cfa9 100644
--- a/docs/Samba-HOWTO-Collection/FastStart.xml
+++ b/docs/Samba-HOWTO-Collection/FastStart.xml
@@ -881,7 +881,8 @@ maryo:x:15000:15003:Mary Orville:/home/MIDEARTH/maryo:/bin/false
<smbconfoption name="delete user script">/usr/sbin/userdel -r %u</smbconfoption>
<smbconfoption name="add group script">/usr/sbin/groupadd %g</smbconfoption>
<smbconfoption name="delete group script">/usr/sbin/groupdel %g</smbconfoption>
-<smbconfoption name="add user to group script">/usr/sbin/usermod -G %g %u</smbconfoption>
+<smbconfoption name="add user to group script">/usr/sbin/groupmod -A %u %g</smbconfoption>
+<smbconfoption name="delete user from group script">/usr/sbin/groupmod -R %u %g</smbconfoption>
<smbconfoption name="add machine script">/usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u</smbconfoption>
<smbconfcomment>Note: The following specifies the default logon script.</smbconfcomment>
<smbconfcomment>Per user logon scripts can be specified in the user account using pdbedit </smbconfcomment>