summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-21 03:36:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:09 -0500
commit448544935c6a62ba86e6594419e051c9dcc6299c (patch)
tree5d5feaf080d83016bbcf2dd7da11b0b5da7a09dc /source4/torture/rpc
parent7b3ed9e3ed8f38606a372ccf642dcc3601258d9e (diff)
downloadsamba-448544935c6a62ba86e6594419e051c9dcc6299c.tar.gz
samba-448544935c6a62ba86e6594419e051c9dcc6299c.tar.bz2
samba-448544935c6a62ba86e6594419e051c9dcc6299c.zip
r18766: Getting rid of one test_GetManagerVersion() call and fix the build.
Guenther (This used to be commit dc9045b30c97e676a4d77356d3430f7337089ab5)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/dfs.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c
index 2ec2511374..36d3618f83 100644
--- a/source4/torture/rpc/dfs.c
+++ b/source4/torture/rpc/dfs.c
@@ -163,9 +163,9 @@ static BOOL test_GetInfoLevel(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, uint16
printf("Testing GetInfo level %u on '%s'\n", level, root);
- r.in.path = talloc_strdup(mem_ctx, root);
- r.in.server = NULL;
- r.in.share = NULL;
+ r.in.dfs_entry_path = talloc_strdup(mem_ctx, root);
+ r.in.servername = NULL;
+ r.in.sharename = NULL;
r.in.level = level;
status = dcerpc_dfs_GetInfo(p, mem_ctx, &r);
@@ -429,7 +429,6 @@ static void test_cleanup_stdroot(struct dcerpc_pipe *p,
static BOOL test_StdRoot(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, const char *host)
{
- enum dfs_ManagerVersion version;
const char *sharename = SMBTORTURE_DFS_SHARENAME;
const char *dir = SMBTORTURE_DFS_DIRNAME;
const char *path = SMBTORTURE_DFS_PATHNAME;
@@ -442,7 +441,6 @@ static BOOL test_StdRoot(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, const char
ret &= test_CreateDir(mem_ctx, &cli, host, "C$", dir);
ret &= test_NetShareAdd(mem_ctx, host, sharename, path);
- ret &= test_GetManagerVersion(p, mem_ctx, &version);
ret &= test_AddStdRoot(p, mem_ctx, host, sharename);
ret &= test_RemoveStdRoot(p, mem_ctx, host, sharename);
ret &= test_StdRootForced(p, mem_ctx, host, sharename);