From 5648c3f67eeebee0a17cf9e7b64fb2cbfe2e2e68 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 31 Aug 2010 16:52:56 +0200 Subject: s3: messaging_ctdbd_connection() was only called with procid_self() Eventually we'll get this right... --- source3/smbd/process.c | 2 +- source3/smbd/server.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 6beed4fb3f..4d34bcf858 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2899,7 +2899,7 @@ static NTSTATUS smbd_register_ips(struct smbd_server_connection *sconn, char tmp_addr[INET6_ADDRSTRLEN]; char *addr; - cconn = messaging_ctdbd_connection(procid_self()); + cconn = messaging_ctdbd_connection(); if (cconn == NULL) { return NT_STATUS_NO_MEMORY; } diff --git a/source3/smbd/server.c b/source3/smbd/server.c index aa0f7e85ab..c9ae742b99 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -729,8 +729,7 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent, #ifdef CLUSTER_SUPPORT if (lp_clustering()) { - ctdbd_register_reconfigure( - messaging_ctdbd_connection(procid_self())); + ctdbd_register_reconfigure(messaging_ctdbd_connection()); } #endif -- cgit