Thanks for your recomendations Brian.
I was already using it, but the output doesn't help in that case as you
can see.

If I turn on authmysql module, it looks for the user at the database and
works fine.

As showed in the log the service=imap parameter should force pam to look
fot /etc/pam.d/imap but it doesn't.
I also tryed to remove /etc/pam.d/other but without different results.
Removing /etc/pam.d/imap is the same (it doesn't look
at /etc/pam.d/other).
Tryed changing other candidate files but nothing.

Any one experienced this problem?

Thanks.

Mar 13 19:04:47 jerte2 authdaemond: modules="authpam", daemons=5
Mar 13 19:04:47 jerte2 authdaemond: modules="authpam", daemons=5
Mar 13 19:04:47 jerte2 authdaemond: Installing libauthpam
Mar 13 19:04:47 jerte2 authdaemond: Installing libauthpam
Mar 13 19:04:47 jerte2 authdaemond: Installation complete: authpam
Mar 13 19:04:47 jerte2 authdaemond: Installation complete: authpam

Mar 13 19:08:07 jerte2 authdaemond: received auth request, service=imap,
authtype=login
Mar 13 19:08:07 jerte2 authdaemond: received auth request, service=imap,
authtype=login
Mar 13 19:08:07 jerte2 authdaemond: authpam: trying this module
Mar 13 19:08:07 jerte2 authdaemond: authpam: trying this module
Mar 13 19:08:07 jerte2 authdaemond: authpam: username 'test' not found
in password file
Mar 13 19:08:07 jerte2 authdaemond: authpam: username 'test' not found
in password file
Mar 13 19:08:07 jerte2 authdaemond: authpam: REJECT - try next module
Mar 13 19:08:07 jerte2 authdaemond: authpam: REJECT - try next module
Mar 13 19:08:07 jerte2 authdaemond: FAIL, all modules rejected
Mar 13 19:08:07 jerte2 authdaemond: FAIL, all modules rejected


El vie, 10-03-2006 a las 08:29 +0000, Brian Candler escribió:
> On Thu, Mar 09, 2006 at 12:44:16PM +0100, Pablo Martn-Portugus wrote:
> > Now: it's working well with MySQL authentication.
> > The problem is that I need PAM in order to use a developed pam module
> > (it's working in ohter servers), but I can't get authdaemond working
> > with /etc/pam.d/imap, and I don't know where is getting PAM config from.
> 
> Are you sure authdaemonrc is configured with authpam and not authshadow or
> authpwd?
> 
> You can crank up the debugging to see which module is actually performing
> the authentication and what happens. See
> http://www.courier-mta.org/authlib/README.authdebug.html
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Courier-imap mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
> 




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to