Hi,
I have been trying for 2 days now, with trying to get LDAP authentication working with MS AD.
running Moodle 2.4.3+ (Build: 20130418) under xampp against AD on M/S 2008 Server.
I Know it is connecting with bind settings, as if its password is wrong I get the normal error, when I fix that error disapears. I have used ldap.exe (from the same machine running xampp) to get my DN values as per http://docs.moodle.org/24/en/Active_Directory
I feel there is something stupid I am missing.
Q1. Is there a specific log I should be checking? Moodle logs show the login attempt and clicking on the "login error" gives a pop up page "No courses in this category"
Q2. Do I have to import the users from AD first? (I am assuming a user can just log in if they are in my AD, and register). Running the sync_users script below gives.
C:\xampp\php>php \xampp\htdocs\moodle\auth\ldap\cli\sync_users.php
Connecting to LDAP server...
Creating temporary table tmp_extuser
Did not get any users from LDAP -- error? -- exiting
Q3. Is there a list of specific fields the AD entry must have?
Regards Russell