Take the 2-minute tour ×

I'm testing the AdLDAP Library with my PHP. As i'm a new to LDAP overall, i'm not sure what is wrong.

This is how i initiated the class:

$adldap = new adLDAP( array(

Then when i test the Authentication sample, it always saying "Failed!".
One only thing is that our Server does NOT using SSL.
Is it the factor?
What other else is getting wrong (or) needing to be checked?

share|improve this question
One only thing is that our Server does NOT using SSL. - why do you have 'use_tls'=>true then? –  DaveRandom May 22 '12 at 9:36
add comment

1 Answer

If you use TLS, the default port is 636.

share|improve this answer
add comment

Your Answer


