r6800: A big GENSEC update:
authorAndrew Bartlett <abartlet@samba.org>
Sun, 15 May 2005 23:42:11 +0000 (23:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:16:45 +0000 (13:16 -0500)
commit0101728d8e2ed9419eb31fe95047944a718ba135
tree575819c55f0811faca772da6feafe66f762d5c39
parent0268d6c46b73bf2097247639df2532b5e8591531
r6800: A big GENSEC update:

Finally remove the distinction between 'krb5' and 'ms_krb5'.  We now
don't do kerberos stuff twice on failure.  The solution to this is
slightly more general than perhaps was really required (as this is a
special case), but it works, and I'm happy with the cleanup I achived
in the process.  All modules have been updated to supply a
NULL-terminated list of OIDs.

In that process, SPNEGO code has been generalised, as I realised that
two of the functions should have been identical in behaviour.

Over in the actual modules, I have worked to remove the 'kinit' code
from gensec_krb5, and placed it in kerberos/kerberos_util.c.

The GSSAPI module has been extended to use this, so no longer requires
a manual kinit at the command line.  It will soon loose the
requirement for a on-disk keytab too.

The general kerberos code has also been updated to move from
error_message() to our routine which gets the Heimdal error string
(which may be much more useful) when available.

Andrew Bartlett
source/auth/gensec/gensec.c
source/auth/gensec/gensec.h
source/auth/gensec/gensec_gssapi.c
source/auth/gensec/gensec_krb5.c
source/auth/gensec/spnego.c
source/auth/kerberos/kerberos.h
source/auth/kerberos/kerberos.mk
source/auth/kerberos/kerberos_util.c [new file with mode: 0644]
source/auth/kerberos/kerberos_verify.c
source/auth/ntlmssp/ntlmssp.c
source/include/structs.h