From 538a07a80aae72b57e5c23133158c7f214d0c27a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 20 Apr 2010 14:24:22 +1000 Subject: [PATCH] s4:provisionbackend Print the command we failed to start slapd with This makes it easier to put failed startups into a debugger. Andrew Bartlett --- source4/scripting/python/samba/provisionbackend.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/scripting/python/samba/provisionbackend.py b/source4/scripting/python/samba/provisionbackend.py index 08deb4a1631..25e416ce043 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):