-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 5722 - RFE When a filter contains 'nsrole', improve response ti…
…me by rewriting the filter (#5723) Bug description: 'nsrole' is a virtual attribute and is not indexed. With a poorly selective filter like below the search may be not indexed "(&(nsrole=cn=managed_role,cn=suffix)(objectclass=posixAccount)))" The RFE is to rewrite the filter component contains 'nsrole' attribute type. Rewritten component can then been indexed Fix description: For managed role, it replaces 'nsrole' with 'nsroleDN' attribute type For filtered roled, it replace the 'nsrole' component with the nsRoleFilter value relates: #5722 Reviewed by: Pierre Rogier (Thanks)
- Loading branch information
Showing
5 changed files
with
535 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.