summaryrefslogtreecommitdiffstats
path: root/source/smbd/open.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-06-08 22:13:59 +0000
committerJeremy Allison <jra@samba.org>2004-06-08 22:13:59 +0000
commitfa388ddce7dbfad9fa30a293b56ee7380caec20c (patch)
treec6c01d4e04f89614fb366ab72bada77577ea8e4c /source/smbd/open.c
parent897ba0bbb26575459d3ac74c19a3e59cbc379a48 (diff)
downloadsamba-fa388ddce7dbfad9fa30a293b56ee7380caec20c.tar.gz
samba-fa388ddce7dbfad9fa30a293b56ee7380caec20c.tar.xz
samba-fa388ddce7dbfad9fa30a293b56ee7380caec20c.zip
r1089: Removed spurious oplock message in deferred open processing.
Fix smb signing sequence counts. Jeremy.
Diffstat (limited to 'source/smbd/open.c')
-rw-r--r--source/smbd/open.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c
index 04e074d56eb..aca97566286 100644
--- a/source/smbd/open.c
+++ b/source/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);
}