On 17/5/06 9:32, Anthony M. Martinez <[EMAIL PROTECTED]> wrote:

> Is there a way to get Net::LDAP to use the system configuration file to
> get the hostnames to connect to? Passing "", undef, or nothing to
> Net::LDAP->new doesn't seem to do anything other than fail. I could
> always open the configuration files, but that is slightly painful, given
> that the first of the vagaries is that it could be /etc/ldap.conf
> (fedora), /usr/local/etc/ldap.conf (fBSD), or /etc/ldap/ldap.conf
> (debian).

Those are the config files for a certain set of LDAP libraries. Net::LDAP
does not use those libraries, nor any other LDAP libraries, and it would be
inappropriate to try to parse them IMHO.

Cheers,

Chris


Reply via email to