Bug 11072 - Wrong example option and comment in group.py
Wrong example option and comment in group.py
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools
All All
: P5 trivial
: ---
Assigned To: Marc Muehlfeld
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2015-01-24 15:02 UTC by Marc Muehlfeld
Modified: 2016-08-26 00:12 UTC (History)
0 users

See Also:

patch for master (1.28 KB, text/plain)
2015-01-24 15:03 UTC, Marc Muehlfeld
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Muehlfeld 2015-01-24 15:02:30 UTC
Two small things to fix in python/samba/netcmd/group.py:

> $ samba-tool group add --help
> ...
> Example3:
> samba-tool group add Group3 --nis-domain=samdom --gid=12345

The "--gid" has to be "--gid-number".

Also the first line in python/samba/netcmd/group.py contains a wrong comment:
> # Adds a new user to a Samba4 server

This line should be removed. group.py contain group stuff.
Comment 1 Marc Muehlfeld 2015-01-24 15:03:23 UTC
Created attachment 10661 [details]
patch for master

Patch for master, that fixes both.
Comment 2 Marc Muehlfeld 2016-08-26 00:12:02 UTC
Fix was fixed in 4.4.0.