From: Dieter K. <di...@dk...> - 2008-09-17 15:33:00
|
Hi, "Dieter Kluenter" <di...@dk...> writes: > Hi, > I am testing with Net::LDAPapi, todays svn version. The following > three liner throws errors, while just stating hostname and port number > is fine. > > ,----[ simple connenction ] > | use Net::LDAPapi; > | $ld = new Net::LDAPapi( > | -url=>'ldap://localhost' > | -port=>1004); > | $ld->sasl_parms( > | -mech=> "DIGEST-MD5", > | -flag=>LDAP_SASL_QUIET); > | $ld->bind_s('admanager','xxx',LDAP_AUTH_SASL); > | $ld->unbind; > `---- the above reported error occurs with perl-5.10, I am also testing perl-5.8.8 and now I get following error: ,----[ simple script perl-5.8.8 ] | $ld = new Net::LDAPapi('localhost'); | | $ld->sasl_parms( | -mech=>"DIGEST-MD5", | -flags=>LDAP_SASL_AUTOMATIC | ); | | $ld->bind_s('admanager','xxx'); | $ld->unbind; `---- /usr/bin/perl -w "/home/dieter/Projekte/perlscripts/ersterVersuch.pl" "Net::LDAPapi=HASH(0x816e978)" is not exported by the Net::LDAPapi module Can't continue after import errors at /home/dieter/Projekte/perlscripts/ersterVersuch.pl line 6 BEGIN failed--compilation aborted at /home/dieter/Projekte/perlscripts/ersterVersuch.pl line 6. Compilation exited abnormally with code 255 at Wed Sep 17 17:24:39 -Dieter -- Dieter Klünter | Systemberatung http://www.dpunkt.de/buecher/2104.html GPG Key ID:8EF7B6C6 |