summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-08-08 11:45:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:35 -0500
commit72c605b4fc518b498688ec032004fded0d2250d7 (patch)
treea26747def255b3e304216995fc141221ba504e61 /source3/rpc_client
parent11673dc07a137e911de3920f0ee6717b365f2ab4 (diff)
downloadsamba-72c605b4fc518b498688ec032004fded0d2250d7.tar.gz
samba-72c605b4fc518b498688ec032004fded0d2250d7.tar.bz2
samba-72c605b4fc518b498688ec032004fded0d2250d7.zip
r17454: Adding dfs_EnumEx for rpcclient (Samba4 IDL to follow).
Guenther (This used to be commit 8c1198c1592e7c07904b448ed7a54b9b23c941df)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_dfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_dfs.c b/source3/rpc_client/cli_dfs.c
index f93ce29dbf..5a4ce237a7 100644
--- a/source3/rpc_client/cli_dfs.c
+++ b/source3/rpc_client/cli_dfs.c
@@ -576,7 +576,7 @@ NTSTATUS rpccli_dfs_Remove2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
return werror_to_ntstatus(r.status);
}
-NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
+NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32 level, uint32 bufsize, NETDFS_DFS_ENUMSTRUCT *info, uint32 *total, const char *dfs_name)
{
prs_struct qbuf, rbuf;
NETDFS_Q_DFS_ENUMEX q;
@@ -587,7 +587,7 @@ NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx)
/* Marshall data and send request */
- if (!init_netdfs_q_dfs_EnumEx(&q))
+ if (!init_netdfs_q_dfs_EnumEx(&q, level, bufsize, info, total, dfs_name))
return NT_STATUS_INVALID_PARAMETER;
CLI_DO_RPC(cli, mem_ctx, PI_NETDFS, DFS_ENUMEX,