search for: userdb_module

Displaying 2 results from an estimated 2 matches for "userdb_module".

2006 Feb 03
1
passwd-userdb with args
...src/auth/userdb-passwd.c 3 Feb 2006 12:34:22 -0000 *************** *** 4,18 **** --- 4,34 ---- #ifdef USERDB_PASSWD + #include "array.h" + #include "str.h" + #include "var-expand.h" #include "userdb.h" #include <pwd.h> + struct passwd_userdb_module { + struct userdb_module module; + + array_t ARRAY_DEFINE(template, const char *); + }; + static void passwd_lookup(struct auth_request *auth_request, userdb_callback_t *callback) { + struct userdb_module *_module = auth_request->userdb->userdb; + struct passwd_userdb_module...
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client connected available to the authentication modules; i.e., the local IP address is available for substitution as %i for the mysql and pgsql modules. We needed this feature to support thousands of our legacy accounts which are authenticated by username/local_part (not the full email address) and IP address (one per domain). Timo,