r20107: don't segfault when the server didn't send a supportedMech in a negTokenTarg
commitae9f7857d505d171bb1fdbca56529565ae6b2e98
authorStefan Metzmacher <metze@samba.org>
Mon, 11 Dec 2006 16:36:30 +0000 (11 16:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:29:07 +0000 (10 14:29 -0500)
tree18ebf0e6f270c659e43820f1df6e518f1912db59
parent2cd08c14a014a9326c6f42b83b4f2187bd2165b2
r20107: don't segfault when the server didn't send a supportedMech in a negTokenTarg

this happens because we send 1.2.840.113554.1.2.2 before 1.2.840.48018.1.2.2
in the negTokenInit. And w2k's spnego code redirects us to use 1.2.840.48018.1.2.2
and then we start the our spnego engine with 1.2.840.48018.1.2.2 and in the then following
negTokenTarg w2k don't send the supportedMech (which means it aggrees in what we've choosen)

metze
(This used to be commit 5af5488593991ab4a2a8e17d38501ad9ec539020)
source4/auth/gensec/spnego.c