Page 1 of 1

XAMPP LDAP with TLS

PostPosted: 01. September 2010 19:55
by talby101
Hi there ,

Trying to do a simple ldap test over tls using the following code
Code: Select all
 
$lc = ldap_connect("ldap.hostname.uk");

   ldap_set_option($lc, LDAP_OPT_PROTOCOL_VERSION, 3);
        if (!ldap_start_tls($lc)) {
        echo "not working !";
   }


And it fails. :cry: .. I have xampp 1.7.3 which has both ldap and openssl modules but I am thinking that
there may be some interaction with system libs that are causing issues. Could anyone adivse?
(I am running on opensuse 11.3 x86 and sled 10.2 x86_64 )

Thanks !

Re: XAMPP LDAP with TLS

PostPosted: 22. September 2011 20:48
by spidee
Hi there,

I must admit that I stopped using XAMP for this reason.

These days installing a LAMP server from the repositories of a modern distro is so trivial,
I did just that. Now I have LDAPS working.