OpenDJ schema import, attribute names not case sensitive

This topic has 2 replies, 2 voices, and was last updated 7 years, 1 month ago by rodwors.

  • Author
  • #4457

    I have imported a new schema which defines several new attributes.
    The schema import has worked correctly, but all new attribute names are not case sensitive, and in an ldapsearch appear in lower case.

    Is their a way to make the new attribute names case sensitive. Is it possible to modify values also to be case sensitive? The data to import contains duplicate values but in different case. This last part is not important as the data can be cleaned.



    Attribute Names in LDAP are not case sensitive. How does you application deals with attribute names that are standard (not specific to your new schema) ?


    Ok, I think I know what is going on.

    I understand attributes are case insensitive, therefore it is the same searching for previousPassword than for previouspassword.

    The problem I was having is I was setting all the results in a map, then trying to retrieve results through the case sensitivy attribute name: map.get(“previousPassword”); when they were all appearing in lower case. I modified the schema slightly and now they maintain their case on the search results.

    Before I was using olcAttributeTypes: as the definition. THen changed to attributeTypes: , now case in results is maintained.

    Thanks a lot!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?