directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel L├ęcharny <>
Subject Re: [ApacheDS] is there an easy function to convert OIDs?
Date Mon, 11 Aug 2008 23:42:55 GMT
Alex Karasulu wrote:
> If you have an LdapDN instance that you got back then just do a
> getUpName().  This returns the user provided form of the attributeType
> alias.
That's not exactly true. The getUpName() method just returns the User 
Provider _if_ the initial DN was already using the alias (ie, if you 
have a dn: ou=test, then doing a dn.getupName() will give you back 
ou=test, when dn.getNormName will give you back

But if the original form was, then getUpName will return 
the exact same thing,

Otherwise, the methods Alex gave you are the correct way to do the 
conversion, AFAIK.

cordialement, regards,
Emmanuel L├ęcharny

View raw message