o_stream_nsendv(conn->conn.output, iov, N_ELEMENTS(iov));
e_debug(conn->conn.event, "client passdb out: %s",
- conn->auth->set->debug_passwords ?
+ conn->auth->protocol_set->debug_passwords ?
cmd : reply_line_hide_pass(cmd));
}
if (arg != args)
str_append_c(newline, '\t');
if (str_begins_with(*arg, "resp=")) {
- if (conn->auth->set->debug_passwords) {
+ if (conn->auth->protocol_set->debug_passwords) {
str_append_tabescaped(newline, *arg);
str_append(newline, AUTH_DEBUG_SENSITIVE_SUFFIX);
break;
if (args[1] == NULL)
return args[0];
- if (conn->auth->set->debug_passwords) {
+ if (conn->auth->protocol_set->debug_passwords) {
return t_strconcat(t_strarray_join(args, "\t"),
AUTH_DEBUG_SENSITIVE_SUFFIX, NULL);
}
struct auth *auth;
auth = auth_request_get_auth(request);
- request->set = auth->set;
+ request->set = auth->protocol_set;
request->passdb = auth->passdbs;
request->userdb = auth->userdbs;
}
auth = p_new(pool, struct auth, 1);
auth->pool = pool;
auth->protocol = p_strdup(pool, protocol);
- auth->set = set;
+ auth->protocol_set = set;
pool_ref(set->pool);
auth->reg = reg;
struct auth *auth;
array_foreach_elem(&auths, auth) {
- settings_free(auth->set);
+ settings_free(auth->protocol_set);
pool_unref(&auth->pool);
}
array_free(&auths);
struct auth {
pool_t pool;
const char *protocol;
- const struct auth_settings *set;
+ const struct auth_settings *protocol_set;
const struct mechanisms_register *reg;
struct auth_passdb *masterdbs;