Commit Graph

21 Commits

Author SHA1 Message Date
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
K3A
c431aca6c4 Merge pull request #7 from davoaust/master
Now supports multiple admin LDAP groups
2015-06-23 12:05:32 +02:00
Dave
d1b6acd464 Update README.md 2015-06-23 13:18:15 +10: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
K3A
26904a0dbc Update README.md
mentioned #1davoaust
2015-05-19 18:23:35 +02:00
K3A
72aa29d405 Merge pull request #6 from davoaust/master
Added adding of LDAP users to config.php
2015-05-19 18:22:05 +02:00
davoaust
35e8164917 Added config option to add new users 2015-05-19 11:41:19 +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
K3A
24995f3e42 Merge pull request #5 from davoaust/master
Added groups based auth & directory searching with privileged account
2015-05-18 22:49:14 +02:00
davoaust
898f1d2463 Updating with privileged account and group settings
Added information for connection to LDAP with a privileged account.
Added information for authenticating users against a group.
2015-05-18 15:20:41 +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
e5d5e8e71b Merge branch 'master' of https://github.com/k3a/yourls-ldap-plugin 2013-08-25 16:19:13 +02:00
root
5100027998 plugin 2013-08-25 16:18:57 +02:00
K3A
58adb836c5 Update README.md 2013-08-25 16:18:13 +02:00
root
b03083720f doc update 2013-08-25 16:16:59 +02:00
root
d6a530329a added stuff 2013-08-25 16:15:26 +02:00
K3A
7b6b0d77bc Initial commit 2013-08-25 07:14:29 -07:00