Skip to Content.
Sympa Menu

en - Re: [sympa-users] Upgrading sympa

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Upgrading sympa
  • Date: Tue, 25 Mar 2014 11:17:44 +0100

Hi,

There is a "cookie" parameter that was used by Sympa to encode passwords reversively. Sympa needs this parameter to decode passwords from the previous encoding algorithm before being abled to encode passwords in MD5.
Please make sure that the value of this parameter in your new sympa.conf is the same as in your old server.
Then restore the previous database and retry to run:
/usr/lib/sympa/bin/sympa.pl --upgrade --from=5.3.4 --to=6.1.11
/usr/lib/sympa/bin/sympa.pl --md5_encode_password

Cheers,

David

Le 25/03/14 10:54, address@concealed a écrit :
Hi,

I am working for a company that runs Sympa 5.3.4 on a (virtual) Debian 5 server. Sympa was installed by hand. I would like to upgrade both the operating system (to Debian 7) and Sympa, preferably using the Debian package.

Having read the "Upgrading Sympa" instructions on sympa.org, this is what I did so far:

- Installed a new (virtual) Debian 7 server
- Installed Sympa 6.1.11 (Debian package)
- Fixed /etc/sympa/sympa.conf
- Imported a MySQL dump from the old installation
- Copied these directories:
  /var/spool/sympa/wwsarchive -> /var/lib/sympa/wwsarchive
  /var/spool/sympa/wwsbounce -> /var/spool/sympa/wwsbounce
  /var/spool/sympa/expl -> /var/lib/sympa/list_data
- Ran the upgrade command:
  /usr/lib/sympa/bin/sympa.pl --upgrade --from=5.3.4 --to=6.1.11
- Made md5 hashes of the crypt passwords:
  /usr/lib/sympa/bin/sympa.pl --md5_encode_password

So far, so good. But now I can't log with an existing user account. For example, trying to log in with our listmaster account returns this error:

ERROR () - Provided password is incorrect

And this shows up in /var/log/sympa.log:

Mar 25 10:42:43 lists wwsympa[3066]: info [robot lists.**************.nl] [session 86668152911343] [client 192.168.1.64] main::do_login() do_login(listmaster@**************.nl)
Mar 25 10:42:43 lists wwsympa[3066]: info [robot lists.**************.nl] [session 86668152911343] [client 192.168.1.64] main::do_login() do_login(listmaster@**************.nl)
Mar 25 10:42:43 lists wwsympa[3066]: err Auth::authentication() authentication: incorrect password for user listmaster@**************.nl
Mar 25 10:42:43 lists wwsympa[3066]: err Auth::authentication() authentication: incorrect password for user listmaster@**************.nl
Mar 25 10:42:43 lists wwsympa[3066]: notice main::do_login() Authentication failed
Mar 25 10:42:43 lists wwsympa[3066]: notice main::do_login() Authentication failed
Mar 25 10:42:43 lists wwsympa[3066]: info [robot lists.**************.nl] [session 86668152911343] [client 192.168.1.64] main::do_renewpasswd() do_renewpasswd(listmaster@**************.nl)
Mar 25 10:42:43 lists wwsympa[3066]: info [robot lists.**************.nl] [session 86668152911343] [client 192.168.1.64] main::do_renewpasswd() do_renewpasswd(listmaster@**************.nl)

However, when I register a new email address I can log in perfectly. The password hashes in the database are of the same type (md5, it seems).

Do you have any idea what I am missing here?

Thanks,

Maarten

--
A bug in Sympa? Quick! To the bug tracker!

 
David Verdin
Études et projets applicatifs
 
Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 
www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex



PNG image

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page