Eternach, Andreas (EXT) wrote:
Hi,

I am using ADS version 1.5.2.

In the meantime I performed a network-analyses with WireShark. It turnet out, 
that Apache-DS returns case-sensitive distinguishednames.

So the Java/Spring-implementation performes the conversion to lower-case.
ok, makes sense. Thanks for having checked !
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 Lécharny [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 22. Juli 2008 11:10
An: Eternach, Andreas (EXT)
Betreff: Re: AW: Case-Sensitivity of DistinguishedName?

Eternach, Andreas (EXT) wrote:
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).
Apache Directory Server will return the DN as it ha been stored. For instance, if you inject a dn like :
ProductID=ABC, dc=siemens,dc=com,

you should get it back with the very same casing.

Which version of apache DS are you using ? (some older versions did not correctly stored the DN as provided).

Thanks !



--
--
cordialement, regards,
Emmanuel Lécharny
www.nextury.com
directory.apache.org


Reply via email to