svn commit: samba r18766 - in branches/SAMBA_4_0/source/torture/rpc: .

gd at samba.org gd at samba.org
Thu Sep 21 03:36:11 GMT 2006


Author: gd
Date: 2006-09-21 03:36:10 +0000 (Thu, 21 Sep 2006)
New Revision: 18766

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18766

Log:
Getting rid of one test_GetManagerVersion() call and fix the build.

Guenther

Modified:
   branches/SAMBA_4_0/source/torture/rpc/dfs.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/dfs.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/dfs.c	2006-09-21 03:11:51 UTC (rev 18765)
+++ branches/SAMBA_4_0/source/torture/rpc/dfs.c	2006-09-21 03:36:10 UTC (rev 18766)
@@ -163,9 +163,9 @@
 
 	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 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 @@
 
 	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);



More information about the samba-cvs mailing list