Wish somebodu would explain. I finally got this working but there are problems. I fixed the settings. Need to fill in the role: shortname and sent student from remote. Also I realized that we use oci8po client for Banner/Oracle.
enrol_localcoursefield: Idnumber
enrol_localuserfield: username
enrol_db_localrolefield: shortname
enrol_remotecoursefield: courseid
enrol_remoteuserfield: ruid
enrol_db_remoterolefield: role
After reading the entire posting at:
http://moodle.org/mod/forum/discuss.php?d=74133
the plugin does not work as expected. Here are the issues. Really appreciate any help on getting this to work as expected.
I am syncing Only enrollments and not creating courses.
I tested by "login as" student.
1. Course Enrollable shoube be set to Yes. BUT the help says this has no effect on external database enrollments. If set to yes: all students can enroll --> we do not want this. If set to No: auto-enroll upon login does not happen. Student is still prompted.
2. Set course enrollable to yes and logged in as student, got enrolled in course BUT in MDL_ROLE_ASSIGNMENTS, the Enroll has a vaue of "manual" instead of suggested "database" in earlier post.
Any advise on fixing the above is highly appreciated. This is Moodle 1.9.11 Build 20110221.