Issue Details (XML | Word | Printable)

Key: MDL-20759
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Nobody
Reporter: Phil
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Auto enrolment with eDirectory is broken

Created: 06/Nov/09 07:22 AM   Updated: 06/Nov/09 07:22 AM
Return to search
Component/s: Enrolments
Affects Version/s: 1.9.4
Fix Version/s: None

Environment: CentOS 5.3 with standard services and packages

Database: MySQL
Participants: Nobody and Phil
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
There is a problem with auto enrolment with using eDirectory. after some investigation and finding that other people have this issue - http://moodle.org/mod/forum/discuss.php?d=130647 - I investigated further and I think I found the problem. I was able to successfully setup auto enrolment with openLDAP but not with eDir.




My eDir LDAP Enrolment Setup:

student: ou=Students,ou=Moodle,o=ITS | member (not memberUID)

enrol_ldap_objectclass: groupOfNames
enrol_ldap_course_idnumber: cn
enrol_ldap_course_shortname: cn
enrol_ldap_course_fullname: fullName (field added through console1 under "other")
enrol_ldap_course_summary: description



--LDIF of the same record on oLDAP and eDir--

OpenLDAP:

dn: cn=ITSBT,ou=Students,ou=Moodle,o=ITS
objectClass: posixGroup
objectClass: top
cn: ITSBT
gidNumber: 1002
memberUid: jbloggs
description: testing stuff


eDirectory:
<irrelevant lines omitted>
dn: cn=ITSBT,ou=Students,ou=Moodle,o=ITS
fullName: ITS Bypass Test
objectClass: groupOfNames
objectClass: Top
member: cn=jbloggs,ou=STUDENTS,ou=USERS,o=ITS
description: testing stuff
cn: ITSBT


The point I noticed was the difference between what is stored in memberUID under OpenLDAP and member under eDirectory. It looks like the data that's being returned is not being parsed properly.


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
There are no entries against this issue.