From 0a3fadc707ba2826915c01dbd8745675594ef603 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 8 Jun 2011 15:48:12 +0200 Subject: s3-winbind: always use samlogon cache for wbinfo -r, even when caching is disabled. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Wed Jun 8 17:45:56 CEST 2011 on sn-devel-104 --- source3/winbindd/winbindd_util.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3/winbindd/winbindd_util.c') diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index 7fede49e09..63cb2d2f02 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/winbindd/winbindd_util.c @@ -1022,10 +1022,6 @@ NTSTATUS lookup_usergroups_cached(struct winbindd_domain *domain, *user_sids = NULL; *p_num_groups = 0; - if (!winbindd_use_cache()) { - return NT_STATUS_OBJECT_NAME_NOT_FOUND; - } - info3 = netsamlogon_cache_get(mem_ctx, user_sid); if (info3 == NULL) { -- cgit