ICTNUT Posted November 27, 2007 Posted November 27, 2007 Hi All, Have been using moodle for a while now and all has been good, untill last week. We currently jave 660 ish students on the server, accounts were auto created by moodle and these are all ok. Nothing has changed and randomly students are failing to logon, there seems to be no real reason why, I have checked the ldap user I am using to check AD for the user password and this is working ok. New users cannot login or have accounts created, the logs are not the best in the world giving no real reason for the login failures, I have turn debugging errors to FULL and all the user gets is "invalid username or password" I know these are correct as the logged on to the PC not 1 minute earlier. Anyone else come across this, or have any ideas???
Oops_my_bad Posted November 27, 2007 Posted November 27, 2007 do you use different LDAP servers to authenticate? Might be worth just changing it to 1 temporarily incase it's a dodgy server
ICTNUT Posted November 27, 2007 Author Posted November 27, 2007 tried that, normally use an array of 2, DC1 and DC2, have tried for half a day using just DC1 and this afternoon using DC2 but at the moment no joy....
imullings Posted November 27, 2007 Posted November 27, 2007 You could try running the relevent command in a dos box (NTLM or LDAP). Change the path as required MAKE A BACKUP OF YOUR DATABASE FIRST. php -d memory_limit=256M D:\WWWroot\auth\ntlm\auth_ldap_sync_users.php > c:\log.txt php -d memory_limit=256M D:\WWWroot\auth\ldap\auth_ldap_sync_users.php > c:\log.txt It will create a logfile in c:\log.txt Ian Mullings Devizes School IT Support
maniac Posted November 27, 2007 Posted November 27, 2007 I had a simelar problem to this, it was caused by something in PHP not working properly as far as we could work out. We never really discovered exactly what the problem was, but we upgraded PHP to the latest release and it's worked fine ever since. Mike.
ICTNUT Posted November 28, 2007 Author Posted November 28, 2007 @maniac: I may just try that i'll let you know how it goes....
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