samba-tool: added error handling for the user command
authorGiampaolo Lauria <lauria2@yahoo.com>
Fri, 15 Jul 2011 19:23:36 +0000 (15:23 -0400)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Jul 2011 01:44:30 +0000 (11:44 +1000)
commit7c8b53a49ed5fc6d811eafe15ffd247d06404946
tree7b44336a32e6bf6c9882977feb7998e03a3163f0
parenta10e231b3b21a69783d97170652b95c547d4a44c
samba-tool: added error handling for the user command

Caught exception whenever possible, added new check for newpassword to make sure it contains some chars

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/scripting/python/samba/netcmd/user.py