git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
samba_dnsupdate: make rodc_dns_update() more robust against timing problems
[samba.git]
/
source4
/
scripting
/
bin
/
samba_upgradeprovision
diff --git
a/source4/scripting/bin/samba_upgradeprovision
b/source4/scripting/bin/samba_upgradeprovision
index 6de9d957194dbe73a4111ffc14d0c770628670df..8433b4ddd9c6edf208b34a6c6918e307201046cf 100755
(executable)
--- a/
source4/scripting/bin/samba_upgradeprovision
+++ b/
source4/scripting/bin/samba_upgradeprovision
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
# vim: expandtab
#
# Copyright (C) Matthieu Patou <mat@matws.net> 2009 - 2010
# vim: expandtab
#
# Copyright (C) Matthieu Patou <mat@matws.net> 2009 - 2010
@@
-1387,7
+1387,7
@@
def backup_provision(samdb, paths, dir, only_db):
scope=ldb.SCOPE_BASE,
attrs=["backendStore"])
if "backendStore" in res[0]:
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:
if paths.sysvol and not only_db: