git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18f4713
)
r18772: Now that we don't have a one-byte keylength in the extended security case
author
Volker Lendecke
<vlendec@samba.org>
Thu, 21 Sep 2006 05:19:22 +0000
(
05:19
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:00:56 +0000
(12:00 -0500)
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
source/smbd/negprot.c
patch
|
blob
|
history
diff --git
a/source/smbd/negprot.c
b/source/smbd/negprot.c
index 2df7f45abad05a2d7d6b228b7a161834972b0809..b583623a4b828d8ab7bbd14094993a32b1ef7732 100644
(file)
--- a/
source/smbd/negprot.c
+++ b/
source/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;