summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-04-20 01:24:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:16 -0500
commitae2e6490743c0fd89e11c85cd72d549f39be7674 (patch)
tree499689b37b255f8cebeb3b524807c93b30b13363 /source3/nsswitch
parent335b10ef10f9825ad52501c77bc6b77cdad39067 (diff)
downloadsamba-ae2e6490743c0fd89e11c85cd72d549f39be7674.tar.gz
samba-ae2e6490743c0fd89e11c85cd72d549f39be7674.tar.bz2
samba-ae2e6490743c0fd89e11c85cd72d549f39be7674.zip
r288: combination of BUG 1081 and patch from J. Klinger -- added remove_duplicate_gids() to smbd and winbindd
(This used to be commit 95c68103ea9dbd02651e26fcaa15dd054b157529)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_group.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c
index f9b6df1aed..8f5306321a 100644
--- a/source3/nsswitch/winbindd_group.c
+++ b/source3/nsswitch/winbindd_group.c
@@ -1118,6 +1118,8 @@ enum winbindd_result winbindd_getgroups(struct winbindd_cli_state *state)
}
}
+ remove_duplicate_gids( &num_gids, gid_list );
+
/* Send data back to client */
state->response.data.num_entries = num_gids;