LDAP Course Creation Fullname and Summary Update

LDAP Course Creation Fullname and Summary Update

by Vince DiScipio -
Number of replies: 1

We are using Moodle 1.6.3, and handle our course creation and enrollment using LDAP and it works fine for initial course creation and ongoing enrollment changes.

 

For SP07 we created the groups in LDAP and ran the enrol_ldap_sync.php script.  All courses were created and the enrollments were set.  We then wanted to make changes to the fullname and summary fields in the database.  We created and LDIF file and made the changes to the group structure, changed the “Update Local data” flag to “Yes” on the two elements on the LDAP Enrollment plugin config page, and saved changes.  The values reverted to “No” when the page was reopened. So enrol_ldap_sync.php did not update the information

 

If these values are stored in the database, where are they, (* we spent some time looking but could not find them *) ad can we force them to a value that will allow the information to be updated.  Is this a bug in the code (* the values also are not being saved in the moodle 1.7 instance we are working with in a test environment *).

 

Any help would be appreciated, our faculty is anxious to begin working on next semesters courses. 

Average of ratings: -
In reply to Vince DiScipio

Re: LDAP Course Creation Fullname and Summary Update

by Iñaki Arenaza -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
The LDAP enrolment 'update local data' and 'lock field' are not used at all in Moodle (see bug MDL-5373), so don't waste your time and energies with them sad

If you want to update the fullname and summary fields of any courses in the Moodle database, just edit the records in mdl_course table directly (or one by one through the web interface).

Saludos. Iñaki.