Displaying 1 result from an estimated 1 matches for "passwd_preinit".
Did you mean:
passdb_preinit
2006 Feb 03
1
passwd-userdb with args
...+ if (args[i+1] == NULL)
+ value = NULL;
+ else {
+ str_truncate(str, 0);
+ var_expand(str, args[i+1], table);
+ value = str_c(str);
+ }
+ auth_stream_reply_add(reply, args[i], value);
+ }
callback(reply, auth_request);
+ t_pop();
+ }
+
+ static struct userdb_module *
+ passwd_preinit(struct auth_userdb *auth_userdb, const char *args)
+ {
+ struct passwd_userdb_module *module;
+ const char *const *tmp, *key, *value;
+
+ module = p_new(auth_userdb->auth->pool, struct passwd_userdb_module, 1);
+
+ tmp = t_strsplit_spaces(args, " ");
+ ARRAY_CREATE(&modul...