Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: LDAP modules/advice

by atcroft (Abbot)
on Apr 18, 2003 at 21:07 UTC ( [id://251545]=note: print w/replies, xml ) Need Help??


in reply to LDAP modules/advice

I've had a script using Net::LDAP running against OpenLDAP since late September with no issues to date (*knocks on wooden head for luck*). I had more an issue with the learning curve for dealing with LDAP than with the module, since I was learning LDAP as I went from the docs for Net::LDAP and the section on LDAP from O'Reilly's Perl for System Administration (with a question or two in here as well, if memory serves).

I'll leave this with a piece of advice that may prove helpful: use callback routines if you do searches, especially if you do ones that could potentially return a large amount of data. I uhhh... (*looks down sadly*) kind of ran a machine out of both physical memory and swap more than once before I found out about that because of a query that returned several hundred thousand records (*sheepish grimace*).

I wish you the best of luck with the process, and hope you might consider letting us know how it goes (if you have the opportunity).

Replies are listed 'Best First'.
Re: Re: LDAP modules/advice
by jlongino (Parson) on Apr 18, 2003 at 21:38 UTC
    Ouch! Fortunately we're already keen to limiting the number of records returned because we don't want to make it too easy for spammers to suck up all our email addresses.

    The primary reason for the old OpenLDAP system was to provide an employee email directory (~5000 records). The new system will be used for that purpose also, but primarily for authentication purposes (20K records storing about 10 times more data than before).

    Thanks for the references. I already have the O'Reilly book but wouldn't have thought to peruse it for LDAP info.

    --Jim

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-25 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found