summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-21 02:07:43 +0200
committerMichael Adam <obnox@samba.org>2008-09-23 10:00:26 +0200
commit4432967532897cc90ce7d7b11fab6f6f88f8bfc0 (patch)
tree1c3eb74a7c9b7f67bdb9b03f8545c1acd1bbe1e4 /source3/winbindd
parent4205fab500927a4248fda622e1c338b7e791617f (diff)
downloadsamba-4432967532897cc90ce7d7b11fab6f6f88f8bfc0.tar.gz
samba-4432967532897cc90ce7d7b11fab6f6f88f8bfc0.tar.bz2
samba-4432967532897cc90ce7d7b11fab6f6f88f8bfc0.zip
[s3]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
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c
index b2bba09537..f2b6fbefb5 100644
--- a/source3/winbindd/winbindd_group.c
+++ b/source3/winbindd/winbindd_group.c
@@ -140,7 +140,7 @@ static void add_expanded_sid(const DOM_SID *sid,
continue;
}
- add_member(domain->name, names[i], pp_members, p_num_members);
+ add_member(NULL, names[i], pp_members, p_num_members);
}
done: