I think there is some misconception here - if I'm not wrong - : there is no such operation like 'navigating' a DIT. It's not like a Unix directory, you don't have such objects like dirs and files. An entry is just an entry : it has no knowledge about any potential children whatsoever. What you can do is to search for every elements one level higher, and you will get all the 'children', then you can 'create a subcontext and go for it, or just do a lookup on it, as suggested by Ersin, with the entries DNs.
Emmanuel. On 4/11/07, Ersin Er <[EMAIL PROTECTED]> wrote:
Hi, http://java.sun.com/javase/6/docs/api/javax/naming/Context.html#lookup(javax.naming.Name) should work. HTH, -- Ersin On 4/11/07, Ole Ersoy <[EMAIL PROTECTED]> wrote: > Hey Guys, > > Does anyone know if there's a utility or something > for navigating a DIT...like > > ctx = ctx.getChild(rdn)? > > Which would return a new DirContext > bound to the child rdn? > > Thanks, > - Ole > > > -- Ersin
-- Cordialement, Emmanuel Lécharny www.iktek.com
