summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 5d880caef3..87626db666 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2288,6 +2288,11 @@ LIBS=""
LDAP_LIBS="$LIBS";
LIBS="$ac_save_LIBS";
+else
+ # Can't have ADS support without LDAP
+ if test x"$with_ads_support" = x"yes"; then
+ AC_MSG_ERROR(Active directory support requires LDAP)
+ fi
fi
if test x"$with_ads_support" = x"yes"; then