Afternoon all,
I'm attampting to get Bruno'd LDAP plaugin working.
Thus far, all good. I can login with an AD account fine.
BUT... I need to limit access to a small section of AD (our particlar Faculty) and annoyingly I dont actually have access to manipulate our AD. What I need is to be able to filter users based on 'memberOf' or 'department' from LDAP and only alow them to login.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Innovatech@Innovatech
Innovatech - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
You must log in to post replies.hi i have the same problème...
I didn't find a feature like this so I had to make my own version of the LDAP plugin that I was using.
Here I add the LDAP host as a parameter for the 'register', 'user' hook: https://github.com/juho-jaakkola/elgg-ldap_auth/blob/multiple_hosts/start.php#L195
Then in an other (customer specific) plugin I registered a handler for the 'register', 'user' hook. In the hook handler I then handled users differently based on the host.
(Naturally another customization is that my own version of the plugin supports multiple LDAP hosts.)