http://qs1969.pair.com?node_id=596685


in reply to Re: Comparing ldap data using net ldap
in thread Comparing ldap data using net ldap

I suggest using 'callbacks' if you have many entries. This should be faster because you don't have to wait until the search is finished etc.

See ldap.perl.org/FAQG.htm
and there using the callback subroutine approach
There's also an example.

Edit: thanks to bart for the direct link to the callback! :)
  • Comment on Re^2: Comparing ldap data using net ldap

Replies are listed 'Best First'.
Re^3: Comparing ldap data using net ldap
by perlknight (Pilgrim) on Jan 27, 2007 at 17:48 UTC
    Thanks. The callback may work for me since I am walking the entire ldap tree and comparing entries against the secondary ldap entries.