I've scoured the forums looking for relevant information to help me get LDAP Enrollment working in a modern version of Moodle (testing with 2.02) with Active Directory, but all I can find it outdated information and most of it is not MS AD specific. Where can I find current information? The Moodle Docs page is from 2007 and some of it does not seem relevant to newer versions of Moodle.
I have LDAP Authentication working and I think I have all the enrollment settings correct, but no matter what variation I try, it doesn't seem to work. Here are my settings:
Moodle LDAP Authentication Settings:
User lookup settings |
||
User type | MS ActiveDirectory | |
Contexts | OU=moodleusers,DC=TestDomain,DC=local | |
Search subcontexts | Yes | |
Dereference aliases | No | |
User attribute | samaccountname | |
Member attribute | ||
Member attribute uses dn | ||
Object class | * |
Enable user creation |
||
Create users externally | NoYes | |
Context for new users | ||
Course creator |
||
Creators | OU=Course Creators,OU=moodleEnrollement,DC=TestDomain,DC=local | |
Cron synchronization script |
||
Removed ext user | Suspend internal | |
NTLM SSO |
||
Enable | No | |
Subnet | ||
MS IE fast path? | No | |
Authentication type | NTLM | |
Data mapping |
||
First name |
givenName
|
|
Surname |
sn
|
|
Email address |
mail
|
|
City/town |
l
|
|
Country |
c
|
|
Language | ||
Description | ||
Web page | ||
ID number |
samaccountname
|
|
Institution | ||
Department |
o
|
|
Phone 1 |
telephoneNumber
|
|
Phone 2 | ||
Address |
streetAddress
|
Moodle LDAP Enrollment Settings:
Role mapping
Search subcontexts: Yes
Member attribute uses dn: Yes
ID number attribute: samaccountname
Course enrolment settings
Short name: sn
Summary: Comment