diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-13 11:21:11 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-13 04:41:05 +0100 |
commit | 310cf9857491e23678657598739d77520e7afcda (patch) | |
tree | bee744c0dd98cd35e4f917c3397306e22e2ed428 /lib/addns | |
parent | bee55a29578e8eab66c36de9b2526769b05b8dba (diff) | |
download | samba-310cf9857491e23678657598739d77520e7afcda.tar.gz samba-310cf9857491e23678657598739d77520e7afcda.tar.bz2 samba-310cf9857491e23678657598739d77520e7afcda.zip |
s3-lib/addns: Move to system/kerberos.h and HAVE_KRB5
Diffstat (limited to 'lib/addns')
-rw-r--r-- | lib/addns/dns.h | 17 | ||||
-rw-r--r-- | lib/addns/dnsgss.c | 4 |
2 files changed, 3 insertions, 18 deletions
diff --git a/lib/addns/dns.h b/lib/addns/dns.h index d98a27ea2d..a4b033d712 100644 --- a/lib/addns/dns.h +++ b/lib/addns/dns.h @@ -27,6 +27,7 @@ #include "../replace/replace.h" #include "system/network.h" +#include "system/kerberos.h" /* make sure we have included the correct config.h */ #ifndef NO_CONFIG_H /* for some tests */ @@ -77,22 +78,6 @@ #endif #endif -#ifdef HAVE_KRB5_H -#include <krb5.h> -#endif - -#if HAVE_GSSAPI_GSSAPI_H -#include <gssapi/gssapi.h> -#elif HAVE_GSSAPI_GSSAPI_GENERIC_H -#include <gssapi/gssapi_generic.h> -#elif HAVE_GSSAPI_H -#include <gssapi.h> -#endif - -#if defined(HAVE_GSSAPI_H) || defined(HAVE_GSSAPI_GSSAPI_H) || defined(HAVE_GSSAPI_GSSAPI_GENERIC_H) -#define HAVE_GSSAPI_SUPPORT 1 -#endif - #include <talloc.h> /******************************************************************* diff --git a/lib/addns/dnsgss.c b/lib/addns/dnsgss.c index 19b734a6a3..4fef832926 100644 --- a/lib/addns/dnsgss.c +++ b/lib/addns/dnsgss.c @@ -26,7 +26,7 @@ #include <ctype.h> -#ifdef HAVE_GSSAPI_SUPPORT +#ifdef HAVE_KRB5 /********************************************************************* *********************************************************************/ @@ -331,4 +331,4 @@ DNS_ERROR dns_sign_update(struct dns_update_request *req, return err; } -#endif /* HAVE_GSSAPI_SUPPORT */ +#endif /* HAVE_KRB5 */ |