mirror of
https://github.com/samba-team/samba.git
synced 2025-07-15 16:59:09 +03:00
s4:provision: don't do the full provision in the become_dc
metze
This commit is contained in:
@ -744,6 +744,8 @@ def setup_samdb(path, setup_path, session_info, credentials, lp,
|
||||
|
||||
samdb = SamDB(path, session_info=session_info,
|
||||
credentials=credentials, lp=lp)
|
||||
if fill == FILL_DRS:
|
||||
return samdb
|
||||
|
||||
message("Pre-loading the Samba 4 and AD schema")
|
||||
samdb.set_domain_sid(domainsid)
|
||||
|
Reference in New Issue
Block a user