LDAP Enrolment

LDAP Enrolment

by David Mills -
Number of replies: 1

Can anyone advise on the following settings

Site Administration - Courses - Enrolment - LDAP

Role mapping          Roles LDAP contexts           LDAP member attribute
Administrator  
Course creator  
Teacher  
Non-editing teacher  
Student  
Guest  
Authenticated user

Can anyone post some examples of how these settings should be configured.  I am using edirectory and LDAP v3 but any examples even AD would be helpful so that i can convert them to Edirectory.  I.e is Roles LDAP contexts linked to the group (cn=mymoodleadmins,ou=mygroups,ou=mystaff,o=MYTREE) and LDAP member attribute = groupMembership

Additionally this setting

enrol_ldap_objectclass:   objectClass used to search courses. Usually 'posixGroup'.

Am i right in saying that this should be groupMembership if using edirectory, again if someone can give examples of AD settings it would help loads. 

I currently have authentification and user accounts being imported but i cant work out the groups, they do not get created or imported. 

Any help would be really useful.

Average of ratings: -
In reply to David Mills

Re: LDAP Enrolment

by Randy Thornton -
Picture of Documentation writers

I have these settings working in an AD environment in Moodle 1.9.2 (though it has worked since 1.6)

Contexts

Teachers: ou=Moodleteachers,ou=Security_Groups,dc=ourdomain,dc=edu
Students: ou=Moodlestudents,ou=Security_Groups,dc=ourdomain,dc=edu

The member attribute for AD is "member"

This works well for us and is the basic setup from Lar's documentation how-to at http://moodle.org/mod/forum/discuss.php?d=31761