summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMarc Muehlfeld <mmuehlfeld@samba.org>2014-08-06 19:52:21 +0200
committerDavid Disseldorp <ddiss@samba.org>2014-08-06 22:26:15 +0200
commit679d77a2267bfdee99c57665b530580807f83f80 (patch)
treec16db3b02001e8f99b6607ad433263777f3de0f8 /python
parent332eeb8bc152a7ba10c81c92cd8aec21733692c3 (diff)
downloadsamba-679d77a2267bfdee99c57665b530580807f83f80.tar.gz
samba-679d77a2267bfdee99c57665b530580807f83f80.tar.xz
samba-679d77a2267bfdee99c57665b530580807f83f80.zip
Redescribe --userou usage
Signed-off-by: Marc Muehlfeld <mmuehlfeld@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/netcmd/user.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/netcmd/user.py b/python/samba/netcmd/user.py
index b98ec344b2..24dd77df56 100644
--- a/python/samba/netcmd/user.py
+++ b/python/samba/netcmd/user.py
@@ -62,7 +62,7 @@ sudo samba-tool user add User2 passw2rd --given-name=Jane --surname=Doe --must-c
Example2 shows how to create a new user in the domain against the local server. sudo is used so a user may run the command as root. In this example, after User2 is created, he/she will be forced to change their password when they logon.
Example3:
-samba-tool user add User3 passw3rd --userou=OrgUnit
+samba-tool user add User3 passw3rd --userou='OU=OrgUnit'
Example3 shows how to create a new user in the OrgUnit organizational unit.
@@ -87,7 +87,7 @@ Example4 shows how to create a new user with Unix UID, GID and login-shell set f
help="Force use of username as user's CN",
action="store_true"),
Option("--userou",
- help="Alternative location (without domainDN counterpart) to default CN=Users in which new user object will be created",
+ help="DN of alternative location (without domainDN counterpart) to default CN=Users in which new user object will be created. E. g. 'OU=<OU name>'",
type=str),
Option("--surname", help="User's surname", type=str),
Option("--given-name", help="User's given name", type=str),