1
0
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:
Stefan Metzmacher
2008-09-27 01:49:22 +02:00
parent ce46f65f17
commit fae2fce47e

View File

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