diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-08-13 01:31:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:57:58 -0500 |
commit | b7779be06aa6fd16d24545c10c1a57ef04360617 (patch) | |
tree | 362061af6efa60a7c77d9188aee717df895d9733 /source4/torture/rpc/eventlog.c | |
parent | 2129ba5082d10e3934b57074231a74150265fece (diff) | |
download | samba-b7779be06aa6fd16d24545c10c1a57ef04360617.tar.gz samba-b7779be06aa6fd16d24545c10c1a57ef04360617.tar.bz2 samba-b7779be06aa6fd16d24545c10c1a57ef04360617.zip |
r1799: List more uuids. From
http://www.hsc.fr/ressources/articles/win_net_srv
(This used to be commit 8d36dbed8c5bdc82176083b2c6f8d989ae903ba5)
Diffstat (limited to 'source4/torture/rpc/eventlog.c')
-rw-r--r-- | source4/torture/rpc/eventlog.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c index 31b7d1f5b3..343c81e385 100644 --- a/source4/torture/rpc/eventlog.c +++ b/source4/torture/rpc/eventlog.c @@ -53,7 +53,7 @@ static BOOL test_GetNumRecords(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struc static BOOL test_ReadEventLog(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *handle, uint32_t offset) { NTSTATUS status; - struct eventlog_ReadEventLog r; + struct eventlog_ReadEventLogW r; printf("\ntesting ReadEventLog\n"); @@ -62,7 +62,7 @@ static BOOL test_ReadEventLog(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct r.in.handle = handle; r.in.number_of_bytes = 0x0; - status = dcerpc_eventlog_ReadEventLog(p, mem_ctx, &r); + status = dcerpc_eventlog_ReadEventLogW(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { printf("ReadEventLog failed - %s\n", nt_errstr(status)); @@ -81,7 +81,7 @@ static BOOL test_ReadEventLog(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct r.in.number_of_bytes = r.out.real_size; - status = dcerpc_eventlog_ReadEventLog(p, mem_ctx, &r); + status = dcerpc_eventlog_ReadEventLogW(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { printf("ReadEventLog failed - %s\n", nt_errstr(status)); @@ -114,7 +114,7 @@ BOOL test_CloseEventLog(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, static BOOL test_OpenEventLog(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *handle) { NTSTATUS status; - struct eventlog_OpenEventLog r; + struct eventlog_OpenEventLogW r; struct eventlog_OpenUnknown0 unknown0; printf("\ntesting OpenEventLog\n"); @@ -129,7 +129,7 @@ static BOOL test_OpenEventLog(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct r.in.unknown3 = 0x00000001; r.out.handle = handle; - status = dcerpc_eventlog_OpenEventLog(p, mem_ctx, &r); + status = dcerpc_eventlog_OpenEventLogW(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { printf("OpenEventLog failed - %s\n", nt_errstr(status)); |