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)
committerKarolin Seeger <kseeger@samba.org>
Tue, 13 Jul 2021 12:31:15 +0000 (12:31 +0000)
commit6e284db78779aae20b49300ae304c5b643f31b7d
tree0d344ac4f5d677836c32c76174466a77b178eb7c
parentb01c4526fef64ac7458459111d0715434ca3f2a2
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>
(cherry picked from commit 15609cb91986b3e29c5b1a3b6c69c04829f43eb4)
python/samba/netcmd/domain_backup.py