Files
freeipa/ipaserver/plugins
Thomas Woerner 182dca38c2 principal_has_privilege: Check also idoverriseuser (ipaOriginalUid)
The current filter in principal_has_privilege is only working for normal
IPA users where krbprincipalname is matching the principal. An idoverride
user (for example from AD) is not found with this filter.

A new filter for the principal as an ipaOriginalUid has been added as a
second try if a match with krbprincipalname was not found.

principal_has_privilege is used in the replica connection check. The
additional check enables to deploy replicas using an AD user/administrator
that has been added to the "admins" group.

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

Signed-off-by: Thomas Woerner <twoerner@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2024-04-05 10:05:56 +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
2022-03-11 13:37:08 -05:00
2022-06-09 08:35:15 +02: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
2024-01-09 08:40:47 +01:00
2023-06-01 08:20:37 +02: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-01-09 08:40:47 +01:00