1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-05 12:22:11 +03:00

Don't reopen the sam.ldb again

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2008-04-11 19:33:52 +10:00
parent 38634183a0
commit b51b8a2d84

View File

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