From: Neil M. <ne...@mc...> - 2003-03-31 13:25:56
|
I have 2 ldap servers and a script which tries to connect to the first server. If that server is down i.e the ldap server is not running, I would like to try the second server. I'm not sure how best to do this. If I try to connect to the server and it's down I get the following error after the "Net::LDAP->new" line IO::Socket::INET: connect: Connection refused at /opt/migrate/bin/pwmigrate.pl line 98, <> line 14. Is there standard way to do this? Sorry if this is obvious! Regards /Neil |