Commit Graph

13 Commits

Author SHA1 Message Date
Dave
9932e85775 Updated groups check
Groups check now uses membership attribute on user object directly
2017-03-20 10:12:35 +10:00
K3A
5a0e0dccfe spelling fix 2017-02-13 22:10:52 +01:00
Henrique de Andrade
0950958232 Update plugin.php
Adding again the validation that allow more than one admin group
2016-11-18 15:55:56 -02:00
Henrique de Andrade
1c92562cb8 Update plugin.php
Fixing the group authentication and adding scope option.
2016-11-18 10:54:11 -02:00
Chris Hastie
25747fc14a Make cache optional. Update README 2016-07-22 20:57:41 +01:00
Chris Hastie
7c1f6be501 No need to try checking for LDAPAUTH_USERNAME_FIELD without lowercasing. PHP manual confirms array index is always lower case 2016-07-22 10:43:03 +01:00
Chris Hastie
a7fe07614a Add cache of LDAP users, stored as option in YOURLS database. Add ability to bind using current user (useful for AD/Samba) 2016-07-22 10:23:11 +01:00
Dave
b0ea24440f Now handles multiple admin groups
Added in support for multiple admin groups using a ; delimited array in LDAPAUTH_GROUP_REQ
2015-06-23 13:17:25 +10:00
davoaust
0912a2460f Added automatic user adding
Now has option to add new LDAP users to YourLS config to avoid issues where the user doesn't exist.
Removed debug line accidentally let in
2015-05-19 11:38:17 +10:00
davoaust
f554c10762 Support group auth, privileged account & attribute filter
Added support for group auth, 2 new settings:
- LDAPAUTH_GROUP_ATTR
- LDAPAUTH_GROUP_REQ

If they're not set don't check group membership.

Added support for using a privileged account to do the user search. 2 new settings:
- LDAPAUTH_SEARCH_USER
- LDAPAUTH_SEARCH_PASS

Limited returned attributes to only the ones we need.
2015-05-18 15:15:33 +10:00
K3A
c6d6c3a52c Update plugin.php
Explicit switch to LDAP 3 protocol, fix for YOURLS 1.7
2014-01-28 13:08:39 +01:00
root
8a619851e7 prefix 2013-08-25 20:00:04 +02:00
root
5100027998 plugin 2013-08-25 16:18:57 +02:00