summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 9a30d1fdc2..8dba3b2d77 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -368,9 +368,11 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid,
(msg->srvid == CTDB_SRVID_RECONFIGURE)
? "cluster reconfigure" : "SAMBA_NOTIFY"));
- messaging_send(conn->msg_ctx, procid_self(),
+ messaging_send(conn->msg_ctx,
+ messaging_server_id(conn->msg_ctx),
MSG_SMB_BRL_VALIDATE, &data_blob_null);
- messaging_send(conn->msg_ctx, procid_self(),
+ messaging_send(conn->msg_ctx,
+ messaging_server_id(conn->msg_ctx),
MSG_DBWRAP_G_LOCK_RETRY,
&data_blob_null);
TALLOC_FREE(hdr);
@@ -564,10 +566,12 @@ static NTSTATUS ctdb_handle_message(uint8_t *buf, size_t length,
* family has passed away (SAMBA_NOTIFY), we need to
* clean the brl database
*/
- messaging_send(conn->msg_ctx, procid_self(),
+ messaging_send(conn->msg_ctx,
+ messaging_server_id(conn->msg_ctx),
MSG_SMB_BRL_VALIDATE, &data_blob_null);
- messaging_send(conn->msg_ctx, procid_self(),
+ messaging_send(conn->msg_ctx,
+ messaging_server_id(conn->msg_ctx),
MSG_DBWRAP_G_LOCK_RETRY,
&data_blob_null);