Hi!
I'm trying to use a master user, here is what I'm doing:
dovecot.conf:
auth default {
[...]
passdb passwd-file {
args = /etc/dovecot.passdb_master
pass = yes
master = yes
}
passdb passwd-file {
args = /etc/dovecot.passdb
}
[...]
}
(Dovecot said that one can not place the passdb containing "master =
yes" last, why?)
This only works if the master user (in the master passwd file) has PLAIN
password scheme. It doesn't work with DIGEST-MD5. Here is the log when
it's in DIGEST-MD5:
auth(default): passdb(master,84.x.x.x,master): Master user logging in as
leva
auth(default): digest-md5(leva,84.x.x.x): password mismatch
imap-login: Disconnected: user=<leva>, method=DIGEST-MD5, rip=84.x.x.x,
lip=212.x.x.x, TLS
When the master password is in PLAIN scheme, I can login as anyone.
I'm using dovecot-1.1beta4.
Daniel
Timo Sirainen
2007-Oct-27 15:43 UTC
[Dovecot] master user can not login with digest-md5 password
On Thu, 2007-10-25 at 16:10 +0200, Daniel wrote:> I'm trying to use a master user, here is what I'm doing: > > dovecot.conf: > auth default { > [...] > passdb passwd-file { > args = /etc/dovecot.passdb_master > pass = yes > master = yes > } > > passdb passwd-file { > args = /etc/dovecot.passdb > } > [...] > } > > (Dovecot said that one can not place the passdb containing "master = > yes" last, why?)I think you mean last passdb couldn't contain "pass=yes". But there's really no reason for last master passdb not to have pass=yes. Fixed: http://hg.dovecot.org/dovecot/rev/2a9edc9136f9> This only works if the master user (in the master passwd file) has PLAIN > password scheme. It doesn't work with DIGEST-MD5. Here is the log when > it's in DIGEST-MD5:Fixed: http://hg.dovecot.org/dovecot/rev/2a36e7d9ddb6 -------------- 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/20071027/7aa4329b/attachment-0002.bin>