In the LDAP settings when I enter for user context particular OU with users in it, I can login to moodle and it will create the account in moodle for that LDAP user. If for the users context I put particular AD group and try to login user from that group it says "Invalid login, please try again" . Why it works with OUs and not with AD groups?
In reply to Plamen Stanev
Re: LDAP authentication does not work with AD groups. Why?
by Emma Richardson -
You cannot use groups in the context field. These belong in the object class field. The entry should look something like the following: (|(&(objectClass=user)(!(objectClass=computer))(memberOf=cn=MoodleUser,ou=people ,dc=yourdomain,dc=com)))
In reply to Emma Richardson
Re: LDAP authentication does not work with AD groups. Why?
by Plamen Stanev -
In reply to Plamen Stanev
Re: LDAP authentication does not work with AD groups. Why?
by Emma Richardson -
Sorry - I have never messed with SSO - you might look at the documentation and search the forums.
In reply to Emma Richardson
Re: LDAP authentication does not work with AD groups. Why?
by Plamen Stanev -
Thanks