Commit Graph

24 Commits

Author SHA1 Message Date
Frédéric Guillot f5bb55bdb8
PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
operateur404 d382e2e4be
LDAP protocol/host/port configuration by URL; make BASE_DN optional
PHP ldap_connect($host, $port) function signature is deprecated: https://www.php.net/manual/en/function.ldap-connect.php

Querying an AD Global Catalog across an entire forest requires an empty base DN
2021-02-03 18:49:50 -08:00
Eskiso 4d1205a0fe
Don't force role of user if no ldap groups defined
We should not force role of user on LDAP logins if there are not Manager/Admin groups defined, return null to get the one from database as before.
2020-12-02 22:44:39 -08:00
JayBeeDe e3e9cabd8b
Added setting that makes possible any new LDAP user to be Manager by default 2020-10-04 12:11:07 -07:00
mildis 9e1e4ea381
Allow use of the user's DN as the group filter substitution 2020-05-21 20:57:30 -07:00
DebianRoxx d34a5c50c4 Fix role precedence in LDAP integration 2018-03-08 13:20:33 -08:00
Frederic Guillot 455b909e48 Add limit argument to ldap_search() 2017-11-09 16:17:40 -08:00
Frederic Guillot 3e1b1e0249 Improve LDAP error reporting 2017-02-05 19:34:12 -05:00
Frederic Guillot a8a8bfb0af
Added more unit tests for LDAP user class 2016-07-02 18:23:47 -04:00
Frederic Guillot 4987e245bb Do not sync user role if LDAP groups are not configured 2016-05-30 21:47:31 -04:00
Frederic Guillot 55ee906ba3 Added support for language LDAP attribute 2016-05-07 18:05:33 -04:00
Frederic Guillot 300dabe6b4 Added support for LDAP user photo profile 2016-05-07 12:59:35 -04:00
Frederic Guillot 3872dee261 Added support for LDAP Posix Groups (OpenLDAP with memberUid) 2016-04-30 20:38:16 -04:00
Frederic Guillot febbd8cace Check if LDAP logger is defined 2016-03-27 18:44:03 -04:00
Frederic Guillot d0a0be89f2 Added more logging for LDAP client 2016-03-27 18:30:02 -04:00
Frederic Guillot 24c224ddc2 Added support for multiple placeholders for LDAP_USER_FILTER 2016-03-17 22:24:11 -04:00
Dj Padzensky a8abc70bcb Changing new self to new static, to accommodate subclasses of LdapClient. 2016-03-07 15:05:06 -08:00
Frederic Guillot a7f3e3bec5 PHPdoc cleanup 2016-03-04 21:11:12 -05:00
Frederic Guillot 27b9b7a727 Minor code improvements 2016-01-16 22:29:29 -05:00
Frederic Guillot f9c676cf81 Change private properties to protected 2016-01-13 21:02:32 -05:00
Frederic Guillot 70c65268fe Update plugin doc 2015-12-06 14:48:59 -05:00
Frederic Guillot 18c56a50e7 Fix phpdoc 2015-12-05 21:22:37 -05:00
Frederic Guillot e9fedf3e5c Rewrite of the authentication and authorization system 2015-12-05 20:31:27 -05:00
Frederic Guillot 2451706316 Add generic LDAP client library 2015-11-27 09:15:12 -05:00