Re: Multiple hosts in an array reference

2008-11-26 Thread Quanah Gibson-Mount
--On Wednesday, November 26, 2008 12:43 PM -0800 Quanah Gibson-Mount <[EMAIL PROTECTED]> wrote: $ldap=Net::LDAP->new("$ldap_url"); Should be checking that $ldap is defined here to avoid the error ;) Blah, I see what you mean, it's because I quote ldap_url. ;) --Quanah -- Quanah Gibson-M

Re: Multiple hosts in an array reference

2008-11-26 Thread Quanah Gibson-Mount
--On Wednesday, November 26, 2008 2:30 PM -0600 Christopher A Bongaarts <[EMAIL PROTECTED]> wrote: In the immortal words of Quanah Gibson-Mount: According to the Net::LDAP documentation: new ( HOST, OPTIONS ) HOST may also be a reference to an array of hosts, host-port pairs or URIs to try.

Re: Multiple hosts in an array reference

2008-11-26 Thread Christopher A Bongaarts
In the immortal words of Quanah Gibson-Mount: > According to the Net::LDAP documentation: > > new ( HOST, OPTIONS ) > > 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 > all have failed will t

Multiple hosts in an array reference

2008-11-26 Thread Quanah Gibson-Mount
According to the Net::LDAP documentation: new ( HOST, OPTIONS ) 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 all have failed will the result of undef be returned. However, this doesn't se

Re: Manage IA5strings with Perl LDAP

2008-11-26 Thread Graham Barr
On Nov 26, 2008, at 4:28 AM, Clément OUDOT wrote: Thanks for your answer. I have to translate java code to perl ;) But another question, it seems the value we get from AD is binary, I use the "raw" attribute in Net::LDAP search but the value I get is not what I can see with an ldapsearch...

Re: Manage IA5strings with Perl LDAP

2008-11-26 Thread Clément OUDOT
> On Nov 25, 2008, at 9:45 AM, Clément OUDOT wrote: >> Hello, >> >> after some research on the net, I can't find any perl code that can >> read/write IA5strings. > > IA5Strings are basically ASCII strings. The only printable differences > is that IA5 does not have $ or ~ > > see http://www.zytrax.c