Net::LDAP uses IO::Socket::INET to resolve a name. This doesn't have anything to do with the Net::LDAP perl module.
Your stub-resolver configuration is either broken, or your name resolution services are broken. There are a lot of things that could go wrong there; You should contact your network administrator to find out what names to use, or to alert them that either your workstation is misconfigured or the name services your network relies on are completely borked. On Tue, 2003-08-05 at 18:39, Neo - wrote: > Hi All! > > A new bee question . I am using Net::LDAP module to connect openldap it works fine > when i use ipaddress of the machine . > but it didn't respond when i use the domain name.... > > $dn="cn=admin,dc=domain,dc=edu"; > $password="password"; > $version=3; > $url="ldap.domain.edu:389"; (didn't work) > #$url='210.30.320.704'; (works) > $ldap1 = Net::LDAP->new($url) or die "$@"; > $mesg1 = $ldap1->bind(dn => $dn, > password => $password, > version => $version); > > Thanks in advance. > > > --------------------------------- > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software