Hello,
I am trying to use PHP's LDAP module with TLS.
I have no problems using the normal LDAP functions, however
I am never able to use ldap_start_tls(). Everytime I do so I get
the following error:
"Warning: LDAP: Unable to start TLS: Not Supported in <php page here> on line n"
I have verified that PHP is linked against the proper ldap
libraries. (These libraries have been compiled with TLS support
as I have other LDAP utilities that use TLS without problem)
morpork:/usr/local/apache/libexec# ldd libphp4.so | grep ldap
libldap.so.2 => /usr/local/ldap/lib/libldap.so.2 (0x4015c000)
liblber.so.2 => /usr/local/ldap/lib/liblber.so.2 (0x401ba000)
I have also verified that both LDAP servers I have tried connecting
to are TLS enabled.
I've looked at the PHP source that makes the ldap_start_tls_s connection
and noted that it wasn't much different from other applications that use it.
Which leaves me fairly confused.
Anyone have a similar problem, thoughts, suggestions, ideas?
-matt
--
Matthew Wirges
Developer, CERIAS Incident Response Database
[EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php