Hi,
I have managed to make my newly installed Moodle do authentication using our Active Directory. Moodle (v.3.10) is running on Redhat 7.9 server, and the MS AD.
I have managed to set multiple "Contexts" in "User Lookup Settings" using "OU=MAIL,OU=SW5,DC=company,DC=domain,DC=sg,DC=com; OU=POSIX,OU=SW2,DC=company,DC=domain,DC=sg,DC=com; " and the accounts get synch'ed, but I need to benefit from the SecurityGroups of AD.
I tried using in context the security group DN like CN=OSUX_SG_LMS,OU=OSUX-LMS,OU=APPS,DC=company,DC=domain,DC=sg,DC=com but the login through LDAP is failing saying invalid user/login details.
Any help is appreciated.