summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-17 01:26:40 +0200
committerGünther Deschner <gd@samba.org>2009-04-17 01:32:44 +0200
commitb0a0d2a0ae16929efa392705c3d7823da16f4d55 (patch)
tree3b241312d0cba3c942ec9ebadf14f2cf3bcf4fc5
parent5517c0bcddfbd8c877fd1f909407824553a20e7f (diff)
downloadsamba-b0a0d2a0ae16929efa392705c3d7823da16f4d55.tar.gz
samba-b0a0d2a0ae16929efa392705c3d7823da16f4d55.tar.bz2
samba-b0a0d2a0ae16929efa392705c3d7823da16f4d55.zip
s4-smbtorture: Fix crash in RPC-LSA-LOOKUP
Guenther
-rw-r--r--source4/torture/rpc/lsa_lookup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/lsa_lookup.c b/source4/torture/rpc/lsa_lookup.c
index 0124ce1741..be7fe87051 100644
--- a/source4/torture/rpc/lsa_lookup.c
+++ b/source4/torture/rpc/lsa_lookup.c
@@ -88,6 +88,7 @@ static NTSTATUS lookup_sids(TALLOC_CTX *mem_ctx, uint16_t level,
{
struct lsa_LookupSids r;
struct lsa_SidArray sidarray;
+ struct lsa_RefDomainList *domains;
uint32_t count = 0;
uint32_t i;
@@ -108,6 +109,7 @@ static NTSTATUS lookup_sids(TALLOC_CTX *mem_ctx, uint16_t level,
r.in.count = &count;
r.out.names = names;
r.out.count = &count;
+ r.out.domains = &domains;
return dcerpc_lsa_LookupSids(p, mem_ctx, &r);
}