summaryrefslogtreecommitdiff
path: root/source3/smbd/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r--source3/smbd/open.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 04e074d56e..aca9756628 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -862,6 +862,16 @@ deferred open entry for mid %u, file %s\n",
if (!add_deferred_open(mid, ptv, dev, inode, global_oplock_port, fname)) {
remove_sharing_violation_open_smb_message(mid);
}
+
+ /*
+ * Push the MID of this packet on the signing queue.
+ * We only do this once, the first time we push the packet
+ * onto the deferred open queue, as this has a side effect
+ * of incrementing the response sequence number.
+ */
+
+ srv_defer_sign_response(mid);
+
SAFE_FREE(de_array);
}