samba-tool: Improve "delegation" command error handling
authorGiampaolo Lauria <lauria2@yahoo.com>
Fri, 21 Oct 2011 15:49:29 +0000 (11:49 -0400)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 3 Nov 2011 14:12:27 +0000 (15:12 +0100)
commit9ff2874e5e89ac297be972e0a6ef793456480a56
tree87c0dba35a94177b4f8b34f93854c70624a6c5d3
parent82c6599e154fcec7bb9c32829e092b96a3e90de7
samba-tool: Improve "delegation" command error handling

Display a more meaningful error msg when user account not found
Assert when returned number of entries is not 0 or 1
source4/scripting/python/samba/netcmd/delegation.py