I had a customer call me this week saying he could not log into the moodle site.
I verified first, that others were logging in and using the moodle, and saw people accessing it. I had to recall the ldap integration rules. The first time the person logs into the moodle using ldap credentials, an account would be created. This was not happening for our customer.
What was happening was moodle could not find the credentials he was providing. Moodle was looking in a couple places on their ldap server, using the OU to know which folder to look in. Once we added the OU def. to our moodle configuration, he was able to log in using the same credentials.
The account was not being created on the moodle because the credentials provided by the person did not exist in the groups defined in the ldap on the moodle. Moodle has definitions in its configuration to the ldap groups on the ldap server.
Moral of the story?
When someone cannot log into moodle server that is configured with LDAP - find out what OU they are in and make sure it is defined on the moodle site.
The problem was not in the LDAP or the account, the problem was in the moodle, since it did not know where 'else' to look for account credentials.
No comments:
Post a Comment