summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-06-08 15:48:12 +0200
committerGünther Deschner <gd@samba.org>2011-06-08 17:45:56 +0200
commit0a3fadc707ba2826915c01dbd8745675594ef603 (patch)
treedb20b918507579c55d3913fbb28f4236f7602ebd /source3
parentae6a779bf9f816680e724ede37324b7f5355996b (diff)
downloadsamba-0a3fadc707ba2826915c01dbd8745675594ef603.tar.gz
samba-0a3fadc707ba2826915c01dbd8745675594ef603.tar.bz2
samba-0a3fadc707ba2826915c01dbd8745675594ef603.zip
s3-winbind: always use samlogon cache for wbinfo -r, even when caching is
disabled. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 8 17:45:56 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_util.c4
1 files changed, 0 insertions, 4 deletions
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) {