summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-06-27 10:03:03 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-10-26 10:29:37 -0400
commitfb1d3ce1c67a4f670057ba0d2b87871187a911f8 (patch)
treedfd9433eeb7a783a817dbd6c4c3440f09c96cba3 /src/external
parent5644466f51273d55ba2b4b2931fada06c2d837fe (diff)
downloadsssd-fb1d3ce1c67a4f670057ba0d2b87871187a911f8.tar.gz
sssd-fb1d3ce1c67a4f670057ba0d2b87871187a911f8.tar.xz
sssd-fb1d3ce1c67a4f670057ba0d2b87871187a911f8.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')
-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(