Emma, found the answer to how the AD was intended to work.
auth_ldap | contexts:
- group_attribute = cn
- group_class = group
- cohort_synching_ldap_groups_autocreate_cohorts set
The number of users is now back to 2100 out of which 99% genuine. Number of cohorts halved, almost all are recognizable as classes with genuine users.
Congrats, you have earned a vault full of Karma!
[LDAP syncing scripts?] How to get global groups in AD in to cohorts in Moodle?
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.