samba-tool: Improve "delegation" command error handling
commit16437edf487f3159d74fea7caebe84d1c8cc07fe
authorGiampaolo Lauria <lauria2@yahoo.com>
Fri, 21 Oct 2011 16:05:07 +0000 (21 12:05 -0400)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 3 Nov 2011 14:12:27 +0000 (3 15:12 +0100)
tree96d9637564176892ef1d3967521c54d886741002
parent967ac70a35e8f42d0687c5b46013820c0bec37f9
samba-tool: Improve "delegation" command error handling

Change samdb toggle_userAccountFlags fcn to display more
meaningful error messages
Add flags string param to toggle_userAccountFlags
Change call to toggle_userAccountFlags in delegation command
to pass the flag name to be displayed in case of errors
source4/scripting/python/samba/netcmd/delegation.py
source4/scripting/python/samba/samdb.py