-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank Niedermann wrote:
> I've configured Courier-Authdaemon to authenticate against a MySQL
> database with authmysql module which works fine.
> 
> After that I added authpwd to the authdaemonrc module list to enable
> authentication for system users in /etc/passwd which does not work:
> May 11 15:43:16 asterix imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1]
> 
> I also tried authshadow and authpam but always the same results, this is
> my authmodulelist configuration:
> authmodulelist="authpwd authshadow authpam authmysql"

My courier-authlib doesn't have an authpwd or authshadow; it's all done
through authpam.  What does your mail log say when authlib starts up?

Try just 'authmodulelist="authpam authmysql"' then use "authtest
<username>" to see what works and what doesn't.  Try it for a local user
as well as a virtual user in mysql.

If authpam doesn't work to authenticate local users then does the mail
log show authlib loading the pam libraries correctly at start up?

May 11 14:50:41 batman authdaemond: Installing libauthpam
May 11 14:50:41 batman authdaemond: Installation complete: authpam

If it's loading correctly then maybe you don't have PAM set up properly?

Jeff Jansen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEY1JBZxtYeNk78A8RAoluAKCL4PYjshKe+h7lGWSmga0nclb/OACeJD7t
SciR2+EHm4mEpOAuvlTN4Q8=
=Qlbs
-----END PGP SIGNATURE-----


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to