summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-10-21 17:40:58 +0000
committerJeremy Allison <jra@samba.org>2003-10-21 17:40:58 +0000
commit3fe18a46a33cc1c0a0ecfefc61618356d7746a15 (patch)
treea352e8c8fbaa21ce7560902b8cc7262cbaec0da3 /source3/smbd
parentda8048b4fa8b60ec3cb3033d19d4a451f259befb (diff)
downloadsamba-3fe18a46a33cc1c0a0ecfefc61618356d7746a15.tar.gz
samba-3fe18a46a33cc1c0a0ecfefc61618356d7746a15.tar.bz2
samba-3fe18a46a33cc1c0a0ecfefc61618356d7746a15.zip
Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy. (This used to be commit 63f331564396e7a4f16dce95bb98d3b6c4b75351)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/notify.c2
-rw-r--r--source3/smbd/open.c2
-rw-r--r--source3/smbd/process.c2
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;
}