s3-spnego: Fix Bug #6815. Windows 2008 R2 SPNEGO negTokenTarg parsing failure.
commite9797070e29898d1ceb8caa6d591d16558acf834
authorGünther Deschner <gd@samba.org>
Thu, 15 Oct 2009 14:01:36 +0000 (15 16:01 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Oct 2009 13:00:36 +0000 (20 15:00 +0200)
tree9714e7e59a2a51bf3de84d3cdfb02d70330846e7
parent6ed52d80565c5558a70a75cb634dff8b62b8794c
s3-spnego: Fix Bug #6815. Windows 2008 R2 SPNEGO negTokenTarg parsing failure.

When parsing a SPNEGO session setup retry (falling back from KRB5 to NTLMSSP),
we failed to parse the ASN1_ENUMERATED negResult in the negTokenTarg, thus
failing spnego_parse_auth() completely.

Guenther
(cherry picked from commit 78ba2e1b9e5a63443f4cd51d34c16bc7cc9c6941)
source3/Makefile.in
source3/libsmb/clispnego.c