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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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? or if there are any suitable pam_module that can
make use of them?













Some more information:

The /etc/authlib/authdaemonrc looks like this:

authmodulelist="authmysql"
authmodulelistorig="authuserdb authpam authpgsql authldap authmysql
authcustom authpipe"
daemons=5
authdaemonvar=/var/spool/authdaemon
DEBUG_LOGIN=0
DEFAULTOPTIONS=""
LOGGEROPTS=""



The etc/authlib/authmysqlrc looks like this:

MYSQL_SERVER		localhost
MYSQL_USERNAME		postfixdb
MYSQL_PASSWORD		secret
MYSQL_PORT		0
MYSQL_OPT		0
MYSQL_DATABASE		postfix
MYSQL_USER_TABLE        mailbox
MYSQL_CRYPT_PWFIELD     password
DEFAULT_DOMAIN		mydomain.com
MYSQL_UID_FIELD		100
MYSQL_GID_FIELD		102
MYSQL_LOGIN_FIELD       username
MYSQL_HOME_FIELD	'/usr/local/virtual'
MYSQL_NAME_FIELD         name
MYSQL_MAILDIR_FIELD      maildir
MYSQL_QUOTA_FIELD        quota
MYSQL_WHERE_CLAUSE       active='1'



Thanks
Uno Engborg





-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux