[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-technical
Subject:    Re: Betr: Re: samba allways expand nested groups
From:       Volker Lendecke <Volker.Lendecke () SerNet ! DE>
Date:       2011-02-23 16:11:06
Message-ID: E1PsHJ2-009Qa7-HO () intern ! SerNet ! DE
[Download RAW message or body]

On Wed, Feb 23, 2011 at 04:57:08PM +0100, joris.weijters@lekkerland.nl wrote:
> 
> Hereby I send all log files requested

Can you try the attached (untested) patch? I assumed that you
are using 3.5 latest.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

["0001-s3-Respect-winbind-nested-groups-in-wb_gettoken_gotg.patch" (text/x-diff)]

From 1958f6034916746363fcbfa504c84dc6a13be495 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@samba.org>
Date: Wed, 23 Feb 2011 17:09:58 +0100
Subject: [PATCH] s3: Respect "winbind nested groups" in wb_gettoken_gotgroups

---
 source3/winbindd/wb_gettoken.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/source3/winbindd/wb_gettoken.c b/source3/winbindd/wb_gettoken.c
index f2fbe4c..27d8c9a 100644
--- a/source3/winbindd/wb_gettoken.c
+++ b/source3/winbindd/wb_gettoken.c
@@ -103,6 +103,11 @@ static void wb_gettoken_gotgroups(struct tevent_req *subreq)
 	state->num_sids += 1;
 	state->sids = sids;
 
+	if (!lp_winbind_nested_groups()) {
+		tevent_req_done(req);
+		return;
+	}
+
 	/*
 	 * Expand our domain's aliases
 	 */
-- 
1.7.0.4



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic