|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-04-11 15:02 UTC] kric0999 at uni-hildesheim dot de
Description: ------------ When compiling PHP with --with-ldap=/path/to/ldap the configure script does not recognize that LDAP-SSL is possible. The iPlanet C SDK has a built-in SSL functionality (http://www.sun.com/download/products.xml?id=3ec28dbd). My OpenLDAP was built against OpenSSL (http://www.planetmirror.com/pub/openldap/openldap-release/openldap-2.3.21.tgz). Reproduce code: --------------- export CFLAGS="" export CPPFLAGS="" export LDFLAGS="" # LD_LIBRARY_PATH contains no paths to LDAP directories ./configure --prefix=/foo --disable-cli --without-pear --with-ldap=/data/openldap | grep ldap or ./configure --prefix=/foo --disable-cli --without-pear --with-ldap=/data/iplanet | grep ldap Expected result: ---------------- checking for 3 arg ldap_set_rebind_proc... (cached) yes checking for ldap_parse_result... (cached) yes checking for ldap_parse_reference... (cached) yes checking for ldap_start_tls_s... (cached) yes checking for ldap_bind_s... (cached) yes Actual result: -------------- checking for 3 arg ldap_set_rebind_proc... (cached) yes checking for ldap_parse_result... (cached) yes checking for ldap_parse_reference... (cached) yes checking for ldap_start_tls_s... (cached) no checking for ldap_bind_s... (cached) yes SEE: ldap_start_tls_s is NO grep -r "ldap_start_tls_s" /data/openldap finds many, many results grep -r "ldap_start_tls_s" /data/iplanet finds nothing, but there is a /data/iplanet/include/ldap_ssl.h and the /data/iplanet/tools/ldapsearch supports a SSL connection to the LDAP-SSL port 636. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 16:00:02 2025 UTC |
ok, sorry folks. The OpenLDAP issue was my fault, indeed. But the iPlanet issue is still active. ldap_connect("ldaps://a.b.c.d") does not work, when compiled PHP with iPlanet LDAP SDK.