diff options
-rw-r--r-- | source4/smbd/server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 81ec90766e..7f353ad6a3 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -39,6 +39,7 @@ #include "smbd/service.h" #include "param/secrets.h" #include "smbd/pidfile.h" +#include "cluster/ctdb/ctdb_cluster.h" /* recursively delete a directory tree @@ -284,6 +285,9 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ should hang off that */ event_ctx = event_context_init(NULL); + /* initialise clustering if needed */ + cluster_ctdb_init(event_ctx); + if (interactive) { /* catch EOF on stdin */ #ifdef SIGTTIN |