[LDAP syncing scripts?] How to get global groups in AD in to cohorts in Moodle?

Re: [LDAP syncing scripts?] How to get global groups in AD in to cohorts in Moodle? SOLVED

by Visvanath Ratnaweera -
Number of replies: 0
Picture of Particularly helpful Moodlers Picture of Translators
Emma, found the answer to how the AD was intended to work.

auth_ldap | contexts:
- ou=lehrende,ou=benutzer,dc=...
- ou=lernende,ou=benutzer,dc=...
- ou=klassen,ou=lernende,ou=benutzer,dc=...

local_ldap |
- 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!
smile