I'm hoping someone can help me understand how to work with the object returned by a call to DirContext.lookup.
The following code snippet works and returns an object. I just can't figure out how to get the attributes from the object.
javax.naming.directory.DirContext ctx =
javax.naming.directory.getContext(false);
Object o = ctx.lookup(rdn);
Any help would be much appreciated.