Hi,
On Monday 05 April 2004 17:31, Safford, Brian wrote:
> I have a multi-homed host, and I need to be able to specify an IP address
> or local host name to use for the connection to the LDAP server in my $ldap
> = Net::LDAP new () statement ... is this possible? I don't see a 'bindip'
> or similar argument in the documentation.
Quite simple. Do
$ldap = Net::LDAP->new('IP.AD.DR.ESS', ...);
where IP.AD.DR.ESS is the IP address you want to connect to.
If this IP address has a specific DNS entry you can use that as well.
Peter
--
Peter Marschall
eMail: [EMAIL PROTECTED]