summaryrefslogtreecommitdiff
path: root/source3/lib/ctdbd_conn.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-08-08 20:31:03 +1000
committerMichael Adam <obnox@samba.org>2008-08-13 11:54:12 +0200
commit2f09edb492834e149fd8d70a0965edab481c80db (patch)
tree7f9189551bbcb262b75aaf056180f8511c8a7448 /source3/lib/ctdbd_conn.c
parentcb7bb555b71deb36e5d46c23dc990b112f46b528 (diff)
downloadsamba-2f09edb492834e149fd8d70a0965edab481c80db.tar.gz
samba-2f09edb492834e149fd8d70a0965edab481c80db.tar.bz2
samba-2f09edb492834e149fd8d70a0965edab481c80db.zip
register the ctdbd reconfigure message
(This used to be commit 9d3217bb28765e107c230fb90b578dcc6f5d4375)
Diffstat (limited to 'source3/lib/ctdbd_conn.c')
-rw-r--r--source3/lib/ctdbd_conn.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 45dd019efc..5fc4b7ce1f 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -353,6 +353,14 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid,
goto next_pkt;
}
+ if (msg->srvid == CTDB_SRVID_RECONFIGURE) {
+ DEBUG(0,("Got cluster reconfigure message in ctdb_read_req\n"));
+ messaging_send(conn->msg_ctx, procid_self(),
+ MSG_SMB_BRL_VALIDATE, &data_blob_null);
+ TALLOC_FREE(hdr);
+ goto next_pkt;
+ }
+
if (!(msg_state = TALLOC_P(NULL, struct deferred_msg_state))) {
DEBUG(0, ("talloc failed\n"));
TALLOC_FREE(hdr);