From 4432cc73aee188b1aa50b6e1618acd59ebfebd9c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 23 Jun 2005 01:50:04 +0000 Subject: 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) --- source4/auth/kerberos/clikrb5.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/auth/kerberos/clikrb5.c') 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); -- cgit