git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4-samba-tool Show when we have created the user successfully
[samba.git]
/
source4
/
scripting
/
python
/
samba
/
netcmd
/
newuser.py
diff --git
a/source4/scripting/python/samba/netcmd/newuser.py
b/source4/scripting/python/samba/netcmd/newuser.py
index 05c7bfc1bbf78cf008f643378dac1a99ec56f2da..3581340577b501e79043dff656ebbd07f93fef9f 100644
(file)
--- a/
source4/scripting/python/samba/netcmd/newuser.py
+++ b/
source4/scripting/python/samba/netcmd/newuser.py
@@
-94,3
+94,4
@@
class cmd_newuser(Command):
except Exception, e:
raise CommandError('Failed to create user "%s"' % username, e)
+ print("User %s created successfully" % username)