[Dovecot] problem with master db and dovecot-2.0.beta3
Hello, i am currenty testing dovecot 2.0.beta3 and ran into a problem with the master-db setting. For our webmail access we are sucessfully using the following settings with dovecot-1.2.10
auth_master_user_separator =* auth default { mechanisms = plain passdb passwd-file { args = /etc/dovecot/passwd.masterusers master = yes pass = yes } passdb ldap { args = /etc/dovecot/dovecot-ldap.conf } }
when "converting" the settings to version 2.0 i tried the following:
auth_mechanisms = plain auth_master_user_separator = * passdb { driver = passwd-file args = /etc/dovecot/passwd.masterusers master = yes pass = yes } passdb { driver = ldap args = /etc/dovecot/dovecot-ldap.conf }
But when i try to login, the auth process gets stalled with the following log entry: auth: Fatal: Master passdb can't have pass=yes if there are no passdbs master: Error: service(auth): command startup failed, throttling
Am i doing something wrong or is it problem with the 2.0-beta ?
Regards, Oliver Eales
On Wed, 2010-02-24 at 17:53 +0100, Oliver Eales wrote:
i am currenty testing dovecot 2.0.beta3 and ran into a problem with the master-db setting. .. auth: Fatal: Master passdb can't have pass=yes if there are no passdbs master: Error: service(auth): command startup failed, throttling
I fixed that a few days ago in hg.
Timo Sirainen wrote:
auth: Fatal: Master passdb can't have pass=yes if there are no passdbs master: Error: service(auth): command startup failed, throttling
I fixed that a few days ago in hg.
The original error is gone but it is still not working for me. Now i get in the debug log:
Mar 17 12:06:50 auth: Info: passdb(masteruser@vodafone.de,::1,master): Attempted master login with no master passdbs (trying to log in as user: 1000000000032@vodafone.de)
With 1.2.x it is working, but not with current 2.0-hg-10937 excerpt from dovecot -n
# 2.0.beta3: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.27.42-0.1-default x86_64 SUSE Linux Enterprise Server 11 (x86_64) auth_debug = yes auth_default_realm = vodafone.de auth_master_user_separator = * auth_mechanisms = plain login auth_socket_path = /usr/local/var/run/dovecot/auth-userdb auth_verbose = yes disable_plaintext_auth = no log_path = /var/log/dovecot.log passdb { args = /usr/local/etc/dovecot/passwd.masterusers driver = passwd-file master = yes pass = yes } passdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf driver = ldap }
And working 1.2.11 config:
# 1.2.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.27.42-0.1-default i686 SUSE Linux Enterprise Server 11 (i586) auth default: default_realm: vodafone.de cache_size: 16 user: ngmail master_user_separator: * verbose: yes debug: yes passdb: driver: passwd-file args: /etc/dovecot/passwd.masterusers pass: yes master: yes passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf
Is there something wrong with the config for the 2.0 ?
Regards and thanks! Oliver Eales
On Wed, 2010-03-17 at 12:34 +0100, Oliver Eales wrote:
Mar 17 12:06:50 auth: Info: passdb(masteruser@vodafone.de,::1,master): Attempted master login with no master passdbs (trying to log in as user: 1000000000032@vodafone.de)
Fixed that too now, and actually tested that it works. :)
participants (2)
-
Oliver Eales
-
Timo Sirainen