There is something that I don't remember:
In Moodle I went on :
1- Administration > Courses > Enrolments
there, we can enable Moodle Networking, and also edit. When we edit, we can not set any "user creation" operation (it is logic). I enabled this enrolment plugin.
2- Administration > Authentication > Manage authentication > Moodle Network Authentication
there, we can set 'Auto add remote users' to No.
'Auto add remote users' is defined as: 'When set to Yes, a local user record is auto-created when a remote user logs in for the first time.'
Does that means that when it's set to no, no local user record is created? Does that mean that Moodle has no remote user reference into the database?
or maybe when a local user is auto-created that means that a user with the same username is created in local + we save a reference to the remote user ?
I'm confused here because I don't see the point to this option. A remote user reference should always been saved into the database, so if the option is about to create a remote user reference, "create user" should always been set to Yes. Not settings it to Yes, it's about refusing any new enrolment, so to disable the network enrolment plugin.