1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

Abort configure if --with-ads and --without-ldap.

This commit is contained in:
Tim Potter -
parent c38bdb2aa0
commit 3ac60d2ceb

View File

@ -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