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