Re: Problem with array of hosts in Net:LDAP(S)->new

2008-02-10 Thread Markus Moeller
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

Re: Problem with array of hosts in Net:LDAP(S)->new

2008-02-10 Thread Peter Marschall
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

Problem with array of hosts in Net:LDAP(S)->new

2008-02-10 Thread Markus Moeller
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

Re: Array Of Hosts

2007-07-06 Thread CZachary
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

Re: Array Of Hosts

2007-07-06 Thread Chris Ridd
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)

Array Of Hosts

2007-07-06 Thread CZachary
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