diff options
author | Jeremy Allison <jra@samba.org> | 2003-10-21 17:40:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-10-21 17:40:48 +0000 |
commit | 630a77e50f0d12e7f91f10ec68bbb836edf62791 (patch) | |
tree | 2c07566fd1150dadbb3563937274bc9822f7011f /source3/smbd | |
parent | 718634017933bbf39526b834981cde92cfe7a2da (diff) | |
download | samba-630a77e50f0d12e7f91f10ec68bbb836edf62791.tar.gz samba-630a77e50f0d12e7f91f10ec68bbb836edf62791.tar.bz2 samba-630a77e50f0d12e7f91f10ec68bbb836edf62791.zip |
Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy.
(This used to be commit 419834edee09567c8523ad3afba674a12504282d)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/notify.c | 2 | ||||
-rw-r--r-- | source3/smbd/open.c | 2 | ||||
-rw-r--r-- | source3/smbd/process.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index ca6f2b783f..9adf827c79 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), True); + srv_defer_sign_response(SVAL(inbuf,smb_mid)); return True; } diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 71af23aaf9..ef7ace862a 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -631,7 +631,7 @@ dev = %x, inode = %.0f\n", *p_oplock_request, share_entry->op_type, fname, (unsi /* This isn't a real deferred packet as it's response will also increment * the sequence. */ - srv_defer_sign_response(get_current_mid(), False); + srv_defer_sign_response(get_current_mid()); /* Oplock break - unlock to request it. */ unlock_share_entry(conn, dev, inode); diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 3c15cd1833..43ffb82bd7 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -97,7 +97,7 @@ static BOOL push_message(ubi_slList *list_head, char *buf, int msg_len) ubi_slAddTail( list_head, msg); /* Push the MID of this packet on the signing queue. */ - srv_defer_sign_response(SVAL(buf,smb_mid), True); + srv_defer_sign_response(SVAL(buf,smb_mid)); return True; } |