From 448544935c6a62ba86e6594419e051c9dcc6299c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 21 Sep 2006 03:36:10 +0000 Subject: r18766: Getting rid of one test_GetManagerVersion() call and fix the build. Guenther (This used to be commit dc9045b30c97e676a4d77356d3430f7337089ab5) --- source4/torture/rpc/dfs.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'source4/torture/rpc') 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); -- cgit