Re: [ApacheDS] is there an easy function to convert OIDs?

2008-08-11 Thread Emmanuel Lecharny
Hammond, Steve wrote: I have java code interfacing with ADS by calling PartitionNexusProxy.search(searchOpContext). Most DN's come back readable. But sometimes some of them come back with OIDs (I think that is normalized?) I have a dn 2.5.4.11=local,2.5.4.11=users Is there an existing

Re: [ApacheDS] is there an easy function to convert OIDs?

2008-08-11 Thread Emmanuel Lecharny
Hammond, Steve wrote: I have java code interfacing with ADS by calling PartitionNexusProxy.search(searchOpContext). Most DN's come back readable. But sometimes some of them come back with OIDs (I think that is normalized?) I have a dn 2.5.4.11=local,2.5.4.11=users Is there an existing

Re: [ApacheDS] is there an easy function to convert OIDs?

2008-08-11 Thread Alex Karasulu
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. If you do not have an LdapDN object or you're still getting back normalized names from getUpName(), then there is code in the

Re: [ApacheDS] is there an easy function to convert OIDs?

2008-08-11 Thread Emmanuel Lécharny
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

Re: [ApacheDS] is there an easy function to convert OIDs?

2008-08-11 Thread Alex Karasulu
On Mon, Aug 11, 2008 at 7:42 PM, Emmanuel Lécharny [EMAIL PROTECTED]wrote: 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. You're absolutely right