diff options
author | Marc Muehlfeld <mmuehlfeld@samba.org> | 2015-01-24 15:59:40 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-02-17 15:41:11 +0100 |
commit | 16a526be4fa1ad2731abaec3906bc55099649269 (patch) | |
tree | 959fa78eaf6ac23a53cddc5a86090f7243f5cfd5 /python | |
parent | a0cbce60f4dac2ef1086758299a48f2390e2e2ea (diff) | |
download | samba-16a526be4fa1ad2731abaec3906bc55099649269.tar.gz |
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 <mmuehlfeld@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/netcmd/group.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/samba/netcmd/group.py b/python/samba/netcmd/group.py index 4b5fd27d79c..722bcc4887f 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). """ |