Hi,
I upgraded to 20150213 (f10725a5eed8+). I chose LDAP as the authentication
source for Dovecot.
Compilation succeeds. Starting dovecot from command line :
/usr/local/sbin/dovecot -c /usr/local/etc/dovecot/
The error log contains :
"dovecot: auth: Fatal: No passdbs specified in configuration file. PLAIN
mechanism needs one"
It works properly with Dovecot 2.0.9.
Any clues or suggestions, anything I could try...?
Thanks,
This is the output of dovecot -n:
# 20150213 (f10725a5eed8+): /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-504.el6.x86_64 x86_64 Red Hat Enterprise Linux Server
release 6.6 (Santiago)
doveconf: Warning: Dovecot was last started using /usr/local/etc/dovecot/,
but this config is /usr/local/etc/dovecot/dovecot.conf
auth_debug = yes
auth_debug_passwords = yes
auth_master_user_separator = *
auth_mechanisms = plain login
auth_verbose = yes
disable_plaintext_auth = no
mail_debug = yes
mail_gid = 5000
mail_location = maildir:~/Maildir:LAYOUT=fs
mail_plugins = " quota acl"
mail_uid = 5000
mbox_write_locks = fcntl
namespace {
list = children
location = maildir:/store/vmail/public:LAYOUT=fs
prefix = public/
separator = /
subscriptions = no
type = public
}
namespace inbox {
inbox = yes
location prefix }
passdb {
args = /usr/local/etc/dovecot/master-users
driver = passwd-file
master = yes
pass = yes
}
passdb {
args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
quota = maildir
quota_rule = *:storage=50M
quota_rule2 = Trash:storage=+5M
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
}
service auth {
client_limit = 9516
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-userdb {
group = vmail
mode = 0660
user = vmail
}
}
service imap-login {
process_min_avail = 2
service_count = 0
}
service imap {
process_limit = 8192
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
unix_listener quota-warning {
user = vmail
}
user = vmail
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
syslog_facility = local5
userdb {
args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
verbose_ssl = yes
Steffen Kaiser
2015-Feb-17 07:23 UTC
auth: Fatal: No passdbs specified in configuration file
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 14 Feb 2015, rub zorghy wrote:> Compilation succeeds. Starting dovecot from command line : > /usr/local/sbin/dovecot -c /usr/local/etc/dovecot/ > > The error log contains : > > "dovecot: auth: Fatal: No passdbs specified in configuration file. PLAIN > mechanism needs one"http://wiki2.dovecot.org/Tools/Dovecot says, -c needs a config _file_, not a directory. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVOLsaHz1H7kL/d9rAQJWjAf/TBsfKAB3uRrsl98mmDoupgPHRBeRePO/ QwZN+4lH37+1sGsZ0WzTpprOnO4I99B4tyrnRYRa67bwhoevtiY5dJujKP+tJYjR Az8K+RkzRfuiu91X3rmHfx94AkIZ+igdqN1fY2J0SRfqv5sTi1VaoyIy/sacJdaC Ds25DE9hSrXbSHUJbw7ie1Ya0zR3Bbv2Tc1KWSs2qIEQcJYAI37P7jzAzIB415d/ roodl3x5u/5qQx8VsXpKanPt2ljFBDv8FcdUG/U7SQmALkZVrM+eQVsMsWSbpF5G oBm9W1C7dlU0OnbI6Pgqep5WlHp4o/bC9sv+bm9cj2fcNaL8XPR/iA==MhGj -----END PGP SIGNATURE-----
Apparently Analagous Threads
- Security hole #6: Some passdbs allowed users to log in without a valid password
- Security hole #6: Some passdbs allowed users to log in without a valid password
- How to avoid "authenticated user not found" - messages when using multiple Ldap userdbs/passdbs?
- Overlapping userdb/passdbs
- multiple passdbs and auth sockets