[Dovecot] Checkpassword/prefetch/master_user and problems
Emerson Pinter
epinter at picturecorp.com.br
Mon Apr 19 20:27:22 EEST 2010
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.txt
More information about the dovecot
mailing list