samba-tool domain backup: Confirm the sidForRestore we will put into the backup is...
authorAndrew Bartlett <abartlet@samba.org>
Tue, 17 Nov 2020 23:11:10 +0000 (12:11 +1300)
committerStefan Metzmacher <metze@samba.org>
Thu, 26 Nov 2020 06:52:40 +0000 (06:52 +0000)
commit15609cb91986b3e29c5b1a3b6c69c04829f43eb4
treefd571c7f0dd27a9cd8e6189362913e676641210f
parent53c39a261973f5e0ea1944c82ec14812187ed03f
samba-tool domain backup: Confirm the sidForRestore we will put into the backup is free

Otherwise the administrator might only find there is a problem once they
attempt to restore the domain!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14575
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
python/samba/netcmd/domain_backup.py