From: Timo Sirainen Date: Mon, 14 Jun 2010 20:49:27 +0000 (+0100) Subject: userdb nss: Default to blocking=yes. X-Git-Tag: 2.0.rc1~169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f18399059842cbee0286ef92ed682b41b08abd09;p=thirdparty%2Fdovecot%2Fcore.git userdb nss: Default to blocking=yes. --HG-- branch : HEAD --- diff --git a/src/auth/userdb-nss.c b/src/auth/userdb-nss.c index 04e3fdc4c9..1cab74cc86 100644 --- a/src/auth/userdb-nss.c +++ b/src/auth/userdb-nss.c @@ -109,10 +109,11 @@ userdb_nss_preinit(pool_t pool, const char *args) 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