Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: LDAP modules/advice

by Solo (Deacon)
on Apr 18, 2003 at 19:22 UTC ( [id://251519]=note: print w/replies, xml ) Need Help??


in reply to LDAP modules/advice

I use Net::LDAP on iPlanet without problems.

use strict; use Net::LDAP; my $ldap = Net::LDAP->new('hostname') or die "$@"; $ldap->bind( "cn=Directory Manager", password => "..."); my $root = $ldap->root_dse(); $root->dump;

I think cn=Directory Manager is standard, at least it is in my environment... but I don't get out much. YMMV.

--Solo

--
I think my eyes are getting better. Instead of a big dark blur, I see a big light blur.

Replies are listed 'Best First'.
Re: Re: LDAP modules/advice
by jlongino (Parson) on Apr 18, 2003 at 22:04 UTC
    Thanks for the example. It worked minus the password requirement and returned results (even though it is empty).

    --Jim

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-18 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found