mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
Don't reopen the sam.ldb again
Andrew Bartlett (This used to be commit b51b8a2d846284de4dff736fc18cf747c188de96)
This commit is contained in:
parent
a1a3089199
commit
e44f0e7b75
@ -741,8 +741,6 @@ def setup_samdb(path, setup_path, session_info, credentials, lp,
|
||||
return samdb
|
||||
|
||||
message("Pre-loading the Samba 4 and AD schema")
|
||||
samdb = SamDB(path, session_info=session_info,
|
||||
credentials=credentials, lp=lp)
|
||||
samdb.set_domain_sid(domainsid)
|
||||
if serverrole == "domain controller":
|
||||
samdb.set_invocation_id(invocationid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user