git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4-classicupgrade: Use s3param.get_context() instead of result.lp
[samba.git]
/
source4
/
scripting
/
python
/
samba
/
upgrade.py
diff --git
a/source4/scripting/python/samba/upgrade.py
b/source4/scripting/python/samba/upgrade.py
index f363a9c02ddffa29915cbb1fbd7a217ff419986a..32d8326cf95d37ff92cd8531b7e03167761bf749 100644
(file)
--- a/
source4/scripting/python/samba/upgrade.py
+++ b/
source4/scripting/python/samba/upgrade.py
@@
-810,7
+810,7
@@
Please fix this account before attempting to upgrade again
pgids = {}
if ldap:
creds = Credentials()
- creds.guess(
result.lp
)
+ creds.guess(
s3param.get_context()
)
creds.set_bind_dn(ldapuser)
creds.set_password(ldappass)
urls = samba3.lp.get("passdb backend").split(":",1)[1].strip('"')