summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/rpc_dfs.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-14 21:39:13 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-14 21:39:13 +0000
commit5a1779b982569201decc8a09765d5361212813d7 (patch)
treededcf4e90ff7a2455135fe2c61591e0fbac4e33e /source4/librpc/rpc/rpc_dfs.c
parentf147a707955d3c57ecd0ecc7e19307adb2aed02b (diff)
downloadsamba-5a1779b982569201decc8a09765d5361212813d7.tar.gz
samba-5a1779b982569201decc8a09765d5361212813d7.tar.bz2
samba-5a1779b982569201decc8a09765d5361212813d7.zip
it turns out that all MS servers ignore the artifact struct_len fields
in OpenPolicy and OpenPolicy2, so we don't in fact need the [struct_len] attribute. This makes our IDL much closer to the MS IDL. (This used to be commit f0a8f063a680b5d0a68c5ac7cccf9c9a13adfb81)
Diffstat (limited to 'source4/librpc/rpc/rpc_dfs.c')
-rw-r--r--source4/librpc/rpc/rpc_dfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/librpc/rpc/rpc_dfs.c b/source4/librpc/rpc/rpc_dfs.c
index c722530eeb..e4501676dd 100644
--- a/source4/librpc/rpc/rpc_dfs.c
+++ b/source4/librpc/rpc/rpc_dfs.c
@@ -39,12 +39,12 @@ NTSTATUS dcerpc_dfs_Remove(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct df
return r->out.result;
}
-NTSTATUS dcerpc_dfs_UNKNOWN3(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_UNKNOWN3 *r)
+NTSTATUS dcerpc_dfs_SetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_SetInfo *r)
{
NTSTATUS status;
- status = dcerpc_ndr_request(p, DCERPC_DFS_UNKNOWN3, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_UNKNOWN3,
- (ndr_pull_fn_t) ndr_pull_dfs_UNKNOWN3,
+ status = dcerpc_ndr_request(p, DCERPC_DFS_SETINFO, mem_ctx,
+ (ndr_push_fn_t) ndr_push_dfs_SetInfo,
+ (ndr_pull_fn_t) ndr_pull_dfs_SetInfo,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;