/* Copyright (c) 2003-2018 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "array.h"
#include "str.h"
#include "userdb.h"
#include "userdb-template.h"
struct userdb_template {
};
struct userdb_template *
{
else
if (*key == '\0')
i_fatal("Invalid userdb template %s - key must not be empty",
args);
i_fatal("%s userdb: Invalid uid: %s",
}
i_fatal("%s userdb: Invalid gid: %s",
}
} else if (*key == '\0') {
i_fatal("%s userdb: Empty key (=%s)",
}
}
return tmpl;
}
struct auth_request *auth_request,
const char **error_r)
{
unsigned int i, count;
if (userdb_template_is_empty(tmpl))
return 0;
for (i = 0; i < count; i += 2) {
value = "";
else {
str_truncate(str, 0);
return -1;
}
}
return 0;
}
{
const char *const *args;
unsigned int i, count;
for (i = 0; i < count; i += 2) {
return TRUE;
}
}
return FALSE;
}
{
}
{
}