Hi all
I just compiled Dovecot v1.0-test70 and i tried using the
dovecot-example.conf for a quick test to see if the daemon would work.
But I keep getting the following error message in me /var/log/messages:
May 17 12:33:46 mail dovecot: Dovecot v1.0-test70 starting up
May 17 12:33:47 mail dovecot: Auth process died too early - shutting down
May 17 12:33:47 mail dovecot: auth(default): No password databases set
May 17 12:33:47 mail dovecot: child 29405 (auth) returned error 89
This is is a section in my conf file.
auth default {
mechanisms = plain
auth_userdb = passwd
auth_passdb = pam
#auth_userdb = passwd
#auth_passdb = pam
#userdb = /etc/passwd
#passdb = /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
# }
# /etc/passwd or similar, using getpwnam()
# In many systems nowadays this uses Name Service Switch, which is
# configured in /etc/nsswitch.conf.
# passdb passwd {
# args= /etc/passwd
# }
# /etc/shadow or similiar, using getspnam(). Deprecated by PAM nowadays.
# passdb shadow {
# args= /etc/shadow
# }
# passwd-like file with specified location
#passdb passwd-file { #}
userdb passwd {
}
# passwd-like file with specified location
#userdb passwd-file {
# Path for passwd-file
#args #}
# Path for passwd-file
#args #}
# checkpassword executable authentication
#passdb checkpassword {
# Path for checkpassword binary
#args #}
If anyone has some advice or tips, it would greatfully be appreciated.
Kind Regards
Brent Clark
On Tue, 2005-05-17 at 13:06 +0200, Brent Clark wrote:> May 17 12:33:47 mail dovecot: auth(default): No password databases setpassdb { .. } section isn't given.> auth_userdb = passwd > auth_passdb = pamI thought having these would just give errors?..> # passdb pam { > # Service name or * as parameter. * means the authenticating > service name > # is used, eg. pop3 or imap. > #args = dovecot > # args= /etc/passwd > # }This shouldn't be commented out if you want to use pam as passdb. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050517/2371fac3/attachment-0001.bin>
Timo Sirainen wrote:
> passdb { .. } section isn't given.
>
>>auth_userdb = passwd
>>auth_passdb = pam
>
> I thought having these would just give errors?..
>
>># passdb pam {
>> # Service name or * as parameter. * means the authenticating
>>service name
>> # is used, eg. pop3 or imap.
>> #args = dovecot
>># args= /etc/passwd
>># }
>
> This shouldn't be commented out if you want to use pam as passdb.
>
Hi
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
}
Any tips and or advice would be greatly appreciated.
Kind Regards
Brent Clark