From: Michael P. S. <mso...@no...> - 2002-02-26 16:36:07
|
Hello, I'm currently trying to use the perl-ldap modules, and I'm running into a problem. I have three different installations, all version 0.25. Two of them are on HP-UX 10.20 with Perl 5.005_02 and Perl 5.6. The last is Linux with Perl 5.6. On HP-UX with Perl 5.005_02, it works fine. Unfortunately, in both cases with Perl 5.6, the bind is returning nothing. main::(-e:1): 0 DB<1> use Net::LDAP DB<2> $ldap = Net::LDAP->new('ldap-carling2.ca.nortel.com') DB<3> x $ldap 0 Net::LDAP=HASH(0x84b530c) 'net_ldap_async' => 0 'net_ldap_debug' => 0 'net_ldap_host' => 'ldap-carling2.ca.nortel.com' 'net_ldap_resp' => HASH(0x81e9f70) empty hash 'net_ldap_socket' => IO::Socket::INET=GLOB(0x84b7184) -> FileHandle({*Symbol::GEN0}) => fileno(3) 'net_ldap_version' => 2 DB<4> $mesg = $ldap->bind DB<5> x $mesg 0 undef DB<6> x $ldap 0 undef With the Perl 5.005_02 build on HP-UX, it works fine. Any ideas? Mike -- Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) Optical Networks, Nortel Networks, SDE Pegasus "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix |