URL: https://github.com/freeipa/freeipa/pull/5933 Author: rcritten Title: #5933: Add index for sudoorder Action: opened
PR body: """ sudorule-mod <rule> --order=<num> does a search for an existing order and this search is unindexed. https://pagure.io/freeipa/issue/8939 Signed-off-by: Rob Crittenden <rcrit...@redhat.com> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/5933/head:pr5933 git checkout pr5933
From 1bd6bcd48cfb7288b9c2d92c62b0b6c477a5f969 Mon Sep 17 00:00:00 2001 From: Rob Crittenden <rcrit...@redhat.com> Date: Thu, 29 Jul 2021 14:36:18 -0400 Subject: [PATCH] Add index for sudoorder sudorule-mod <rule> --order=<num> does a search for an existing order and this search is unindexed. https://pagure.io/freeipa/issue/8939 Signed-off-by: Rob Crittenden <rcrit...@redhat.com> --- install/updates/20-indices.update | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update index cb1a11dd568..42c16bc3a0d 100644 --- a/install/updates/20-indices.update +++ b/install/updates/20-indices.update @@ -298,6 +298,15 @@ add:nsIndexType: eq add:nsIndexType: pres add:nsMatchingRule: integerOrderingMatch +dn: cn=sudoorder,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +only:cn: sudoorder +default:objectClass: nsIndex +default:objectClass: top +default:nsSystemIndex: false +add:nsIndexType: eq +add:nsIndexType: pres +add:nsMatchingRule: integerOrderingMatch + dn: cn=ipasudorunasgroup,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config only:cn: ipasudorunasgroup default:objectClass: nsIndex
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure