LDAP syncing scripts + AD: OU selective sync?

LDAP syncing scripts + AD: OU selective sync?

by Stefano Guglielmetti -
Number of replies: 2

Hi Moodle people!

In our site the authentication is managed with the LDAP server plugin (Sync Plus) and is synchronized with Acrive Directory.
We would like to use this plugin LDAP syncing scripts , but having many groups in AD, we would like to import only the Organizational Units that interest us. No configuration examples are available.
It's possible to do it?
Anyone knows?

Thank you

Average of ratings: -
In reply to Stefano Guglielmetti

Re: LDAP syncing scripts + AD: OU selective sync?

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

It looks like auth_ldap_syncplus does this the same way as the core LDAP Server plugin. You can specify each OU using its LDAP distinguished name ("ou=…,dc=…,dc=…") in the Contexts field separating each one with ';'.

An example restricting access to two OUs: "ou=Head Office,dc=example,dc=corp;ou=Campus,dc=example,dc=corp".

Average of ratings: Useful (1)