svn commit: samba r20895 - in branches/SAMBA_4_0/source/smbd: .

tridge at samba.org tridge at samba.org
Fri Jan 19 04:09:32 GMT 2007


Author: tridge
Date: 2007-01-19 04:09:32 +0000 (Fri, 19 Jan 2007)
New Revision: 20895

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20895

Log:

enable ctdb backend at startup (if configured)

Modified:
   branches/SAMBA_4_0/source/smbd/server.c


Changeset:
Modified: branches/SAMBA_4_0/source/smbd/server.c
===================================================================
--- branches/SAMBA_4_0/source/smbd/server.c	2007-01-19 04:08:33 UTC (rev 20894)
+++ branches/SAMBA_4_0/source/smbd/server.c	2007-01-19 04:09:32 UTC (rev 20895)
@@ -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 @@
 	   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



More information about the samba-cvs mailing list