From e168c5fefa9119d2b8c03a8884f581b0ff9e03fe Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 4 Jun 2005 22:27:33 +0000 Subject: r7285: It appears that MIT Kerberos does not have the log redirection facility that I'm using. This should let us compile the non-KDC components on MIT again. Andrew Bartlett (This used to be commit ae9c2d2b54a979ab8467c847b62dd2c2a0fa059f) --- source4/auth/kerberos/clikrb5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/auth/kerberos/clikrb5.c') diff --git a/source4/auth/kerberos/clikrb5.c b/source4/auth/kerberos/clikrb5.c index dc02cf7b01..3858b694a7 100644 --- a/source4/auth/kerberos/clikrb5.c +++ b/source4/auth/kerberos/clikrb5.c @@ -484,7 +484,7 @@ static int smb_krb5_context_destory_1(void *ptr) return 0; } -#if defined(HAVE_KRB5_INITLOG) && defined(HAVE_KRB5_ADDLOG_FUNC) && defined(HAVE_KRB5_FREELOG) +#ifdef HAVE_KRB5_LOGGING_CONTROL static int smb_krb5_context_destory_2(void *ptr) { struct smb_krb5_context *ctx = ptr; @@ -547,7 +547,7 @@ static void smb_krb5_debug_wrapper(const char *timestr, const char *msg, void *p } } -#if defined(HAVE_KRB5_INITLOG) && defined(HAVE_KRB5_ADDLOG_FUNC) && defined(HAVE_KRB5_FREELOG) +#ifdef HAVE_KRB5_LOGGING_CONTROL /* TODO: Should we have a different name here? */ ret = krb5_initlog((*smb_krb5_context)->krb5_context, "Samba", &(*smb_krb5_context)->logf); -- cgit