Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8285

LDAP and Security Groups

$
0
0
by Chris J.  

Hello,

I have Moodle 2.7.2+ installed and working with the  LDAP plugin querying Active DIrectory. I created a security group called "MoodleUsers" and I have an objectclass set to the following:

(memberOf=cn=MoodleUsers,ou=Groups,dc=DOMAIN,dc=local)

My LDAP user lookup context is dc=DOMAIN,dc=local

This allows me to find, sync, and authenticate all users that are a member of "MoodleUsers". An issue arises when I remove a previously synced Moodle user from the security group in Active Directory. If I try to do a manual sync with the sync setting set to "Full Delete Internal", I receive the following error: 

Connecting to LDAP server...
Creating temporary table tmp_extuser
Did not get any users from LDAP -- error? -- exiting
Potential coding error - existing temptables found when disposing database. Must be dropped!

If I add the user back to the MoodleUsers group, the sync works without error again.

Any assistance is appreciated.




Viewing all articles
Browse latest Browse all 8285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>