Dernières versions d'ovidentia

Last forum's threads


Pls help me

tg attribut

RE:pb display section
Jump to   
Search
Author
Message Tree view
James Bowes
Posted: Wed 20 June 2007 19:58
Post subject: 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



Back to top 
Nicolas Bidault
Posted: Thu 21 June 2007 08:34
Post subject: 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



Back to top 
James Bowes
Posted: Thu 21 June 2007 22:27
Post subject: RE:Searching LDAP Directories

Hi Nicholas.


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


--james



Back to top 
Jump to   
Search
Up