summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-15 16:37:27 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-15 16:37:27 +0200
commit85c36cb2cd3e850a6d815cee63ccd1ed30d6c045 (patch)
tree8ba18a38d26b29706e86f01399ff5fd37e2152bf /source4/torture/rpc
parent5d408ccf83e0b95459fe5e8a9e31f685b0859973 (diff)
downloadsamba-85c36cb2cd3e850a6d815cee63ccd1ed30d6c045.tar.gz
samba-85c36cb2cd3e850a6d815cee63ccd1ed30d6c045.tar.bz2
samba-85c36cb2cd3e850a6d815cee63ccd1ed30d6c045.zip
Share eventlog.idl.
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/eventlog.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c
index feeeb9330b..d5665ad07d 100644
--- a/source4/torture/rpc/eventlog.c
+++ b/source4/torture/rpc/eventlog.c
@@ -40,13 +40,16 @@ static bool get_policy_handle(struct torture_context *tctx,
{
struct eventlog_OpenEventLogW r;
struct eventlog_OpenUnknown0 unknown0;
+ struct lsa_String logname, servername;
unknown0.unknown0 = 0x005c;
unknown0.unknown1 = 0x0001;
r.in.unknown0 = &unknown0;
- init_lsa_String(&r.in.logname, "dns server");
- init_lsa_String(&r.in.servername, NULL);
+ init_lsa_String(r.in.logname, "dns server");
+ init_lsa_String(r.in.servername, NULL);
+ r.in.logname = &logname;
+ r.in.servername = &servername;
r.in.unknown2 = 0x00000001;
r.in.unknown3 = 0x00000001;
r.out.handle = handle;
@@ -205,7 +208,7 @@ static bool test_ClearEventLog(struct torture_context *tctx,
return false;
r.in.handle = &handle;
- r.in.unknown = NULL;
+ r.in.backupfile = NULL;
torture_assert_ntstatus_ok(tctx,
dcerpc_eventlog_ClearEventLogW(p, tctx, &r),