Should i do this by processing(cropping) srings, or is there an elegant way?
just strip the RDN from the DN of the each entry received in the
search results, that will be the
corresponding entry parent's DN
On Thu, Sep 6, 2012 at 3:04 PM, Merve Temizer <email@example.com> wrote:
> I use JNDI and i have some search result entries and i can get their dn s
> NamingEnumeration answer = ctx.search(searchBaseDn, filter, ctls);
> while (answer.hasMore())
> SearchResult sr = (SearchResult) answer.next();
> OrganizationPojo organizationPojo = new OrganizationPojo();
> How can i get parent entry/dn ?