Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: verifification of LDAP credentials

by kamesh3183 (Beadle)
on Dec 03, 2004 at 13:05 UTC ( [id://412108]=note: print w/replies, xml ) Need Help??


in reply to Re: verifification of LDAP credentials
in thread verifification of LDAP credentials

thanks for quick response..
As i don't have any knowledge of Ldap and NET::Ldap documentation some what confusing to me..iwant to have some clarifications on the code you provided..
$ldap = Net::LDAP->new( 'ldap.umich.edu' ); # bind to a directory with dn and password $mesg = $ldap->bind( 'cn=root, o=University of Michigan, c=us', password => 'secret' ); die "Invalid credential" if $mesg->is_error;
can u provide some details on bind method arguments.. suppose my username is 'kamesh'
my password is 'secret'
my ldap server name is 'ldap.server.com
thanks
kamesh

Replies are listed 'Best First'.
Re^3: verifification of LDAP credentials
by zejames (Hermit) on Dec 03, 2004 at 13:24 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-20 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found