diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-11-05 11:02:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:48 -0500 |
commit | 72820aaf9281acc2acec869793a95f3353c1034c (patch) | |
tree | 2d563ab5342833818aad64c6a862a7cbaa60e29c /source4/auth/gensec/gensec_gssapi.c | |
parent | 6ac2585e8739e993b976503a0979228064a78def (diff) | |
download | samba-72820aaf9281acc2acec869793a95f3353c1034c.tar.gz samba-72820aaf9281acc2acec869793a95f3353c1034c.tar.bz2 samba-72820aaf9281acc2acec869793a95f3353c1034c.zip |
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)
Diffstat (limited to 'source4/auth/gensec/gensec_gssapi.c')
-rw-r--r-- | source4/auth/gensec/gensec_gssapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c index 745191e693..08e2298c1a 100644 --- a/source4/auth/gensec/gensec_gssapi.c +++ b/source4/auth/gensec/gensec_gssapi.c @@ -965,6 +965,7 @@ static const char *gensec_gssapi_krb5_oids[] = { /* As a server, this could in theory accept any GSSAPI mech */ static const struct gensec_security_ops gensec_gssapi_krb5_security_ops = { .name = "gssapi_krb5", + .sasl_name = "GSSAPI", .auth_type = DCERPC_AUTH_TYPE_KRB5, .oid = gensec_gssapi_krb5_oids, .client_start = gensec_gssapi_client_start, |