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

OR search with multiple attributes if one is bad, search fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.5.1
    • None
    • None
    • None
    • Running on windows under JBoss

    Description

      Doing a search from LDAP Studio, or from an Open LDAP Client. I have a search string with multiple attributes trying to find a name. The client is required to include some attributes that do not even exist on my server. Depending on the format of the search string, one succeeds and one fails, even tho they are searching the same data with the same attributes. I would like both to succeed and return values for attributes that do match.

      ldap://10.33.32.228:389/ou=users,ou=ReadiManager??sub?(|(|(|(|(ldapDisplayName=a*))(|(name=a*))(|(middleName=a*))(cn=a*)(sn=a*))(givenName=a*))(displayName=a*))
      works fine, returns one result in my system, nothing is ine logs.

      (|(ldapDisplayName=a*)(name=a*)(middleName=a*)(cn=a*)(sn=a*)(givenName=a*)(displayName=a*))
      does not return an error, but also does not return any rows. The following appears in the log:
      13:07:17,754 WARN [NormalizingVisitor] (pool-2-thread-5) Removing leaf node based on undefined attribute 'ldapdisplayname' from filter.
      13:07:17,754 WARN [NormalizationService] (pool-2-thread-5) Undefined branchnode filter without child nodes not evaluted at all. Returning empty enumeration.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              webshammo Steve hammond
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: