samba-tool: let 'samba-tool user syncpasswords' report deletions immediately
commitc7bead74bf782b2c8190c9c246d00aecbdadca73
authorStefan Metzmacher <metze@samba.org>
Tue, 25 Apr 2017 11:25:57 +0000 (25 13:25 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 12 May 2017 06:54:19 +0000 (12 08:54 +0200)
treefdc46b28b525601388f8c18a3f343adf0798e9eb
parentade0e8f473acd4c02537ab1177c114e035351014
samba-tool: let 'samba-tool user syncpasswords' report deletions immediately

We need to use the show-recycled control in addition to the
notification control in order to get notifications about deletions.

There's no real problem as the next modification will report the deletion.
But it might be delayed a few minutes.

Note that show-recycled is a superset of show-deleted, so we only need one.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit afa15e6128473d3e4006f7cdc3762ab4c1cba05a)
python/samba/netcmd/user.py