struct ctdbd_connection *messaging_ctdbd_connection(void)
{
+ if (!lp_clustering()) {
+ return NULL;
+ }
+
if (global_ctdb_connection_pid == 0 &&
global_ctdbd_connection == NULL) {
struct event_context *ev;
DEBUG(0,("event_context_init failed\n"));
}
- msg = messaging_init(NULL, procid_self(), ev);
+ msg = messaging_init(NULL, ev);
if (!msg) {
DEBUG(0,("messaging_init failed\n"));
return NULL;
return NT_STATUS_NOT_IMPLEMENTED;
}
+struct ctdbd_connection *messaging_ctdbd_connection(void)
+{
+ return NULL;
+}
+
#endif