Emerson Pinter
2010-Apr-19 17:27 UTC
[Dovecot] Checkpassword/prefetch/master_user and problems
Hi.
I'm trying to use checkpassword for simple auth and masteruser auth.
I have two programs, one called checkpassword-master (for masteruser
lookup) and another called checkpassword for normal passdb and userdb
lookup).
All works fine for non-masteruser authentication (in this case dovecot
makes a single call to checkpassword binary). But if a master-user
authenticates, dovecot execute checkpassword-master binary, and then
executes checkpassword binary. Checkpassword binary receive the MASTER_USER
env and do all the checks correctly, when checkpassword finish, dovecot
logs this message "auth(default): checkpassword: sighandler called for
unknown child" and authentication fails...
I'm trying checkpassword-reply and fd4 too, on 1.2.11 and 2.0b4, no
success.
Below is my config:
auth default {
mechanisms = plain
passdb checkpassword {
args = /srv/dovecot/checkpassword
}
passdb checkpassword {
args = /srv/dovecot/checkpassword-master
master=yes
pass=yes
}
userdb prefetch {
}
}
Anybody can help me ?
Tks.
--
Emerson Pinter
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20100419/58da90e1/attachment-0002.txt>
Emerson Pinter
2010-Apr-20 12:46 UTC
[Dovecot] Checkpassword/prefetch/master_user and problems
Nobody ? This can be a dovecot bug ? -- Emerson Pinter Picture Internet 55 11 5089-8130 http://www.picture.com.br/ On Mon, 19 Apr 2010 14:27:22 -0300, Emerson Pinter <epinter at picturecorp.com.br> wrote:> Hi. > > I'm trying to use checkpassword for simple auth and masteruser auth. > I have two programs, one called checkpassword-master (for masteruser > lookup) and another called checkpassword for normal passdb and userdb > lookup). > All works fine for non-masteruser authentication (in this case dovecot > makes a single call to checkpassword binary). But if a master-user > authenticates, dovecot execute checkpassword-master binary, and then > executes checkpassword binary. Checkpassword binary receive theMASTER_USER> env and do all the checks correctly, when checkpassword finish, dovecot > logs this message "auth(default): checkpassword: sighandler called for > unknown child" and authentication fails... > > I'm trying checkpassword-reply and fd4 too, on 1.2.11 and 2.0b4, no > success. > > Below is my config: > > auth default { > mechanisms = plain > passdb checkpassword { > args = /srv/dovecot/checkpassword > } > passdb checkpassword { > args = /srv/dovecot/checkpassword-master > master=yes > pass=yes > } > userdb prefetch { > } > } > > Anybody can help me ? > > Tks.-------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: <http://dovecot.org/pipermail/dovecot/attachments/20100420/819ec14e/attachment-0002.txt>