Using
my @LDAPServerAddress = [ '172.19.1.11', '172.17.17.110' ];
my $ldap = Net::LDAP->new(@LDAPServerAddress,port=>389,timeout=>5)
|| return "Can't connect to @LDAPServerAddress via LDAP";
Works.
-Original Message-
From: Edward Brookhouse [mailto:[EMAIL PROTECTED]
Sent: Fri
I am attempting to utilize Net::LDAP to authenticate to a directory, and
I have it working, but I now need to add redundancy.
The docs for Net::LDAP say "
HOST may also be a reference to an array of hosts, host-port pairs or
URIs to try. Each will be tried in order until a connection is made.
On