summaryrefslogtreecommitdiffstats
path: root/src/external/ldap.m4
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-06-27 10:03:03 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-07-13 12:35:45 -0400
commitddcbb85ed4402b6e877b22d60610d206b1a19bc8 (patch)
treeac80de4a876a046945e0a17b99d1cde5b5710920 /src/external/ldap.m4
parent90f150f678347f1f73ee4280cd523021e307d861 (diff)
downloadsssd-ddcbb85ed4402b6e877b22d60610d206b1a19bc8.tar.gz
sssd-ddcbb85ed4402b6e877b22d60610d206b1a19bc8.tar.xz
sssd-ddcbb85ed4402b6e877b22d60610d206b1a19bc8.zip
Fix TLS/SSL validation after switch to ldap_init_fd
Add sockaddr_storage to sdap_service Add sdap_call_conn_cb() to call add connection callback directly Use name based URI instead of IP address based URIs Use ldap_init_fd() instead of ldap_initialize() if available Do not access state after tevent_req_done() is called. Call ldap_install_tls() on ldaps connections
Diffstat (limited to 'src/external/ldap.m4')
-rw-r--r--src/external/ldap.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/ldap.m4 b/src/external/ldap.m4
index 87d95fa8b..c8a46feb1 100644
--- a/src/external/ldap.m4
+++ b/src/external/ldap.m4
@@ -43,7 +43,7 @@ SAVE_CFLAGS=$CFLAGS
SAVE_LIBS=$LIBS
CFLAGS="$CFLAGS $OPENLDAP_CFLAGS"
LIBS="$LIBS $OPENLDAP_LIBS"
-AC_CHECK_FUNCS([ldap_control_create])
+AC_CHECK_FUNCS([ldap_control_create ldap_init_fd])
AC_CHECK_MEMBERS([struct ldap_conncb.lc_arg],
[AC_RUN_IFELSE(
[AC_LANG_PROGRAM(