From: Günther Deschner Date: Tue, 25 Apr 2006 08:24:50 +0000 (+0000) Subject: r15228: Fix -n winbind option which has become meaningless with the persistent X-Git-Tag: samba-4.0.0alpha6~801^2~8558 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e602207e1e599452102d6a06036fb6b49cf0a45;p=thirdparty%2Fsamba.git r15228: Fix -n winbind option which has become meaningless with the persistent cache. Guenther (This used to be commit e85558f4a457609f3661446dad8134e80f10bbe6) --- diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 76e49ee96a0..bf76c7f251f 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -524,6 +524,12 @@ static struct cache_entry *wcache_fetch(struct winbind_cache *cache, char *kstr; struct cache_entry *centry; + extern BOOL opt_nocache; + + if (opt_nocache) { + return NULL; + } + refresh_sequence_number(domain, False); va_start(ap, format);