Hi, On Thursday, 26. July 2007 10:59, Muhammad Azam Akram wrote: > I am new to perl-ldap, and have a problem. First I would like to > describe the scenrio.. > On my computer I installed cygwin and perl. I wanted to access ldap > server, so I instslled the required modules, which works fine and I can > access records in ldap server. > The problem is... > Now I am login to a remote machine through remote desktop > communication. In this machine I do not have cygwin and have to work on > windows command line. I installed the required perl module. But when I try > to access ldap server system by > > $ldap = Net::LDAP->new($myserver) or die "$@"; > > System give error like, > IO::SOCKET::INET bad hostname.....
This is an error message produced by IO::Socket::INET, one of the basic Perl modules the perl-ldap uses. Iam not 100% sure what it indicates exactly. but I guess it has problems resolving the hostname of the server. Peter -- Peter Marschall [EMAIL PROTECTED]