From b15278afd88de29d88d143433e732e797e11357a Mon Sep 17 00:00:00 2001 From: Marc Muehlfeld Date: Sat, 24 Jan 2015 15:59:40 +0100 Subject: [PATCH] group.py: Fix wrong example option, remove wrong comment line Replaced "--gid" with the correct "--gid-number" in Example 3. Additionally removed the first comment line in group.py, which was wrong in that file. Signed-off-by: Marc Muehlfeld --- python/samba/netcmd/group.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/samba/netcmd/group.py b/python/samba/netcmd/group.py index 4b5fd27..722bcc4 100644 --- a/python/samba/netcmd/group.py +++ b/python/samba/netcmd/group.py @@ -1,4 +1,3 @@ -# Adds a new user to a Samba4 server # Copyright Jelmer Vernooij 2008 # # Based on the original in EJS: @@ -72,7 +71,7 @@ sudo samba-tool group add Group2 --group-type=Distribution Example2 adds a new distribution group to the local server. The command is run under root using the sudo command. Example3: -samba-tool group add Group3 --nis-domain=samdom --gid=12345 +samba-tool group add Group3 --nis-domain=samdom --gid-number=12345 Example3 adds a new RFC2307 enabled group for NIS domain samdom and GID 12345 (both options are required to enable this feature). """ -- 2.1.0