mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r20895: enable ctdb backend at startup (if configured)
(This used to be commit e73063a0c6
)
This commit is contained in:
parent
72316674bf
commit
864e228f50
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user