[SCM] Samba Shared Repository - branch master updated

Andrew Bartlett abartlet at samba.org
Mon Apr 19 22:25:41 MDT 2010


The branch, master has been updated
       via  538a07a... s4:provisionbackend Print the command we failed to start slapd with
      from  ea5cf7c... s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()

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


- Log -----------------------------------------------------------------
commit 538a07a80aae72b57e5c23133158c7f214d0c27a
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Apr 20 14:24:22 2010 +1000

    s4:provisionbackend Print the command we failed to start slapd with
    
    This makes it easier to put failed startups into a debugger.
    
    Andrew Bartlett

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

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


Changeset truncated at 500 lines:

diff --git a/source4/scripting/python/samba/provisionbackend.py b/source4/scripting/python/samba/provisionbackend.py
index 08deb4a..25e416c 100644
--- a/source4/scripting/python/samba/provisionbackend.py
+++ b/source4/scripting/python/samba/provisionbackend.py
@@ -232,7 +232,8 @@ class LDAPBackend(ProvisionBackend):
                 return
             except LdbError:
                 time.sleep(1)
-        
+
+        self.message("Could not start slapd with: %s" %  "\'" + "\' \'".join(self.slapd_provision_command) + "\'")
         raise ProvisioningError("slapd died before we could make a connection to it")
 
     def shutdown(self):


-- 
Samba Shared Repository


More information about the samba-cvs mailing list