Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Dancer2::Plugin::Auth::Extensible::Provider::LDAP says "a successful bind must be completed"...

by TieUpYourCamel (Scribe)
on May 05, 2020 at 14:52 UTC ( [id://11116485]=note: print w/replies, xml ) Need Help??


in reply to Re: Dancer2::Plugin::Auth::Extensible::Provider::LDAP says "a successful bind must be completed"...
in thread Dancer2::Plugin::Auth::Extensible::Provider::LDAP says "a successful bind must be completed"...

Thanks for your suggestion Corion -- here are the results:
camel@camelbox:~$ cat ldaptest.pl use strict; use warnings; use Net::LDAP; my $host = 'xxx.xxx.xxx.xxx'; my $ldap = Net::LDAP->new( $host ) or die "LDAP connect failed for: " . $host; my $mesg = $ldap->bind( "cn=Test User,ou=user,ou=accounts,ou=our,dc=our,dc=domain,dc=com" +, password => 'password', ); warn "LDAP response when binding: " . $mesg->error; my $srch = $ldap->search( base => "c=US", # perform a search filter => "(&(sn=Barr)(o=Texas Instruments))" ); camel@camelbox:~$ perl ldaptest.pl LDAP response when binding: Success at ldaptest.pl line 13, <DATA> lin +e 755. camel@camelbox:~$
So it does perform a successful bind.
  • Comment on Re^2: Dancer2::Plugin::Auth::Extensible::Provider::LDAP says "a successful bind must be completed"...
  • Download Code

Log In?
Username:
Password:

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

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

    No recent polls found