Commit Graph

22 Commits

Author SHA1 Message Date
Uwe Steinmann
36477ca71d fix typo 2024-09-04 22:07:49 +02:00
Uwe Steinmann
5c7ef9dfd2 field for storing email in ldap can be configured 2024-05-14 15:33:45 +02:00
Uwe Steinmann
a429cc436f ldap_get_entries() returns lower case keys 2024-05-14 11:57:05 +02:00
Uwe Steinmann
2b7f90991a support login by email 2024-03-20 18:21:22 +01:00
Uwe Steinmann
5235a859fc add comment how $tmpDN is used 2024-03-20 14:02:24 +01:00
Uwe Steinmann
17dbfcf2c7 propperly import group names with non-printable chars 2024-02-17 13:03:29 +01:00
Uwe Steinmann
c10d5ebb9b do not use a general dn for a user if ldap filter is set 2023-08-25 20:17:47 +02:00
Uwe Steinmann
c51088a3b6 add more code documentation 2023-08-25 12:33:35 +02:00
Uwe Steinmann
13bb99f729 add comment of newly created user 2023-08-24 13:22:19 +02:00
Uwe Steinmann
87f3406bbf check if bindDN is not empty, more documentation 2023-08-24 13:13:11 +02:00
Uwe Steinmann
b8c59fd264 do not set role when adding new user because the default is just fine 2023-08-24 13:12:09 +02:00
Uwe Steinmann
0eeb8be393 change example for content of memberOf 2023-08-18 08:01:21 +02:00
Uwe Steinmann
5a0410f68e check for sync of groups from ldap 2023-08-17 13:51:02 +02:00
Uwe Steinmann
5de8c66d1f move code to update/add user into protected function 2023-08-16 18:45:20 +02:00
Uwe Steinmann
7b8f3ef0bb some reorganization of code 2023-08-16 17:40:14 +02:00
Uwe Steinmann
28a4a24613 add constructor, authenticate() returns null if authentication fails 2022-11-28 21:36:40 +01:00
Uwe Steinmann
2e4b19e4ef fix counting of login failures if both ldap and db authentication is done 2022-11-17 17:43:55 +01:00
Uwe Steinmann
8f4c2f454b user uid instead of cn in distinguished name to auth. user 2022-08-30 18:11:00 +02:00
Uwe Steinmann
8e7d2547b4 remove constructor, because it was the same like in the parent class 2021-09-20 16:42:14 +02:00
Uwe Steinmann
beb29ca34e propperly check if user exists in database (Closes #388) 2018-01-24 09:18:24 +01:00
Uwe Steinmann
5658cbbe54 set initial role to '0' not '1' 2016-10-06 15:26:28 +02:00
Uwe Steinmann
f890b23ccc put authentication into its own class 2016-08-10 15:52:55 +02:00