we are working on realizing MNET between the faculty Moodle instances at our university.
I understand that users get two different accounts if they on one day log in to Moodle A and them roam to Moodle B and on the other day, they log directly into Moodle B.
As we have activated LDAP in Moodle A and Moodle B, we would want our users to have one account only in each Moodle instance.
We would want to try to add a "feature" into MNET in Moodle 1.9.x that does the following:
1. User clicks on a roaming (jump.php) link at Moodle A to roam to Moodle B.
2. Moodle B checks if the incoming username (with mnet_host_id from Moodle A) is present locally (mnet_host_id from Moodle B).
3. If present, log in to the corresponding Moodle B account. If not present, create a local (!) Moodle B account and go on with SSO.
(Probably, that would make the mnet_host_id to not be needed anymore for our scenario, I guess ...)
Could somebody please point me in a direction? Are there any problems with that? Which file would be best for putting that functionality in?
Thanks in advance!