messaging_send(conn->msg_ctx, procid_self(),
MSG_SMB_BRL_VALIDATE, &data_blob_null);
- /*
- * it's possible that we have just rejoined the cluster after
- * an outage. In that case our pending locks could have been
- * removed from the lockdb, so retry them once more
- */
- message_send_all(conn->msg_ctx, MSG_SMB_UNLOCK, NULL, 0, NULL);
-
messaging_send(conn->msg_ctx, procid_self(),
MSG_DBWRAP_G_LOCK_RETRY,
&data_blob_null);
struct ctdbd_connection *new_conn = NULL;
NTSTATUS status;
- /* the samba3 ctdb code can't handle NOREPLY yet */
- flags &= ~CTDB_CTRL_FLAG_NOREPLY;
-
if (conn == NULL) {
status = ctdbd_init_connection(NULL, &new_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);
if (flags & CTDB_CTRL_FLAG_NOREPLY) {
TALLOC_FREE(new_conn);
+ if (cstatus) {
+ *cstatus = 0;
+ }
return NT_STATUS_OK;
}