From 6bc971d8b5fbdaaaed1c4756424395ce8fc1e42b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Dec 2004 10:05:02 +0000 Subject: r4310: fixed the authority_name field in lsa_GetUserName() (This used to be commit f78506697ad23456fcac6e8916d0dad05b0df6cc) --- source4/torture/rpc/lsa.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/torture/rpc/lsa.c') diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 39d433a791..77e7827cf9 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -1145,11 +1145,14 @@ static BOOL test_GetUserName(struct dcerpc_pipe *p, struct lsa_GetUserName r; NTSTATUS status; BOOL ret = True; + struct lsa_StringPointer lsap; + printf("\nTesting GetUserName\n"); r.in.system_name = "\\"; r.in.account_name = NULL; - r.in.unknown_name = NULL; + r.in.authority_name = &lsap; + lsap.string = NULL; status = dcerpc_lsa_GetUserName(p, mem_ctx, &r); -- cgit