[Dovecot] Checkpassword/prefetch/master_user and problems

Emerson Pinter epinter at picturecorp.com.br
Tue Apr 20 15:46:23 EEST 2010


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 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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
Url: http://dovecot.org/pipermail/dovecot/attachments/20100420/819ec14e/attachment.txt 


More information about the dovecot mailing list