passdb-static.c revision 0a58543e241f335f0048d11de84c46b820cf1fd1
039cd2c4871a00e51af909222a34695d9cec3000vboxsync/* Copyright (c) 2010-2016 Dovecot authors, see the included COPYING file */
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncstatic_save_fields(struct auth_request *request, const char **password_r, const char **scheme_r)
7defbe0b8606d5e66c4bb527e2dc5c5883ab3802vboxsync (struct static_passdb_module *)request->passdb->passdb;
039cd2c4871a00e51af909222a34695d9cec3000vboxsync auth_request_log_debug(request, AUTH_SUBSYS_DB, "lookup");
039cd2c4871a00e51af909222a34695d9cec3000vboxsync } else if (auth_fields_exists(request->extra_fields, "nopassword")) {
0b2fe03525bf326aeae736bb44c572debe8ba180vboxsync "No password returned (and no nopassword)");
ba31bc205e96548d3557ae82087dc020a52b6a0avboxsyncstatic_verify_plain(struct auth_request *request, const char *password,
db6431d7b73ab0741bc1f6d0dd7624e848b89a78vboxsync result = static_save_fields(request, &static_password, &static_scheme);
if (ret <= 0) {
const char *static_password;
const char *static_scheme;
static struct passdb_module *
const char *value;
NULL,
NULL,