Migrating from courier imap+mysql to cyrus-imapd + pam_mysql

Uno Engborg uno at webworks.se
Thu Jun 25 17:39:37 UTC 2009


Thanks, that was at least a starting point. I found a pam_module called
pam_mysql that probably could be used.

Regards
Uno Engborg

ons 2009-06-24 klockan 13:49 -0400 skrev Tony Nelson:
> On 09-06-24 08:19:29, Uno Engborg wrote:
> > Hi,
> > I'm trying to migrate a mail system from Courier-imap to a Cyrus 
> > imapd using saslauthd backed by pam with users and passwords stored 
> > in a MySQL database. Naturally I don't want to force my users to 
> > change password, so I want to reuse the password in saslauthd ( I use 
> > sasl_pwcheck_method: saslauthd ) in cyrus.
> > 
> > My problem is that I don't know what password algorithm they have 
> > used in the mysql database where the Courier users are stored. The 
> > users and passwords are probably created by joomla and the password 
> > field in MySQL look something like the four examples below:
> > 
> > $1$b729006d$c0QA4.h1DcdPU.ruT.t9G.  
> > $1$1a821c41$4bgG6zHlIiqQGVu1FObv90
> > $1$cc7768ea$J5GJRo6.Q9kG99amXm9K21 
> > $1$6f7f4578$3QMWFH/bvFzQbq8FbVDz1/
> > 
> > Anybody that have any clue what algorithm might be used for the
> > Courier authdaemond passwords? 
> 
> MD5.  See `man crypt`.
> 
> > or if there are any suitable pam_module that can make use of them?
>  ...
> 
> Don't know.
> 
> -- 
> ____________________________________________________________________
> TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
>       '                              <http://www.georgeanelson.com/>
> 




More information about the fedora-list mailing list