diff options
author | Jeremy Allison <jra@samba.org> | 2003-08-07 02:59:52 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-08-07 02:59:52 +0000 |
commit | 85907f02cec566502d9e4adabbd414020a26064d (patch) | |
tree | d9be2db9ee2aee236bb7b3c14547e5163de53f4f /source/smbd/blocking.c | |
parent | cb326c2dbff1fad87d5c72df4a004d5a42d17472 (diff) | |
download | samba-85907f02cec566502d9e4adabbd414020a26064d.tar.gz |
Turns out I had my packet sequences wrong for oplock break code.
I was storing the mid of the oplock break - I should have been
storing the mid from the open. There are thus 2 types of deferred
packet sequence returns - ones that increment the sequence number
(returns from oplock causing opens) and ones that don't (change notify
returns etc). Running with signing forced on does lead to some
interesting tests :-).
Jeremy.
Diffstat (limited to 'source/smbd/blocking.c')
-rw-r--r-- | source/smbd/blocking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/blocking.c b/source/smbd/blocking.c index fed3a51b885..8fa2a6494e3 100644 --- a/source/smbd/blocking.c +++ b/source/smbd/blocking.c @@ -148,7 +148,7 @@ for fnum = %d, name = %s\n", length, (int)blr->expire_time, lock_timeout, blr->fsp->fnum, blr->fsp->fsp_name )); /* Push the MID of this packet on the signing queue. */ - srv_defer_sign_response(SVAL(inbuf,smb_mid)); + srv_defer_sign_response(SVAL(inbuf,smb_mid), True); return True; } |