]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r15228: Fix -n winbind option which has become meaningless with the persistent
authorGünther Deschner <gd@samba.org>
Tue, 25 Apr 2006 08:24:50 +0000 (08:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:16:29 +0000 (11:16 -0500)
cache.

Guenther
(This used to be commit e85558f4a457609f3661446dad8134e80f10bbe6)

source3/nsswitch/winbindd_cache.c

index 76e49ee96a035548a9f918297eca7cf939f2d7d4..bf76c7f251f025256d74ac84df51b64170f77319 100644 (file)
@@ -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);