What is the exact problem you have ? I am developing a program, which reads some configuration-objects via LDAP from Apache-DS.
E.g. ProductId=ABC, dc=siemens, dc=com Internally I map the configuration on a Hashmap-interface. So far so good. If another component queries for the item 'ProductId=ABC' I lowercase the query to 'productid=ABC' and everything is fine. But I have another component that calls BeanUtils.copyProperties on my HashMap-interface and performes the queries on the result ... So this is more an application-internal problem, but I thought LDAP supports case-sensitive distinguished names. (At least the Apache-Studio displays case-sensitive Distinguished-Names). Best regards Andreas Eternach Software-Entwickler Siemens AG Automation and Drives, Stoneball Tel. : +49 (341) 4470-0 mailto:[EMAIL PROTECTED] http://www.siemens.com/automation Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme Managing Board: Peter Loescher, Chairman, President and Chief Executive Officer; Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Jim Reid-Anderson, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen Registered offices: Berlin and Munich; Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684 WEEE-Reg.-No. DE 23691322 -----Ursprüngliche Nachricht----- Von: Emmanuel Lecharny [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 22. Juli 2008 10:46 An: [email protected] Betreff: Re: Case-Sensitivity of DistinguishedName? Eternach, Andreas (EXT) wrote: > Hi guys, > > i wonder whether it is possible to enable Case-sensitive-access to > Distinguished-Names in Apache-DS. > DN are not case sensitive or case insensitive. AttributeTypes are case insensitive, but values will be case sensitive accordingly to their syntax. > > I am using Spring-LDAP on my client machine and all attribute-names of > the Distinguished-Name are lower cased. > That should not be a problem at all. cn, CN, Cn; CommonName, commonNAME and 2.5.4.3 are all valid. Ie, if you have a DN like : cn=test, then a DN containing any of those forms will be valid : CN=test Cn=test CommonName=test commonNAME=test 2.5.4.3=test > > Anybody has an idea how disable this conversion into lower-case? > you can't and you should not. -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
