dovecot-2.2: auth: userdb passwd lookups should have been done v...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Jan 5 01:14:34 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/8e5d9d88e250
changeset: 15525:8e5d9d88e250
user: Timo Sirainen <tss at iki.fi>
date: Tue Nov 27 08:43:15 2012 +0200
description:
auth: userdb passwd lookups should have been done via worker processes by default.
diffstat:
src/auth/userdb-passwd.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (18 lines):
diff -r 0f3972fa6dba -r 8e5d9d88e250 src/auth/userdb-passwd.c
--- a/src/auth/userdb-passwd.c Tue Nov 27 08:08:50 2012 +0200
+++ b/src/auth/userdb-passwd.c Tue Nov 27 08:43:15 2012 +0200
@@ -216,11 +216,10 @@
module = p_new(pool, struct passwd_userdb_module, 1);
module->module.cache_key = USER_CACHE_KEY;
module->tmpl = userdb_template_build(pool, "passwd", args);
+ module->module.blocking = TRUE;
- if (userdb_template_remove(module->tmpl, "blocking", &value)) {
- module->module.blocking = value == NULL ||
- strcasecmp(value, "yes") == 0;
- }
+ if (userdb_template_remove(module->tmpl, "blocking", &value))
+ module->module.blocking = strcasecmp(value, "yes") == 0;
/* FIXME: backwards compatibility */
if (!userdb_template_is_empty(module->tmpl))
i_warning("userdb passwd: Move templates args to override_fields setting");
More information about the dovecot-cvs
mailing list