1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s4:provisionbackend Print the command we failed to start slapd with

This makes it easier to put failed startups into a debugger.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2010-04-20 14:24:22 +10:00
parent ea5cf7ce05
commit 538a07a80a

View File

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