r11521: Add in client support for checking supportedSASLmechanisms, and then
authorAndrew Bartlett <abartlet@samba.org>
Sat, 5 Nov 2005 11:02:37 +0000 (11:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:45:48 +0000 (13:45 -0500)
commit72820aaf9281acc2acec869793a95f3353c1034c
tree2d563ab5342833818aad64c6a862a7cbaa60e29c
parent6ac2585e8739e993b976503a0979228064a78def
r11521: Add in client support for checking supportedSASLmechanisms, and then
determining a mechanism to use.

Currently it doesn't to fallbacks like SPNEGO does, but this could be
added (to GENSEC, not to here).

This also adds a new function to GENSEC, which returns a list of SASL
names in our preference order (currently determined by the build
system of all things...).

Also make the similar function used for OIDs in SPNEGO do the same.

This is all a very long-winded way of moving from a hard-coded NTLM to
GSS-SPNEGO in our SASL client...

Andrew Bartlett
(This used to be commit 130eb9bb9a37957614c87e0e6846a812abb51e00)
source4/auth/gensec/gensec.c
source4/auth/gensec/gensec_gssapi.c
source4/auth/gensec/gensec_krb5.c
source4/libcli/ldap/ldap_bind.c