The Samba-Bugzilla – Attachment 12019 Details for
Bug 11870
Security problem? ads_sasl_spnego_gensec_bind(KRB5) failed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Possible patch for v4-4
tmp44.diff.txt (text/plain), 1.26 KB, created by
Stefan Metzmacher
on 2016-04-23 03:20:32 UTC
(
hide
)
Description:
Possible patch for v4-4
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2016-04-23 03:20:32 UTC
Size:
1.26 KB
patch
obsolete
>From c1ace78ab587d544a927e9c844b29b4cc2d7603a Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Sat, 23 Apr 2016 05:17:25 +0200 >Subject: [PATCH] auth/gensec/spnego: handle broken mechListMIC response from > Windows 2000 > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11870 > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >--- > auth/gensec/spnego.c | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > >diff --git a/auth/gensec/spnego.c b/auth/gensec/spnego.c >index 1493baf..4a2e709 100644 >--- a/auth/gensec/spnego.c >+++ b/auth/gensec/spnego.c >@@ -1081,6 +1081,24 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA > } > > if (spnego.negTokenTarg.mechListMIC.length > 0) { >+ DATA_BLOB *m = &spnego.negTokenTarg.mechListMIC; >+ const DATA_BLOB *r = &spnego.negTokenTarg.responseToken; >+ >+ /* >+ * Windows 2000 has a bug, it repeats the >+ * responseToken in the mechListMIC field. >+ */ >+ if (m->length == r->length) { >+ int cmp; >+ >+ cmp = memcmp(m->data, r->data, m->length); >+ if (cmp == 0) { >+ data_blob_free(m); >+ } >+ } >+ } >+ >+ if (spnego.negTokenTarg.mechListMIC.length > 0) { > if (spnego_state->no_response_expected) { > spnego_state->needs_mic_check = true; > } >-- >1.9.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 11870
:
12013
|
12014
|
12019