Haakon Gjersvik Eriksen wrote:
Hello, everyone
We're about to migrate a server from Courier-IMAP to Cyrus-IMAP. The
Courier-server autheticates via authdaemond to a MySQL-server, and the
passwords in the MySQL-server are MD5-encrypted.
I can not get authentication to work with Cyrus and SASL (with the SQL
auxprop-plugin) with the encrypted passwords, only when the passwords
are in plaintext. The question is, is there something I've not
understood in how to configure Cyrus/SASL, or does the SQL
auxprop-plugin require all the passwords to be in plaintext?
If it is not possible to have MD5-encrypted passwords, does anone have
any suggestions what we could do instead? Authenticate against Courier's
authdaemond, perhaps?
A way to use md5 encrypted passwords is to let saslauthd connect to pam
and let pam connect to the mysql database.
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert Rudy.Gevaert@xxxxxxxx tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html