Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: Comparing ldap data using net ldap

by perlknight (Pilgrim)
on Jan 26, 2007 at 13:18 UTC ( #596707=note: print w/replies, xml ) Need Help??

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

my ldap entries have millions entry. Would Net::LDAP::LDIF be able to handle it; does it has a call back option? Thanks.
  • Comment on Re^2: Comparing ldap data using net ldap

Replies are listed 'Best First'.
Re^3: Comparing ldap data using net ldap
by strat (Canon) on Jan 27, 2007 at 11:04 UTC

    I haven't tried Net::LDAP::LDIF with several million entries, but I think it can do it. For writing the objects to the LDIF you don't need callbacks from Net::LDAP::LDIF, only the callback from Net::LDAP::Search could be a good idea. If you dump your search result in a sorted way, you can read the objects one-by-one from the LDIF with a code similar to the synopsis from Net::LDAP::LDIF.

    Best regards,
    perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8."

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://596707]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2023-03-22 03:59 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.