s4-dsdb Add ability to force a particular SID in the upgrade case
[idra/samba.git] / source3 / libsmb / smb2cli_flush.c
index b93c7851f1cc7522ba79cf49f275e385b8d150ae..6fe7178d8676ccae4ec80024d44fa5841be3dd70 100644 (file)
@@ -51,7 +51,11 @@ struct tevent_req *smb2cli_flush_send(TALLOC_CTX *mem_ctx,
        SBVAL(fixed, 8, fid_persistent);
        SBVAL(fixed, 16, fid_volatile);
 
-       subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_FLUSH, 0,
+       subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_FLUSH,
+                                 0, 0, /* flags */
+                                 cli->smb2.pid,
+                                 cli->smb2.tid,
+                                 cli->smb2.uid,
                                  state->fixed, sizeof(state->fixed),
                                  NULL, 0);
        if (tevent_req_nomem(subreq, req)) {