Wondering if anyone could help me. I have installed moodle once before and i managed to get it working with ldap authentication. With some tweeking and help from people on the forum. Im rebuilding it on another server, but unforunately the original installation has died on me. i cannot boot to windows to check configurations etc.
I know my ldap must be working cos i can use the ldp.exe tool and i can connect to the server and bind the User. When i try and login in to moodle i get invalid user or File not found error 404. If i check the dc's system logs it shows that the bind user i setup actually logs in. So that side must be working. Im 100% sure im pointing it to the right organisational units to find the users etc. I can only think its something to do with configuring the URL rewrite in IIS7
I have entered - RewriteRule ^([^\?]+?\.php)(\/.+)$ $1\?file=$2 as the rule from the moodle support pages. But not sure what the pattern should be, whether the rule needs the "rewriterule" at the beginning and or have [qsa] at the end as it suggests on the moddle pages..... Any help would be great.
Its also weird becuase i get a mixture of the 404 error and invalid logon..... so really not sure whats going on and its really beginning to frustrate me.
Last edited by Chunks_; 29th June 2011 at 10:25 AM.
have you deleted the local users with the same name as the ad user from the database.
e.g student john smith has a local (non LDAP) moodle account smithj, you then enable LDAP and john smith tries to log in with his LDAP account (also smithj) he cant until you delete both from the db and let moodle create the ldap one in its cache.7