/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_PASSWD_FILE
#include "str.h"
#include "auth-cache.h"
#include "password-scheme.h"
#include "db-passwd-file.h"
struct passwd_file_passdb_module {
const char *username_format;
};
static int
{
unsigned int i;
str_truncate(str, 0);
"Failed to expand extra field %s: %s",
return -1;
}
} else {
value = "";
}
}
return 0;
}
const struct passwd_user *pu,
const char **crypted_pass_r,
const char **scheme_r)
{
/* save the password so cache can use it */
*crypted_pass_r, *scheme_r);
return -1;
}
return 0;
}
static void
{
(struct passwd_file_passdb_module *)_module;
int ret;
if (ret <= 0) {
return;
}
return;
}
request);
}
static void
{
(struct passwd_file_passdb_module *)_module;
int ret;
if (ret <= 0) {
return;
}
return;
}
}
static struct passdb_module *
{
while (*args != '\0') {
if (*args == '/')
break;
value = "";
} else {
}
args = "";
else
args++;
else
}
if (*args == '\0')
i_fatal("passdb passwd-file: Missing args");
}
{
(struct passwd_file_passdb_module *)_module;
}
{
(struct passwd_file_passdb_module *)_module;
}
"passwd-file",
};
#else
.name = "passwd-file"
};
#endif