From 3bddf16b1f61930f58b49070f1ca8a1c7df50886 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 21 Sep 2006 05:19:22 +0000 Subject: r18772: 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 (This used to be commit f1512cb43c69338d4f2cb806486c4f5db51cf695) --- source3/smbd/negprot.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 2df7f45aba..b583623a4b 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -224,10 +224,6 @@ static int negprot_spnego(char *p) 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; -- cgit