Cyrus+SASL+PAM+pam_mysql Migration problem
simon.matter at ch.sauter-bc.com
Wed Jun 28 13:59:12 EDT 2006
>>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:13:40PM +0200"
>> Make that 'cyradm -user cyrus -auth login localhost'
> Thank you! :)
> I did that, here's what happened:
> ==== FIRST, I used the old pam_mysql 0.4.5 that was on the old server,
> though it might make a difference. It didn't.
> [root at mailtx1 etc]# cyradm -user cyrus -auth login localhost
> IMAP Password:
> Login failed: generic failure at
> line 118
> cyradm: cannot authenticate to server with login as cyrus
> [root at mailtx1 etc]# tail /var/log/debug
> Jun 28 05:30:56 mailtx1 master: about to exec
> Jun 28 05:30:56 mailtx1 imap: executed
> Jun 28 05:30:56 mailtx1 imap: sql_select option missing
> Jun 28 05:30:56 mailtx1 imap: auxpropfunc error no mechanism
> Jun 28 05:30:56 mailtx1 imap: _sasl_plugin_load failed on
> sasl_auxprop_plug_init for plugin: sql
Sorry, I can not help you at all with the mysql stuff because I have never
used it with cyrus. However, you want to use pam_mysql but your
cyrus-imapd tries to use the mysql auxprop plugin as you can see above. So
you still have a bad imapd.conf file. Comment out all the auxprop line in
imapd.conf, they are not used when using saslauthd -> PAM -> pam_mysql.
More information about the Info-cyrus