svn commit: samba r18772 - in branches/SAMBA_3_0/source/smbd: .
vlendec at samba.org
vlendec at samba.org
Thu Sep 21 05:19:22 GMT 2006
Author: vlendec
Date: 2006-09-21 05:19:22 +0000 (Thu, 21 Sep 2006)
New Revision: 18772
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18772
Log:
Now that we don't have a one-byte keylength in the extended security case
anymore, we don't have to truncate the length to 255 anymore.
The test I did for this: I sent 50 times the NTLMSSP oid. With truncating
Vista said Access Denied, without truncating it liked the response.
Volker
Modified:
branches/SAMBA_3_0/source/smbd/negprot.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/negprot.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/negprot.c 2006-09-21 05:07:47 UTC (rev 18771)
+++ branches/SAMBA_3_0/source/smbd/negprot.c 2006-09-21 05:19:22 UTC (rev 18772)
@@ -224,10 +224,6 @@
memcpy(p, blob.data, blob.length);
len = blob.length;
- if (len > 256) {
- DEBUG(0,("negprot_spnego: blob length too long (%d)\n", len));
- len = 255;
- }
data_blob_free(&blob);
return len;
More information about the samba-cvs
mailing list