Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] cyrus-sasl with checkpw.c.patch
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message

Joined: 23 Jul 2010
Posts: 6

PostPosted: Wed Mar 25, 2015 9:04 am    Post subject: [SOLVED] cyrus-sasl with checkpw.c.patch Reply with quote

I have worked cyrus-imapd server and need to move it to another server.

I installed a new version of Gentoo and the latest cyrus-imapd and cyrus-sasl. I transferred all configs from the old server to the new one. But the server refused to accept the connection from the mail client. After extensive experimentation, I found that the server accepts the connection only if the database password is stored in plain-text (we have a working database passwords are stored as md5 hashes). Which allowed me to conclude that from the cyrus-sasl disappeared checkpw.c patch. After another long series of experiments with attempts to compile a working version of pop3/imap server I found that the "old" versions of cyrus-sasl not compiled with the latest mysql/mariadb (ie they are compiled, but they are "not see" the database libraries ).

After all the experiments, I decided to make own overlay on the basis of the latest available version of cyrus-sasl (2.1.26-r9). Patch checkpw.c I had to apply "by hands",because the source code wos modified that prevented the use of the patch program. Then I had another tricky, because from disappeared the key "-lcrypt".

After all I got working overlay, that successfully compiled, executed and accept connections from clients using production database with crypted passwords.

Here is the link on my overlay:

P.S. Please exuse me errors in my post - English is not my native language.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum