passdb-passwd-file.c revision 229e473f71a96ce61585730b165275a93a311e4e
af5423cd2fb397e699c76f0d687ff23773d07a7cTimo Sirainen/* Copyright (C) 2002-2003 Timo Sirainen */
af5423cd2fb397e699c76f0d687ff23773d07a7cTimo Sirainenpasswd_file_verify_plain(struct auth_request *request, const char *password,
af5423cd2fb397e699c76f0d687ff23773d07a7cTimo Sirainen struct passdb_module *_module = request->passdb->passdb;
af5423cd2fb397e699c76f0d687ff23773d07a7cTimo Sirainen pu = db_passwd_file_lookup(module->pwf, request);
af5423cd2fb397e699c76f0d687ff23773d07a7cTimo Sirainen callback(PASSDB_RESULT_USER_UNKNOWN, request);
af5423cd2fb397e699c76f0d687ff23773d07a7cTimo Sirainen if (scheme == NULL) scheme = _module->default_pass_scheme;
af5423cd2fb397e699c76f0d687ff23773d07a7cTimo Sirainen /* save the password so cache can use it */
if (ret > 0)
if (ret < 0) {
static struct passdb_module *