Files
freeipa/ipaserver/plugins
Florence Blanc-Renaud c8c05289f8 idview: improve performance of idview-show
The command ipa idview-show NAME has a post callback
method that replaces the ID override anchor with the corresponding
user name.
For instance the anchor
ipaanchoruuid=:SID:S-1-5-21-3951964782-819614989-3867706637-1114
is replaced with the name of the ad user aduser@ad.test.

The method loops on all the anchors and for each one performs the
resolution, which can be a costly operation if the anchor is for
a trusted user. Instead of doing a search for each anchor, it is
possible to read the 'ipaOriginalUid' value from the ID override
entry.

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

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2023-05-05 14:17:18 -04: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
2023-01-10 08:30:58 +01:00
2022-03-11 13:37:08 -05:00
2022-06-09 08:35:15 +02:00
2023-04-28 10:12:46 -04:00
2019-10-21 18:01:32 +11:00
2022-09-29 14:23:44 +02:00
2023-04-26 14:21:33 -04:00
2019-03-28 00:21:00 +01:00
2022-03-11 13:37:08 -05:00
2023-04-05 14:55:22 -04: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
2022-03-11 13:37:08 -05:00
2023-01-10 08:30:58 +01:00
2023-04-05 14:55:22 -04:00
2023-01-10 08:30:58 +01:00