Re: "password incorrect" error - MD5

Torsten Mueller <[email protected]>
Newsgroups gmane.mail.neomail.general
Message-ID <[email protected]>

Sam Potterf schrieb:
> 
> I made this patch 3 months ago to get it working. I think I may have a
> perl/CPAN/module conflict related to the following error:
> 
> cpan> install Bundle::CPAN
> CPAN: MD5 loaded ok
> Can't locate object method "new" via package "MD5" (perhaps you
> forgot to
> load "MD5"?) at /usr/lib/perl5/5.6.1/CPAN.pm line 4212.
> 
> Does anyone know if this is related to my problem?
> 
> My last resort will be to reinstall perl (5.8?) and the modules.

In time the MD5 module from 5.6.1 will be used as:
load "MD5"?) at /usr/lib/perl5/5.6.1/CPAN.pm line 4212

So a reinstall of perl 5.8 wouldn't solve the problem.

I myself run 5.6.1 , so i only can tell you, why i hadn't
this problem on my machine.
I didn't modify neomail because of the MD5 hexhash problem.
But i have the module MD5 installed, which is a wrapper
for Digest::MD5
see http://search.cpan.org/author/GAAS/MD5-2.02/MD5.pm

If you consider going this way a try, you need to "unpatch"
your neomail :-/

Torsten

> 
> Does anyone know of a .conf-type file for perl and or CPAN that tells
> which MD5 or Digest:MD5 to use?
> 
> Thanks,
> 
> Sam
> 
> --- Wayne Heming <[email protected]> wrote:
> > I had this as well, if you added the the Digest MD5 module you will
> > get
> > this error
> >
> > Try patching it as explained in my post
> >
> http://sourceforge.net/mailarchive/forum.php?thread_id=1061857&forum_id=7155
> >
> > Wayne
> >
> >
> > At 12:08 PM 29/10/02 -0500, James Samuel Potterf wrote:
> >
> > >Hello NeoMail Users,
> > >
> > >I've been using NeoMail for about 6 months. I think it is a very
> > good
> > >program. Thank you Ernie.
> > >
> > >I recently ran into a problem. I was adding modules to Perl (Magik)
> > for
> > >another program and -- I'm not sure there is a connection here but
> > -- I
> > >was unable to use NeoMail afterwards. The CPAN asked to manually
> > >reconfigure the conf file and I declined whereby it started an
> > >auto-configuration routine.
> > >
> > >My first indication of a problem was the standard "unable to locate
> > >neomail.conf" error. I found that my permissions to the *.pl files
> > were
> > >changed. (?!) So.. I changed them back to the correct permissions.
> > Now I
> > >attempt to log into NeoMail and get the following error:
> > >INVALID LOGIN
> > >"Sorry, the password you entered was incorrect! Please go back and
> > try
> > >again."
> > >
> > >So, I added a new user to my account and still I get the same error.
> > >
> > >
> > >___________________________________________________________________
> > >Another bit of related information:
> > >I have an MD5 error when I try to install any perl modules, e.g.:
> > >
> > >cpan> install Bundle::CPAN
> > >CPAN: MD5 loaded ok
> > >Can't locate object method "new" via package "MD5" (perhaps you
> > forgot to
> > >load "MD5"?) at /usr/lib/perl5/5.6.1/CPAN.pm line 4212.
> > >
> > >
> > >______________________________________________________________
> > >I "autobundle" in CPAN and get the following information:
> > >
> > >Package namespace         installed    latest  in CPAN file
> > >.
> > >.
> > >Digest::MD5                    2.20      2.20
> > >G/GA/GAAS/Digest-MD5-2.20.tar.gz
> > >.
> > >.
> > >MD5                            2.20      2.02
> > G/GA/GAAS/MD5-2.02.tar.gz
> > >.
> > >.
> > >
> > >Note the "installed" vs the "latest" version numbers for MD5. (?)
> > >
> > >cpan> install MD5
> > >MD5 is up to date.
> > >
> > >cpan> install Digest::MD5
> > >Digest::MD5 is up to date.
> > >
> > >
> > >________________________________________________
> > >MD5 and Digest::MD5:
> > >
> > >
> > >[root@************* neomail]# locate MD5
> > >/root/.cpan/sources/authors/id/G/GA/GAAS/MD5-2.02.tar
> > >/root/.cpan/sources/authors/id/G/GA/GAAS/MD5-2.02.tar.gz
> > >/usr/lib/perl5/site_perl/5.6.1/IM/MD5.pm
> > >/usr/lib/perl5/5.6.1/i386-linux/MD5.pm
> > >/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Digest/MD5.pm
> > >/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Digest/MD5
> > >/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Digest/MD5/MD5.bs
> > >/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Digest/MD5/MD5.so
> > >/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/MD5.pm
> > >/usr/share/doc/kdelibs-devel-3.0.0/kdecore/KMD5.html
> > >/usr/share/doc/kdelibs-devel-3.0.0/kdecore/full-list-KMD5.html
> > >/usr/share/man/man3/Digest::MD5.3pm.gz
> > >/usr/share/pear/Crypt/HCEMD5.php
> > >
> > >and
> > >
> > >[root@********* MD5-2.02]# locate Digest::MD5
> > >/usr/share/man/man3/Digest::MD5.3pm.gz
> > >
> > >
> > >____________________________________________
> > >and the header of neomail.conf:
> > >
> > >
> > >use strict;
> > >no strict 'vars';
> > >push (@INC, '/var/neomail');
> > >use CGI qw(:standard);
> > >use CGI::Carp qw(fatalsToBrowser);
> > >use Fcntl qw(:DEFAULT :flock);
> > >use FileHandle;
> > >##use MD5;
> > >use Digest::MD5 qw(md5 md5_hex md5_base64);
> > >##BEGIN { @AnyDBM_File::ISA = qw(DB_File GDBM_File) }
> > >##use Digest::MD5
> > >use AnyDBM_File;
> > >
> > >
> > >__________________________________________
> > >Permissions:
> > >
> > >
> > >[root@*********** neomail]# pwd
> > >/var/neomail
> > >[root@*********** neomail]# ls -lart
> > >total 72
> > >drwxrwx---   23 root     neomail      4096 Jul 16 01:47 templates
> > >drwxrwx---    2 root     neomail      4096 Jul 16 01:47 styles
> > >drwxrwx---    2 root     neomail      4096 Jul 16 01:47 lang
> > >drwxr-xr-x   29 root     root         4096 Jul 16 09:18 ..
> > >-rwsr-xr-x    1 root     root          710 Jul 19 06:33
> > checklogin.pl
> > >-rwxrwx---    1 root     neomail      7585 Oct 26 18:34 neomail.conf
> > >drwxrwx---   16 root     neomail      4096 Oct 27 10:02 users
> > >drwxrwxr-x    6 root     neomail      4096 Oct 29 11:08 .
> > >-rw-rw----    1 root     neomail     35432 Oct 29 11:31 neomail.log
> > >
> > >
> > >[root@*********** neomail]# ls -lart /var/www/cgi-bin/P
> > >total 1380
> > >-rwsr-sr-x    1 root     neomail     46982 Oct 26 23:24
> > neomail-prefs.pl
> > >drwxrwxrwx   11 root     root         4096 Oct 28 17:05 ..
> > >-rwsr-sr-x    1 root     neomail    120730 Oct 29 10:53 neomail.pl
> > >drwxrwxrwx    4 root     root         4096 Oct 29 10:54 .
> > ></blockquote></x-html>
> >
> 
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
> _______________________________________________
> NeoMail-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/neomail-users


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.