Hi,
I have managed to make my newly installed Moodle do authentication using our Active Directory. Moodle (v.3.4) is running on Ubuntu 16.04LTS server, and the AD is on W2012 R2.
I have managed to set multiple "Contexts" in "User Lookup Settings" using "ou=users,ou=company-1,dc=domain-1,dc=com; ou=users,ou=company-2,dc=domain-2,dc=com; " and the accounts get synch'ed, but I need to benefit from the SecurityGroups of AD.
I tried using "memberof=cn=allusers,ou=groups,ou=company,dc=domain,dc=com;" but this gives the "Did not get any users from LDAP -- error? -- exiting" error.
Any help is appreciated.