s3:ntlm_auth: support clients which offer a spnego mechs we don't support (bug #7855)
authorStefan Metzmacher <metze@samba.org>
Wed, 1 Dec 2010 23:39:23 +0000 (00:39 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sat, 5 Mar 2011 13:34:43 +0000 (14:34 +0100)
commit1ad454de40092897783d09c8a3cd3f22f3872466
treebbf725a33548e2b878334b56e5510a1e63cdb6aa
parentfaf83711ed7365848a960c5b906a0882bca07cef
s3:ntlm_auth: support clients which offer a spnego mechs we don't support (bug #7855)

Before we rejected the authentication if we don't support the
first spnego mech the client offered.

We now negotiate the first mech we support.

This fix works arround problems, when a client
sends the NEGOEX (1.3.6.1.4.1.311.2.2.30) oid,
which we don't support.

metze
(cherry picked from commit f802075f08fe0d86f3d176f2302236aeb5834f3d)
Modified to work in the v3-5-test branch, e.g. use ntlmssp_end()

The last 9 patches address bug #7855 (ntlm_auth only handles the first spnego
mech).
(cherry picked from commit ab69b55011eea73d7c8827fc339feb905474f201)
source3/Makefile.in
source3/utils/ntlm_auth.c