From a733f2e93bd74b8b03e93fddb589f1b9ab7c48cc Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 21 Sep 2008 02:07:43 +0200 Subject: [PATCH] winbindd_group: don't list the domain twice when expanding internal aliases Before this, "getent group builtin\\administrators" expanded domain group members in the form DOMAIN\domain\user. Michael (cherry picked from commit a0e36cdd05cc9f5354dd9e834077919b8ce64262) --- source/winbindd/winbindd_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/winbindd/winbindd_group.c b/source/winbindd/winbindd_group.c index 8c32e336a0a..c2122945594 100644 --- a/source/winbindd/winbindd_group.c +++ b/source/winbindd/winbindd_group.c @@ -138,7 +138,7 @@ static void add_expanded_sid(const DOM_SID *sid, char **pp_members, size_t *p_nu continue; } - add_member(domain->name, names[i], pp_members, p_num_members); + add_member(NULL, names[i], pp_members, p_num_members); } done: -- 2.11.4.GIT