summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_dual_srv.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-12-04 20:16:00 +0100
committerJeremy Allison <jra@samba.org>2010-12-06 21:18:07 +0100
commitab1b857f58f58dbc871fc444aa1dfefe4a3bfaeb (patch)
tree34da3b75b681cd8e2105c07cdc22b912625645a7 /source3/winbindd/winbindd_dual_srv.c
parent8f8d188c195d1d587bfdc056b1c6845a046b6e35 (diff)
downloadsamba-ab1b857f58f58dbc871fc444aa1dfefe4a3bfaeb.tar.gz
samba-ab1b857f58f58dbc871fc444aa1dfefe4a3bfaeb.tar.bz2
samba-ab1b857f58f58dbc871fc444aa1dfefe4a3bfaeb.zip
s3: Fix bug 7842: WINBIND_LOOKUPRIDS does not return the proper domain name
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 6 21:18:07 CET 2010 on sn-devel-104
Diffstat (limited to 'source3/winbindd/winbindd_dual_srv.c')
-rw-r--r--source3/winbindd/winbindd_dual_srv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c
index b661fb37e4..1501fd8c6d 100644
--- a/source3/winbindd/winbindd_dual_srv.c
+++ b/source3/winbindd/winbindd_dual_srv.c
@@ -385,6 +385,8 @@ NTSTATUS _wbint_LookupRids(struct pipes_struct *p, struct wbint_LookupRids *r)
return status;
}
+ *r->out.domain_name = talloc_move(r->out.domain_name, &domain_name);
+
result = talloc_array(p->mem_ctx, struct wbint_Principal,
r->in.rids->num_rids);
if (result == NULL) {