s3:ctdb: pass the ctdb control flags to the ctdb daemon when sending the control
authorMichael Adam <obnox@samba.org>
Tue, 8 Mar 2011 15:26:34 +0000 (16:26 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 31 Mar 2011 16:10:22 +0000 (18:10 +0200)
The only flag that is currently used is the NOREPLY flag to indicate that
the client expects no reply packet. This needs to get passed down to the
ctdb daemon so that it really does not send a reply.

source3/lib/ctdbd_conn.c

index cad28a8cd69b636e5953f459f1355cc6a207e015..a81691a8c9fc12b0e31c0446ede02da7ffac7e68 100644 (file)
@@ -818,6 +818,7 @@ static NTSTATUS ctdbd_control(struct ctdbd_connection *conn,
        req.opcode           = opcode;
        req.srvid            = srvid;
        req.datalen          = data.dsize;
+       req.flags            = flags;
 
        DEBUG(10, ("ctdbd_control: Sending ctdb packet\n"));
        ctdb_packet_dump(&req.hdr);