Files
freeipa/ipaserver/plugins
Alexander Bokovoy 08f1e6f2fd trust: use context.principal only when it is defined
In server-like context we use LDAPI connection with auto-binding to LDAP
object based on the UID of the process connecting to LDAPI UNIX domain
socket. This means context.principal is not set and we cannot use it.

Make sure to reject requests unless we are operating as a Directory
Manager in such cases.

Fixes: https://pagure.io/freeipa/issue/9583

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Thomas Woerner <twoerner@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
2024-05-22 10:03:38 +02:00
..
2010-12-20 17:19:53 -05:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2019-10-21 18:01:32 +11:00
2022-09-29 14:23:44 +02:00
2019-03-28 00:21:00 +01:00
2024-01-09 08:40:47 +01:00
2024-01-09 08:40:47 +01:00
2020-03-31 09:21:37 +03:00
2020-09-23 14:49:15 +02:00
2018-01-09 07:53:28 +01:00
2023-01-10 08:30:58 +01:00
2023-01-10 08:30:58 +01:00
2024-04-10 09:26:47 +02:00