View Full Version : [ubuntu] authdaemond problem after upgrade

September 27th, 2009, 12:46 PM

i have upgraded from ubuntu 6.06 lts plain to 8.04 hardy.
After the upgrade it looks like IMAP isn't working properly, the logs
tell me there's a problem with authdaemon;

Sep 27 13:44:41 amsterdam023 imapd: Connection, ip=[::ffff:]
Sep 27 13:44:44 amsterdam023 authdaemond: received auth request, service=imap, authtype=login
Sep 27 13:44:44 amsterdam023 authdaemond: FAIL, all modules rejected
Sep 27 13:44:44 amsterdam023 imapd: LOGIN FAILED, user=xxxx, ip=[::ffff:]

As response on "authdaemond: FAIL, all modules rejected", I restarted courier-authdaemon with stop- and start.

Unfortunatly, it did not work. Does anyone have suggestions ?

Best Regards,

Twan van der Poel

September 28th, 2009, 05:44 PM
Any suggestions ?

September 28th, 2009, 09:25 PM
For those who are interested;

The actual error was;
authdaemond: libauthmysql.so: cannot open shared object file: No such file or directory

A friend of mine helped me out with the solution;

it seemed that the link loader couldn't find the shared objects for the courier-authdaemon module, therefor he suggested to create a file " /etc/ld.so.conf.d/authconf.conf " which was going to contain the path to the courier-auth library ( /usr/lib/courier-authlib ).

Then the link loader needed to read the (new) link to the shared objects by running " ldconfig "

After a restart I was able to login again, finally : - )

Now if you'll excuse me, I got some mails to reply :P lol