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:
parent
ea5cf7ce05
commit
538a07a80a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user