in reply to Traverse LDAP Tree

Consider working with LDIF as a method of working with LDAP entries in bulk. You could use the LDIF tool that ships with all LDAP servers (e.g. OpenLDAP). LDIF produces a text file that you can parse and convert into XML (an easy and reliable route).

You could also use the Net::LDAP and Net::LDAP::LDIF modules. This method slurps the LDIF output into memory which may cause problems for large directories.

Inman

Replies are listed 'Best First'.
Re: Re: Traverse LDAP Tree
by dda (Friar) on Oct 03, 2003 at 08:21 UTC
    Thanks for replying, inman. Sure, I know what LDIF is and how to get all entries with Net::LDAP. But is there a way to build a tree, like all GUI LDAP browsers do?

    --dda