Commit Graph

38 Commits

Author SHA1 Message Date
K3A
2560973949
Update plugin.php
Fix unsupported direct access to $ydb
2018-01-29 21:27:23 +01:00
Brooke Hedrick
b8064a482b
Added Active Directory LDAP hostname lookup
If you are using Active Directory, you likely have multiple LDAP servers.  Which servers your Windows clients use is controlled by a DNS entry for sites and services.  This DNS entry looks like _ldap._tcp.corporate._sites.yourdomain.com .  This code change allows for the LDAP host name to be looked up automatically based on the DNS entry.  This way if your Active Directory architecture changes (different Domain Controllers / LDAP servers ), you won't need to update this plugin's configuration.  This is only enabled if you set the new LDAPAUTH_DNS_SITES_AND_SERVICES configuration value.  Please see documentation in the README.md.
2017-11-15 13:58:53 -06:00
K3A
3e7f66652d Merge pull request #14 from davoaust/master
Updated groups check
2017-03-21 09:46:54 +01:00
Dave
4b771eee8b Whitespace fix 2017-03-20 10:14:42 +10:00
Dave
9932e85775 Updated groups check
Groups check now uses membership attribute on user object directly
2017-03-20 10:12:35 +10:00
Dave
2ec10b908e Merge pull request #1 from k3a/master
Merging latest changes
2017-03-20 10:04:08 +10:00
K3A
5a0e0dccfe spelling fix 2017-02-13 22:10:52 +01:00
K3A
de00e141c2 Merge pull request #12 from henriquecrang/master
Group authentication improved
2016-11-18 23:22:43 +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
Henrique de Andrade
58479c3055 Update README.md
adding scope search docs
2016-11-18 10:52:22 -02:00
K3A
04d1464d6d merge fix / thanks tipichris 2016-07-23 14:39:40 +02:00
Mario
8dac24e2e8 Merge branch 'tipichris-master' 2016-07-22 23:23:08 +02:00
Mario
c1c0045ad9 merge 2016-07-22 23:20:54 +02:00
K3A
d1106eaaf8 Merge pull request #10 from jorrit/patch-1
Fix README.md
2016-07-22 23:12:26 +02:00
Chris Hastie
06112447d4 Tidy README 2016-07-22 21:03:46 +01: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
Jorrit Schippers
db7a45d839 Fix README.md
Changes a reference to yourls-cas-plugin to yourls-ldap-plugin and adds `;` to the define statements for easier copying.
2016-07-15 08:34:40 +02: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