[Dovecot] New userdb backend for checkpassword like programs

Sascha Wilde wilde at intevation.de
Fri Oct 17 20:04:26 EEST 2008


As announced in MID <s7w4p3ec6pw.fsf at intevation.de> I wrote[0] a new
userdb back end, which uses a checkpassword like program to retrieve
user data.

This is needed to get computed user data without authentication for the
LDA or the yet to be implemented %%h variable in shared user folder
name spaces...

The back end needs a special checkpassword program which follows the
qmail semantics but additionally provides the user data without password
verification when the environment variable AUTHORIZED is set.[1]

I have done some code cleanup (mainly factoring out common code of the
passdb and userdb back ends) and you can found the current version,
alongside with our acl-plugin enhancements, here:

http://hg.intevation.org/kolab/dovecot-1.2_kolab-branch/

Timo, what would be needed to get the new back end upstream?

cheers
sascha

[0] Well mostly copy and paste from the existing passdb-checkpassword...
[1] The variable name needs some evaluation: it seems, that courier
    knows an environment variable AUTHENTICATED, which might be a good
    choice for us, too -- on the other hand it might be totally wrong.  ;-)
-- 
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/20081017/db66aaa0/attachment.bin 


More information about the dovecot mailing list