summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-01 06:59:54 +0000
committerJeremy Allison <jra@samba.org>2003-12-01 06:59:54 +0000
commitf7dfa789c1601d92a76fe0804b095f6931a93246 (patch)
tree53fcfb4bb17ffad48b0b74fb0363655e6d2d7602
parent570f2b73b4c0088fea929bcb6beb1a17b3c1aba3 (diff)
downloadsamba-f7dfa789c1601d92a76fe0804b095f6931a93246.tar.gz
samba-f7dfa789c1601d92a76fe0804b095f6931a93246.tar.bz2
samba-f7dfa789c1601d92a76fe0804b095f6931a93246.zip
Fix spurious error msg. when seq=0.
Jeremy (This used to be commit 4912ad8f18041c9c3abe2cfa67dd26a324c9c31e)
-rw-r--r--source3/libsmb/smb_signing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/smb_signing.c b/source3/libsmb/smb_signing.c
index cb35fda220..6b2abb9ccc 100644
--- a/source3/libsmb/smb_signing.c
+++ b/source3/libsmb/smb_signing.c
@@ -764,6 +764,8 @@ isn't sending correct signatures. Turning off.\n"));
return True;
} else {
/* Mandatory signing or bad packet after signing started - fail and disconnect. */
+ if (saved_seq)
+ DEBUG(0, ("srv_check_incoming_message: BAD SIG: seq %u\n", (unsigned int)saved_seq));
return False;
}
} else {