diff options
author | Günther Deschner <gd@samba.org> | 2006-08-08 11:00:16 +0000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2006-08-08 11:00:16 +0000 |
commit | 5591a79137e005e3d3063c5cf40269a3cf6e79d0 (patch) | |
tree | 7e985563f7bf3692745fd488398e3148d46a6b7f /source/rpc_client | |
parent | 10763861e0b10d81bdfd8c4371062e5e98141ae7 (diff) | |
download | samba-5591a79137e005e3d3063c5cf40269a3cf6e79d0.tar.gz samba-5591a79137e005e3d3063c5cf40269a3cf6e79d0.tar.xz samba-5591a79137e005e3d3063c5cf40269a3cf6e79d0.zip |
r17453: Fix msdfs RPC management (this broke with the autogenerated dfs rpcs).
* Remove "unknown" from dfs_Enum (samba4 dfs IDL updates to follow).
* When encountering an unsupported infolevel the rpc server must reply
with a dfs_info_0 structure and WERR_OK (observed from w2k3 when talking
to nt4).
Guenther
Diffstat (limited to 'source/rpc_client')
-rw-r--r-- | source/rpc_client/cli_dfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_client/cli_dfs.c b/source/rpc_client/cli_dfs.c index 8b94d6ed9d4..f93ce29dbfa 100644 --- a/source/rpc_client/cli_dfs.c +++ b/source/rpc_client/cli_dfs.c @@ -142,7 +142,7 @@ NTSTATUS rpccli_dfs_GetInfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, co return werror_to_ntstatus(r.status); } -NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32 level, uint32 bufsize, NETDFS_DFS_ENUMSTRUCT *info, uint32 *unknown, uint32 *total) +NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32 level, uint32 bufsize, NETDFS_DFS_ENUMSTRUCT *info, uint32 *total) { prs_struct qbuf, rbuf; NETDFS_Q_DFS_ENUM q; @@ -153,7 +153,7 @@ NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint3 /* Marshall data and send request */ - if (!init_netdfs_q_dfs_Enum(&q, level, bufsize, info, unknown, total)) + if (!init_netdfs_q_dfs_Enum(&q, level, bufsize, info, total)) return NT_STATUS_INVALID_PARAMETER; CLI_DO_RPC(cli, mem_ctx, PI_NETDFS, DFS_ENUM, |