18 Sep
2005
18 Sep
'05
7:20 p.m.
On Wed, 2005-09-07 at 23:06 +0200, Mij wrote:
Is a module for vmailmgr userdb being under work by someone?
I don't think so.
If not, i'd like to help out. Is there a standard API to implement or such? Is there some further documentation to avoid a full inspection of the sources?
A bit late, but if you haven't yet done anything:
src/auth/userdb.h and passdb.h
And lots of examples as the existing userdb*.c and passdb*.c
Password and user database lookups are separated. If vmailmgr wants to reply both at the same time, you can store the userdb result into auth_request->extra_fields and use "userdb passdb", the same way as passdb-checkpassword.c works.