Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: perl-ldap-0.4001 and use Net::LDAP qw(:all) produces error

25 views
Skip to first unread message

harish badrinath

unread,
Feb 7, 2011, 8:39:37 AM2/7/11
to perl...@perl.org
Sorry just found http://www.mail-archive.com/perl...@perl.org/msg00003.html

if this message solves this issue please discard this series of mails.

Regards,
Harish Badri nath

---------- Forwarded message ----------
Hello,
 I am trying to configure auth_ldap with qpsmtpd.

When i restart qpsmtpd:

root@mail:~/.cpan/build# /etc/init.d/qpsmtpd restart
"all" is not defined in %Net::LDAP::Constant::EXPORT_TAGS at
/usr/local/share/perl/5.10.1/Net/LDAP.pm line 38
eval Can't continue after import errors at
/usr/share/qpsmtpd/plugins/auth_ldap_bind line 38
BEGIN failed--compilation aborted at
/usr/share/qpsmtpd/plugins/auth_ldap_bind line 38, <DATA> line 522.


Here is a list of modules installed on the machine.

root@mail:~/.cpan/build# instmodsh
Available commands are:
  l            - List all installed modules
  m <module>   - Select a module
  q            - Quit the program
cmd? l
Installed modules are:
  Convert::ASN1
  File::MMagic
  Net::LDAP
  Perl
  XML::Filter::BufferText
  XML::SAX::Writer
  YAML

I have very little experience using perl, but i do know that things
like use CGI qw(:all) should work.

Am i missing something here or should i go for an older version of perl-ldap ??

Greetings,
Harish Badri Nath

harish badrinath

unread,
Feb 7, 2011, 8:30:56 AM2/7/11
to perl...@perl.org
0 new messages