dovecot-2.0: userdb nss: Default to blocking=yes.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jun 14 23:49:30 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/7b497f801178
changeset: 11549:7b497f801178
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 14 21:49:27 2010 +0100
description:
userdb nss: Default to blocking=yes.
diffstat:
src/auth/userdb-nss.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r d15d5d828d6b -r 7b497f801178 src/auth/userdb-nss.c
--- a/src/auth/userdb-nss.c Mon Jun 14 21:04:40 2010 +0100
+++ b/src/auth/userdb-nss.c Mon Jun 14 21:49:27 2010 +0100
@@ -109,10 +109,11 @@
module = p_new(pool, struct nss_userdb_module, 1);
module->bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);
module->buf = p_malloc(pool, module->bufsize);
+ module->module.blocking = TRUE;
for (tmp = t_strsplit(args, " "); *tmp != NULL; tmp++) {
- if (strcmp(*tmp, "blocking=yes") == 0)
- module->module.blocking = TRUE;
+ if (strcmp(*tmp, "blocking=no") == 0)
+ module->module.blocking = FALSE;
else if (strncmp(*tmp, "service=", 8) == 0)
module->nss_module.name = p_strdup(pool, *tmp + 8);
else
More information about the dovecot-cvs
mailing list