[PATCH] s3: Respect "winbind nested groups" in wb_gettoken_gotgroups
Volker Lendecke
vl at samba.org
Wed Feb 23 09:09:58 MST 2011
---
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
--k1lZvvs/B4yU6o8G--
More information about the samba-technical
mailing list