Net::LDAP help

J

Just Curious

Hello,

I read on CPAN ( http://search.cpan.org/~gbarr/perl-ldap/lib/Net/LDAP.pod
) that in constructor for Net::LDAP - - new ( HOST, OPTIONS )
HOST can be an array of hosts - each one is tried before undef is
returned.

I tried it and its not working for me - can anyone please provide an
example how to use array of hosts with contsructor of Net::LDAP???

Any pointers will be greatly appreciated.

Regards,

AZXML
 
J

J. Gleixner

Just said:
Hello,

I read on CPAN ( http://search.cpan.org/~gbarr/perl-ldap/lib/Net/LDAP.pod
) that in constructor for Net::LDAP - - new ( HOST, OPTIONS )
HOST can be an array of hosts - each one is tried before undef is
returned.

I tried it and its not working for me - can anyone please provide an
example how to use array of hosts with contsructor of Net::LDAP???

Any pointers will be greatly appreciated.

Regards,

AZXML

From the documentation..

"HOST may also be a *reference* to an array of hosts"..

If you're using an array reference, then post what you've tried.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,432
Latest member
GTRNorbert

Latest Threads

Top