Dernières versions d'ovidentia

Derniers sujets du forum


403 Access Forbidden

Aller à   
Rechercher
Auteur
Message Vue en arbre
James Bowes
Posté le: Mer 20 Juin 2007 19:58
Sujet de la contribution: Searching LDAP Directories

Hi - yup I am back.


Anyways I was wondering if anyone has been using LDAP searching through the Directories section. When I try it I set my baseDN and userDN and then add a known working password. I always get the error:

"Cannot bind to : ou=users,ou=someorg

Ldap Error: Invalid credentials

This script cannot continue, terminating."


Even if I put the both DN's together I still receive the same error. I know I left the administrators can authenticate enabled in the sites/configuration/authentication section.

Any idea on how to handle this would be great!


Thanks a lot!

--griz



Haut 
Nicolas Bidault
Posté le: Jeu 21 Juin 2007 08:34
Sujet de la contribution: RE:Searching LDAP Directories

Hi,

Try to add this line in your config.php :

$babAdLdapOptions = array(array(LDAP_OPT_PROTOCOL_VERSION, 3),array(LDAP_OPT_REFERRALS, 0)); 

for ldap V3 compatibility.

Nicolas



Haut 
James Bowes
Posté le: Jeu 21 Juin 2007 22:27
Sujet de la contribution: RE:Searching LDAP Directories

Hi Nicholas.


Thanks for the suggestion! Unfortunately I still receive the same error. Any other thoughts on this?


--james



Haut 
Aller à   
Rechercher
Up