mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
s4-classicupgrade: Use s3param.get_context() instead of result.lp
We should not need the guessed values here, but by changing to using the s3 loadparm context we can move this block to before the provision. Andrew Bartlett
This commit is contained in:
@ -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('"')
|
||||
|
Reference in New Issue
Block a user