* John Hallam <[EMAIL PROTECTED]> [010215 17:58]:
> I have got php 4.0.4p1 configured with openssl 0.9.6
> and ldap and I'm trying to get an ldap_connect to work
> over ldaps as described in the ldap_connect
> documentation.
>
> I have no problem connecting using
> ldap_connect(hostname) format but I do have a problem
> with the URL format. This is what I am doing :-
>
> $Host='ldaps://hostname/';
> $ds=ldap_connect($Host);
>
> What is wrong ?? any ideas ??
>
Why don't you try
$ds = ldap_connect("hostname", 689);
where 689 is port number for SSL connection? If you use another port
number, you should change 689 to whatever you use.
Victor.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]