ldap_connect("URI")?
| From: | Susanne Benkert | Date: | Tue, 04 Dec 2001 10:13:51 +0000 |
| Subject: | ldap_connect("URI")? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-76485@lists.php.net to get a copy of this message | ||
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 manual, the
script can't connect the server. Also 'ldap://...' or 'http://..' don't
work, so it seems, that PHP doesn't support URIs in this position, but
according to the manual it should do.
What's wrong with my script or my installation?
Thank you for your support.
Susanne