r11200: Reposition the creation of the kerberos keytab for GSSAPI and Krb5
authorAndrew Bartlett <abartlet@samba.org>
Thu, 20 Oct 2005 03:47:55 +0000 (03:47 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:45:00 +0000 (13:45 -0500)
commit372ca26b2052e267711a45c8bf341f55505f3f8f
tree8c13e34fdac62ca762972d25cfe95b053bff93fa
parent9e25f33a1a06e1374bb643cb087af0e0bedb99c7
r11200: Reposition the creation of the kerberos keytab for GSSAPI and Krb5
authentication.  This pulls the creating of the keytab back to the
credentials code, and removes the special case of 'use keberos keytab
= yes' for now.

This allows (and requires) the callers to specify the credentials for
the server credentails to GENSEC.  This allows kpasswdd (soon to be
added) to use a different set of kerberos credentials.

The 'use kerberos keytab' code will be moved into the credentials
layer, as the layers below now expect a keytab.

We also now allow for the old secret to be stored into the
credentials, allowing service password changes.

Andrew Bartlett
(This used to be commit 205f77c579ac8680c85f713a76de5767189c627b)
17 files changed:
source4/auth/credentials/credentials.c
source4/auth/credentials/credentials.h
source4/auth/credentials/credentials_files.c
source4/auth/credentials/credentials_krb5.c
source4/auth/gensec/gensec.c
source4/auth/gensec/gensec_gssapi.c
source4/auth/gensec/gensec_krb5.c
source4/auth/kerberos/kerberos.h
source4/auth/kerberos/kerberos_util.c
source4/auth/kerberos/kerberos_verify.c
source4/ldap_server/ldap_bind.c
source4/rpc_server/dcesrv_auth.c
source4/setup/secrets.ldif
source4/smb_server/negprot.c
source4/smb_server/sesssetup.c
source4/smb_server/smb_server.h
source4/utils/ntlm_auth.c