dovecot-2.0-sslstream: auth: Another try at connecting to anvil-...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Feb 13 02:56:21 EET 2010
details: http://hg.dovecot.org/dovecot-2.0-sslstream/rev/75b48fa3aec4
changeset: 10312:75b48fa3aec4
user: Timo Sirainen <tss at iki.fi>
date: Wed Nov 11 14:45:52 2009 -0500
description:
auth: Another try at connecting to anvil-auth-penalty while still root.
diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
src/auth/auth.c | 3 +--
diffs (20 lines):
diff -r 9bec70f26637 -r 75b48fa3aec4 src/auth/auth.c
--- a/src/auth/auth.c Wed Nov 11 13:55:49 2009 -0500
+++ b/src/auth/auth.c Wed Nov 11 14:45:52 2009 -0500
@@ -78,6 +78,7 @@ struct auth *auth_preinit(struct auth_se
/* use a dummy userdb static. */
userdb_preinit(auth, &userdb_dummy_set);
}
+ auth->penalty = auth_penalty_init(AUTH_PENALTY_ANVIL_PATH);
return auth;
}
@@ -258,8 +259,6 @@ void auth_init(struct auth *auth)
for (; *p != '\0' && p[1] != '\0'; p += 2)
auth->username_translation[(int)(uint8_t)*p] = p[1];
}
-
- auth->penalty = auth_penalty_init(AUTH_PENALTY_ANVIL_PATH);
}
void auth_deinit(struct auth **_auth)
More information about the dovecot-cvs
mailing list