diff options
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index 48057c15a5..cb08824a5a 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1687,11 +1687,10 @@ AC_CHECK_LIB(lber, ber_scanf, [LIBS="$LIBS -llber"]) ######################################################## # now see if we can find the ldap libs in standard paths if test x$have_ldap != xyes; then -AC_CHECK_LIB(ldap, ldap_open, [LIBS="$LIBS -lldap"; +AC_CHECK_LIB(ldap, ldap_domain2hostlist, [LIBS="$LIBS -lldap"; AC_DEFINE(HAVE_LDAP)]) fi - ################################################# # check for automount support AC_MSG_CHECKING(whether to use AUTOMOUNT) |