[SCM] Samba Shared Repository - branch master updated - fae2fce47e28ccfe5f43744200ce2ae68da3a9aa

Stefan Metzmacher metze at samba.org
Sat Sep 27 00:13:05 GMT 2008


The branch, master has been updated
       via  fae2fce47e28ccfe5f43744200ce2ae68da3a9aa (commit)
      from  ce46f65f1703c23bad0544e14f8db464a93dbb1e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit fae2fce47e28ccfe5f43744200ce2ae68da3a9aa
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sat Sep 27 01:49:22 2008 +0200

    s4:provision: don't do the full provision in the become_dc
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source4/scripting/python/samba/provision.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 68f6153..427ca97 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -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)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list