git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7231667
)
r20895: enable ctdb backend at startup (if configured)
author
Andrew Tridgell
<tridge@samba.org>
Fri, 19 Jan 2007 04:09:32 +0000
(
04:09
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:43:47 +0000
(14:43 -0500)
(This used to be commit
e73063a0c6af927e520b3bdd7574dc7183847813
)
source4/smbd/server.c
patch
|
blob
|
history
diff --git
a/source4/smbd/server.c
b/source4/smbd/server.c
index 81ec90766e691d8fb760502f883381f89a4583f5..7f353ad6a37179e737e700addf5d760ad989f603 100644
(file)
--- 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