summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-23 01:50:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:42 -0500
commit4432cc73aee188b1aa50b6e1618acd59ebfebd9c (patch)
treea1047fc2471966fe7b9f81ecb80b45d28334f189 /source4/auth/kerberos
parent3cb74e995ec69efe3d6d21394db9ccb9ae9acb40 (diff)
downloadsamba-4432cc73aee188b1aa50b6e1618acd59ebfebd9c.tar.gz
samba-4432cc73aee188b1aa50b6e1618acd59ebfebd9c.tar.bz2
samba-4432cc73aee188b1aa50b6e1618acd59ebfebd9c.zip
r7843: Use the new Heimdal gsskrb_acquire_creds API. This has the right
lifetime constraints, and works with the in-memory keytab. Move initialize_krb5_error_table() into our kerberos startup code, rather than in the GSSAPI code explitly. (Hmm, we probably don't need this at all..) Andrew Bartlett (This used to be commit bedf92da5c81066405c87c9e588842d3ca5ba945)
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/clikrb5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/kerberos/clikrb5.c b/source4/auth/kerberos/clikrb5.c
index 0fede8b2cd..95a45fc739 100644
--- a/source4/auth/kerberos/clikrb5.c
+++ b/source4/auth/kerberos/clikrb5.c
@@ -503,6 +503,8 @@ static void smb_krb5_debug_wrapper(const char *timestr, const char *msg, void *p
krb5_error_code ret;
TALLOC_CTX *tmp_ctx;
+ initialize_krb5_error_table();
+
*smb_krb5_context = talloc(parent_ctx, struct smb_krb5_context);
tmp_ctx = talloc_new(*smb_krb5_context);