Hi
I installed Courier-IMAP using RPMs, and together with authlib and authmysql.
I can login fine using authpam, everything works fine with that. The
problem is when I try to use authmysql.
Here's my line in the authdaemonrc file:
authmodulelist="authmysql authpam"
My db schema is the same as in the "/etc/authlib/authmysqlrc" file,
and the password was generated using mysql's encrypt function. To
double check, I also tried using Perl's crypt function to generate the
password but this didn't work either.
Here's the output from the log when I try to login with the authmysql user:
Dec 27 16:25:53 vps authdaemond: stopping authdaemond children
Dec 27 16:25:53 vps authdaemond: modules="authmysql authpam", daemons=5
Dec 27 16:25:53 vps authdaemond: Installing libauthmysql
Dec 27 16:25:53 vps authdaemond: file not found
Dec 27 16:25:53 vps authdaemond: Installing libauthpam
Dec 27 16:25:53 vps authdaemond: Installation complete: authpam
As you can see, it's saying that it can't find libauthmysql, but it is
installed. If I try to install the rpm again, it tells me that
libauthmysql is already installed.
I'm using CentOS 3 on an AMD64 machine.
Thanks.