FN-GM Posted April 20, 2009 Posted April 20, 2009 Hi, I setup Moodle with LDAP last week and it worked perfect Today when a student tries to login it doesn't let them in it just says invalid username or password. But it works perfect on the test accounts and they are exactaly the same as the Student accounts. The only difference is the username format Test account 07test Student Account t072johns Does anyone have any tips please? Thanks Z
strawberry Posted April 20, 2009 Posted April 20, 2009 are both accounts in the same ou? have you set the account to use ldap (prehaps its been used previously with the internal inrolement)
FN-GM Posted April 20, 2009 Author Posted April 20, 2009 are both accounts in the same ou? have you set the account to use ldap (prehaps its been used previously with the internal inrolement) Its a brand new moodle site, both accounts are in the same OU
FN-GM Posted April 20, 2009 Author Posted April 20, 2009 (edited) Penny Dropped! I restored an old course from the Old Moodle isntall and i created all the old users. These users had the same usernames as the LDAP users. I deleted all the accounts. What can i do to reset it so it picks up the old deleted accounts with the username but on LDAP? Thanks Z PS: the old server didnt use LDAP Edited April 20, 2009 by FN-GM
FN-GM Posted April 21, 2009 Author Posted April 21, 2009 Does anyone reckon the LDAP Sync Script could help? Thanks
FN-GM Posted April 21, 2009 Author Posted April 21, 2009 I have removed all traces of users form the Database and i still get the bloody problem. I also upgraded to the latest version of moodle and it still plays up. anyone any ideas please i can run out
strawberry Posted April 21, 2009 Posted April 21, 2009 I have removed all traces of users form the Database and i still get the bloody problem. I also upgraded to the latest version of moodle and it still plays up. anyone any ideas please i can run out not sure what to do from here, if the accounts still existed i would have set them to use ldap individually. ( or by twiddling with sql) . could be that the accounts are still somewhere even if theyre not in the db.
FN-GM Posted April 21, 2009 Author Posted April 21, 2009 I upgraded moodle so that would invole a new set of files. The only ones left i can tink of is in the moodle data directory.
kieran8055 Posted April 22, 2009 Posted April 22, 2009 Hi FN-GM Make sure display name is same as user login in Active Directory.. cheers
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now