Hi,

I'm using perldap 1.4.1 and I need some help doing imbricated LDAP
search.

Here is what I'm trying to do:
I do a search on a LDAP server that gives me several entries.

Next I iterate on each on these entries and I do another search based on
the information of the current entry.
However, when I do the search inside the loop, I lose the result of the
first search (outside the loop) !
The current entry is still valid but doing $ldap->nextEntry() gives me
the next entry of the second search inside the loop, not the  next entry
of the first search  outside the loop.

I wish I could something like $thisentry->nextEntry() instead of
$ldap->nextEntry, to keep both searches open.

I guess I can open a new connection to the LDAP server, but that seems
to be a cubbersome workaround to me.

Am I missing the easier way to do this?

Thanks,
Laurent Birtz <[EMAIL PROTECTED]>


Reply via email to