summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-31 16:52:56 +0200
committerVolker Lendecke <vl@samba.org>2010-08-31 17:07:41 +0200
commit5648c3f67eeebee0a17cf9e7b64fb2cbfe2e2e68 (patch)
tree4623f3f0cb705b3151febb3c1952b8925b44b1ff /source3/smbd
parent808ceac9f54bb3988fc2bb6b0d86eaded07283e1 (diff)
downloadsamba-5648c3f67eeebee0a17cf9e7b64fb2cbfe2e2e68.tar.gz
samba-5648c3f67eeebee0a17cf9e7b64fb2cbfe2e2e68.tar.bz2
samba-5648c3f67eeebee0a17cf9e7b64fb2cbfe2e2e68.zip
s3: messaging_ctdbd_connection() was only called with procid_self()
Eventually we'll get this right...
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
-rw-r--r--source3/smbd/server.c3
2 files changed, 2 insertions, 3 deletions
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