June 18, 2015 at 11:10 am #4457rodworsParticipant
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.
ThanksJune 19, 2015 at 2:38 pm #4468LudoModerator
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) ?June 19, 2015 at 3:48 pm #4472rodworsParticipant
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!
You must be logged in to reply to this topic.