summaryrefslogtreecommitdiff
path: root/source3/smbd/notify.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-07 02:59:52 +0000
committerJeremy Allison <jra@samba.org>2003-08-07 02:59:52 +0000
commit110abf10d208769bf6bcfc0604874cb1bed0406a (patch)
tree6d858a20f96b11318095705040bdf416fd2b0cd6 /source3/smbd/notify.c
parent4461109416e8dc42903e6990306d059b8837dd8e (diff)
downloadsamba-110abf10d208769bf6bcfc0604874cb1bed0406a.tar.gz
samba-110abf10d208769bf6bcfc0604874cb1bed0406a.tar.bz2
samba-110abf10d208769bf6bcfc0604874cb1bed0406a.zip
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. (This used to be commit 85907f02cec566502d9e4adabbd414020a26064d)
Diffstat (limited to 'source3/smbd/notify.c')
-rw-r--r--source3/smbd/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 9adf827c79..ca6f2b783f 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -199,7 +199,7 @@ BOOL change_notify_set(char *inbuf, files_struct *fsp, connection_struct *conn,
DLIST_ADD(change_notify_list, cnbp);
/* 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;
}