diff options
-rw-r--r-- | source3/nmbd/nmbd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index ec0e7d098f..f31de08d53 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -26,6 +26,7 @@ #include "serverid.h" #include "messages.h" #include "../lib/util/pidfile.h" +#include "util_cluster.h" int ClientNMB = -1; int ClientDGRAM = -1; @@ -917,6 +918,10 @@ static bool open_sockets(bool isdaemon, int port) exit(1); } + if (!cluster_probe_ok()) { + exit(1); + } + msg = messaging_init(NULL, server_event_context()); if (msg == NULL) { return 1; |