I am new to LDAP.pm and like to query several ldap servers for
redundancy/failover. The documentation says that the host can be an
array:
"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. Only whe
Hi,
On Sunday, 10. February 2008, Markus Moeller wrote:
> I am new to LDAP.pm and like to query several ldap servers for
> redundancy/failover. The documentation says that the host can be an array:
>
> "HOST may also be a reference to an array of hosts, host-port pairs or UR
I am new to LDAP.pm and like to query several ldap servers for
redundancy/failover. The documentation says that the host can be an array:
"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. Only when
Thanks.
That worked.
Chris Ridd <[EMAIL PROTECTED]>
07/06/2007 01:14 PM
To
<[EMAIL PROTECTED]>,
cc
Subject
Re: Array Of Hosts
On 6/7/07 4:34, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Could anyone tell me how, I can have m
On 6/7/07 4:34, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Could anyone tell me how, I can have my Net LDAP script to use an array of
> hosts, to connect to?
> I tried the following, but it did not work.
>
> my @hosts = qw(host1, host2)
Hello all,
Could anyone tell me how, I can have my Net LDAP script to use an array of
hosts, to connect to?
I tried the following, but it did not work.
my @hosts = qw(host1, host2);
my $ldconnect = Net::LDAP->new(@hosts, port=>'389') || die "$@";
Thanks