ID:               37041
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kric0999 at uni-hildesheim dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         LDAP related
 Operating System: Solaris 10
 PHP Version:      5.1.2
 New Comment:

Works fine with proper installations. Check the config.log for the real
reason why the test failed.


Previous Comments:
------------------------------------------------------------------------

[2006-04-11 15:02:36] 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.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37041&edit=1

Reply via email to