17 May
2005
17 May
'05
2:40 p.m.
On Tue, 2005-05-17 at 13:37 +0200, Brent Clark wrote:
Thanks for your help, I tried what you suggested, and I still seem to not getting it right.
passdb { args=/etc/passwd }
passdb pam { # Service name or * as parameter. * means the authenticating service name # is used, eg. pop3 or imap. #args = dovecot args= /etc/passwd }
well, just remove all that and keep:
passdb pam { }
You can't tell PAM to use /etc/passwd, you can only tell it to use a specific file in /etc/pam.d/ directory. By default Dovecot uses "dovecot" service, so you'll need to have /etc/pam.d/dovecot file as well working.
http://wiki.dovecot.org/moin.cgi/Authentication has more explanations and an example for how to use PAM.