summaryrefslogtreecommitdiffstats
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-21 05:19:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:56 -0500
commit3bddf16b1f61930f58b49070f1ca8a1c7df50886 (patch)
tree5a19140c00b3a5c0213a2b5c3e1ba644881fa7a2 /source3/smbd/negprot.c
parenta4a2d795b1dc218705cf8bd148a4e59845155f7c (diff)
downloadsamba-3bddf16b1f61930f58b49070f1ca8a1c7df50886.tar.gz
samba-3bddf16b1f61930f58b49070f1ca8a1c7df50886.tar.xz
samba-3bddf16b1f61930f58b49070f1ca8a1c7df50886.zip
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)
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 2df7f45abad..b583623a4b8 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;