diff options
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index eaa0d25239c..bdf5bbcef36 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -420,8 +420,8 @@ #include <gssapi/gssapi_generic.h> #endif -/* we support ADS if we have krb5 and ldap libs */ -#if defined(HAVE_KRB5) && defined(HAVE_LDAP) +/* we support ADS if we want it and have krb5 and ldap libs */ +#if defined(WITH_ADS) && defined(HAVE_KRB5) && defined(HAVE_LDAP) #define HAVE_ADS #endif |