diff options
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 9daee1c9f6..dc729bebe4 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -799,6 +799,10 @@ static void centry_end(struct cache_entry *centry, const char *format, ...) char *kstr; TDB_DATA key, data; + if (opt_nocache) { + return; + } + va_start(ap, format); smb_xvasprintf(&kstr, format, ap); va_end(ap); |