mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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 <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
715987a82e
commit
4785d87ea9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user