1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-30 21:12:05 +00:00
Radicale/radicale
Peter Marschall 8821612fa8 LDAP auth: allow finding groups based on separate search
Instead of searching for the membership attribute on the user side
(usually AD: memberOf, Novell eDirectory: groupMembership) to determine
the groups the user loging on is a member of, allow performing a separate
search for the groups having the user as member and use the found groups' DNs.

The group search is performed in the context of 'ldap_reader_dn', after
the user DN has been found in the directory, but before the authentication
has been performed by doing an LDAP bind in the user's context.

Although this may - in the case of unsuccessful login attempts -
double the number of queries to the LDAP server, it has been done
this way to keep the number of LDAP contexts minimal.

Doing the group search in the context of the user logging on is no viable
option, because there are known implementations where regular users do not
have the necessary permissions to query the groups they are a member in.
2025-09-07 11:38:08 +02:00
..
app conditional log level for base_prefix strip action 2025-08-22 08:49:24 +02:00
auth LDAP auth: allow finding groups based on separate search 2025-09-07 11:38:08 +02:00
hook - Fix unit tests for hook email trigger conditional based on end date 2025-08-21 00:21:11 -06:00
item catch items having tzinfo only on dtstart or dtend set for whatever reason, overtake tzinfo from the other one 2025-08-22 07:49:54 +02:00
rights Skip group collection match when groups are not used 2024-12-07 18:24:29 +00:00
storage Fix acquire_lock interface signature 2025-08-23 20:59:37 +02:00
tests fix lint issue related to 9d5772901d 2025-08-24 10:14:28 +02:00
web InfCloud: conditional display of link 2025-03-06 08:22:34 +01:00
__init__.py implement trace option 2025-07-19 14:40:12 +02:00
__main__.py implement trace option 2025-07-19 14:40:12 +02:00
config.py LDAP auth: allow finding groups based on separate search 2025-09-07 11:38:08 +02:00
httputils.py tox fixes 2025-03-06 08:52:54 +01:00
log.py implement trace option 2025-07-19 14:40:12 +02:00
pathutils.py Improve: user/group retrievement for running service and directories 2025-09-01 20:31:23 +02:00
py.typed Synced with origin 2023-02-10 22:03:33 +01:00
server.py show trace status on startup 2025-07-19 14:40:27 +02:00
types.py chore: pyupgrade --py38-plus 2024-08-06 13:49:23 +02:00
utils.py Improve: user/group retrievement for running service and directories 2025-09-01 20:31:23 +02:00
xmlutils.py Added Webcal support in web UI 2024-03-05 23:57:58 +11:00