svn commit: samba r2098 - in branches/SAMBA_4_0/source/torture/auth: .

abartlet at samba.org abartlet at samba.org
Mon Aug 30 01:26:28 GMT 2004


Author: abartlet
Date: 2004-08-30 01:26:28 +0000 (Mon, 30 Aug 2004)
New Revision: 2098

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/torture/auth&rev=2098&nolog=1

Log:
The first 8 bytes of this sig is not used in the 'is it correct' calculation.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/auth/ntlmssp.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/auth/ntlmssp.c
===================================================================
--- branches/SAMBA_4_0/source/torture/auth/ntlmssp.c	2004-08-29 11:40:03 UTC (rev 2097)
+++ branches/SAMBA_4_0/source/torture/auth/ntlmssp.c	2004-08-30 01:26:28 UTC (rev 2098)
@@ -95,7 +95,7 @@
 		return False;
 	}
 
-	if (memcmp(sig.data, expected_sig.data, sig.length)) {
+	if (memcmp(sig.data+8, expected_sig.data+8, sig.length-8)) {
 		return False;
 	}
 



More information about the samba-cvs mailing list