Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Originally posted as a comment under Problem using NET::LDAP with multiple ldap servers
I am running into this issue when I use a load balancer dns alias which has multiple ldap servers. It's not possible to input all of the individual ldap servers in the subroutine. Is there any other solution to this issue?
here is my code:
where $host in a load balancer.my $ldap = Net::LDAP->new( $host, port => $port, version => 3 ) or die + "$@";
If I hard code one of the ldap server in the same code, it works!
eg:
my $ldap = Net::LDAP->new( 'myldap.server.com', port => $port, version + => 3 ) or die "$@";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: issue using NET::LDAP with load balancer dns alias with multiple ldap servers
by naChoZ (Curate) on Feb 05, 2025 at 20:56 UTC |