r10035: This patch removes the need for the special case hack
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Sep 2005 10:53:14 +0000 (10:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:36:31 +0000 (13:36 -0500)
commit6b14ffe2713efe2e16a988d920d2dbd7c088601d
treea5b65d3ac673fee94037f026769ffe781a29f301
parenta5148773417adcc343b194693168fb4817bc3a65
r10035: This patch removes the need for the special case hack
'MEMORY_WILDCARD' keytab type. (part of this checking is in effect a
merge from lorikeet-heimdal, where I removed this)

This is achieved by correctly using the GSSAPI gsskrb5_acquire_cred()
function, as this allows us to specify the target principal, regardless
of which alias the client may use.

This patch also tries to simplify some principal handling and fixes some
error cases.

Posted to samba-technical, reviewed by metze, and looked over by lha on IRC.

Andrew Bartlett
(This used to be commit 506a7b67aee949b102d8bf0d6ee9cd12def10d00)
source4/auth/gensec/gensec_gssapi.c
source4/auth/kerberos/kerberos.c
source4/auth/kerberos/kerberos.h
source4/auth/kerberos/kerberos_util.c
source4/heimdal/lib/krb5/context.c
source4/heimdal/lib/krb5/keytab_memory.c
source4/heimdal/lib/krb5/krb5.h