[Dovecot] pam_authenticate() failed

Timo Sirainen tss at iki.fi
Wed Sep 30 16:25:34 EEST 2009


On Wed, 2009-09-30 at 10:06 +0200, Martijn de Munnik wrote:
> Hi List,
> 
> I have a problem with auth for just one user:
> 
> dovecot: Sep 30 09:56:16 Info: auth(default): new auth connection:
> pid=3809
> dovecot: Sep 30 09:56:17 Info: auth(default): client in: AUTH   1      
> PLAIN   service=IMAP    secured lip=127.0.0.1   rip=127.0.0.1  
> resp=AGoucnVpc0BtZXJreC12ZXJrZXJrLm5sAGJsb2VtMDEh

Note that the user's password is visible in the above resp text if you
base64 decode it. Might want to change it. :)

> How can I determine why pam_authenticate() failed?

Maybe look at PAM logs to see if they say anything? Unfortunately PAM's
logging is pretty horrible and there's nothing Dovecot can do about it.
See what modules /etc/pam.d/dovecot has enabled and maybe one of them
prevents access? Although the most typical reason for auth failure is
simply that the user typed the password wrong..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090930/bd22333f/attachment.bin 


More information about the dovecot mailing list