diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-04 22:27:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:36 -0500 |
commit | e168c5fefa9119d2b8c03a8884f581b0ff9e03fe (patch) | |
tree | 90f5f192cea96fbcced6ca2d2399cb81de577e1d /source4/auth/kerberos/kerberos.h | |
parent | d93e15f1d44f70b711f2ec01fe75d969d55f6c28 (diff) | |
download | samba-e168c5fefa9119d2b8c03a8884f581b0ff9e03fe.tar.gz samba-e168c5fefa9119d2b8c03a8884f581b0ff9e03fe.tar.bz2 samba-e168c5fefa9119d2b8c03a8884f581b0ff9e03fe.zip |
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)
Diffstat (limited to 'source4/auth/kerberos/kerberos.h')
-rw-r--r-- | source4/auth/kerberos/kerberos.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/auth/kerberos/kerberos.h b/source4/auth/kerberos/kerberos.h index b65416e619..286e8ceb2e 100644 --- a/source4/auth/kerberos/kerberos.h +++ b/source4/auth/kerberos/kerberos.h @@ -21,9 +21,17 @@ #if defined(HAVE_KRB5) +#if defined(HAVE_KRB5_INITLOG) && defined(HAVE_KRB5_ADDLOG_FUNC) && defined(HAVE_KRB5_FREELOG) && defined (HAVE_KRB5_SET_WARN_DEST) && defined(HAVE_KRB5_LOG_FACILITY) +#define HAVE_KRB5_LOGGGING_CONTROL +#else +#undef HAVE_KRB5_LOGGGING_CONTROL +#endif + struct smb_krb5_context { krb5_context krb5_context; +#ifdef HAVE_KRB5_LOGGGING_CONTROL krb5_log_facility *logf; +#endif }; |