diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-08-21 12:20:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:08 -0500 |
commit | 18a48df488f5fcf9b55abf61b09778bdc15373d7 (patch) | |
tree | c91a46e312cb7e9d93ad7d41b2baf1f6a58e9ad4 /source3/librpc | |
parent | 644b43d993db7ec709a2bc4e121426e7a27237e8 (diff) | |
download | samba-18a48df488f5fcf9b55abf61b09778bdc15373d7.tar.gz samba-18a48df488f5fcf9b55abf61b09778bdc15373d7.tar.bz2 samba-18a48df488f5fcf9b55abf61b09778bdc15373d7.zip |
r24594: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions
metze
(This used to be commit 5e3d4df9bca069708d72f548dc5ddfc7708ac122)
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/gen_ndr/cli_dfs.c | 46 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_echo.c | 20 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_epmapper.c | 16 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_eventlog.c | 48 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_initshutdown.c | 6 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_lsa.c | 164 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_netlogon.c | 94 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_srvsvc.c | 108 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_svcctl.c | 88 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_unixinfo.c | 10 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_winreg.c | 70 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_wkssvc.c | 62 |
12 files changed, 366 insertions, 366 deletions
diff --git a/source3/librpc/gen_ndr/cli_dfs.c b/source3/librpc/gen_ndr/cli_dfs.c index 2d7d2017ae..9a4e4c8d90 100644 --- a/source3/librpc/gen_ndr/cli_dfs.c +++ b/source3/librpc/gen_ndr/cli_dfs.c @@ -16,7 +16,7 @@ NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_GetManagerVersion, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_GETMANAGERVERSION, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetManagerVersion, (ndr_push_flags_fn_t)ndr_push_dfs_GetManagerVersion); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_GETMANAGERVERSION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -51,7 +51,7 @@ NTSTATUS rpccli_dfs_Add(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_Add, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_ADD, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Add, (ndr_push_flags_fn_t)ndr_push_dfs_Add); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -83,7 +83,7 @@ NTSTATUS rpccli_dfs_Remove(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_Remove, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_REMOVE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Remove, (ndr_push_flags_fn_t)ndr_push_dfs_Remove); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_REMOVE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -117,7 +117,7 @@ NTSTATUS rpccli_dfs_SetInfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, co if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_SetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_SETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_SetInfo, (ndr_push_flags_fn_t)ndr_push_dfs_SetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_SETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -150,7 +150,7 @@ NTSTATUS rpccli_dfs_GetInfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, co if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_GetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_GETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetInfo, (ndr_push_flags_fn_t)ndr_push_dfs_GetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_GETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -184,7 +184,7 @@ NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint3 if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_Enum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_ENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Enum, (ndr_push_flags_fn_t)ndr_push_dfs_Enum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -219,7 +219,7 @@ NTSTATUS rpccli_dfs_Rename(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_Rename, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_RENAME, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Rename, (ndr_push_flags_fn_t)ndr_push_dfs_Rename); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_RENAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -248,7 +248,7 @@ NTSTATUS rpccli_dfs_Move(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_Move, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_MOVE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Move, (ndr_push_flags_fn_t)ndr_push_dfs_Move); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_MOVE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -277,7 +277,7 @@ NTSTATUS rpccli_dfs_ManagerGetConfigInfo(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_ManagerGetConfigInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_MANAGERGETCONFIGINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_ManagerGetConfigInfo, (ndr_push_flags_fn_t)ndr_push_dfs_ManagerGetConfigInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_MANAGERGETCONFIGINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -306,7 +306,7 @@ NTSTATUS rpccli_dfs_ManagerSendSiteInfo(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_ManagerSendSiteInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_MANAGERSENDSITEINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_ManagerSendSiteInfo, (ndr_push_flags_fn_t)ndr_push_dfs_ManagerSendSiteInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_MANAGERSENDSITEINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -344,7 +344,7 @@ NTSTATUS rpccli_dfs_AddFtRoot(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_AddFtRoot, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_ADDFTROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_AddFtRoot, (ndr_push_flags_fn_t)ndr_push_dfs_AddFtRoot); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADDFTROOT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -382,7 +382,7 @@ NTSTATUS rpccli_dfs_RemoveFtRoot(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_RemoveFtRoot, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_REMOVEFTROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_RemoveFtRoot, (ndr_push_flags_fn_t)ndr_push_dfs_RemoveFtRoot); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_REMOVEFTROOT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -418,7 +418,7 @@ NTSTATUS rpccli_dfs_AddStdRoot(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_AddStdRoot, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_ADDSTDROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_AddStdRoot, (ndr_push_flags_fn_t)ndr_push_dfs_AddStdRoot); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADDSTDROOT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -450,7 +450,7 @@ NTSTATUS rpccli_dfs_RemoveStdRoot(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_RemoveStdRoot, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_REMOVESTDROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_RemoveStdRoot, (ndr_push_flags_fn_t)ndr_push_dfs_RemoveStdRoot); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_REMOVESTDROOT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -481,7 +481,7 @@ NTSTATUS rpccli_dfs_ManagerInitialize(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_ManagerInitialize, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_MANAGERINITIALIZE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_ManagerInitialize, (ndr_push_flags_fn_t)ndr_push_dfs_ManagerInitialize); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_MANAGERINITIALIZE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -514,7 +514,7 @@ NTSTATUS rpccli_dfs_AddStdRootForced(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_AddStdRootForced, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_ADDSTDROOTFORCED, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_AddStdRootForced, (ndr_push_flags_fn_t)ndr_push_dfs_AddStdRootForced); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADDSTDROOTFORCED, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -543,7 +543,7 @@ NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_GetDcAddress, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_GETDCADDRESS, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetDcAddress, (ndr_push_flags_fn_t)ndr_push_dfs_GetDcAddress); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_GETDCADDRESS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -572,7 +572,7 @@ NTSTATUS rpccli_dfs_SetDcAddress(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_SetDcAddress, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_SETDCADDRESS, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_SetDcAddress, (ndr_push_flags_fn_t)ndr_push_dfs_SetDcAddress); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_SETDCADDRESS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -603,7 +603,7 @@ NTSTATUS rpccli_dfs_FlushFtTable(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_FlushFtTable, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_FLUSHFTTABLE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_FlushFtTable, (ndr_push_flags_fn_t)ndr_push_dfs_FlushFtTable); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_FLUSHFTTABLE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -632,7 +632,7 @@ NTSTATUS rpccli_dfs_Add2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_Add2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_ADD2, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Add2, (ndr_push_flags_fn_t)ndr_push_dfs_Add2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADD2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -661,7 +661,7 @@ NTSTATUS rpccli_dfs_Remove2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_Remove2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_REMOVE2, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Remove2, (ndr_push_flags_fn_t)ndr_push_dfs_Remove2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_REMOVE2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -695,7 +695,7 @@ NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_EnumEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_ENUMEX, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_EnumEx, (ndr_push_flags_fn_t)ndr_push_dfs_EnumEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ENUMEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -730,7 +730,7 @@ NTSTATUS rpccli_dfs_SetInfo2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(dfs_SetInfo2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, NDR_DFS_SETINFO2, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_SetInfo2, (ndr_push_flags_fn_t)ndr_push_dfs_SetInfo2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETDFS, &ndr_table_netdfs, NDR_DFS_SETINFO2, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_echo.c b/source3/librpc/gen_ndr/cli_echo.c index 6c33f69c29..4da2d7a209 100644 --- a/source3/librpc/gen_ndr/cli_echo.c +++ b/source3/librpc/gen_ndr/cli_echo.c @@ -17,7 +17,7 @@ NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, ui if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_AddOne, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_ADDONE, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_AddOne, (ndr_push_flags_fn_t)ndr_push_echo_AddOne); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_ADDONE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -49,7 +49,7 @@ NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_EchoData, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_ECHODATA, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_EchoData, (ndr_push_flags_fn_t)ndr_push_echo_EchoData); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_ECHODATA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -81,7 +81,7 @@ NTSTATUS rpccli_echo_SinkData(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_SinkData, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_SINKDATA, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_SinkData, (ndr_push_flags_fn_t)ndr_push_echo_SinkData); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_SINKDATA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -111,7 +111,7 @@ NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_SourceData, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_SOURCEDATA, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_SourceData, (ndr_push_flags_fn_t)ndr_push_echo_SourceData); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_SOURCEDATA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -142,7 +142,7 @@ NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestCall, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_TESTCALL, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestCall, (ndr_push_flags_fn_t)ndr_push_echo_TestCall); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTCALL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -173,7 +173,7 @@ NTSTATUS rpccli_echo_TestCall2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestCall2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_TESTCALL2, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestCall2, (ndr_push_flags_fn_t)ndr_push_echo_TestCall2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTCALL2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -204,7 +204,7 @@ NTSTATUS rpccli_echo_TestSleep(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestSleep, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_TESTSLEEP, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestSleep, (ndr_push_flags_fn_t)ndr_push_echo_TestSleep); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTSLEEP, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -236,7 +236,7 @@ NTSTATUS rpccli_echo_TestEnum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_TESTENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestEnum, (ndr_push_flags_fn_t)ndr_push_echo_TestEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -269,7 +269,7 @@ NTSTATUS rpccli_echo_TestSurrounding(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestSurrounding, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_TESTSURROUNDING, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestSurrounding, (ndr_push_flags_fn_t)ndr_push_echo_TestSurrounding); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTSURROUNDING, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -300,7 +300,7 @@ NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestDoublePointer, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, NDR_ECHO_TESTDOUBLEPOINTER, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestDoublePointer, (ndr_push_flags_fn_t)ndr_push_echo_TestDoublePointer); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTDOUBLEPOINTER, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_epmapper.c b/source3/librpc/gen_ndr/cli_epmapper.c index e68c9e50f6..e00d9aa2a1 100644 --- a/source3/librpc/gen_ndr/cli_epmapper.c +++ b/source3/librpc/gen_ndr/cli_epmapper.c @@ -19,7 +19,7 @@ NTSTATUS rpccli_epm_Insert(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uin if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_Insert, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_INSERT, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Insert, (ndr_push_flags_fn_t)ndr_push_epm_Insert); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_INSERT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -50,7 +50,7 @@ NTSTATUS rpccli_epm_Delete(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uin if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_Delete, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_DELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Delete, (ndr_push_flags_fn_t)ndr_push_epm_Delete); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_DELETE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -85,7 +85,7 @@ NTSTATUS rpccli_epm_Lookup(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uin if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_Lookup, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_LOOKUP, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Lookup, (ndr_push_flags_fn_t)ndr_push_epm_Lookup); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_LOOKUP, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -121,7 +121,7 @@ NTSTATUS rpccli_epm_Map(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_Map, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_MAP, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Map, (ndr_push_flags_fn_t)ndr_push_epm_Map); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_MAP, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -154,7 +154,7 @@ NTSTATUS rpccli_epm_LookupHandleFree(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_LookupHandleFree, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_LOOKUPHANDLEFREE, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_LookupHandleFree, (ndr_push_flags_fn_t)ndr_push_epm_LookupHandleFree); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_LOOKUPHANDLEFREE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -185,7 +185,7 @@ NTSTATUS rpccli_epm_InqObject(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_InqObject, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_INQOBJECT, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_InqObject, (ndr_push_flags_fn_t)ndr_push_epm_InqObject); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_INQOBJECT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -217,7 +217,7 @@ NTSTATUS rpccli_epm_MgmtDelete(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_MgmtDelete, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_MGMTDELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_MgmtDelete, (ndr_push_flags_fn_t)ndr_push_epm_MgmtDelete); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_MGMTDELETE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -246,7 +246,7 @@ NTSTATUS rpccli_epm_MapAuth(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_MapAuth, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_MAPAUTH, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_MapAuth, (ndr_push_flags_fn_t)ndr_push_epm_MapAuth); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_MAPAUTH, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_eventlog.c b/source3/librpc/gen_ndr/cli_eventlog.c index 052892fcb3..3fd61a7d49 100644 --- a/source3/librpc/gen_ndr/cli_eventlog.c +++ b/source3/librpc/gen_ndr/cli_eventlog.c @@ -18,7 +18,7 @@ NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_CLEAREVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ClearEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_ClearEventLogW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_CLEAREVENTLOGW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -47,7 +47,7 @@ NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_BACKUPEVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_BackupEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_BackupEventLogW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_BACKUPEVENTLOGW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -77,7 +77,7 @@ NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_CloseEventLog, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_CLOSEEVENTLOG, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_CloseEventLog, (ndr_push_flags_fn_t)ndr_push_eventlog_CloseEventLog); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_CLOSEEVENTLOG, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -107,7 +107,7 @@ NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli, TALL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_DeregisterEventSource, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_DEREGISTEREVENTSOURCE, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_DeregisterEventSource, (ndr_push_flags_fn_t)ndr_push_eventlog_DeregisterEventSource); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_DEREGISTEREVENTSOURCE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -137,7 +137,7 @@ NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_GetNumRecords, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_GETNUMRECORDS, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_GetNumRecords, (ndr_push_flags_fn_t)ndr_push_eventlog_GetNumRecords); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_GETNUMRECORDS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -167,7 +167,7 @@ NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_GetOldestRecord, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_GETOLDESTRECORD, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_GetOldestRecord, (ndr_push_flags_fn_t)ndr_push_eventlog_GetOldestRecord); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_GETOLDESTRECORD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -196,7 +196,7 @@ NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_ChangeNotify, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_CHANGENOTIFY, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ChangeNotify, (ndr_push_flags_fn_t)ndr_push_eventlog_ChangeNotify); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_CHANGENOTIFY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -230,7 +230,7 @@ NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_OPENEVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_OpenEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_OpenEventLogW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_OPENEVENTLOGW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -260,7 +260,7 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_REGISTEREVENTSOURCEW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_RegisterEventSourceW, (ndr_push_flags_fn_t)ndr_push_eventlog_RegisterEventSourceW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REGISTEREVENTSOURCEW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -289,7 +289,7 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_OPENBACKUPEVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_OpenBackupEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_OpenBackupEventLogW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_OPENBACKUPEVENTLOGW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -322,7 +322,7 @@ NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_READEVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ReadEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_ReadEventLogW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_READEVENTLOGW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -354,7 +354,7 @@ NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_ReportEventW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_REPORTEVENTW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ReportEventW, (ndr_push_flags_fn_t)ndr_push_eventlog_ReportEventW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REPORTEVENTW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -383,7 +383,7 @@ NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_ClearEventLogA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_CLEAREVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ClearEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_ClearEventLogA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_CLEAREVENTLOGA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -412,7 +412,7 @@ NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_BackupEventLogA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_BACKUPEVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_BackupEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_BackupEventLogA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_BACKUPEVENTLOGA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -441,7 +441,7 @@ NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_OpenEventLogA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_OPENEVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_OpenEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_OpenEventLogA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_OPENEVENTLOGA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -470,7 +470,7 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_RegisterEventSourceA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_REGISTEREVENTSOURCEA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_RegisterEventSourceA, (ndr_push_flags_fn_t)ndr_push_eventlog_RegisterEventSourceA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REGISTEREVENTSOURCEA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -499,7 +499,7 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_OpenBackupEventLogA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_OPENBACKUPEVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_OpenBackupEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_OpenBackupEventLogA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_OPENBACKUPEVENTLOGA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -528,7 +528,7 @@ NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_ReadEventLogA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_READEVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ReadEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_ReadEventLogA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_READEVENTLOGA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -557,7 +557,7 @@ NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_ReportEventA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_REPORTEVENTA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ReportEventA, (ndr_push_flags_fn_t)ndr_push_eventlog_ReportEventA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REPORTEVENTA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -586,7 +586,7 @@ NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_RegisterClusterSvc, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_REGISTERCLUSTERSVC, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_RegisterClusterSvc, (ndr_push_flags_fn_t)ndr_push_eventlog_RegisterClusterSvc); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REGISTERCLUSTERSVC, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -615,7 +615,7 @@ NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_DeregisterClusterSvc, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_DEREGISTERCLUSTERSVC, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_DeregisterClusterSvc, (ndr_push_flags_fn_t)ndr_push_eventlog_DeregisterClusterSvc); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_DEREGISTERCLUSTERSVC, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -644,7 +644,7 @@ NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_WriteClusterEvents, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_WRITECLUSTEREVENTS, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_WriteClusterEvents, (ndr_push_flags_fn_t)ndr_push_eventlog_WriteClusterEvents); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_WRITECLUSTEREVENTS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -673,7 +673,7 @@ NTSTATUS rpccli_eventlog_GetLogIntormation(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_GetLogIntormation, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_GETLOGINTORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_GetLogIntormation, (ndr_push_flags_fn_t)ndr_push_eventlog_GetLogIntormation); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_GETLOGINTORMATION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -703,7 +703,7 @@ NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(eventlog_FlushEventLog, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, NDR_EVENTLOG_FLUSHEVENTLOG, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_FlushEventLog, (ndr_push_flags_fn_t)ndr_push_eventlog_FlushEventLog); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_FLUSHEVENTLOG, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_initshutdown.c b/source3/librpc/gen_ndr/cli_initshutdown.c index 1ceb349e73..4e6647dac5 100644 --- a/source3/librpc/gen_ndr/cli_initshutdown.c +++ b/source3/librpc/gen_ndr/cli_initshutdown.c @@ -21,7 +21,7 @@ NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(initshutdown_Init, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_INITSHUTDOWN, NDR_INITSHUTDOWN_INIT, &r, (ndr_pull_flags_fn_t)ndr_pull_initshutdown_Init, (ndr_push_flags_fn_t)ndr_push_initshutdown_Init); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_INITSHUTDOWN, &ndr_table_initshutdown, NDR_INITSHUTDOWN_INIT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -51,7 +51,7 @@ NTSTATUS rpccli_initshutdown_Abort(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(initshutdown_Abort, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_INITSHUTDOWN, NDR_INITSHUTDOWN_ABORT, &r, (ndr_pull_flags_fn_t)ndr_pull_initshutdown_Abort, (ndr_push_flags_fn_t)ndr_push_initshutdown_Abort); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_INITSHUTDOWN, &ndr_table_initshutdown, NDR_INITSHUTDOWN_ABORT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -86,7 +86,7 @@ NTSTATUS rpccli_initshutdown_InitEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(initshutdown_InitEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_INITSHUTDOWN, NDR_INITSHUTDOWN_INITEX, &r, (ndr_pull_flags_fn_t)ndr_pull_initshutdown_InitEx, (ndr_push_flags_fn_t)ndr_push_initshutdown_InitEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_INITSHUTDOWN, &ndr_table_initshutdown, NDR_INITSHUTDOWN_INITEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_lsa.c b/source3/librpc/gen_ndr/cli_lsa.c index a85c482ef8..4c923582f9 100644 --- a/source3/librpc/gen_ndr/cli_lsa.c +++ b/source3/librpc/gen_ndr/cli_lsa.c @@ -17,7 +17,7 @@ NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, stru if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_Close, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CLOSE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_Close, (ndr_push_flags_fn_t)ndr_push_lsa_Close); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CLOSE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -48,7 +48,7 @@ NTSTATUS rpccli_lsa_Delete(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, str if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_Delete, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_DELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_Delete, (ndr_push_flags_fn_t)ndr_push_lsa_Delete); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_DELETE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -80,7 +80,7 @@ NTSTATUS rpccli_lsa_EnumPrivs(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_EnumPrivs, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_ENUMPRIVS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumPrivs, (ndr_push_flags_fn_t)ndr_push_lsa_EnumPrivs); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMPRIVS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -113,7 +113,7 @@ NTSTATUS rpccli_lsa_QuerySecurity(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_QuerySecurity, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_QUERYSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QuerySecurity, (ndr_push_flags_fn_t)ndr_push_lsa_QuerySecurity); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYSECURITY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -145,7 +145,7 @@ NTSTATUS rpccli_lsa_SetSecObj(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetSecObj, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETSECOBJ, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetSecObj, (ndr_push_flags_fn_t)ndr_push_lsa_SetSecObj); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETSECOBJ, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -174,7 +174,7 @@ NTSTATUS rpccli_lsa_ChangePassword(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_ChangePassword, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CHANGEPASSWORD, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_ChangePassword, (ndr_push_flags_fn_t)ndr_push_lsa_ChangePassword); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CHANGEPASSWORD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -206,7 +206,7 @@ NTSTATUS rpccli_lsa_OpenPolicy(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_OpenPolicy, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_OPENPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_OpenPolicy); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENPOLICY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -238,7 +238,7 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_QueryInfoPolicy, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_QUERYINFOPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryInfoPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_QueryInfoPolicy); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYINFOPOLICY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -270,7 +270,7 @@ NTSTATUS rpccli_lsa_SetInfoPolicy(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetInfoPolicy, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETINFOPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetInfoPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_SetInfoPolicy); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETINFOPOLICY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -299,7 +299,7 @@ NTSTATUS rpccli_lsa_ClearAuditLog(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_ClearAuditLog, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CLEARAUDITLOG, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_ClearAuditLog, (ndr_push_flags_fn_t)ndr_push_lsa_ClearAuditLog); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CLEARAUDITLOG, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -331,7 +331,7 @@ NTSTATUS rpccli_lsa_CreateAccount(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CreateAccount, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREATEACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateAccount, (ndr_push_flags_fn_t)ndr_push_lsa_CreateAccount); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATEACCOUNT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -364,7 +364,7 @@ NTSTATUS rpccli_lsa_EnumAccounts(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_EnumAccounts, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_ENUMACCOUNTS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumAccounts, (ndr_push_flags_fn_t)ndr_push_lsa_EnumAccounts); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMACCOUNTS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -398,7 +398,7 @@ NTSTATUS rpccli_lsa_CreateTrustedDomain(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CreateTrustedDomain, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREATETRUSTEDDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateTrustedDomain, (ndr_push_flags_fn_t)ndr_push_lsa_CreateTrustedDomain); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATETRUSTEDDOMAIN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -431,7 +431,7 @@ NTSTATUS rpccli_lsa_EnumTrustDom(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_EnumTrustDom, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_ENUMTRUSTDOM, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumTrustDom, (ndr_push_flags_fn_t)ndr_push_lsa_EnumTrustDom); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMTRUSTDOM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -468,7 +468,7 @@ NTSTATUS rpccli_lsa_LookupNames(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupNames, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPNAMES, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupNames, (ndr_push_flags_fn_t)ndr_push_lsa_LookupNames); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPNAMES, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -507,7 +507,7 @@ NTSTATUS rpccli_lsa_LookupSids(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupSids, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPSIDS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupSids, (ndr_push_flags_fn_t)ndr_push_lsa_LookupSids); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPSIDS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -544,7 +544,7 @@ NTSTATUS rpccli_lsa_CreateSecret(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CreateSecret, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREATESECRET, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateSecret, (ndr_push_flags_fn_t)ndr_push_lsa_CreateSecret); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATESECRET, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -577,7 +577,7 @@ NTSTATUS rpccli_lsa_OpenAccount(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_OpenAccount, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_OPENACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenAccount, (ndr_push_flags_fn_t)ndr_push_lsa_OpenAccount); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENACCOUNT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -608,7 +608,7 @@ NTSTATUS rpccli_lsa_EnumPrivsAccount(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_EnumPrivsAccount, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_ENUMPRIVSACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumPrivsAccount, (ndr_push_flags_fn_t)ndr_push_lsa_EnumPrivsAccount); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMPRIVSACCOUNT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -642,7 +642,7 @@ NTSTATUS rpccli_lsa_AddPrivilegesToAccount(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_AddPrivilegesToAccount, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_ADDPRIVILEGESTOACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_AddPrivilegesToAccount, (ndr_push_flags_fn_t)ndr_push_lsa_AddPrivilegesToAccount); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ADDPRIVILEGESTOACCOUNT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -674,7 +674,7 @@ NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount(struct rpc_pipe_client *cli, TAL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_RemovePrivilegesFromAccount, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_REMOVEPRIVILEGESFROMACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_RemovePrivilegesFromAccount, (ndr_push_flags_fn_t)ndr_push_lsa_RemovePrivilegesFromAccount); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_REMOVEPRIVILEGESFROMACCOUNT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -703,7 +703,7 @@ NTSTATUS rpccli_lsa_GetQuotasForAccount(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_GetQuotasForAccount, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_GETQUOTASFORACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_GetQuotasForAccount, (ndr_push_flags_fn_t)ndr_push_lsa_GetQuotasForAccount); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_GETQUOTASFORACCOUNT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -732,7 +732,7 @@ NTSTATUS rpccli_lsa_SetQuotasForAccount(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetQuotasForAccount, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETQUOTASFORACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetQuotasForAccount, (ndr_push_flags_fn_t)ndr_push_lsa_SetQuotasForAccount); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETQUOTASFORACCOUNT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -761,7 +761,7 @@ NTSTATUS rpccli_lsa_GetSystemAccessAccount(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_GetSystemAccessAccount, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_GETSYSTEMACCESSACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_GetSystemAccessAccount, (ndr_push_flags_fn_t)ndr_push_lsa_GetSystemAccessAccount); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_GETSYSTEMACCESSACCOUNT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -790,7 +790,7 @@ NTSTATUS rpccli_lsa_SetSystemAccessAccount(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetSystemAccessAccount, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETSYSTEMACCESSACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetSystemAccessAccount, (ndr_push_flags_fn_t)ndr_push_lsa_SetSystemAccessAccount); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETSYSTEMACCESSACCOUNT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -822,7 +822,7 @@ NTSTATUS rpccli_lsa_OpenTrustedDomain(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_OpenTrustedDomain, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_OPENTRUSTEDDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenTrustedDomain, (ndr_push_flags_fn_t)ndr_push_lsa_OpenTrustedDomain); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENTRUSTEDDOMAIN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -854,7 +854,7 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfo(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_QueryTrustedDomainInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_QUERYTRUSTEDDOMAININFO, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryTrustedDomainInfo, (ndr_push_flags_fn_t)ndr_push_lsa_QueryTrustedDomainInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYTRUSTEDDOMAININFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -886,7 +886,7 @@ NTSTATUS rpccli_lsa_SetInformationTrustedDomain(struct rpc_pipe_client *cli, TAL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetInformationTrustedDomain, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETINFORMATIONTRUSTEDDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetInformationTrustedDomain, (ndr_push_flags_fn_t)ndr_push_lsa_SetInformationTrustedDomain); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETINFORMATIONTRUSTEDDOMAIN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -918,7 +918,7 @@ NTSTATUS rpccli_lsa_OpenSecret(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_OpenSecret, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_OPENSECRET, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenSecret, (ndr_push_flags_fn_t)ndr_push_lsa_OpenSecret); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENSECRET, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -951,7 +951,7 @@ NTSTATUS rpccli_lsa_SetSecret(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetSecret, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETSECRET, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetSecret, (ndr_push_flags_fn_t)ndr_push_lsa_SetSecret); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETSECRET, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -985,7 +985,7 @@ NTSTATUS rpccli_lsa_QuerySecret(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_QuerySecret, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_QUERYSECRET, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QuerySecret, (ndr_push_flags_fn_t)ndr_push_lsa_QuerySecret); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYSECRET, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1028,7 +1028,7 @@ NTSTATUS rpccli_lsa_LookupPrivValue(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupPrivValue, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPPRIVVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupPrivValue, (ndr_push_flags_fn_t)ndr_push_lsa_LookupPrivValue); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPPRIVVALUE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1060,7 +1060,7 @@ NTSTATUS rpccli_lsa_LookupPrivName(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupPrivName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPPRIVNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupPrivName, (ndr_push_flags_fn_t)ndr_push_lsa_LookupPrivName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPPRIVNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1096,7 +1096,7 @@ NTSTATUS rpccli_lsa_LookupPrivDisplayName(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupPrivDisplayName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPPRIVDISPLAYNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupPrivDisplayName, (ndr_push_flags_fn_t)ndr_push_lsa_LookupPrivDisplayName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPPRIVDISPLAYNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1129,7 +1129,7 @@ NTSTATUS rpccli_lsa_DeleteObject(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_DeleteObject, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_DELETEOBJECT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_DeleteObject, (ndr_push_flags_fn_t)ndr_push_lsa_DeleteObject); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_DELETEOBJECT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1160,7 +1160,7 @@ NTSTATUS rpccli_lsa_EnumAccountsWithUserRight(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_EnumAccountsWithUserRight, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_ENUMACCOUNTSWITHUSERRIGHT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumAccountsWithUserRight, (ndr_push_flags_fn_t)ndr_push_lsa_EnumAccountsWithUserRight); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMACCOUNTSWITHUSERRIGHT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1192,7 +1192,7 @@ NTSTATUS rpccli_lsa_EnumAccountRights(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_EnumAccountRights, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_ENUMACCOUNTRIGHTS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumAccountRights, (ndr_push_flags_fn_t)ndr_push_lsa_EnumAccountRights); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMACCOUNTRIGHTS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1225,7 +1225,7 @@ NTSTATUS rpccli_lsa_AddAccountRights(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_AddAccountRights, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_ADDACCOUNTRIGHTS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_AddAccountRights, (ndr_push_flags_fn_t)ndr_push_lsa_AddAccountRights); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ADDACCOUNTRIGHTS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1258,7 +1258,7 @@ NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_RemoveAccountRights, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_REMOVEACCOUNTRIGHTS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_RemoveAccountRights, (ndr_push_flags_fn_t)ndr_push_lsa_RemoveAccountRights); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_REMOVEACCOUNTRIGHTS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1290,7 +1290,7 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli, TAL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_QueryTrustedDomainInfoBySid, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_QUERYTRUSTEDDOMAININFOBYSID, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryTrustedDomainInfoBySid, (ndr_push_flags_fn_t)ndr_push_lsa_QueryTrustedDomainInfoBySid); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYTRUSTEDDOMAININFOBYSID, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1322,7 +1322,7 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfo(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetTrustedDomainInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETTRUSTEDDOMAININFO, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetTrustedDomainInfo, (ndr_push_flags_fn_t)ndr_push_lsa_SetTrustedDomainInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETTRUSTEDDOMAININFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1353,7 +1353,7 @@ NTSTATUS rpccli_lsa_DeleteTrustedDomain(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_DeleteTrustedDomain, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_DELETETRUSTEDDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_DeleteTrustedDomain, (ndr_push_flags_fn_t)ndr_push_lsa_DeleteTrustedDomain); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_DELETETRUSTEDDOMAIN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1382,7 +1382,7 @@ NTSTATUS rpccli_lsa_StorePrivateData(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_StorePrivateData, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_STOREPRIVATEDATA, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_StorePrivateData, (ndr_push_flags_fn_t)ndr_push_lsa_StorePrivateData); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_STOREPRIVATEDATA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1411,7 +1411,7 @@ NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_RetrievePrivateData, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_RETRIEVEPRIVATEDATA, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_RetrievePrivateData, (ndr_push_flags_fn_t)ndr_push_lsa_RetrievePrivateData); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_RETRIEVEPRIVATEDATA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1443,7 +1443,7 @@ NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_OpenPolicy2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_OPENPOLICY2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenPolicy2, (ndr_push_flags_fn_t)ndr_push_lsa_OpenPolicy2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENPOLICY2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1476,7 +1476,7 @@ NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_GetUserName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_GETUSERNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_GetUserName, (ndr_push_flags_fn_t)ndr_push_lsa_GetUserName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_GETUSERNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1513,7 +1513,7 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_QueryInfoPolicy2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_QUERYINFOPOLICY2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryInfoPolicy2, (ndr_push_flags_fn_t)ndr_push_lsa_QueryInfoPolicy2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYINFOPOLICY2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1545,7 +1545,7 @@ NTSTATUS rpccli_lsa_SetInfoPolicy2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetInfoPolicy2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETINFOPOLICY2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetInfoPolicy2, (ndr_push_flags_fn_t)ndr_push_lsa_SetInfoPolicy2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETINFOPOLICY2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1577,7 +1577,7 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli, TA if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_QueryTrustedDomainInfoByName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_QUERYTRUSTEDDOMAININFOBYNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryTrustedDomainInfoByName, (ndr_push_flags_fn_t)ndr_push_lsa_QueryTrustedDomainInfoByName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYTRUSTEDDOMAININFOBYNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1613,7 +1613,7 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli, TALL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetTrustedDomainInfoByName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETTRUSTEDDOMAININFOBYNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetTrustedDomainInfoByName, (ndr_push_flags_fn_t)ndr_push_lsa_SetTrustedDomainInfoByName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETTRUSTEDDOMAININFOBYNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1645,7 +1645,7 @@ NTSTATUS rpccli_lsa_EnumTrustedDomainsEx(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_EnumTrustedDomainsEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_ENUMTRUSTEDDOMAINSEX, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumTrustedDomainsEx, (ndr_push_flags_fn_t)ndr_push_lsa_EnumTrustedDomainsEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMTRUSTEDDOMAINSEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1676,7 +1676,7 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CreateTrustedDomainEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREATETRUSTEDDOMAINEX, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateTrustedDomainEx, (ndr_push_flags_fn_t)ndr_push_lsa_CreateTrustedDomainEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATETRUSTEDDOMAINEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1706,7 +1706,7 @@ NTSTATUS rpccli_lsa_CloseTrustedDomainEx(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CloseTrustedDomainEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CLOSETRUSTEDDOMAINEX, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CloseTrustedDomainEx, (ndr_push_flags_fn_t)ndr_push_lsa_CloseTrustedDomainEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CLOSETRUSTEDDOMAINEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1738,7 +1738,7 @@ NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli, TA if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_QueryDomainInformationPolicy, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_QUERYDOMAININFORMATIONPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryDomainInformationPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_QueryDomainInformationPolicy); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYDOMAININFORMATIONPOLICY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1773,7 +1773,7 @@ NTSTATUS rpccli_lsa_SetDomainInformationPolicy(struct rpc_pipe_client *cli, TALL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_SetDomainInformationPolicy, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_SETDOMAININFORMATIONPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetDomainInformationPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_SetDomainInformationPolicy); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETDOMAININFORMATIONPOLICY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1805,7 +1805,7 @@ NTSTATUS rpccli_lsa_OpenTrustedDomainByName(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_OpenTrustedDomainByName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_OPENTRUSTEDDOMAINBYNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenTrustedDomainByName, (ndr_push_flags_fn_t)ndr_push_lsa_OpenTrustedDomainByName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENTRUSTEDDOMAINBYNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1835,7 +1835,7 @@ NTSTATUS rpccli_lsa_TestCall(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_TestCall, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_TESTCALL, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_TestCall, (ndr_push_flags_fn_t)ndr_push_lsa_TestCall); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_TESTCALL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1871,7 +1871,7 @@ NTSTATUS rpccli_lsa_LookupSids2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupSids2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPSIDS2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupSids2, (ndr_push_flags_fn_t)ndr_push_lsa_LookupSids2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPSIDS2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1913,7 +1913,7 @@ NTSTATUS rpccli_lsa_LookupNames2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupNames2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPNAMES2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupNames2, (ndr_push_flags_fn_t)ndr_push_lsa_LookupNames2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPNAMES2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1947,7 +1947,7 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx2(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CreateTrustedDomainEx2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREATETRUSTEDDOMAINEX2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateTrustedDomainEx2, (ndr_push_flags_fn_t)ndr_push_lsa_CreateTrustedDomainEx2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATETRUSTEDDOMAINEX2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1976,7 +1976,7 @@ NTSTATUS rpccli_lsa_CREDRWRITE(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRWRITE, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRWRITE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRWRITE, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRWRITE); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRWRITE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2005,7 +2005,7 @@ NTSTATUS rpccli_lsa_CREDRREAD(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRREAD, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRREAD, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRREAD, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRREAD); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRREAD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2034,7 +2034,7 @@ NTSTATUS rpccli_lsa_CREDRENUMERATE(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRENUMERATE, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRENUMERATE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRENUMERATE, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRENUMERATE); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRENUMERATE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2063,7 +2063,7 @@ NTSTATUS rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS(struct rpc_pipe_client *cli, TAL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRWRITEDOMAINCREDENTIALS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRWRITEDOMAINCREDENTIALS, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRWRITEDOMAINCREDENTIALS); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRWRITEDOMAINCREDENTIALS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2092,7 +2092,7 @@ NTSTATUS rpccli_lsa_CREDRREADDOMAINCREDENTIALS(struct rpc_pipe_client *cli, TALL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRREADDOMAINCREDENTIALS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRREADDOMAINCREDENTIALS, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRREADDOMAINCREDENTIALS); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRREADDOMAINCREDENTIALS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2121,7 +2121,7 @@ NTSTATUS rpccli_lsa_CREDRDELETE(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRDELETE, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRDELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRDELETE, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRDELETE); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRDELETE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2150,7 +2150,7 @@ NTSTATUS rpccli_lsa_CREDRGETTARGETINFO(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRGETTARGETINFO, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRGETTARGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRGETTARGETINFO, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRGETTARGETINFO); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRGETTARGETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2179,7 +2179,7 @@ NTSTATUS rpccli_lsa_CREDRPROFILELOADED(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRPROFILELOADED, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRPROFILELOADED, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRPROFILELOADED, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRPROFILELOADED); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRPROFILELOADED, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2216,7 +2216,7 @@ NTSTATUS rpccli_lsa_LookupNames3(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupNames3, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPNAMES3, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupNames3, (ndr_push_flags_fn_t)ndr_push_lsa_LookupNames3); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPNAMES3, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2250,7 +2250,7 @@ NTSTATUS rpccli_lsa_CREDRGETSESSIONTYPES(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRGETSESSIONTYPES, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRGETSESSIONTYPES, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRGETSESSIONTYPES, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRGETSESSIONTYPES); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRGETSESSIONTYPES, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2279,7 +2279,7 @@ NTSTATUS rpccli_lsa_LSARREGISTERAUDITEVENT(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LSARREGISTERAUDITEVENT, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LSARREGISTERAUDITEVENT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARREGISTERAUDITEVENT, (ndr_push_flags_fn_t)ndr_push_lsa_LSARREGISTERAUDITEVENT); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARREGISTERAUDITEVENT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2308,7 +2308,7 @@ NTSTATUS rpccli_lsa_LSARGENAUDITEVENT(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LSARGENAUDITEVENT, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LSARGENAUDITEVENT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARGENAUDITEVENT, (ndr_push_flags_fn_t)ndr_push_lsa_LSARGENAUDITEVENT); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARGENAUDITEVENT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2337,7 +2337,7 @@ NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LSARUNREGISTERAUDITEVENT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARUNREGISTERAUDITEVENT, (ndr_push_flags_fn_t)ndr_push_lsa_LSARUNREGISTERAUDITEVENT); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARUNREGISTERAUDITEVENT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2366,7 +2366,7 @@ NTSTATUS rpccli_lsa_LSARQUERYFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LSARQUERYFORESTTRUSTINFORMATION, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LSARQUERYFORESTTRUSTINFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARQUERYFORESTTRUSTINFORMATION, (ndr_push_flags_fn_t)ndr_push_lsa_LSARQUERYFORESTTRUSTINFORMATION); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARQUERYFORESTTRUSTINFORMATION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2395,7 +2395,7 @@ NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli, T if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LSARSETFORESTTRUSTINFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARSETFORESTTRUSTINFORMATION, (ndr_push_flags_fn_t)ndr_push_lsa_LSARSETFORESTTRUSTINFORMATION); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARSETFORESTTRUSTINFORMATION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2424,7 +2424,7 @@ NTSTATUS rpccli_lsa_CREDRRENAME(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_CREDRRENAME, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_CREDRRENAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRRENAME, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRRENAME); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRRENAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2459,7 +2459,7 @@ NTSTATUS rpccli_lsa_LookupSids3(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupSids3, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPSIDS3, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupSids3, (ndr_push_flags_fn_t)ndr_push_lsa_LookupSids3); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPSIDS3, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2500,7 +2500,7 @@ NTSTATUS rpccli_lsa_LookupNames4(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LookupNames4, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LOOKUPNAMES4, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupNames4, (ndr_push_flags_fn_t)ndr_push_lsa_LookupNames4); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPNAMES4, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2534,7 +2534,7 @@ NTSTATUS rpccli_lsa_LSAROPENPOLICYSCE(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LSAROPENPOLICYSCE, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LSAROPENPOLICYSCE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSAROPENPOLICYSCE, (ndr_push_flags_fn_t)ndr_push_lsa_LSAROPENPOLICYSCE); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSAROPENPOLICYSCE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2563,7 +2563,7 @@ NTSTATUS rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client *c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LSARADTREGISTERSECURITYEVENTSOURCE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARADTREGISTERSECURITYEVENTSOURCE, (ndr_push_flags_fn_t)ndr_push_lsa_LSARADTREGISTERSECURITYEVENTSOURCE); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARADTREGISTERSECURITYEVENTSOURCE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2592,7 +2592,7 @@ NTSTATUS rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, (ndr_push_flags_fn_t)ndr_push_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -2621,7 +2621,7 @@ NTSTATUS rpccli_lsa_LSARADTREPORTSECURITYEVENT(struct rpc_pipe_client *cli, TALL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, NDR_LSA_LSARADTREPORTSECURITYEVENT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARADTREPORTSECURITYEVENT, (ndr_push_flags_fn_t)ndr_push_lsa_LSARADTREPORTSECURITYEVENT); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARADTREPORTSECURITYEVENT, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_netlogon.c b/source3/librpc/gen_ndr/cli_netlogon.c index 3d5ee7fcc4..d986cef58b 100644 --- a/source3/librpc/gen_ndr/cli_netlogon.c +++ b/source3/librpc/gen_ndr/cli_netlogon.c @@ -19,7 +19,7 @@ NTSTATUS rpccli_netr_LogonUasLogon(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonUasLogon, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONUASLOGON, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonUasLogon, (ndr_push_flags_fn_t)ndr_push_netr_LogonUasLogon); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONUASLOGON, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -54,7 +54,7 @@ NTSTATUS rpccli_netr_LogonUasLogoff(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonUasLogoff, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONUASLOGOFF, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonUasLogoff, (ndr_push_flags_fn_t)ndr_push_netr_LogonUasLogoff); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONUASLOGOFF, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -91,7 +91,7 @@ NTSTATUS rpccli_netr_LogonSamLogon(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonSamLogon, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONSAMLOGON, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonSamLogon, (ndr_push_flags_fn_t)ndr_push_netr_LogonSamLogon); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONSAMLOGON, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -131,7 +131,7 @@ NTSTATUS rpccli_netr_LogonSamLogoff(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonSamLogoff, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONSAMLOGOFF, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonSamLogoff, (ndr_push_flags_fn_t)ndr_push_netr_LogonSamLogoff); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONSAMLOGOFF, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -166,7 +166,7 @@ NTSTATUS rpccli_netr_ServerReqChallenge(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_ServerReqChallenge, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_SERVERREQCHALLENGE, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerReqChallenge, (ndr_push_flags_fn_t)ndr_push_netr_ServerReqChallenge); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERREQCHALLENGE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -201,7 +201,7 @@ NTSTATUS rpccli_netr_ServerAuthenticate(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_ServerAuthenticate, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_SERVERAUTHENTICATE, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerAuthenticate, (ndr_push_flags_fn_t)ndr_push_netr_ServerAuthenticate); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERAUTHENTICATE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -237,7 +237,7 @@ NTSTATUS rpccli_netr_ServerPasswordSet(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_ServerPasswordSet, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_SERVERPASSWORDSET, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerPasswordSet, (ndr_push_flags_fn_t)ndr_push_netr_ServerPasswordSet); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERPASSWORDSET, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -274,7 +274,7 @@ NTSTATUS rpccli_netr_DatabaseDeltas(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DatabaseDeltas, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DATABASEDELTAS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DatabaseDeltas, (ndr_push_flags_fn_t)ndr_push_netr_DatabaseDeltas); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DATABASEDELTAS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -315,7 +315,7 @@ NTSTATUS rpccli_netr_DatabaseSync(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DatabaseSync, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DATABASESYNC, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DatabaseSync, (ndr_push_flags_fn_t)ndr_push_netr_DatabaseSync); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DATABASESYNC, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -357,7 +357,7 @@ NTSTATUS rpccli_netr_AccountDeltas(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_AccountDeltas, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_ACCOUNTDELTAS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_AccountDeltas, (ndr_push_flags_fn_t)ndr_push_netr_AccountDeltas); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_ACCOUNTDELTAS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -399,7 +399,7 @@ NTSTATUS rpccli_netr_AccountSync(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_AccountSync, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_ACCOUNTSYNC, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_AccountSync, (ndr_push_flags_fn_t)ndr_push_netr_AccountSync); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_ACCOUNTSYNC, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -436,7 +436,7 @@ NTSTATUS rpccli_netr_GetDcName(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_GetDcName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_GETDCNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_GetDcName, (ndr_push_flags_fn_t)ndr_push_netr_GetDcName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_GETDCNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -469,7 +469,7 @@ NTSTATUS rpccli_netr_LogonControl(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonControl, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONCONTROL, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonControl, (ndr_push_flags_fn_t)ndr_push_netr_LogonControl); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONCONTROL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -501,7 +501,7 @@ NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_GetAnyDCName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_GETANYDCNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_GetAnyDCName, (ndr_push_flags_fn_t)ndr_push_netr_GetAnyDCName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_GETANYDCNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -535,7 +535,7 @@ NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonControl2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONCONTROL2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonControl2, (ndr_push_flags_fn_t)ndr_push_netr_LogonControl2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONCONTROL2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -571,7 +571,7 @@ NTSTATUS rpccli_netr_ServerAuthenticate2(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_ServerAuthenticate2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_SERVERAUTHENTICATE2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerAuthenticate2, (ndr_push_flags_fn_t)ndr_push_netr_ServerAuthenticate2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERAUTHENTICATE2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -610,7 +610,7 @@ NTSTATUS rpccli_netr_DatabaseSync2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DatabaseSync2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DATABASESYNC2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DatabaseSync2, (ndr_push_flags_fn_t)ndr_push_netr_DatabaseSync2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DATABASESYNC2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -650,7 +650,7 @@ NTSTATUS rpccli_netr_DatabaseRedo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DatabaseRedo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DATABASEREDO, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DatabaseRedo, (ndr_push_flags_fn_t)ndr_push_netr_DatabaseRedo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DATABASEREDO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -687,7 +687,7 @@ NTSTATUS rpccli_netr_LogonControl2Ex(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonControl2Ex, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONCONTROL2EX, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonControl2Ex, (ndr_push_flags_fn_t)ndr_push_netr_LogonControl2Ex); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONCONTROL2EX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -717,7 +717,7 @@ NTSTATUS rpccli_netr_NETRENUMERATETRUSTEDDOMAINS(struct rpc_pipe_client *cli, TA if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRENUMERATETRUSTEDDOMAINS, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRENUMERATETRUSTEDDOMAINS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRENUMERATETRUSTEDDOMAINS, (ndr_push_flags_fn_t)ndr_push_netr_NETRENUMERATETRUSTEDDOMAINS); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRENUMERATETRUSTEDDOMAINS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -751,7 +751,7 @@ NTSTATUS rpccli_netr_DsRGetDCName(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DsRGetDCName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRGETDCNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsRGetDCName, (ndr_push_flags_fn_t)ndr_push_netr_DsRGetDCName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETDCNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -783,7 +783,7 @@ NTSTATUS rpccli_netr_NETRLOGONDUMMYROUTINE1(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRLOGONDUMMYROUTINE1, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRLOGONDUMMYROUTINE1, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONDUMMYROUTINE1, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONDUMMYROUTINE1); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONDUMMYROUTINE1, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -812,7 +812,7 @@ NTSTATUS rpccli_netr_NETRLOGONSETSERVICEBITS(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRLOGONSETSERVICEBITS, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRLOGONSETSERVICEBITS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONSETSERVICEBITS, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONSETSERVICEBITS); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONSETSERVICEBITS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -841,7 +841,7 @@ NTSTATUS rpccli_netr_NETRLOGONGETTRUSTRID(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRLOGONGETTRUSTRID, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRLOGONGETTRUSTRID, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONGETTRUSTRID, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONGETTRUSTRID); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONGETTRUSTRID, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -870,7 +870,7 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST(struct rpc_pipe_client *cli, T if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRLOGONCOMPUTESERVERDIGEST, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRLOGONCOMPUTESERVERDIGEST, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONCOMPUTESERVERDIGEST, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONCOMPUTESERVERDIGEST); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONCOMPUTESERVERDIGEST, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -899,7 +899,7 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST(struct rpc_pipe_client *cli, T if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRLOGONCOMPUTECLIENTDIGEST, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRLOGONCOMPUTECLIENTDIGEST, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONCOMPUTECLIENTDIGEST, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONCOMPUTECLIENTDIGEST); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONCOMPUTECLIENTDIGEST, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -934,7 +934,7 @@ NTSTATUS rpccli_netr_ServerAuthenticate3(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_ServerAuthenticate3, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_SERVERAUTHENTICATE3, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerAuthenticate3, (ndr_push_flags_fn_t)ndr_push_netr_ServerAuthenticate3); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERAUTHENTICATE3, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -971,7 +971,7 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DsRGetDCNameEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRGETDCNAMEEX, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsRGetDCNameEx, (ndr_push_flags_fn_t)ndr_push_netr_DsRGetDCNameEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETDCNAMEEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1004,7 +1004,7 @@ NTSTATUS rpccli_netr_DsRGetSiteName(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DsRGetSiteName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRGETSITENAME, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsRGetSiteName, (ndr_push_flags_fn_t)ndr_push_netr_DsRGetSiteName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETSITENAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1040,7 +1040,7 @@ NTSTATUS rpccli_netr_LogonGetDomainInfo(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonGetDomainInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONGETDOMAININFO, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonGetDomainInfo, (ndr_push_flags_fn_t)ndr_push_netr_LogonGetDomainInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONGETDOMAININFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1077,7 +1077,7 @@ NTSTATUS rpccli_netr_ServerPasswordSet2(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_ServerPasswordSet2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_SERVERPASSWORDSET2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerPasswordSet2, (ndr_push_flags_fn_t)ndr_push_netr_ServerPasswordSet2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERPASSWORDSET2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1107,7 +1107,7 @@ NTSTATUS rpccli_netr_NETRSERVERPASSWORDGET(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRSERVERPASSWORDGET, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRSERVERPASSWORDGET, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRSERVERPASSWORDGET, (ndr_push_flags_fn_t)ndr_push_netr_NETRSERVERPASSWORDGET); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRSERVERPASSWORDGET, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1136,7 +1136,7 @@ NTSTATUS rpccli_netr_NETRLOGONSENDTOSAM(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRLOGONSENDTOSAM, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRLOGONSENDTOSAM, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONSENDTOSAM, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONSENDTOSAM); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONSENDTOSAM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1165,7 +1165,7 @@ NTSTATUS rpccli_netr_DSRADDRESSTOSITENAMESW(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DSRADDRESSTOSITENAMESW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRADDRESSTOSITENAMESW, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRADDRESSTOSITENAMESW, (ndr_push_flags_fn_t)ndr_push_netr_DSRADDRESSTOSITENAMESW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRADDRESSTOSITENAMESW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1201,7 +1201,7 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx2(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DsRGetDCNameEx2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRGETDCNAMEEX2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsRGetDCNameEx2, (ndr_push_flags_fn_t)ndr_push_netr_DsRGetDCNameEx2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETDCNAMEEX2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1233,7 +1233,7 @@ NTSTATUS rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(struct rpc_pipe_client if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1262,7 +1262,7 @@ NTSTATUS rpccli_netr_NETRENUMERATETRUSTEDDOMAINSEX(struct rpc_pipe_client *cli, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRENUMERATETRUSTEDDOMAINSEX, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRENUMERATETRUSTEDDOMAINSEX, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRENUMERATETRUSTEDDOMAINSEX, (ndr_push_flags_fn_t)ndr_push_netr_NETRENUMERATETRUSTEDDOMAINSEX); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRENUMERATETRUSTEDDOMAINSEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1291,7 +1291,7 @@ NTSTATUS rpccli_netr_DSRADDRESSTOSITENAMESEXW(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DSRADDRESSTOSITENAMESEXW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRADDRESSTOSITENAMESEXW, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRADDRESSTOSITENAMESEXW, (ndr_push_flags_fn_t)ndr_push_netr_DSRADDRESSTOSITENAMESEXW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRADDRESSTOSITENAMESEXW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1320,7 +1320,7 @@ NTSTATUS rpccli_netr_DSRGETDCSITECOVERAGEW(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DSRGETDCSITECOVERAGEW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRGETDCSITECOVERAGEW, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRGETDCSITECOVERAGEW, (ndr_push_flags_fn_t)ndr_push_netr_DSRGETDCSITECOVERAGEW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETDCSITECOVERAGEW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1355,7 +1355,7 @@ NTSTATUS rpccli_netr_LogonSamLogonEx(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonSamLogonEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONSAMLOGONEX, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonSamLogonEx, (ndr_push_flags_fn_t)ndr_push_netr_LogonSamLogonEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONSAMLOGONEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1389,7 +1389,7 @@ NTSTATUS rpccli_netr_DsrEnumerateDomainTrusts(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DsrEnumerateDomainTrusts, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRENUMERATEDOMAINTRUSTS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsrEnumerateDomainTrusts, (ndr_push_flags_fn_t)ndr_push_netr_DsrEnumerateDomainTrusts); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRENUMERATEDOMAINTRUSTS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1420,7 +1420,7 @@ NTSTATUS rpccli_netr_DSRDEREGISTERDNSHOSTRECORDS(struct rpc_pipe_client *cli, TA if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DSRDEREGISTERDNSHOSTRECORDS, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRDEREGISTERDNSHOSTRECORDS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRDEREGISTERDNSHOSTRECORDS, (ndr_push_flags_fn_t)ndr_push_netr_DSRDEREGISTERDNSHOSTRECORDS); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRDEREGISTERDNSHOSTRECORDS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1449,7 +1449,7 @@ NTSTATUS rpccli_netr_NETRSERVERTRUSTPASSWORDSGET(struct rpc_pipe_client *cli, TA if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRSERVERTRUSTPASSWORDSGET, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRSERVERTRUSTPASSWORDSGET, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRSERVERTRUSTPASSWORDSGET, (ndr_push_flags_fn_t)ndr_push_netr_NETRSERVERTRUSTPASSWORDSGET); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRSERVERTRUSTPASSWORDSGET, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1478,7 +1478,7 @@ NTSTATUS rpccli_netr_DSRGETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli, T if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_DSRGETFORESTTRUSTINFORMATION, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_DSRGETFORESTTRUSTINFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRGETFORESTTRUSTINFORMATION, (ndr_push_flags_fn_t)ndr_push_netr_DSRGETFORESTTRUSTINFORMATION); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETFORESTTRUSTINFORMATION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1507,7 +1507,7 @@ NTSTATUS rpccli_netr_NETRGETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRGETFORESTTRUSTINFORMATION, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRGETFORESTTRUSTINFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRGETFORESTTRUSTINFORMATION, (ndr_push_flags_fn_t)ndr_push_netr_NETRGETFORESTTRUSTINFORMATION); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRGETFORESTTRUSTINFORMATION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1544,7 +1544,7 @@ NTSTATUS rpccli_netr_LogonSamLogonWithFlags(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_LogonSamLogonWithFlags, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_LOGONSAMLOGONWITHFLAGS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonSamLogonWithFlags, (ndr_push_flags_fn_t)ndr_push_netr_LogonSamLogonWithFlags); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONSAMLOGONWITHFLAGS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1579,7 +1579,7 @@ NTSTATUS rpccli_netr_NETRSERVERGETTRUSTINFO(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(netr_NETRSERVERGETTRUSTINFO, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, NDR_NETR_NETRSERVERGETTRUSTINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRSERVERGETTRUSTINFO, (ndr_push_flags_fn_t)ndr_push_netr_NETRSERVERGETTRUSTINFO); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRSERVERGETTRUSTINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_srvsvc.c b/source3/librpc/gen_ndr/cli_srvsvc.c index 97b7dda77b..7944340e47 100644 --- a/source3/librpc/gen_ndr/cli_srvsvc.c +++ b/source3/librpc/gen_ndr/cli_srvsvc.c @@ -21,7 +21,7 @@ NTSTATUS rpccli_srvsvc_NetCharDevEnum(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETCHARDEVENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -59,7 +59,7 @@ NTSTATUS rpccli_srvsvc_NetCharDevGetInfo(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevGetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETCHARDEVGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevGetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVGETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -92,7 +92,7 @@ NTSTATUS rpccli_srvsvc_NetCharDevControl(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevControl, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETCHARDEVCONTROL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevControl, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevControl); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVCONTROL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -127,7 +127,7 @@ NTSTATUS rpccli_srvsvc_NetCharDevQEnum(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETCHARDEVQENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -166,7 +166,7 @@ NTSTATUS rpccli_srvsvc_NetCharDevQGetInfo(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQGetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETCHARDEVQGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQGetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQGETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -201,7 +201,7 @@ NTSTATUS rpccli_srvsvc_NetCharDevQSetInfo(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQSetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETCHARDEVQSETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQSetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQSetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQSETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -235,7 +235,7 @@ NTSTATUS rpccli_srvsvc_NetCharDevQPurge(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQPurge, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETCHARDEVQPURGE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQPurge, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQPurge); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQPURGE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -267,7 +267,7 @@ NTSTATUS rpccli_srvsvc_NetCharDevQPurgeSelf(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetCharDevQPurgeSelf, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETCHARDEVQPURGESELF, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQPurgeSelf, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQPurgeSelf); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQPURGESELF, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -302,7 +302,7 @@ NTSTATUS rpccli_srvsvc_NetConnEnum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetConnEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETCONNENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetConnEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetConnEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCONNENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -344,7 +344,7 @@ NTSTATUS rpccli_srvsvc_NetFileEnum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetFileEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETFILEENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetFileEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetFileEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETFILEENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -382,7 +382,7 @@ NTSTATUS rpccli_srvsvc_NetFileGetInfo(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetFileGetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETFILEGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetFileGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetFileGetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETFILEGETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -414,7 +414,7 @@ NTSTATUS rpccli_srvsvc_NetFileClose(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetFileClose, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETFILECLOSE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetFileClose, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetFileClose); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETFILECLOSE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -450,7 +450,7 @@ NTSTATUS rpccli_srvsvc_NetSessEnum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetSessEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSESSENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSessEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSessEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSESSENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -488,7 +488,7 @@ NTSTATUS rpccli_srvsvc_NetSessDel(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetSessDel, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSESSDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSessDel, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSessDel); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSESSDEL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -521,7 +521,7 @@ NTSTATUS rpccli_srvsvc_NetShareAdd(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareAdd, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHAREADD, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareAdd, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareAdd); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREADD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -558,7 +558,7 @@ NTSTATUS rpccli_srvsvc_NetShareEnumAll(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareEnumAll, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHAREENUMALL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareEnumAll, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareEnumAll); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREENUMALL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -596,7 +596,7 @@ NTSTATUS rpccli_srvsvc_NetShareGetInfo(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareGetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHAREGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareGetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREGETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -631,7 +631,7 @@ NTSTATUS rpccli_srvsvc_NetShareSetInfo(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareSetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHARESETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareSetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareSetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHARESETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -666,7 +666,7 @@ NTSTATUS rpccli_srvsvc_NetShareDel(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareDel, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHAREDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareDel, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareDel); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREDEL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -698,7 +698,7 @@ NTSTATUS rpccli_srvsvc_NetShareDelSticky(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareDelSticky, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHAREDELSTICKY, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareDelSticky, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareDelSticky); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREDELSTICKY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -729,7 +729,7 @@ NTSTATUS rpccli_srvsvc_NetShareCheck(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareCheck, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHARECHECK, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareCheck, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareCheck); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHARECHECK, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -761,7 +761,7 @@ NTSTATUS rpccli_srvsvc_NetSrvGetInfo(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetSrvGetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSRVGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSrvGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSrvGetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSRVGETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -795,7 +795,7 @@ NTSTATUS rpccli_srvsvc_NetSrvSetInfo(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetSrvSetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSRVSETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSrvSetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSrvSetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSRVSETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -832,7 +832,7 @@ NTSTATUS rpccli_srvsvc_NetDiskEnum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetDiskEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETDISKENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetDiskEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetDiskEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETDISKENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -870,7 +870,7 @@ NTSTATUS rpccli_srvsvc_NetServerStatisticsGet(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetServerStatisticsGet, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSERVERSTATISTICSGET, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetServerStatisticsGet, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetServerStatisticsGet); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSERVERSTATISTICSGET, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -903,7 +903,7 @@ NTSTATUS rpccli_srvsvc_NetTransportAdd(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetTransportAdd, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETTRANSPORTADD, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetTransportAdd, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetTransportAdd); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETTRANSPORTADD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -937,7 +937,7 @@ NTSTATUS rpccli_srvsvc_NetTransportEnum(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetTransportEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETTRANSPORTENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetTransportEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetTransportEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETTRANSPORTENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -975,7 +975,7 @@ NTSTATUS rpccli_srvsvc_NetTransportDel(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetTransportDel, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETTRANSPORTDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetTransportDel, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetTransportDel); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETTRANSPORTDEL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1005,7 +1005,7 @@ NTSTATUS rpccli_srvsvc_NetRemoteTOD(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetRemoteTOD, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETREMOTETOD, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetRemoteTOD, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetRemoteTOD); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETREMOTETOD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1041,7 +1041,7 @@ NTSTATUS rpccli_srvsvc_NetSetServiceBits(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetSetServiceBits, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSETSERVICEBITS, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSetServiceBits, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSetServiceBits); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSETSERVICEBITS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1073,7 +1073,7 @@ NTSTATUS rpccli_srvsvc_NetPathType(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetPathType, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETPATHTYPE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetPathType, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetPathType); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETPATHTYPE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1109,7 +1109,7 @@ NTSTATUS rpccli_srvsvc_NetPathCanonicalize(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetPathCanonicalize, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETPATHCANONICALIZE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetPathCanonicalize, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetPathCanonicalize); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETPATHCANONICALIZE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1145,7 +1145,7 @@ NTSTATUS rpccli_srvsvc_NetPathCompare(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetPathCompare, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETPATHCOMPARE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetPathCompare, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetPathCompare); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETPATHCOMPARE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1178,7 +1178,7 @@ NTSTATUS rpccli_srvsvc_NetNameValidate(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetNameValidate, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETNAMEVALIDATE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetNameValidate, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetNameValidate); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETNAMEVALIDATE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1207,7 +1207,7 @@ NTSTATUS rpccli_srvsvc_NETRPRNAMECANONICALIZE(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRPRNAMECANONICALIZE, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRPRNAMECANONICALIZE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRPRNAMECANONICALIZE, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRPRNAMECANONICALIZE); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRPRNAMECANONICALIZE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1241,7 +1241,7 @@ NTSTATUS rpccli_srvsvc_NetPRNameCompare(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetPRNameCompare, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETPRNAMECOMPARE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetPRNameCompare, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetPRNameCompare); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETPRNAMECOMPARE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1275,7 +1275,7 @@ NTSTATUS rpccli_srvsvc_NetShareEnum(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHAREENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1313,7 +1313,7 @@ NTSTATUS rpccli_srvsvc_NetShareDelStart(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareDelStart, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHAREDELSTART, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareDelStart, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareDelStart); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREDELSTART, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1346,7 +1346,7 @@ NTSTATUS rpccli_srvsvc_NetShareDelCommit(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetShareDelCommit, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSHAREDELCOMMIT, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareDelCommit, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareDelCommit); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREDELCOMMIT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1382,7 +1382,7 @@ NTSTATUS rpccli_srvsvc_NetGetFileSecurity(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetGetFileSecurity, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETGETFILESECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetGetFileSecurity, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetGetFileSecurity); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETGETFILESECURITY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1419,7 +1419,7 @@ NTSTATUS rpccli_srvsvc_NetSetFileSecurity(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetSetFileSecurity, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSETFILESECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSetFileSecurity, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSetFileSecurity); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSETFILESECURITY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1451,7 +1451,7 @@ NTSTATUS rpccli_srvsvc_NetServerTransportAddEx(struct rpc_pipe_client *cli, TALL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetServerTransportAddEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSERVERTRANSPORTADDEX, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetServerTransportAddEx, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetServerTransportAddEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSERVERTRANSPORTADDEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1486,7 +1486,7 @@ NTSTATUS rpccli_srvsvc_NetServerSetServiceBitsEx(struct rpc_pipe_client *cli, TA if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NetServerSetServiceBitsEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETSERVERSETSERVICEBITSEX, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetServerSetServiceBitsEx, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetServerSetServiceBitsEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSERVERSETSERVICEBITSEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1515,7 +1515,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSGETVERSION(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSGETVERSION, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSGETVERSION, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSGETVERSION, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSGETVERSION); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSGETVERSION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1544,7 +1544,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSCREATELOCALPARTITION(struct rpc_pipe_client *cli, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSCREATELOCALPARTITION, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSCREATELOCALPARTITION, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSCREATELOCALPARTITION, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSCREATELOCALPARTITION); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSCREATELOCALPARTITION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1573,7 +1573,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSDELETELOCALPARTITION(struct rpc_pipe_client *cli, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSDELETELOCALPARTITION, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSDELETELOCALPARTITION, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSDELETELOCALPARTITION, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSDELETELOCALPARTITION); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSDELETELOCALPARTITION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1602,7 +1602,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE(struct rpc_pipe_client *cli, T if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSSETLOCALVOLUMESTATE, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSSETLOCALVOLUMESTATE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSSETLOCALVOLUMESTATE, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSSETLOCALVOLUMESTATE); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSSETLOCALVOLUMESTATE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1631,7 +1631,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSSETSERVERINFO(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSSETSERVERINFO, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSSETSERVERINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSSETSERVERINFO, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSSETSERVERINFO); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSSETSERVERINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1660,7 +1660,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSCREATEEXITPOINT(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSCREATEEXITPOINT, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSCREATEEXITPOINT, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSCREATEEXITPOINT, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSCREATEEXITPOINT); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSCREATEEXITPOINT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1689,7 +1689,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSDELETEEXITPOINT(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSDELETEEXITPOINT, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSDELETEEXITPOINT, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSDELETEEXITPOINT, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSDELETEEXITPOINT); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSDELETEEXITPOINT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1718,7 +1718,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSMODIFYPREFIX(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSMODIFYPREFIX, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSMODIFYPREFIX, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSMODIFYPREFIX, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSMODIFYPREFIX); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSMODIFYPREFIX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1747,7 +1747,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSFIXLOCALVOLUME(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSFIXLOCALVOLUME, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSFIXLOCALVOLUME, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSFIXLOCALVOLUME, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSFIXLOCALVOLUME); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSFIXLOCALVOLUME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1776,7 +1776,7 @@ NTSTATUS rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO(struct rpc_pipe_client *cli, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRDFSMANAGERREPORTSITEINFO, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRDFSMANAGERREPORTSITEINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSMANAGERREPORTSITEINFO, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSMANAGERREPORTSITEINFO); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSMANAGERREPORTSITEINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1805,7 +1805,7 @@ NTSTATUS rpccli_srvsvc_NETRSERVERTRANSPORTDELEX(struct rpc_pipe_client *cli, TAL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(srvsvc_NETRSERVERTRANSPORTDELEX, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, NDR_SRVSVC_NETRSERVERTRANSPORTDELEX, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRSERVERTRANSPORTDELEX, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRSERVERTRANSPORTDELEX); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRSERVERTRANSPORTDELEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_svcctl.c b/source3/librpc/gen_ndr/cli_svcctl.c index a1995749a5..91a1d3493b 100644 --- a/source3/librpc/gen_ndr/cli_svcctl.c +++ b/source3/librpc/gen_ndr/cli_svcctl.c @@ -17,7 +17,7 @@ NTSTATUS rpccli_svcctl_CloseServiceHandle(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_CloseServiceHandle, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_CLOSESERVICEHANDLE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_CloseServiceHandle, (ndr_push_flags_fn_t)ndr_push_svcctl_CloseServiceHandle); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CLOSESERVICEHANDLE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -49,7 +49,7 @@ NTSTATUS rpccli_svcctl_ControlService(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_ControlService, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_CONTROLSERVICE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ControlService, (ndr_push_flags_fn_t)ndr_push_svcctl_ControlService); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CONTROLSERVICE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -80,7 +80,7 @@ NTSTATUS rpccli_svcctl_DeleteService(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_DeleteService, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_DELETESERVICE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_DeleteService, (ndr_push_flags_fn_t)ndr_push_svcctl_DeleteService); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_DELETESERVICE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -110,7 +110,7 @@ NTSTATUS rpccli_svcctl_LockServiceDatabase(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_LockServiceDatabase, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_LOCKSERVICEDATABASE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_LockServiceDatabase, (ndr_push_flags_fn_t)ndr_push_svcctl_LockServiceDatabase); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_LOCKSERVICEDATABASE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -140,7 +140,7 @@ NTSTATUS rpccli_svcctl_QueryServiceObjectSecurity(struct rpc_pipe_client *cli, T if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_QueryServiceObjectSecurity, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_QUERYSERVICEOBJECTSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceObjectSecurity, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceObjectSecurity); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICEOBJECTSECURITY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -169,7 +169,7 @@ NTSTATUS rpccli_svcctl_SetServiceObjectSecurity(struct rpc_pipe_client *cli, TAL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_SetServiceObjectSecurity, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_SETSERVICEOBJECTSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SetServiceObjectSecurity, (ndr_push_flags_fn_t)ndr_push_svcctl_SetServiceObjectSecurity); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SETSERVICEOBJECTSECURITY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -199,7 +199,7 @@ NTSTATUS rpccli_svcctl_QueryServiceStatus(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatus, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_QUERYSERVICESTATUS, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceStatus, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceStatus); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICESTATUS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -229,7 +229,7 @@ NTSTATUS rpccli_svcctl_SetServiceStatus(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_SetServiceStatus, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_SETSERVICESTATUS, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SetServiceStatus, (ndr_push_flags_fn_t)ndr_push_svcctl_SetServiceStatus); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SETSERVICESTATUS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -259,7 +259,7 @@ NTSTATUS rpccli_svcctl_UnlockServiceDatabase(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_UnlockServiceDatabase, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_UNLOCKSERVICEDATABASE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_UnlockServiceDatabase, (ndr_push_flags_fn_t)ndr_push_svcctl_UnlockServiceDatabase); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_UNLOCKSERVICEDATABASE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -289,7 +289,7 @@ NTSTATUS rpccli_svcctl_NotifyBootConfigStatus(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_NotifyBootConfigStatus, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_NOTIFYBOOTCONFIGSTATUS, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_NotifyBootConfigStatus, (ndr_push_flags_fn_t)ndr_push_svcctl_NotifyBootConfigStatus); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_NOTIFYBOOTCONFIGSTATUS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -322,7 +322,7 @@ NTSTATUS rpccli_svcctl_SCSetServiceBitsW(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_SCSETSERVICEBITSW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SCSetServiceBitsW, (ndr_push_flags_fn_t)ndr_push_svcctl_SCSetServiceBitsW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SCSETSERVICEBITSW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -361,7 +361,7 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfigW(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_CHANGESERVICECONFIGW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ChangeServiceConfigW, (ndr_push_flags_fn_t)ndr_push_svcctl_ChangeServiceConfigW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CHANGESERVICECONFIGW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -406,7 +406,7 @@ NTSTATUS rpccli_svcctl_CreateServiceW(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_CreateServiceW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_CREATESERVICEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_CreateServiceW, (ndr_push_flags_fn_t)ndr_push_svcctl_CreateServiceW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CREATESERVICEW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -442,7 +442,7 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesW(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_ENUMDEPENDENTSERVICESW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumDependentServicesW, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumDependentServicesW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMDEPENDENTSERVICESW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -481,7 +481,7 @@ NTSTATUS rpccli_svcctl_EnumServicesStatusW(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_ENUMSERVICESSTATUSW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumServicesStatusW, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumServicesStatusW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMSERVICESSTATUSW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -519,7 +519,7 @@ NTSTATUS rpccli_svcctl_OpenSCManagerW(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_OPENSCMANAGERW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_OpenSCManagerW, (ndr_push_flags_fn_t)ndr_push_svcctl_OpenSCManagerW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_OPENSCMANAGERW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -552,7 +552,7 @@ NTSTATUS rpccli_svcctl_OpenServiceW(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_OpenServiceW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_OPENSERVICEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_OpenServiceW, (ndr_push_flags_fn_t)ndr_push_svcctl_OpenServiceW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_OPENSERVICEW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -584,7 +584,7 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigW(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_QUERYSERVICECONFIGW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceConfigW, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceConfigW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICECONFIGW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -617,7 +617,7 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusW(struct rpc_pipe_client *cli, TALL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_QUERYSERVICELOCKSTATUSW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceLockStatusW, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceLockStatusW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICELOCKSTATUSW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -651,7 +651,7 @@ NTSTATUS rpccli_svcctl_StartServiceW(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_StartServiceW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_STARTSERVICEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_StartServiceW, (ndr_push_flags_fn_t)ndr_push_svcctl_StartServiceW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_STARTSERVICEW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -683,7 +683,7 @@ NTSTATUS rpccli_svcctl_GetServiceDisplayNameW(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_GETSERVICEDISPLAYNAMEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetServiceDisplayNameW, (ndr_push_flags_fn_t)ndr_push_svcctl_GetServiceDisplayNameW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETSERVICEDISPLAYNAMEW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -719,7 +719,7 @@ NTSTATUS rpccli_svcctl_GetServiceKeyNameW(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_GETSERVICEKEYNAMEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetServiceKeyNameW, (ndr_push_flags_fn_t)ndr_push_svcctl_GetServiceKeyNameW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETSERVICEKEYNAMEW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -756,7 +756,7 @@ NTSTATUS rpccli_svcctl_SCSetServiceBitsA(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_SCSETSERVICEBITSA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SCSetServiceBitsA, (ndr_push_flags_fn_t)ndr_push_svcctl_SCSetServiceBitsA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SCSETSERVICEBITSA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -795,7 +795,7 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfigA(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_CHANGESERVICECONFIGA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ChangeServiceConfigA, (ndr_push_flags_fn_t)ndr_push_svcctl_ChangeServiceConfigA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CHANGESERVICECONFIGA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -837,7 +837,7 @@ NTSTATUS rpccli_svcctl_CreateServiceA(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_CreateServiceA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_CREATESERVICEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_CreateServiceA, (ndr_push_flags_fn_t)ndr_push_svcctl_CreateServiceA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CREATESERVICEA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -872,7 +872,7 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesA(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_ENUMDEPENDENTSERVICESA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumDependentServicesA, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumDependentServicesA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMDEPENDENTSERVICESA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -911,7 +911,7 @@ NTSTATUS rpccli_svcctl_EnumServicesStatusA(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_ENUMSERVICESSTATUSA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumServicesStatusA, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumServicesStatusA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMSERVICESSTATUSA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -949,7 +949,7 @@ NTSTATUS rpccli_svcctl_OpenSCManagerA(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_OPENSCMANAGERA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_OpenSCManagerA, (ndr_push_flags_fn_t)ndr_push_svcctl_OpenSCManagerA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_OPENSCMANAGERA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -982,7 +982,7 @@ NTSTATUS rpccli_svcctl_OpenServiceA(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_OpenServiceA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_OPENSERVICEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_OpenServiceA, (ndr_push_flags_fn_t)ndr_push_svcctl_OpenServiceA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_OPENSERVICEA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1013,7 +1013,7 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigA(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_QUERYSERVICECONFIGA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceConfigA, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceConfigA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICECONFIGA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1046,7 +1046,7 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusA(struct rpc_pipe_client *cli, TALL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_QUERYSERVICELOCKSTATUSA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceLockStatusA, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceLockStatusA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICELOCKSTATUSA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1080,7 +1080,7 @@ NTSTATUS rpccli_svcctl_StartServiceA(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_StartServiceA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_STARTSERVICEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_StartServiceA, (ndr_push_flags_fn_t)ndr_push_svcctl_StartServiceA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_STARTSERVICEA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1112,7 +1112,7 @@ NTSTATUS rpccli_svcctl_GetServiceDisplayNameA(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_GETSERVICEDISPLAYNAMEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetServiceDisplayNameA, (ndr_push_flags_fn_t)ndr_push_svcctl_GetServiceDisplayNameA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETSERVICEDISPLAYNAMEA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1148,7 +1148,7 @@ NTSTATUS rpccli_svcctl_GetServiceKeyNameA(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_GETSERVICEKEYNAMEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetServiceKeyNameA, (ndr_push_flags_fn_t)ndr_push_svcctl_GetServiceKeyNameA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETSERVICEKEYNAMEA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1181,7 +1181,7 @@ NTSTATUS rpccli_svcctl_GetCurrentGroupeStateW(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_GetCurrentGroupeStateW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_GETCURRENTGROUPESTATEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetCurrentGroupeStateW, (ndr_push_flags_fn_t)ndr_push_svcctl_GetCurrentGroupeStateW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETCURRENTGROUPESTATEW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1210,7 +1210,7 @@ NTSTATUS rpccli_svcctl_EnumServiceGroupW(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_EnumServiceGroupW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_ENUMSERVICEGROUPW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumServiceGroupW, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumServiceGroupW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMSERVICEGROUPW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1242,7 +1242,7 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfig2A(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2A, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_CHANGESERVICECONFIG2A, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ChangeServiceConfig2A, (ndr_push_flags_fn_t)ndr_push_svcctl_ChangeServiceConfig2A); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CHANGESERVICECONFIG2A, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1274,7 +1274,7 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfig2W(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2W, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_CHANGESERVICECONFIG2W, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ChangeServiceConfig2W, (ndr_push_flags_fn_t)ndr_push_svcctl_ChangeServiceConfig2W); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CHANGESERVICECONFIG2W, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1306,7 +1306,7 @@ NTSTATUS rpccli_svcctl_QueryServiceConfig2A(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2A, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_QUERYSERVICECONFIG2A, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceConfig2A, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceConfig2A); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICECONFIG2A, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1340,7 +1340,7 @@ NTSTATUS rpccli_svcctl_QueryServiceConfig2W(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2W, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_QUERYSERVICECONFIG2W, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceConfig2W, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceConfig2W); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICECONFIG2W, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1374,7 +1374,7 @@ NTSTATUS rpccli_svcctl_QueryServiceStatusEx(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatusEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_QUERYSERVICESTATUSEX, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceStatusEx, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceStatusEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICESTATUSEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1411,7 +1411,7 @@ NTSTATUS rpccli_EnumServicesStatusExA(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(EnumServicesStatusExA, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_ENUMSERVICESSTATUSEXA, &r, (ndr_pull_flags_fn_t)ndr_pull_EnumServicesStatusExA, (ndr_push_flags_fn_t)ndr_push_EnumServicesStatusExA); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_ENUMSERVICESSTATUSEXA, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1453,7 +1453,7 @@ NTSTATUS rpccli_EnumServicesStatusExW(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(EnumServicesStatusExW, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_ENUMSERVICESSTATUSEXW, &r, (ndr_pull_flags_fn_t)ndr_pull_EnumServicesStatusExW, (ndr_push_flags_fn_t)ndr_push_EnumServicesStatusExW); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_ENUMSERVICESSTATUSEXW, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1489,7 +1489,7 @@ NTSTATUS rpccli_svcctl_SCSendTSMessage(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(svcctl_SCSendTSMessage, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, NDR_SVCCTL_SCSENDTSMESSAGE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SCSendTSMessage, (ndr_push_flags_fn_t)ndr_push_svcctl_SCSendTSMessage); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SCSENDTSMESSAGE, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_unixinfo.c b/source3/librpc/gen_ndr/cli_unixinfo.c index 91cdf55328..4a48ac2c43 100644 --- a/source3/librpc/gen_ndr/cli_unixinfo.c +++ b/source3/librpc/gen_ndr/cli_unixinfo.c @@ -17,7 +17,7 @@ NTSTATUS rpccli_unixinfo_SidToUid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(unixinfo_SidToUid, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_SIDTOUID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_SidToUid, (ndr_push_flags_fn_t)ndr_push_unixinfo_SidToUid); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_SIDTOUID, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -48,7 +48,7 @@ NTSTATUS rpccli_unixinfo_UidToSid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(unixinfo_UidToSid, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_UIDTOSID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_UidToSid, (ndr_push_flags_fn_t)ndr_push_unixinfo_UidToSid); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_UIDTOSID, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -79,7 +79,7 @@ NTSTATUS rpccli_unixinfo_SidToGid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(unixinfo_SidToGid, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_SIDTOGID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_SidToGid, (ndr_push_flags_fn_t)ndr_push_unixinfo_SidToGid); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_SIDTOGID, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -110,7 +110,7 @@ NTSTATUS rpccli_unixinfo_GidToSid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(unixinfo_GidToSid, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_GIDTOSID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_GidToSid, (ndr_push_flags_fn_t)ndr_push_unixinfo_GidToSid); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_GIDTOSID, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -142,7 +142,7 @@ NTSTATUS rpccli_unixinfo_GetPWUid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(unixinfo_GetPWUid, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, NDR_UNIXINFO_GETPWUID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_GetPWUid, (ndr_push_flags_fn_t)ndr_push_unixinfo_GetPWUid); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_GETPWUID, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_winreg.c b/source3/librpc/gen_ndr/cli_winreg.c index b6b43a3d79..8d45b4617c 100644 --- a/source3/librpc/gen_ndr/cli_winreg.c +++ b/source3/librpc/gen_ndr/cli_winreg.c @@ -18,7 +18,7 @@ NTSTATUS rpccli_winreg_OpenHKCR(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenHKCR, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENHKCR, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKCR, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKCR); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKCR, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -50,7 +50,7 @@ NTSTATUS rpccli_winreg_OpenHKCU(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenHKCU, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENHKCU, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKCU, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKCU); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKCU, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -82,7 +82,7 @@ NTSTATUS rpccli_winreg_OpenHKLM(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenHKLM, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENHKLM, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKLM, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKLM); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKLM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -114,7 +114,7 @@ NTSTATUS rpccli_winreg_OpenHKPD(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenHKPD, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENHKPD, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKPD, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKPD); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKPD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -146,7 +146,7 @@ NTSTATUS rpccli_winreg_OpenHKU(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenHKU, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENHKU, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKU, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKU); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKU, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -177,7 +177,7 @@ NTSTATUS rpccli_winreg_CloseKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_CloseKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_CLOSEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_CloseKey, (ndr_push_flags_fn_t)ndr_push_winreg_CloseKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_CLOSEKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -214,7 +214,7 @@ NTSTATUS rpccli_winreg_CreateKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_CreateKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_CREATEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_CreateKey, (ndr_push_flags_fn_t)ndr_push_winreg_CreateKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_CREATEKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -249,7 +249,7 @@ NTSTATUS rpccli_winreg_DeleteKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_DeleteKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_DELETEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_DeleteKey, (ndr_push_flags_fn_t)ndr_push_winreg_DeleteKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_DELETEKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -280,7 +280,7 @@ NTSTATUS rpccli_winreg_DeleteValue(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_DeleteValue, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_DELETEVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_DeleteValue, (ndr_push_flags_fn_t)ndr_push_winreg_DeleteValue); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_DELETEVALUE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -314,7 +314,7 @@ NTSTATUS rpccli_winreg_EnumKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_EnumKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_ENUMKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_EnumKey, (ndr_push_flags_fn_t)ndr_push_winreg_EnumKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_ENUMKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -357,7 +357,7 @@ NTSTATUS rpccli_winreg_EnumValue(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_EnumValue, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_ENUMVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_EnumValue, (ndr_push_flags_fn_t)ndr_push_winreg_EnumValue); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_ENUMVALUE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -400,7 +400,7 @@ NTSTATUS rpccli_winreg_FlushKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_FlushKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_FLUSHKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_FlushKey, (ndr_push_flags_fn_t)ndr_push_winreg_FlushKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_FLUSHKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -432,7 +432,7 @@ NTSTATUS rpccli_winreg_GetKeySecurity(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_GetKeySecurity, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_GETKEYSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_GetKeySecurity, (ndr_push_flags_fn_t)ndr_push_winreg_GetKeySecurity); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_GETKEYSECURITY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -465,7 +465,7 @@ NTSTATUS rpccli_winreg_LoadKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_LoadKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_LOADKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_LoadKey, (ndr_push_flags_fn_t)ndr_push_winreg_LoadKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_LOADKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -501,7 +501,7 @@ NTSTATUS rpccli_winreg_NotifyChangeKeyValue(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_NotifyChangeKeyValue, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_NOTIFYCHANGEKEYVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_NotifyChangeKeyValue, (ndr_push_flags_fn_t)ndr_push_winreg_NotifyChangeKeyValue); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_NOTIFYCHANGEKEYVALUE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -534,7 +534,7 @@ NTSTATUS rpccli_winreg_OpenKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenKey, (ndr_push_flags_fn_t)ndr_push_winreg_OpenKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -566,7 +566,7 @@ NTSTATUS rpccli_winreg_QueryInfoKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_QueryInfoKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_QUERYINFOKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_QueryInfoKey, (ndr_push_flags_fn_t)ndr_push_winreg_QueryInfoKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_QUERYINFOKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -610,7 +610,7 @@ NTSTATUS rpccli_winreg_QueryValue(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_QueryValue, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_QUERYVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_QueryValue, (ndr_push_flags_fn_t)ndr_push_winreg_QueryValue); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_QUERYVALUE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -651,7 +651,7 @@ NTSTATUS rpccli_winreg_ReplaceKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_ReplaceKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_REPLACEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_ReplaceKey, (ndr_push_flags_fn_t)ndr_push_winreg_ReplaceKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_REPLACEKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -683,7 +683,7 @@ NTSTATUS rpccli_winreg_RestoreKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_RestoreKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_RESTOREKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_RestoreKey, (ndr_push_flags_fn_t)ndr_push_winreg_RestoreKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_RESTOREKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -715,7 +715,7 @@ NTSTATUS rpccli_winreg_SaveKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_SaveKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_SAVEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_SaveKey, (ndr_push_flags_fn_t)ndr_push_winreg_SaveKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_SAVEKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -747,7 +747,7 @@ NTSTATUS rpccli_winreg_SetKeySecurity(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_SetKeySecurity, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_SETKEYSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_SetKeySecurity, (ndr_push_flags_fn_t)ndr_push_winreg_SetKeySecurity); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_SETKEYSECURITY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -781,7 +781,7 @@ NTSTATUS rpccli_winreg_SetValue(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_SetValue, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_SETVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_SetValue, (ndr_push_flags_fn_t)ndr_push_winreg_SetValue); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_SETVALUE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -810,7 +810,7 @@ NTSTATUS rpccli_winreg_UnLoadKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_UnLoadKey, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_UNLOADKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_UnLoadKey, (ndr_push_flags_fn_t)ndr_push_winreg_UnLoadKey); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_UNLOADKEY, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -844,7 +844,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdown(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_InitiateSystemShutdown, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_INITIATESYSTEMSHUTDOWN, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_InitiateSystemShutdown, (ndr_push_flags_fn_t)ndr_push_winreg_InitiateSystemShutdown); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_INITIATESYSTEMSHUTDOWN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -874,7 +874,7 @@ NTSTATUS rpccli_winreg_AbortSystemShutdown(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_AbortSystemShutdown, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_ABORTSYSTEMSHUTDOWN, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_AbortSystemShutdown, (ndr_push_flags_fn_t)ndr_push_winreg_AbortSystemShutdown); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_ABORTSYSTEMSHUTDOWN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -904,7 +904,7 @@ NTSTATUS rpccli_winreg_GetVersion(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_GetVersion, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_GETVERSION, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_GetVersion, (ndr_push_flags_fn_t)ndr_push_winreg_GetVersion); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_GETVERSION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -936,7 +936,7 @@ NTSTATUS rpccli_winreg_OpenHKCC(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenHKCC, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENHKCC, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKCC, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKCC); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKCC, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -968,7 +968,7 @@ NTSTATUS rpccli_winreg_OpenHKDD(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenHKDD, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENHKDD, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKDD, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKDD); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKDD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1003,7 +1003,7 @@ NTSTATUS rpccli_winreg_QueryMultipleValues(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_QueryMultipleValues, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_QUERYMULTIPLEVALUES, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_QueryMultipleValues, (ndr_push_flags_fn_t)ndr_push_winreg_QueryMultipleValues); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_QUERYMULTIPLEVALUES, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1043,7 +1043,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdownEx(struct rpc_pipe_client *cli, TAL if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_InitiateSystemShutdownEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_INITIATESYSTEMSHUTDOWNEX, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_InitiateSystemShutdownEx, (ndr_push_flags_fn_t)ndr_push_winreg_InitiateSystemShutdownEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_INITIATESYSTEMSHUTDOWNEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1072,7 +1072,7 @@ NTSTATUS rpccli_winreg_SaveKeyEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_SaveKeyEx, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_SAVEKEYEX, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_SaveKeyEx, (ndr_push_flags_fn_t)ndr_push_winreg_SaveKeyEx); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_SAVEKEYEX, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1103,7 +1103,7 @@ NTSTATUS rpccli_winreg_OpenHKPT(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenHKPT, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENHKPT, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKPT, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKPT); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKPT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1135,7 +1135,7 @@ NTSTATUS rpccli_winreg_OpenHKPN(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_OpenHKPN, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_OPENHKPN, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKPN, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKPN); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKPN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -1165,7 +1165,7 @@ NTSTATUS rpccli_winreg_QueryMultipleValues2(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(winreg_QueryMultipleValues2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, NDR_WINREG_QUERYMULTIPLEVALUES2, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_QueryMultipleValues2, (ndr_push_flags_fn_t)ndr_push_winreg_QueryMultipleValues2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WINREG, &ndr_table_winreg, NDR_WINREG_QUERYMULTIPLEVALUES2, &r); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/librpc/gen_ndr/cli_wkssvc.c b/source3/librpc/gen_ndr/cli_wkssvc.c index f3681b4a6b..ed65acce28 100644 --- a/source3/librpc/gen_ndr/cli_wkssvc.c +++ b/source3/librpc/gen_ndr/cli_wkssvc.c @@ -18,7 +18,7 @@ NTSTATUS rpccli_wkssvc_NetWkstaGetInfo(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaGetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETWKSTAGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetWkstaGetInfo, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetWkstaGetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETWKSTAGETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -52,7 +52,7 @@ NTSTATUS rpccli_wkssvc_NetWkstaSetInfo(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaSetInfo, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETWKSTASETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetWkstaSetInfo, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetWkstaSetInfo); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETWKSTASETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -87,7 +87,7 @@ NTSTATUS rpccli_wkssvc_NetWkstaEnumUsers(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaEnumUsers, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETWKSTAENUMUSERS, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetWkstaEnumUsers, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetWkstaEnumUsers); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETWKSTAENUMUSERS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -124,7 +124,7 @@ NTSTATUS rpccli_WKSSVC_NETRWKSTAUSERGETINFO(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTAUSERGETINFO, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRWKSTAUSERGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWKSTAUSERGETINFO, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWKSTAUSERGETINFO); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWKSTAUSERGETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -153,7 +153,7 @@ NTSTATUS rpccli_WKSSVC_NETRWKSTAUSERSETINFO(struct rpc_pipe_client *cli, TALLOC_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTAUSERSETINFO, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRWKSTAUSERSETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWKSTAUSERSETINFO, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWKSTAUSERSETINFO); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWKSTAUSERSETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -187,7 +187,7 @@ NTSTATUS rpccli_wkssvc_NetWkstaTransportEnum(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(wkssvc_NetWkstaTransportEnum, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETWKSTATRANSPORTENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetWkstaTransportEnum, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetWkstaTransportEnum); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETWKSTATRANSPORTENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -222,7 +222,7 @@ NTSTATUS rpccli_WKSSVC_NETRWKSTATRANSPORTADD(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTATRANSPORTADD, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRWKSTATRANSPORTADD, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWKSTATRANSPORTADD, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWKSTATRANSPORTADD); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWKSTATRANSPORTADD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -251,7 +251,7 @@ NTSTATUS rpccli_WKSSVC_NETRWKSTATRANSPORTDEL(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTATRANSPORTDEL, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRWKSTATRANSPORTDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWKSTATRANSPORTDEL, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWKSTATRANSPORTDEL); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWKSTATRANSPORTDEL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -280,7 +280,7 @@ NTSTATUS rpccli_WKSSVC_NETRUSEADD(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEADD, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRUSEADD, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUSEADD, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUSEADD); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUSEADD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -309,7 +309,7 @@ NTSTATUS rpccli_WKSSVC_NETRUSEGETINFO(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEGETINFO, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRUSEGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUSEGETINFO, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUSEGETINFO); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUSEGETINFO, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -338,7 +338,7 @@ NTSTATUS rpccli_WKSSVC_NETRUSEDEL(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEDEL, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRUSEDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUSEDEL, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUSEDEL); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUSEDEL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -367,7 +367,7 @@ NTSTATUS rpccli_WKSSVC_NETRUSEENUM(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEENUM, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRUSEENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUSEENUM, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUSEENUM); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUSEENUM, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -396,7 +396,7 @@ NTSTATUS rpccli_WKSSVC_NETRMESSAGEBUFFERSEND(struct rpc_pipe_client *cli, TALLOC if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRMESSAGEBUFFERSEND, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRMESSAGEBUFFERSEND, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRMESSAGEBUFFERSEND, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRMESSAGEBUFFERSEND); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRMESSAGEBUFFERSEND, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -425,7 +425,7 @@ NTSTATUS rpccli_WKSSVC_NETRWORKSTATIONSTATISTICSGET(struct rpc_pipe_client *cli, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRWORKSTATIONSTATISTICSGET, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRWORKSTATIONSTATISTICSGET, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWORKSTATIONSTATISTICSGET, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWORKSTATIONSTATISTICSGET); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWORKSTATIONSTATISTICSGET, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -454,7 +454,7 @@ NTSTATUS rpccli_WKSSVC_NETRLOGONDOMAINNAMEADD(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEADD, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRLOGONDOMAINNAMEADD, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRLOGONDOMAINNAMEADD, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRLOGONDOMAINNAMEADD); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRLOGONDOMAINNAMEADD, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -483,7 +483,7 @@ NTSTATUS rpccli_WKSSVC_NETRLOGONDOMAINNAMEDEL(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEDEL, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRLOGONDOMAINNAMEDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRLOGONDOMAINNAMEDEL, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRLOGONDOMAINNAMEDEL); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRLOGONDOMAINNAMEDEL, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -512,7 +512,7 @@ NTSTATUS rpccli_WKSSVC_NETRJOINDOMAIN(struct rpc_pipe_client *cli, TALLOC_CTX *m if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRJOINDOMAIN, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRJOINDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRJOINDOMAIN, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRJOINDOMAIN); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRJOINDOMAIN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -541,7 +541,7 @@ NTSTATUS rpccli_WKSSVC_NETRUNJOINDOMAIN(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRUNJOINDOMAIN, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRUNJOINDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUNJOINDOMAIN, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUNJOINDOMAIN); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUNJOINDOMAIN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -570,7 +570,7 @@ NTSTATUS rpccli_WKSSVC_NETRRENAMEMACHINEINDOMAIN(struct rpc_pipe_client *cli, TA if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRRENAMEMACHINEINDOMAIN, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRRENAMEMACHINEINDOMAIN, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRRENAMEMACHINEINDOMAIN); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -599,7 +599,7 @@ NTSTATUS rpccli_WKSSVC_NETRVALIDATENAME(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRVALIDATENAME, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRVALIDATENAME, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRVALIDATENAME, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRVALIDATENAME); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRVALIDATENAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -628,7 +628,7 @@ NTSTATUS rpccli_WKSSVC_NETRGETJOININFORMATION(struct rpc_pipe_client *cli, TALLO if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRGETJOININFORMATION, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRGETJOININFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRGETJOININFORMATION, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRGETJOININFORMATION); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRGETJOININFORMATION, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -657,7 +657,7 @@ NTSTATUS rpccli_WKSSVC_NETRGETJOINABLEOUS(struct rpc_pipe_client *cli, TALLOC_CT if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRGETJOINABLEOUS, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRGETJOINABLEOUS, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRGETJOINABLEOUS, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRGETJOINABLEOUS); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRGETJOINABLEOUS, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -692,7 +692,7 @@ NTSTATUS rpccli_wkssvc_NetrJoinDomain2(struct rpc_pipe_client *cli, TALLOC_CTX * if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(wkssvc_NetrJoinDomain2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRJOINDOMAIN2, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrJoinDomain2, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrJoinDomain2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRJOINDOMAIN2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -725,7 +725,7 @@ NTSTATUS rpccli_wkssvc_NetrUnjoinDomain2(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(wkssvc_NetrUnjoinDomain2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRUNJOINDOMAIN2, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrUnjoinDomain2, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrUnjoinDomain2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUNJOINDOMAIN2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -759,7 +759,7 @@ NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain2(struct rpc_pipe_client *cli, T if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(wkssvc_NetrRenameMachineInDomain2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN2, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrRenameMachineInDomain2, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrRenameMachineInDomain2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -788,7 +788,7 @@ NTSTATUS rpccli_WKSSVC_NETRVALIDATENAME2(struct rpc_pipe_client *cli, TALLOC_CTX if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRVALIDATENAME2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRVALIDATENAME2, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRVALIDATENAME2, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRVALIDATENAME2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRVALIDATENAME2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -817,7 +817,7 @@ NTSTATUS rpccli_WKSSVC_NETRGETJOINABLEOUS2(struct rpc_pipe_client *cli, TALLOC_C if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRGETJOINABLEOUS2, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRGETJOINABLEOUS2, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRGETJOINABLEOUS2, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRGETJOINABLEOUS2); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRGETJOINABLEOUS2, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -851,7 +851,7 @@ NTSTATUS rpccli_wkssvc_NetrAddAlternateComputerName(struct rpc_pipe_client *cli, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(wkssvc_NetrAddAlternateComputerName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRADDALTERNATECOMPUTERNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrAddAlternateComputerName, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrAddAlternateComputerName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRADDALTERNATECOMPUTERNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -885,7 +885,7 @@ NTSTATUS rpccli_wkssvc_NetrRemoveAlternateComputerName(struct rpc_pipe_client *c if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(wkssvc_NetrRemoveAlternateComputerName, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrRemoveAlternateComputerName, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrRemoveAlternateComputerName); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -914,7 +914,7 @@ NTSTATUS rpccli_WKSSVC_NETRSETPRIMARYCOMPUTERNAME(struct rpc_pipe_client *cli, T if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRSETPRIMARYCOMPUTERNAME, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRSETPRIMARYCOMPUTERNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRSETPRIMARYCOMPUTERNAME, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRSETPRIMARYCOMPUTERNAME); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRSETPRIMARYCOMPUTERNAME, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -943,7 +943,7 @@ NTSTATUS rpccli_WKSSVC_NETRENUMERATECOMPUTERNAMES(struct rpc_pipe_client *cli, T if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(WKSSVC_NETRENUMERATECOMPUTERNAMES, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, NDR_WKSSVC_NETRENUMERATECOMPUTERNAMES, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRENUMERATECOMPUTERNAMES, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRENUMERATECOMPUTERNAMES); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRENUMERATECOMPUTERNAMES, &r); if (!NT_STATUS_IS_OK(status)) { return status; |