[Dovecot] Patch: use child_wait in passdb-checkpassword (was: Initial support for shared mailboxes)

Sascha Wilde wilde at intevation.de
Mon Oct 13 17:13:22 EEST 2008


Timo Sirainen <tss at iki.fi> writes:
> On Oct 11, 2008, at 10:52 AM, Sascha Wilde wrote:
>> The proposed change is not sufficient, the only reason why my test
>> didn't fail was, that I used an other passdb backend, so that my
>> userdb
>> backend was the only one registering a SIGCHILD handler...
>
> This might be helpful:
>
> http://hg.dovecot.org/icecap/file/401c2bc71594/src/lib/child-wait.h
> http://hg.dovecot.org/icecap/file/401c2bc71594/src/lib/child-wait.c

Thanks!  Seems indeed helpful.  I have changed passdb-checkpassword to
use the child-wait stuff, see attached patch.  (I have put
child-wait.[ch] into src/lib/)

Now I'll try to do the same for my userdb, so that they should work at
the same time -- stay tuned...

cheer
sascha
-- 
Sascha Wilde                                          OpenPGP key: 4BB86568
http://www.intevation.de/~wilde/                  http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück; AG Osnabrück, HR B 18998
Geschäftsführer:   Frank Koormann,  Bernhard Reiter,  Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20081013/c4a1f278/attachment.bin 


More information about the dovecot mailing list