diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/dcom.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/dfs.c | 10 | ||||
-rw-r--r-- | source4/torture/rpc/eventlog.c | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/source4/torture/rpc/dcom.c b/source4/torture/rpc/dcom.c index b42023eb2f..8ff47a363d 100644 --- a/source4/torture/rpc/dcom.c +++ b/source4/torture/rpc/dcom.c @@ -1,6 +1,6 @@ /* Unix SMB/CIFS implementation. - test suite for dcom rpc operations + test suite for dcom operations Copyright (C) Jelmer Vernooij 2004 diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c index 30c352680a..e19a4f0da3 100644 --- a/source4/torture/rpc/dfs.c +++ b/source4/torture/rpc/dfs.c @@ -22,17 +22,17 @@ #include "includes.h" -static BOOL test_Exist(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) +static BOOL test_GetManagerVersion(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { NTSTATUS status; - struct dfs_Exist r; + struct dfs_GetManagerVersion r; uint32_t exist = 0; r.out.exist_flag = ∃ - status = dcerpc_dfs_Exist(p, mem_ctx, &r); + status = dcerpc_dfs_GetManagerVersion(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { - printf("Exist failed - %s\n", nt_errstr(status)); + printf("GetManagerVersion failed - %s\n", nt_errstr(status)); return False; } @@ -180,7 +180,7 @@ BOOL torture_rpc_dfs(int dummy) return False; } - if (!test_Exist(p, mem_ctx)) { + if (!test_GetManagerVersion(p, mem_ctx)) { ret = False; } 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)); |