ldap enrolling error

ldap enrolling error

by llywelyn morgan -
Number of replies: 1

The following message is appearing when one student at our school attempts to log in.  We use LDAP and it works fine (we have had no other complaints).  I tried deleting the user but the same error occurred when they attempted to log in using server username and password.

Warning: ldap_search(): Search: No such object in D:\Apache2\htdocs\lib\ldaplib.php on line 241 Warning: ldap_first_entry() expects parameter 2 to be resource, boolean given in D:\Apache2\htdocs\lib\ldaplib.php on line 248

Does anybody know why this student is unable to login using LDAP?  I have temporarily switched their account to manual in the meantime.

Thanks.

Average of ratings: -
In reply to llywelyn morgan

Re: ldap enrolling error

by Iñaki Arenaza -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Hummm, judging from the error message and the code at those lines, I'd say one (or more) of the configured LDAP contexts is possible misstyped.

Saludos.
Iñaki.