mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
Add configure test for previous ldap modifications - we now check if the
ldap_initialze function exists, not just if we are on a particular OpenLDAP. Andrew Bartlett
This commit is contained in:
parent
08c5aaae6a
commit
8a20162db6
@ -2291,6 +2291,7 @@ LIBS=""
|
||||
#include <lber.h>
|
||||
#include <ldap.h>], [ldap_set_rebind_proc(0, 0, 0);], [pam_ldap_cv_ldap_set_rebind_proc=3], [pam_ldap_cv_ldap_set_rebind_proc=2]) ])
|
||||
AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $pam_ldap_cv_ldap_set_rebind_proc, [Number of arguments to ldap_set_rebind_proc])
|
||||
AC_CHECK_FUNCS(ldap_initialize)
|
||||
fi
|
||||
|
||||
LDAP_LIBS="$LIBS";
|
||||
|
Loading…
Reference in New Issue
Block a user