diff options
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 76e49ee96a..bf76c7f251 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); |