I didn't read everything. Are you talking about https://moodle.org/plugins/local_ldap ?
General help
Don't unenrol on cohort sync
This discussion has been locked so you can no longer reply to it.