The branch, master has been updated
       via  0a3fadc s3-winbind: always use samlogon cache for wbinfo -r, even 
when caching is disabled.
      from  ae6a779 s3-winbindd: make sure we obey the -n switch also for 
samlogon cache access.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 0a3fadc707ba2826915c01dbd8745675594ef603
Author: Günther Deschner <g...@samba.org>
Date:   Wed Jun 8 15:48:12 2011 +0200

    s3-winbind: always use samlogon cache for wbinfo -r, even when caching is
    disabled.
    
    Guenther
    
    Autobuild-User: Günther Deschner <g...@samba.org>
    Autobuild-Date: Wed Jun  8 17:45:56 CEST 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/winbindd_util.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 7fede49..63cb2d2 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) {


-- 
Samba Shared Repository

Reply via email to