Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2148

A Search on an Attribute that does not have a Substring MatchingRule should always do a full scan

Attach filesAttach ScreenshotAdd voteWatch issueCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M21
    • None
    • search
    • None

    Description

      Searches using a filter like (ObjectClass=org*) should do a full scan, as the ObjectClass attributeType does not have a SUBSTRING matching rule :

      attributetype ( 2.5.4.0 
      	NAME 'objectClass' 
      	DESC 'RFC2256: object classes of the entity' 
      	EQUALITY objectIdentifierMatch 
      	SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 
       )
      

      Currently, we bypass this missing SUBSTRING matching rule, by using a default substring search. This is wrong. In this very case, the search should return nothing.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny

            Dates

              Created:
              Updated:

              Slack

                Issue deployment