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???
do you use different LDAP servers to authenticate? Might be worth just changing it to 1 temporarily incase it's a dodgy server
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....
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

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.
@maniac: I may just try that i'll let you know how it goes....
There are currently 1 users browsing this thread. (0 members and 1 guests)