1
0
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:
Noel Power
2018-10-05 15:10:52 +01:00
committed by Andrew Bartlett
parent 60e7aa86d8
commit b142e28e35
2 changed files with 4 additions and 4 deletions

View File

@@ -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: