summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samr.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-12-31 05:33:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:11 -0500
commitca2f6f69d96fc80c26b54ae82617abaa15efef45 (patch)
treef4f43fba132cac4299e00159bd32717630935bfb /source4/torture/rpc/samr.c
parent767ce19bf8bf75b2ede9bd5c7cd5a6112b6e7acd (diff)
downloadsamba-ca2f6f69d96fc80c26b54ae82617abaa15efef45.tar.gz
samba-ca2f6f69d96fc80c26b54ae82617abaa15efef45.tar.bz2
samba-ca2f6f69d96fc80c26b54ae82617abaa15efef45.zip
r12636: fixed some torture code for the changed lsa string types
(This used to be commit ce77c0e8bf4127027edd6291d2ae5d868e3372a1)
Diffstat (limited to 'source4/torture/rpc/samr.c')
-rw-r--r--source4/torture/rpc/samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 210e5def21..3fe622b592 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -2262,7 +2262,7 @@ static BOOL test_EnumDomainUsers(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
n.in.num_names = r.out.sam->count;
n.in.names = talloc_array(mem_ctx, struct lsa_String, r.out.sam->count);
for (i=0;i<r.out.sam->count;i++) {
- n.in.names[i] = r.out.sam->entries[i].name;
+ n.in.names[i].string = r.out.sam->entries[i].name.string;
}
status = dcerpc_samr_LookupNames(p, mem_ctx, &n);
if (!NT_STATUS_IS_OK(status)) {