IT_Man_Dan Posted February 24, 2011 Posted February 24, 2011 Good Morning all, We've just successfully upgraded moodle to 2.0.2 on our MS Windows Server 2008 and LDAP has stopped working :-( At first I thought I'd solved it because it had been disabled in the authentication settings (upgrade must of caused it?). I enabled it and then tried to login again with no luck. The LDAP settings all appear to be there so I can't understand what the issue could be? Has anyone had a similar issue? If so how did you solve it? Any advice/help appreciated. Many thanks
IT_Man_Dan Posted February 24, 2011 Author Posted February 24, 2011 Any ideas??? I'm tearing what little hair I have left out here! I've been through and checked/changed/changed back all the LDAP settings in moodle with no luck. At the same time we upgraded php and I've checked and LDAP is enabled there. All I get is the incorrect password message on the login screen. It was all working fine for the 2 years before running this upgrade to 2.0.2!?!?!
siuko Posted February 24, 2011 Posted February 24, 2011 Any server log files showing auth errors? (I'm running ubuntu/windows2000/ldap so probably cant help a great deal)
IT_Man_Dan Posted February 24, 2011 Author Posted February 24, 2011 Which logs should I check (sorry brain not functioning at the mo..)
kmount Posted February 24, 2011 Posted February 24, 2011 Webserver logs, are you using apache or iis?
IT_Man_Dan Posted February 24, 2011 Author Posted February 24, 2011 (edited) I'm using iis7 Edited February 24, 2011 by IT_Man_Dan
IT_Man_Dan Posted February 24, 2011 Author Posted February 24, 2011 Quick update: Ok, I've added a new user to AD and tried to login to it in moodle, worked perfectly.... So my problem is with users that have already logged onto moodle before the upgrade. Is there any files I should of changed during the upgrade process regarding existing users? Thanks Dan
IT_Man_Dan Posted February 24, 2011 Author Posted February 24, 2011 We have tried deleting a user in moodle and then it lets us login????
grahamd22 Posted February 24, 2011 Posted February 24, 2011 Hi there to add to this we now can create new users and delete them, also if we delete a current user they can log back into moodle fine. So for a long shot we thought okay we will delete all users as it looks like their passwords have been lost and tried to bulk delete but it throws up the error 'Authentication plugin ldapcapture not found.' and I'm not too overly keen to go through and delete every user 1 by 1 when there are 996 users !!
kmount Posted February 24, 2011 Posted February 24, 2011 It's something as crazy as the account in moodle is set to a different auth type than ldap?
IT_Man_Dan Posted February 24, 2011 Author Posted February 24, 2011 Moodle is set to auth using LDAP, with regards to each user. Until you've deleted them and re logged in you can't even get in to edit them. It just says Sorry the service is unavailable. Once deleted and gone back in the user is recreated and you can edit them. It's soo frustrating!
kmount Posted February 24, 2011 Posted February 24, 2011 Oh hang on I read ldap capture up there, that's an addon module (certainly in 1.9 days....). What did you upgrade FROM to 2.0.2 ? (have you got a copy of the ldap capture module installed ... I don't see one for 2.0 but then I've not used 2.0) It's different to the normal ldap auth module (again, certainly in 1.9 days)
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