summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-24 04:25:37 +0000
committerJeremy Allison <jra@samba.org>2003-07-24 04:25:37 +0000
commit79e2d7c24ebc06a485d8a26c1e58c684237ef533 (patch)
treecfb44e642d956004260392b2c03c52ce9c8e6fff /source3/smbd
parent9832cd8617cc8b14545eb147d0b61361c43950c1 (diff)
downloadsamba-79e2d7c24ebc06a485d8a26c1e58c684237ef533.tar.gz
samba-79e2d7c24ebc06a485d8a26c1e58c684237ef533.tar.bz2
samba-79e2d7c24ebc06a485d8a26c1e58c684237ef533.zip
Server side NTLM signing works - until the first async packet. Working on this
next.... Jeremy. (This used to be commit eff74a1fcc597497a4c70589a44c1b70e93ab549)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 767bf84154..689059a3ca 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -318,8 +318,14 @@ static BOOL reply_spnego_ntlmssp(connection_struct *conn, char *inbuf, char *out
SSVAL(outbuf,smb_uid,sess_vuid);
- if (!server_info->guest && !srv_check_sign_mac(inbuf)) {
- exit_server("reply_spnego_ntlmssp: bad smb signature");
+ if (!server_info->guest) {
+ /* We need to start the signing engine
+ * here but a W2K client sends the old
+ * "BSRSPYL " signature instead of the
+ * correct one. Subsequent packets will
+ * be correct.
+ */
+ srv_check_sign_mac(inbuf);
}
}