[PHP] ldap_connect(URI)?

2001-12-04 Thread Susanne Benkert
Hello, my problem is to enable a secure connection between a PHP script an an LDAP directory using SSL. The LDAP server is already recompiled and running with ssl/tsl-support. PHP-4.0.6. is compiled with-openssl. But when I try to use ldap_connect('ldaps://hostname/') like suggested in the

Re: [PHP] ldap_connect(URI)?

2001-12-04 Thread Susanne Benkert
Hi Stig, Unknown Sender wrote: This works for me. For ldap_connect(ldap://hostname;) to work, you need OpenLDAP 2.x libs but that's all. Are you sure PHP is using that library? I'm quite sure, because other ldap functions work properly such as ldap_connect(hostname); or ldapsearch()... I