mirror of
https://github.com/samba-team/samba.git
synced 2025-12-07 20:23:50 +03:00
python/samba: PY3 fix samba4.blackbox.upgradeprovision.release-4-0-0
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
60e7aa86d8
commit
b142e28e35
@@ -1387,7 +1387,7 @@ def backup_provision(samdb, paths, dir, only_db):
|
||||
scope=ldb.SCOPE_BASE,
|
||||
attrs=["backendStore"])
|
||||
if "backendStore" in res[0]:
|
||||
backend_store = res[0]["backendStore"][0]
|
||||
backend_store = str(res[0]["backendStore"][0])
|
||||
|
||||
|
||||
if paths.sysvol and not only_db:
|
||||
|
||||
Reference in New Issue
Block a user