samba-tool: Add exception when trying to add/remove none existent users from a group.
authorMarc Muehlfeld <mmuehlfeld@samba.org>
Sun, 12 Oct 2014 14:32:08 +0000 (16:32 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 23 Oct 2014 13:56:04 +0000 (15:56 +0200)
commit4ab6df622c81363b8acb31113016ecfbbe1ec5c4
treeeb2a63ea13a6fb072015913a0e0a6790669ba7fd
parent1c7b81e76824ce78ecc5d700b76b8a68b1beb1bd
samba-tool: Add exception when trying to add/remove none existent users from a group.

This allows a better scripting around samba-tool for adding/removing users
to/from groups. Before the output and the return code had indicated that
everything was successul.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10871

Signed-off-by: Marc Muehlfeld <mmuehlfeld@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
python/samba/samdb.py