Hello
I've got two installations of moodle on the same windows SQL server with separate databases on that server and they are working perfectly. One is Moodle version 2.7, the other is the latest 2.9 development release. Both have ldap authentication working. Both have the external database plugin activated for user enrolment and they both connect to the data source OK when the settings are tested via the Moodle admin panel.
The 2.7 has a windows scheduled task running the main admin cron and then a cli/sync.php enrolment cron to a user enrolment table in an external SQL Server database. This is working fine. As soon as someone logs in with a valid network account, they get a Moodle account and see their correct enrolments.
I have a copy of that enrolment table in the same external database and an identical scheduled task doing exactly the same things for the 2.9 Moodle. The admin cron runs perfectly and the cli/sync.php step also runs correctly giving a 0x0 result that it has been "successfully completed". The problem is that the actual enrolment data does NOT get synchronised and appear in moodle 2.9 and I have spent several days tearing what's left of my hair out.
I have only run one task at a time and not tried to do them simultaneously. The formatting of the columns and the setup of the mapping is identical as is the data. Has anyone got any ideas or suggestions or similar experience with this version?
Any help would be very welcome.
Best Wishes,
Richard