directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Ldap.toString() returning a Normalized DN is an error...
Date Thu, 02 Oct 2008 13:32:41 GMT
Hi guys,

I'm realizing that the LdapDN.toString() method returning a normalized 
DN was a truly bad idea. It's used all over the code, for instance to 
generate error messages, and this is obfuscating them.

It would be way better if the toString() method returns the user 
provided DN so that the semantic of this method is kept. All in all, the 
toString() method is supposed to return something whichj is readable by 
human beings, when is not :)

So what about replacing the current implementation to return the UP name 
instead of the Normname ?

cordialement, regards,
Emmanuel L├ęcharny

View raw message