summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-08-13 01:31:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:58 -0500
commitb7779be06aa6fd16d24545c10c1a57ef04360617 (patch)
tree362061af6efa60a7c77d9188aee717df895d9733 /source4/torture
parent2129ba5082d10e3934b57074231a74150265fece (diff)
downloadsamba-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')
-rw-r--r--source4/torture/rpc/dcom.c2
-rw-r--r--source4/torture/rpc/dfs.c10
-rw-r--r--source4/torture/rpc/eventlog.c10
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 = &exist;
- 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));