summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2007-12-19 00:46:43 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:51:55 +0100
commit1385a75409fc8d200aa3836ae7d3dc8de240d860 (patch)
tree710fea3f2492390aebb01765b88d96914f55c9d8 /source4/libnet
parent1b1de74d7117cdb6a53a438caf912e9614562f4c (diff)
downloadsamba-1385a75409fc8d200aa3836ae7d3dc8de240d860.tar.gz
samba-1385a75409fc8d200aa3836ae7d3dc8de240d860.tar.bz2
samba-1385a75409fc8d200aa3836ae7d3dc8de240d860.zip
r26532: Fix mistake in assignment.
(This used to be commit 4d0ff8e375d5378c68c505f42246e62cfdd648a2)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_group.c b/source4/libnet/libnet_group.c
index 5d2e74824c..c4d44eefe8 100644
--- a/source4/libnet/libnet_group.c
+++ b/source4/libnet/libnet_group.c
@@ -414,7 +414,7 @@ static void continue_groups_enumerated(struct rpc_request *req)
group_sid = dom_sid_add_rid(c, domain_sid, entry->idx);
if (composite_nomem(group_sid, c)) return;
- s->groups[i].groupname = dom_sid_string(c, group_sid);
+ s->groups[i].groupname = talloc_strdup(c, entry->name.string);
if (composite_nomem(s->groups[i].groupname, c)) return;
s->groups[i].sid = dom_sid_string(c, group_sid);