summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-19 22:10:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:03 -0500
commit8da26d3f96ac66e3f0be8aaec209867d3f285e49 (patch)
treea0cf39041366bcff4d0260570b24cd928da5f68a
parent2f3511c56e8a508c678f90e8fbd16116685b8a2b (diff)
downloadsamba-8da26d3f96ac66e3f0be8aaec209867d3f285e49.tar.gz
samba-8da26d3f96ac66e3f0be8aaec209867d3f285e49.tar.bz2
samba-8da26d3f96ac66e3f0be8aaec209867d3f285e49.zip
r24561: merge from SAMBA_4_0:
rename some DCERPC_ prefixes into NDR_ metze (This used to be commit 8f07b8ab658ae3d63487ca5fb20065318cdd9d0e)
-rw-r--r--source3/librpc/gen_ndr/cli_dfs.c46
-rw-r--r--source3/librpc/gen_ndr/cli_echo.c20
-rw-r--r--source3/librpc/gen_ndr/cli_epmapper.c16
-rw-r--r--source3/librpc/gen_ndr/cli_eventlog.c48
-rw-r--r--source3/librpc/gen_ndr/cli_initshutdown.c6
-rw-r--r--source3/librpc/gen_ndr/cli_lsa.c164
-rw-r--r--source3/librpc/gen_ndr/cli_netlogon.c94
-rw-r--r--source3/librpc/gen_ndr/cli_srvsvc.c108
-rw-r--r--source3/librpc/gen_ndr/cli_svcctl.c88
-rw-r--r--source3/librpc/gen_ndr/cli_unixinfo.c10
-rw-r--r--source3/librpc/gen_ndr/cli_winreg.c70
-rw-r--r--source3/librpc/gen_ndr/cli_wkssvc.c62
-rw-r--r--source3/librpc/gen_ndr/ndr_dfs.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_dfs.h56
-rw-r--r--source3/librpc/gen_ndr/ndr_echo.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_echo.h30
-rw-r--r--source3/librpc/gen_ndr/ndr_epmapper.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_epmapper.h26
-rw-r--r--source3/librpc/gen_ndr/ndr_eventlog.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_eventlog.h58
-rw-r--r--source3/librpc/gen_ndr/ndr_initshutdown.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_initshutdown.h16
-rw-r--r--source3/librpc/gen_ndr/ndr_lsa.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_lsa.h174
-rw-r--r--source3/librpc/gen_ndr/ndr_messaging.h2
-rw-r--r--source3/librpc/gen_ndr/ndr_netlogon.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_netlogon.h104
-rw-r--r--source3/librpc/gen_ndr/ndr_notify.h2
-rw-r--r--source3/librpc/gen_ndr/ndr_srvsvc.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_srvsvc.h118
-rw-r--r--source3/librpc/gen_ndr/ndr_svcctl.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_svcctl.h98
-rw-r--r--source3/librpc/gen_ndr/ndr_unixinfo.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_unixinfo.h20
-rw-r--r--source3/librpc/gen_ndr/ndr_winreg.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_winreg.h80
-rw-r--r--source3/librpc/gen_ndr/ndr_wkssvc.c4
-rw-r--r--source3/librpc/gen_ndr/ndr_wkssvc.h72
-rw-r--r--source3/librpc/gen_ndr/srv_dfs.c46
-rw-r--r--source3/librpc/gen_ndr/srv_echo.c20
-rw-r--r--source3/librpc/gen_ndr/srv_epmapper.c16
-rw-r--r--source3/librpc/gen_ndr/srv_eventlog.c48
-rw-r--r--source3/librpc/gen_ndr/srv_initshutdown.c6
-rw-r--r--source3/librpc/gen_ndr/srv_lsa.c164
-rw-r--r--source3/librpc/gen_ndr/srv_netlogon.c94
-rw-r--r--source3/librpc/gen_ndr/srv_srvsvc.c108
-rw-r--r--source3/librpc/gen_ndr/srv_svcctl.c88
-rw-r--r--source3/librpc/gen_ndr/srv_unixinfo.c10
-rw-r--r--source3/librpc/gen_ndr/srv_winreg.c70
-rw-r--r--source3/librpc/gen_ndr/srv_wkssvc.c62
-rw-r--r--source3/rpc_server/srv_eventlog.c2
-rw-r--r--source3/rpc_server/srv_lsa.c12
-rw-r--r--source3/rpc_server/srv_svcctl.c2
53 files changed, 1192 insertions, 1192 deletions
diff --git a/source3/librpc/gen_ndr/cli_dfs.c b/source3/librpc/gen_ndr/cli_dfs.c
index 6484e132e3..2d7d2017ae 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, DCERPC_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_DFS_GETMANAGERVERSION, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetManagerVersion, (ndr_push_flags_fn_t)ndr_push_dfs_GetManagerVersion);
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, DCERPC_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_DFS_ADD, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Add, (ndr_push_flags_fn_t)ndr_push_dfs_Add);
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, DCERPC_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_DFS_REMOVE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Remove, (ndr_push_flags_fn_t)ndr_push_dfs_Remove);
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, DCERPC_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_DFS_SETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_SetInfo, (ndr_push_flags_fn_t)ndr_push_dfs_SetInfo);
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, DCERPC_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_DFS_GETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetInfo, (ndr_push_flags_fn_t)ndr_push_dfs_GetInfo);
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, DCERPC_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_DFS_ENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Enum, (ndr_push_flags_fn_t)ndr_push_dfs_Enum);
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, DCERPC_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_DFS_RENAME, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Rename, (ndr_push_flags_fn_t)ndr_push_dfs_Rename);
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, DCERPC_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_DFS_MOVE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Move, (ndr_push_flags_fn_t)ndr_push_dfs_Move);
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, DCERPC_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_DFS_MANAGERGETCONFIGINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_ManagerGetConfigInfo, (ndr_push_flags_fn_t)ndr_push_dfs_ManagerGetConfigInfo);
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, DCERPC_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_DFS_MANAGERSENDSITEINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_ManagerSendSiteInfo, (ndr_push_flags_fn_t)ndr_push_dfs_ManagerSendSiteInfo);
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, DCERPC_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_DFS_ADDFTROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_AddFtRoot, (ndr_push_flags_fn_t)ndr_push_dfs_AddFtRoot);
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, DCERPC_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_DFS_REMOVEFTROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_RemoveFtRoot, (ndr_push_flags_fn_t)ndr_push_dfs_RemoveFtRoot);
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, DCERPC_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_DFS_ADDSTDROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_AddStdRoot, (ndr_push_flags_fn_t)ndr_push_dfs_AddStdRoot);
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, DCERPC_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_DFS_REMOVESTDROOT, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_RemoveStdRoot, (ndr_push_flags_fn_t)ndr_push_dfs_RemoveStdRoot);
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, DCERPC_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_DFS_MANAGERINITIALIZE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_ManagerInitialize, (ndr_push_flags_fn_t)ndr_push_dfs_ManagerInitialize);
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, DCERPC_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_DFS_ADDSTDROOTFORCED, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_AddStdRootForced, (ndr_push_flags_fn_t)ndr_push_dfs_AddStdRootForced);
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, DCERPC_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_DFS_GETDCADDRESS, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_GetDcAddress, (ndr_push_flags_fn_t)ndr_push_dfs_GetDcAddress);
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, DCERPC_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_DFS_SETDCADDRESS, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_SetDcAddress, (ndr_push_flags_fn_t)ndr_push_dfs_SetDcAddress);
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, DCERPC_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_DFS_FLUSHFTTABLE, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_FlushFtTable, (ndr_push_flags_fn_t)ndr_push_dfs_FlushFtTable);
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, DCERPC_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_DFS_ADD2, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Add2, (ndr_push_flags_fn_t)ndr_push_dfs_Add2);
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, DCERPC_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_DFS_REMOVE2, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_Remove2, (ndr_push_flags_fn_t)ndr_push_dfs_Remove2);
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, DCERPC_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_DFS_ENUMEX, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_EnumEx, (ndr_push_flags_fn_t)ndr_push_dfs_EnumEx);
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, DCERPC_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_DFS_SETINFO2, &r, (ndr_pull_flags_fn_t)ndr_pull_dfs_SetInfo2, (ndr_push_flags_fn_t)ndr_push_dfs_SetInfo2);
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 ee7e0f6114..6c33f69c29 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, DCERPC_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_ECHO_ADDONE, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_AddOne, (ndr_push_flags_fn_t)ndr_push_echo_AddOne);
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, DCERPC_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_ECHO_ECHODATA, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_EchoData, (ndr_push_flags_fn_t)ndr_push_echo_EchoData);
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, DCERPC_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_ECHO_SINKDATA, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_SinkData, (ndr_push_flags_fn_t)ndr_push_echo_SinkData);
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, DCERPC_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_ECHO_SOURCEDATA, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_SourceData, (ndr_push_flags_fn_t)ndr_push_echo_SourceData);
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, DCERPC_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_ECHO_TESTCALL, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestCall, (ndr_push_flags_fn_t)ndr_push_echo_TestCall);
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, DCERPC_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_ECHO_TESTCALL2, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestCall2, (ndr_push_flags_fn_t)ndr_push_echo_TestCall2);
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, DCERPC_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_ECHO_TESTSLEEP, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestSleep, (ndr_push_flags_fn_t)ndr_push_echo_TestSleep);
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, DCERPC_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_ECHO_TESTENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestEnum, (ndr_push_flags_fn_t)ndr_push_echo_TestEnum);
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, DCERPC_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_ECHO_TESTSURROUNDING, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestSurrounding, (ndr_push_flags_fn_t)ndr_push_echo_TestSurrounding);
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, DCERPC_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_ECHO_TESTDOUBLEPOINTER, &r, (ndr_pull_flags_fn_t)ndr_pull_echo_TestDoublePointer, (ndr_push_flags_fn_t)ndr_push_echo_TestDoublePointer);
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 4ca491d70d..e68c9e50f6 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, DCERPC_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_EPM_INSERT, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Insert, (ndr_push_flags_fn_t)ndr_push_epm_Insert);
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, DCERPC_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_EPM_DELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Delete, (ndr_push_flags_fn_t)ndr_push_epm_Delete);
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, DCERPC_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_EPM_LOOKUP, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Lookup, (ndr_push_flags_fn_t)ndr_push_epm_Lookup);
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, DCERPC_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_EPM_MAP, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Map, (ndr_push_flags_fn_t)ndr_push_epm_Map);
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, DCERPC_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_EPM_LOOKUPHANDLEFREE, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_LookupHandleFree, (ndr_push_flags_fn_t)ndr_push_epm_LookupHandleFree);
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, DCERPC_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_EPM_INQOBJECT, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_InqObject, (ndr_push_flags_fn_t)ndr_push_epm_InqObject);
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, DCERPC_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_EPM_MGMTDELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_MgmtDelete, (ndr_push_flags_fn_t)ndr_push_epm_MgmtDelete);
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, DCERPC_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_EPM_MAPAUTH, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_MapAuth, (ndr_push_flags_fn_t)ndr_push_epm_MapAuth);
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 7e7ffb21cc..052892fcb3 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, DCERPC_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_EVENTLOG_CLEAREVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ClearEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_ClearEventLogW);
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, DCERPC_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_EVENTLOG_BACKUPEVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_BackupEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_BackupEventLogW);
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, DCERPC_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_EVENTLOG_CLOSEEVENTLOG, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_CloseEventLog, (ndr_push_flags_fn_t)ndr_push_eventlog_CloseEventLog);
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, DCERPC_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_EVENTLOG_DEREGISTEREVENTSOURCE, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_DeregisterEventSource, (ndr_push_flags_fn_t)ndr_push_eventlog_DeregisterEventSource);
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, DCERPC_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_EVENTLOG_GETNUMRECORDS, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_GetNumRecords, (ndr_push_flags_fn_t)ndr_push_eventlog_GetNumRecords);
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, DCERPC_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_EVENTLOG_GETOLDESTRECORD, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_GetOldestRecord, (ndr_push_flags_fn_t)ndr_push_eventlog_GetOldestRecord);
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, DCERPC_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_EVENTLOG_CHANGENOTIFY, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ChangeNotify, (ndr_push_flags_fn_t)ndr_push_eventlog_ChangeNotify);
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, DCERPC_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_EVENTLOG_OPENEVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_OpenEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_OpenEventLogW);
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, DCERPC_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_EVENTLOG_REGISTEREVENTSOURCEW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_RegisterEventSourceW, (ndr_push_flags_fn_t)ndr_push_eventlog_RegisterEventSourceW);
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, DCERPC_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_EVENTLOG_OPENBACKUPEVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_OpenBackupEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_OpenBackupEventLogW);
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, DCERPC_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_EVENTLOG_READEVENTLOGW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ReadEventLogW, (ndr_push_flags_fn_t)ndr_push_eventlog_ReadEventLogW);
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, DCERPC_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_EVENTLOG_REPORTEVENTW, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ReportEventW, (ndr_push_flags_fn_t)ndr_push_eventlog_ReportEventW);
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, DCERPC_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_EVENTLOG_CLEAREVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ClearEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_ClearEventLogA);
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, DCERPC_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_EVENTLOG_BACKUPEVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_BackupEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_BackupEventLogA);
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, DCERPC_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_EVENTLOG_OPENEVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_OpenEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_OpenEventLogA);
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, DCERPC_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_EVENTLOG_REGISTEREVENTSOURCEA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_RegisterEventSourceA, (ndr_push_flags_fn_t)ndr_push_eventlog_RegisterEventSourceA);
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, DCERPC_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_EVENTLOG_OPENBACKUPEVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_OpenBackupEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_OpenBackupEventLogA);
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, DCERPC_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_EVENTLOG_READEVENTLOGA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ReadEventLogA, (ndr_push_flags_fn_t)ndr_push_eventlog_ReadEventLogA);
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, DCERPC_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_EVENTLOG_REPORTEVENTA, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_ReportEventA, (ndr_push_flags_fn_t)ndr_push_eventlog_ReportEventA);
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, DCERPC_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_EVENTLOG_REGISTERCLUSTERSVC, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_RegisterClusterSvc, (ndr_push_flags_fn_t)ndr_push_eventlog_RegisterClusterSvc);
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, DCERPC_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_EVENTLOG_DEREGISTERCLUSTERSVC, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_DeregisterClusterSvc, (ndr_push_flags_fn_t)ndr_push_eventlog_DeregisterClusterSvc);
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, DCERPC_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_EVENTLOG_WRITECLUSTEREVENTS, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_WriteClusterEvents, (ndr_push_flags_fn_t)ndr_push_eventlog_WriteClusterEvents);
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, DCERPC_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_EVENTLOG_GETLOGINTORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_GetLogIntormation, (ndr_push_flags_fn_t)ndr_push_eventlog_GetLogIntormation);
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, DCERPC_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_EVENTLOG_FLUSHEVENTLOG, &r, (ndr_pull_flags_fn_t)ndr_pull_eventlog_FlushEventLog, (ndr_push_flags_fn_t)ndr_push_eventlog_FlushEventLog);
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 06ae3fbe6d..1ceb349e73 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, DCERPC_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_INITSHUTDOWN_INIT, &r, (ndr_pull_flags_fn_t)ndr_pull_initshutdown_Init, (ndr_push_flags_fn_t)ndr_push_initshutdown_Init);
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, DCERPC_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_INITSHUTDOWN_ABORT, &r, (ndr_pull_flags_fn_t)ndr_pull_initshutdown_Abort, (ndr_push_flags_fn_t)ndr_push_initshutdown_Abort);
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, DCERPC_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_INITSHUTDOWN_INITEX, &r, (ndr_pull_flags_fn_t)ndr_pull_initshutdown_InitEx, (ndr_push_flags_fn_t)ndr_push_initshutdown_InitEx);
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 bc786b61b4..a85c482ef8 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, DCERPC_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_LSA_CLOSE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_Close, (ndr_push_flags_fn_t)ndr_push_lsa_Close);
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, DCERPC_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_LSA_DELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_Delete, (ndr_push_flags_fn_t)ndr_push_lsa_Delete);
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, DCERPC_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_LSA_ENUMPRIVS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumPrivs, (ndr_push_flags_fn_t)ndr_push_lsa_EnumPrivs);
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, DCERPC_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_LSA_QUERYSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QuerySecurity, (ndr_push_flags_fn_t)ndr_push_lsa_QuerySecurity);
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, DCERPC_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_LSA_SETSECOBJ, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetSecObj, (ndr_push_flags_fn_t)ndr_push_lsa_SetSecObj);
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, DCERPC_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_LSA_CHANGEPASSWORD, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_ChangePassword, (ndr_push_flags_fn_t)ndr_push_lsa_ChangePassword);
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, DCERPC_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_LSA_OPENPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_OpenPolicy);
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, DCERPC_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_LSA_QUERYINFOPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryInfoPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_QueryInfoPolicy);
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, DCERPC_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_LSA_SETINFOPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetInfoPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_SetInfoPolicy);
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, DCERPC_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_LSA_CLEARAUDITLOG, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_ClearAuditLog, (ndr_push_flags_fn_t)ndr_push_lsa_ClearAuditLog);
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, DCERPC_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_LSA_CREATEACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateAccount, (ndr_push_flags_fn_t)ndr_push_lsa_CreateAccount);
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, DCERPC_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_LSA_ENUMACCOUNTS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumAccounts, (ndr_push_flags_fn_t)ndr_push_lsa_EnumAccounts);
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, DCERPC_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_LSA_CREATETRUSTEDDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateTrustedDomain, (ndr_push_flags_fn_t)ndr_push_lsa_CreateTrustedDomain);
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, DCERPC_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_LSA_ENUMTRUSTDOM, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumTrustDom, (ndr_push_flags_fn_t)ndr_push_lsa_EnumTrustDom);
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, DCERPC_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_LSA_LOOKUPNAMES, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupNames, (ndr_push_flags_fn_t)ndr_push_lsa_LookupNames);
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, DCERPC_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_LSA_LOOKUPSIDS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupSids, (ndr_push_flags_fn_t)ndr_push_lsa_LookupSids);
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, DCERPC_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_LSA_CREATESECRET, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateSecret, (ndr_push_flags_fn_t)ndr_push_lsa_CreateSecret);
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, DCERPC_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_LSA_OPENACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenAccount, (ndr_push_flags_fn_t)ndr_push_lsa_OpenAccount);
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, DCERPC_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_LSA_ENUMPRIVSACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumPrivsAccount, (ndr_push_flags_fn_t)ndr_push_lsa_EnumPrivsAccount);
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, DCERPC_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_LSA_ADDPRIVILEGESTOACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_AddPrivilegesToAccount, (ndr_push_flags_fn_t)ndr_push_lsa_AddPrivilegesToAccount);
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, DCERPC_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_LSA_REMOVEPRIVILEGESFROMACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_RemovePrivilegesFromAccount, (ndr_push_flags_fn_t)ndr_push_lsa_RemovePrivilegesFromAccount);
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, DCERPC_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_LSA_GETQUOTASFORACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_GetQuotasForAccount, (ndr_push_flags_fn_t)ndr_push_lsa_GetQuotasForAccount);
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, DCERPC_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_LSA_SETQUOTASFORACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetQuotasForAccount, (ndr_push_flags_fn_t)ndr_push_lsa_SetQuotasForAccount);
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, DCERPC_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_LSA_GETSYSTEMACCESSACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_GetSystemAccessAccount, (ndr_push_flags_fn_t)ndr_push_lsa_GetSystemAccessAccount);
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, DCERPC_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_LSA_SETSYSTEMACCESSACCOUNT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetSystemAccessAccount, (ndr_push_flags_fn_t)ndr_push_lsa_SetSystemAccessAccount);
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, DCERPC_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_LSA_OPENTRUSTEDDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenTrustedDomain, (ndr_push_flags_fn_t)ndr_push_lsa_OpenTrustedDomain);
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, DCERPC_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_LSA_QUERYTRUSTEDDOMAININFO, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryTrustedDomainInfo, (ndr_push_flags_fn_t)ndr_push_lsa_QueryTrustedDomainInfo);
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, DCERPC_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_LSA_SETINFORMATIONTRUSTEDDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetInformationTrustedDomain, (ndr_push_flags_fn_t)ndr_push_lsa_SetInformationTrustedDomain);
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, DCERPC_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_LSA_OPENSECRET, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenSecret, (ndr_push_flags_fn_t)ndr_push_lsa_OpenSecret);
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, DCERPC_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_LSA_SETSECRET, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetSecret, (ndr_push_flags_fn_t)ndr_push_lsa_SetSecret);
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, DCERPC_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_LSA_QUERYSECRET, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QuerySecret, (ndr_push_flags_fn_t)ndr_push_lsa_QuerySecret);
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, DCERPC_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_LSA_LOOKUPPRIVVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupPrivValue, (ndr_push_flags_fn_t)ndr_push_lsa_LookupPrivValue);
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, DCERPC_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_LSA_LOOKUPPRIVNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupPrivName, (ndr_push_flags_fn_t)ndr_push_lsa_LookupPrivName);
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, DCERPC_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_LSA_LOOKUPPRIVDISPLAYNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupPrivDisplayName, (ndr_push_flags_fn_t)ndr_push_lsa_LookupPrivDisplayName);
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, DCERPC_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_LSA_DELETEOBJECT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_DeleteObject, (ndr_push_flags_fn_t)ndr_push_lsa_DeleteObject);
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, DCERPC_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_LSA_ENUMACCOUNTSWITHUSERRIGHT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumAccountsWithUserRight, (ndr_push_flags_fn_t)ndr_push_lsa_EnumAccountsWithUserRight);
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, DCERPC_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_LSA_ENUMACCOUNTRIGHTS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumAccountRights, (ndr_push_flags_fn_t)ndr_push_lsa_EnumAccountRights);
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, DCERPC_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_LSA_ADDACCOUNTRIGHTS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_AddAccountRights, (ndr_push_flags_fn_t)ndr_push_lsa_AddAccountRights);
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, DCERPC_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_LSA_REMOVEACCOUNTRIGHTS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_RemoveAccountRights, (ndr_push_flags_fn_t)ndr_push_lsa_RemoveAccountRights);
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, DCERPC_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_LSA_QUERYTRUSTEDDOMAININFOBYSID, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryTrustedDomainInfoBySid, (ndr_push_flags_fn_t)ndr_push_lsa_QueryTrustedDomainInfoBySid);
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, DCERPC_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_LSA_SETTRUSTEDDOMAININFO, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetTrustedDomainInfo, (ndr_push_flags_fn_t)ndr_push_lsa_SetTrustedDomainInfo);
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, DCERPC_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_LSA_DELETETRUSTEDDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_DeleteTrustedDomain, (ndr_push_flags_fn_t)ndr_push_lsa_DeleteTrustedDomain);
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, DCERPC_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_LSA_STOREPRIVATEDATA, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_StorePrivateData, (ndr_push_flags_fn_t)ndr_push_lsa_StorePrivateData);
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, DCERPC_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_LSA_RETRIEVEPRIVATEDATA, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_RetrievePrivateData, (ndr_push_flags_fn_t)ndr_push_lsa_RetrievePrivateData);
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, DCERPC_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_LSA_OPENPOLICY2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenPolicy2, (ndr_push_flags_fn_t)ndr_push_lsa_OpenPolicy2);
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, DCERPC_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_LSA_GETUSERNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_GetUserName, (ndr_push_flags_fn_t)ndr_push_lsa_GetUserName);
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, DCERPC_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_LSA_QUERYINFOPOLICY2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryInfoPolicy2, (ndr_push_flags_fn_t)ndr_push_lsa_QueryInfoPolicy2);
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, DCERPC_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_LSA_SETINFOPOLICY2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetInfoPolicy2, (ndr_push_flags_fn_t)ndr_push_lsa_SetInfoPolicy2);
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, DCERPC_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_LSA_QUERYTRUSTEDDOMAININFOBYNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryTrustedDomainInfoByName, (ndr_push_flags_fn_t)ndr_push_lsa_QueryTrustedDomainInfoByName);
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, DCERPC_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_LSA_SETTRUSTEDDOMAININFOBYNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetTrustedDomainInfoByName, (ndr_push_flags_fn_t)ndr_push_lsa_SetTrustedDomainInfoByName);
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, DCERPC_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_LSA_ENUMTRUSTEDDOMAINSEX, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_EnumTrustedDomainsEx, (ndr_push_flags_fn_t)ndr_push_lsa_EnumTrustedDomainsEx);
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, DCERPC_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_LSA_CREATETRUSTEDDOMAINEX, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateTrustedDomainEx, (ndr_push_flags_fn_t)ndr_push_lsa_CreateTrustedDomainEx);
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, DCERPC_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_LSA_CLOSETRUSTEDDOMAINEX, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CloseTrustedDomainEx, (ndr_push_flags_fn_t)ndr_push_lsa_CloseTrustedDomainEx);
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, DCERPC_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_LSA_QUERYDOMAININFORMATIONPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_QueryDomainInformationPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_QueryDomainInformationPolicy);
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, DCERPC_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_LSA_SETDOMAININFORMATIONPOLICY, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_SetDomainInformationPolicy, (ndr_push_flags_fn_t)ndr_push_lsa_SetDomainInformationPolicy);
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, DCERPC_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_LSA_OPENTRUSTEDDOMAINBYNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_OpenTrustedDomainByName, (ndr_push_flags_fn_t)ndr_push_lsa_OpenTrustedDomainByName);
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, DCERPC_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_LSA_TESTCALL, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_TestCall, (ndr_push_flags_fn_t)ndr_push_lsa_TestCall);
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, DCERPC_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_LSA_LOOKUPSIDS2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupSids2, (ndr_push_flags_fn_t)ndr_push_lsa_LookupSids2);
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, DCERPC_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_LSA_LOOKUPNAMES2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupNames2, (ndr_push_flags_fn_t)ndr_push_lsa_LookupNames2);
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, DCERPC_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_LSA_CREATETRUSTEDDOMAINEX2, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CreateTrustedDomainEx2, (ndr_push_flags_fn_t)ndr_push_lsa_CreateTrustedDomainEx2);
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, DCERPC_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_LSA_CREDRWRITE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRWRITE, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRWRITE);
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, DCERPC_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_LSA_CREDRREAD, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRREAD, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRREAD);
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, DCERPC_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_LSA_CREDRENUMERATE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRENUMERATE, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRENUMERATE);
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, DCERPC_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_LSA_CREDRWRITEDOMAINCREDENTIALS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRWRITEDOMAINCREDENTIALS, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRWRITEDOMAINCREDENTIALS);
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, DCERPC_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_LSA_CREDRREADDOMAINCREDENTIALS, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRREADDOMAINCREDENTIALS, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRREADDOMAINCREDENTIALS);
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, DCERPC_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_LSA_CREDRDELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRDELETE, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRDELETE);
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, DCERPC_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_LSA_CREDRGETTARGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRGETTARGETINFO, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRGETTARGETINFO);
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, DCERPC_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_LSA_CREDRPROFILELOADED, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRPROFILELOADED, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRPROFILELOADED);
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, DCERPC_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_LSA_LOOKUPNAMES3, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupNames3, (ndr_push_flags_fn_t)ndr_push_lsa_LookupNames3);
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, DCERPC_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_LSA_CREDRGETSESSIONTYPES, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRGETSESSIONTYPES, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRGETSESSIONTYPES);
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, DCERPC_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_LSA_LSARREGISTERAUDITEVENT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARREGISTERAUDITEVENT, (ndr_push_flags_fn_t)ndr_push_lsa_LSARREGISTERAUDITEVENT);
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, DCERPC_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_LSA_LSARGENAUDITEVENT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARGENAUDITEVENT, (ndr_push_flags_fn_t)ndr_push_lsa_LSARGENAUDITEVENT);
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, DCERPC_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_LSA_LSARUNREGISTERAUDITEVENT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARUNREGISTERAUDITEVENT, (ndr_push_flags_fn_t)ndr_push_lsa_LSARUNREGISTERAUDITEVENT);
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, DCERPC_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_LSA_LSARQUERYFORESTTRUSTINFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARQUERYFORESTTRUSTINFORMATION, (ndr_push_flags_fn_t)ndr_push_lsa_LSARQUERYFORESTTRUSTINFORMATION);
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, DCERPC_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_LSA_LSARSETFORESTTRUSTINFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARSETFORESTTRUSTINFORMATION, (ndr_push_flags_fn_t)ndr_push_lsa_LSARSETFORESTTRUSTINFORMATION);
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, DCERPC_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_LSA_CREDRRENAME, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_CREDRRENAME, (ndr_push_flags_fn_t)ndr_push_lsa_CREDRRENAME);
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, DCERPC_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_LSA_LOOKUPSIDS3, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupSids3, (ndr_push_flags_fn_t)ndr_push_lsa_LookupSids3);
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, DCERPC_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_LSA_LOOKUPNAMES4, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LookupNames4, (ndr_push_flags_fn_t)ndr_push_lsa_LookupNames4);
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, DCERPC_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_LSA_LSAROPENPOLICYSCE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSAROPENPOLICYSCE, (ndr_push_flags_fn_t)ndr_push_lsa_LSAROPENPOLICYSCE);
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, DCERPC_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_LSA_LSARADTREGISTERSECURITYEVENTSOURCE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARADTREGISTERSECURITYEVENTSOURCE, (ndr_push_flags_fn_t)ndr_push_lsa_LSARADTREGISTERSECURITYEVENTSOURCE);
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, DCERPC_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_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, (ndr_push_flags_fn_t)ndr_push_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE);
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, DCERPC_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_LSA_LSARADTREPORTSECURITYEVENT, &r, (ndr_pull_flags_fn_t)ndr_pull_lsa_LSARADTREPORTSECURITYEVENT, (ndr_push_flags_fn_t)ndr_push_lsa_LSARADTREPORTSECURITYEVENT);
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 4bd0f907ea..3d5ee7fcc4 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, DCERPC_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_NETR_LOGONUASLOGON, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonUasLogon, (ndr_push_flags_fn_t)ndr_push_netr_LogonUasLogon);
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, DCERPC_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_NETR_LOGONUASLOGOFF, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonUasLogoff, (ndr_push_flags_fn_t)ndr_push_netr_LogonUasLogoff);
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, DCERPC_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_NETR_LOGONSAMLOGON, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonSamLogon, (ndr_push_flags_fn_t)ndr_push_netr_LogonSamLogon);
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, DCERPC_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_NETR_LOGONSAMLOGOFF, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonSamLogoff, (ndr_push_flags_fn_t)ndr_push_netr_LogonSamLogoff);
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, DCERPC_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_NETR_SERVERREQCHALLENGE, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerReqChallenge, (ndr_push_flags_fn_t)ndr_push_netr_ServerReqChallenge);
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, DCERPC_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_NETR_SERVERAUTHENTICATE, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerAuthenticate, (ndr_push_flags_fn_t)ndr_push_netr_ServerAuthenticate);
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, DCERPC_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_NETR_SERVERPASSWORDSET, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerPasswordSet, (ndr_push_flags_fn_t)ndr_push_netr_ServerPasswordSet);
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, DCERPC_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_NETR_DATABASEDELTAS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DatabaseDeltas, (ndr_push_flags_fn_t)ndr_push_netr_DatabaseDeltas);
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, DCERPC_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_NETR_DATABASESYNC, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DatabaseSync, (ndr_push_flags_fn_t)ndr_push_netr_DatabaseSync);
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, DCERPC_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_NETR_ACCOUNTDELTAS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_AccountDeltas, (ndr_push_flags_fn_t)ndr_push_netr_AccountDeltas);
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, DCERPC_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_NETR_ACCOUNTSYNC, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_AccountSync, (ndr_push_flags_fn_t)ndr_push_netr_AccountSync);
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, DCERPC_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_NETR_GETDCNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_GetDcName, (ndr_push_flags_fn_t)ndr_push_netr_GetDcName);
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, DCERPC_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_NETR_LOGONCONTROL, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonControl, (ndr_push_flags_fn_t)ndr_push_netr_LogonControl);
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, DCERPC_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_NETR_GETANYDCNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_GetAnyDCName, (ndr_push_flags_fn_t)ndr_push_netr_GetAnyDCName);
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, DCERPC_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_NETR_LOGONCONTROL2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonControl2, (ndr_push_flags_fn_t)ndr_push_netr_LogonControl2);
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, DCERPC_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_NETR_SERVERAUTHENTICATE2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerAuthenticate2, (ndr_push_flags_fn_t)ndr_push_netr_ServerAuthenticate2);
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, DCERPC_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_NETR_DATABASESYNC2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DatabaseSync2, (ndr_push_flags_fn_t)ndr_push_netr_DatabaseSync2);
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, DCERPC_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_NETR_DATABASEREDO, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DatabaseRedo, (ndr_push_flags_fn_t)ndr_push_netr_DatabaseRedo);
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, DCERPC_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_NETR_LOGONCONTROL2EX, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonControl2Ex, (ndr_push_flags_fn_t)ndr_push_netr_LogonControl2Ex);
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, DCERPC_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_NETR_NETRENUMERATETRUSTEDDOMAINS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRENUMERATETRUSTEDDOMAINS, (ndr_push_flags_fn_t)ndr_push_netr_NETRENUMERATETRUSTEDDOMAINS);
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, DCERPC_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_NETR_DSRGETDCNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsRGetDCName, (ndr_push_flags_fn_t)ndr_push_netr_DsRGetDCName);
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, DCERPC_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_NETR_NETRLOGONDUMMYROUTINE1, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONDUMMYROUTINE1, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONDUMMYROUTINE1);
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, DCERPC_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_NETR_NETRLOGONSETSERVICEBITS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONSETSERVICEBITS, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONSETSERVICEBITS);
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, DCERPC_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_NETR_NETRLOGONGETTRUSTRID, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONGETTRUSTRID, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONGETTRUSTRID);
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, DCERPC_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_NETR_NETRLOGONCOMPUTESERVERDIGEST, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONCOMPUTESERVERDIGEST, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONCOMPUTESERVERDIGEST);
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, DCERPC_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_NETR_NETRLOGONCOMPUTECLIENTDIGEST, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONCOMPUTECLIENTDIGEST, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONCOMPUTECLIENTDIGEST);
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, DCERPC_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_NETR_SERVERAUTHENTICATE3, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerAuthenticate3, (ndr_push_flags_fn_t)ndr_push_netr_ServerAuthenticate3);
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, DCERPC_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_NETR_DSRGETDCNAMEEX, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsRGetDCNameEx, (ndr_push_flags_fn_t)ndr_push_netr_DsRGetDCNameEx);
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, DCERPC_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_NETR_DSRGETSITENAME, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsRGetSiteName, (ndr_push_flags_fn_t)ndr_push_netr_DsRGetSiteName);
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, DCERPC_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_NETR_LOGONGETDOMAININFO, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonGetDomainInfo, (ndr_push_flags_fn_t)ndr_push_netr_LogonGetDomainInfo);
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, DCERPC_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_NETR_SERVERPASSWORDSET2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_ServerPasswordSet2, (ndr_push_flags_fn_t)ndr_push_netr_ServerPasswordSet2);
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, DCERPC_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_NETR_NETRSERVERPASSWORDGET, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRSERVERPASSWORDGET, (ndr_push_flags_fn_t)ndr_push_netr_NETRSERVERPASSWORDGET);
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, DCERPC_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_NETR_NETRLOGONSENDTOSAM, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONSENDTOSAM, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONSENDTOSAM);
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, DCERPC_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_NETR_DSRADDRESSTOSITENAMESW, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRADDRESSTOSITENAMESW, (ndr_push_flags_fn_t)ndr_push_netr_DSRADDRESSTOSITENAMESW);
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, DCERPC_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_NETR_DSRGETDCNAMEEX2, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsRGetDCNameEx2, (ndr_push_flags_fn_t)ndr_push_netr_DsRGetDCNameEx2);
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, DCERPC_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_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, (ndr_push_flags_fn_t)ndr_push_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN);
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, DCERPC_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_NETR_NETRENUMERATETRUSTEDDOMAINSEX, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRENUMERATETRUSTEDDOMAINSEX, (ndr_push_flags_fn_t)ndr_push_netr_NETRENUMERATETRUSTEDDOMAINSEX);
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, DCERPC_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_NETR_DSRADDRESSTOSITENAMESEXW, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRADDRESSTOSITENAMESEXW, (ndr_push_flags_fn_t)ndr_push_netr_DSRADDRESSTOSITENAMESEXW);
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, DCERPC_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_NETR_DSRGETDCSITECOVERAGEW, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRGETDCSITECOVERAGEW, (ndr_push_flags_fn_t)ndr_push_netr_DSRGETDCSITECOVERAGEW);
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, DCERPC_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_NETR_LOGONSAMLOGONEX, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonSamLogonEx, (ndr_push_flags_fn_t)ndr_push_netr_LogonSamLogonEx);
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, DCERPC_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_NETR_DSRENUMERATEDOMAINTRUSTS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DsrEnumerateDomainTrusts, (ndr_push_flags_fn_t)ndr_push_netr_DsrEnumerateDomainTrusts);
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, DCERPC_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_NETR_DSRDEREGISTERDNSHOSTRECORDS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRDEREGISTERDNSHOSTRECORDS, (ndr_push_flags_fn_t)ndr_push_netr_DSRDEREGISTERDNSHOSTRECORDS);
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, DCERPC_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_NETR_NETRSERVERTRUSTPASSWORDSGET, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRSERVERTRUSTPASSWORDSGET, (ndr_push_flags_fn_t)ndr_push_netr_NETRSERVERTRUSTPASSWORDSGET);
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, DCERPC_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_NETR_DSRGETFORESTTRUSTINFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_DSRGETFORESTTRUSTINFORMATION, (ndr_push_flags_fn_t)ndr_push_netr_DSRGETFORESTTRUSTINFORMATION);
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, DCERPC_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_NETR_NETRGETFORESTTRUSTINFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRGETFORESTTRUSTINFORMATION, (ndr_push_flags_fn_t)ndr_push_netr_NETRGETFORESTTRUSTINFORMATION);
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, DCERPC_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_NETR_LOGONSAMLOGONWITHFLAGS, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_LogonSamLogonWithFlags, (ndr_push_flags_fn_t)ndr_push_netr_LogonSamLogonWithFlags);
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, DCERPC_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_NETR_NETRSERVERGETTRUSTINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_netr_NETRSERVERGETTRUSTINFO, (ndr_push_flags_fn_t)ndr_push_netr_NETRSERVERGETTRUSTINFO);
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 d79474b6fe..97b7dda77b 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, DCERPC_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_SRVSVC_NETCHARDEVENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevEnum);
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, DCERPC_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_SRVSVC_NETCHARDEVGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevGetInfo);
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, DCERPC_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_SRVSVC_NETCHARDEVCONTROL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevControl, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevControl);
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, DCERPC_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_SRVSVC_NETCHARDEVQENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQEnum);
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, DCERPC_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_SRVSVC_NETCHARDEVQGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQGetInfo);
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, DCERPC_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_SRVSVC_NETCHARDEVQSETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQSetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQSetInfo);
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, DCERPC_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_SRVSVC_NETCHARDEVQPURGE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQPurge, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQPurge);
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, DCERPC_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_SRVSVC_NETCHARDEVQPURGESELF, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetCharDevQPurgeSelf, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetCharDevQPurgeSelf);
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, DCERPC_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_SRVSVC_NETCONNENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetConnEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetConnEnum);
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, DCERPC_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_SRVSVC_NETFILEENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetFileEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetFileEnum);
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, DCERPC_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_SRVSVC_NETFILEGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetFileGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetFileGetInfo);
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, DCERPC_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_SRVSVC_NETFILECLOSE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetFileClose, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetFileClose);
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, DCERPC_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_SRVSVC_NETSESSENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSessEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSessEnum);
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, DCERPC_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_SRVSVC_NETSESSDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSessDel, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSessDel);
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, DCERPC_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_SRVSVC_NETSHAREADD, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareAdd, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareAdd);
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, DCERPC_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_SRVSVC_NETSHAREENUMALL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareEnumAll, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareEnumAll);
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, DCERPC_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_SRVSVC_NETSHAREGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareGetInfo);
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, DCERPC_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_SRVSVC_NETSHARESETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareSetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareSetInfo);
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, DCERPC_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_SRVSVC_NETSHAREDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareDel, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareDel);
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, DCERPC_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_SRVSVC_NETSHAREDELSTICKY, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareDelSticky, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareDelSticky);
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, DCERPC_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_SRVSVC_NETSHARECHECK, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareCheck, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareCheck);
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, DCERPC_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_SRVSVC_NETSRVGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSrvGetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSrvGetInfo);
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, DCERPC_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_SRVSVC_NETSRVSETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSrvSetInfo, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSrvSetInfo);
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, DCERPC_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_SRVSVC_NETDISKENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetDiskEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetDiskEnum);
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, DCERPC_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_SRVSVC_NETSERVERSTATISTICSGET, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetServerStatisticsGet, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetServerStatisticsGet);
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, DCERPC_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_SRVSVC_NETTRANSPORTADD, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetTransportAdd, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetTransportAdd);
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, DCERPC_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_SRVSVC_NETTRANSPORTENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetTransportEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetTransportEnum);
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, DCERPC_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_SRVSVC_NETTRANSPORTDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetTransportDel, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetTransportDel);
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, DCERPC_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_SRVSVC_NETREMOTETOD, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetRemoteTOD, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetRemoteTOD);
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, DCERPC_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_SRVSVC_NETSETSERVICEBITS, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSetServiceBits, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSetServiceBits);
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, DCERPC_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_SRVSVC_NETPATHTYPE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetPathType, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetPathType);
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, DCERPC_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_SRVSVC_NETPATHCANONICALIZE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetPathCanonicalize, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetPathCanonicalize);
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, DCERPC_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_SRVSVC_NETPATHCOMPARE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetPathCompare, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetPathCompare);
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, DCERPC_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_SRVSVC_NETNAMEVALIDATE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetNameValidate, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetNameValidate);
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, DCERPC_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_SRVSVC_NETRPRNAMECANONICALIZE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRPRNAMECANONICALIZE, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRPRNAMECANONICALIZE);
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, DCERPC_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_SRVSVC_NETPRNAMECOMPARE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetPRNameCompare, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetPRNameCompare);
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, DCERPC_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_SRVSVC_NETSHAREENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareEnum, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareEnum);
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, DCERPC_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_SRVSVC_NETSHAREDELSTART, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareDelStart, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareDelStart);
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, DCERPC_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_SRVSVC_NETSHAREDELCOMMIT, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetShareDelCommit, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetShareDelCommit);
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, DCERPC_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_SRVSVC_NETGETFILESECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetGetFileSecurity, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetGetFileSecurity);
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, DCERPC_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_SRVSVC_NETSETFILESECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetSetFileSecurity, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetSetFileSecurity);
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, DCERPC_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_SRVSVC_NETSERVERTRANSPORTADDEX, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetServerTransportAddEx, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetServerTransportAddEx);
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, DCERPC_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_SRVSVC_NETSERVERSETSERVICEBITSEX, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NetServerSetServiceBitsEx, (ndr_push_flags_fn_t)ndr_push_srvsvc_NetServerSetServiceBitsEx);
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, DCERPC_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_SRVSVC_NETRDFSGETVERSION, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSGETVERSION, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSGETVERSION);
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, DCERPC_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_SRVSVC_NETRDFSCREATELOCALPARTITION, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSCREATELOCALPARTITION, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSCREATELOCALPARTITION);
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, DCERPC_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_SRVSVC_NETRDFSDELETELOCALPARTITION, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSDELETELOCALPARTITION, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSDELETELOCALPARTITION);
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, DCERPC_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_SRVSVC_NETRDFSSETLOCALVOLUMESTATE, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSSETLOCALVOLUMESTATE, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSSETLOCALVOLUMESTATE);
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, DCERPC_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_SRVSVC_NETRDFSSETSERVERINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSSETSERVERINFO, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSSETSERVERINFO);
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, DCERPC_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_SRVSVC_NETRDFSCREATEEXITPOINT, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSCREATEEXITPOINT, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSCREATEEXITPOINT);
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, DCERPC_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_SRVSVC_NETRDFSDELETEEXITPOINT, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSDELETEEXITPOINT, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSDELETEEXITPOINT);
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, DCERPC_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_SRVSVC_NETRDFSMODIFYPREFIX, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSMODIFYPREFIX, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSMODIFYPREFIX);
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, DCERPC_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_SRVSVC_NETRDFSFIXLOCALVOLUME, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSFIXLOCALVOLUME, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSFIXLOCALVOLUME);
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, DCERPC_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_SRVSVC_NETRDFSMANAGERREPORTSITEINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRDFSMANAGERREPORTSITEINFO, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRDFSMANAGERREPORTSITEINFO);
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, DCERPC_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_SRVSVC_NETRSERVERTRANSPORTDELEX, &r, (ndr_pull_flags_fn_t)ndr_pull_srvsvc_NETRSERVERTRANSPORTDELEX, (ndr_push_flags_fn_t)ndr_push_srvsvc_NETRSERVERTRANSPORTDELEX);
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 ce1904f04f..a1995749a5 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, DCERPC_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_SVCCTL_CLOSESERVICEHANDLE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_CloseServiceHandle, (ndr_push_flags_fn_t)ndr_push_svcctl_CloseServiceHandle);
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, DCERPC_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_SVCCTL_CONTROLSERVICE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ControlService, (ndr_push_flags_fn_t)ndr_push_svcctl_ControlService);
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, DCERPC_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_SVCCTL_DELETESERVICE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_DeleteService, (ndr_push_flags_fn_t)ndr_push_svcctl_DeleteService);
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, DCERPC_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_SVCCTL_LOCKSERVICEDATABASE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_LockServiceDatabase, (ndr_push_flags_fn_t)ndr_push_svcctl_LockServiceDatabase);
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, DCERPC_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_SVCCTL_QUERYSERVICEOBJECTSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceObjectSecurity, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceObjectSecurity);
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, DCERPC_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_SVCCTL_SETSERVICEOBJECTSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SetServiceObjectSecurity, (ndr_push_flags_fn_t)ndr_push_svcctl_SetServiceObjectSecurity);
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, DCERPC_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_SVCCTL_QUERYSERVICESTATUS, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceStatus, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceStatus);
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, DCERPC_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_SVCCTL_SETSERVICESTATUS, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SetServiceStatus, (ndr_push_flags_fn_t)ndr_push_svcctl_SetServiceStatus);
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, DCERPC_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_SVCCTL_UNLOCKSERVICEDATABASE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_UnlockServiceDatabase, (ndr_push_flags_fn_t)ndr_push_svcctl_UnlockServiceDatabase);
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, DCERPC_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_SVCCTL_NOTIFYBOOTCONFIGSTATUS, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_NotifyBootConfigStatus, (ndr_push_flags_fn_t)ndr_push_svcctl_NotifyBootConfigStatus);
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, DCERPC_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_SVCCTL_SCSETSERVICEBITSW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SCSetServiceBitsW, (ndr_push_flags_fn_t)ndr_push_svcctl_SCSetServiceBitsW);
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, DCERPC_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_SVCCTL_CHANGESERVICECONFIGW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ChangeServiceConfigW, (ndr_push_flags_fn_t)ndr_push_svcctl_ChangeServiceConfigW);
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, DCERPC_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_SVCCTL_CREATESERVICEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_CreateServiceW, (ndr_push_flags_fn_t)ndr_push_svcctl_CreateServiceW);
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, DCERPC_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_SVCCTL_ENUMDEPENDENTSERVICESW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumDependentServicesW, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumDependentServicesW);
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, DCERPC_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_SVCCTL_ENUMSERVICESSTATUSW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumServicesStatusW, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumServicesStatusW);
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, DCERPC_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_SVCCTL_OPENSCMANAGERW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_OpenSCManagerW, (ndr_push_flags_fn_t)ndr_push_svcctl_OpenSCManagerW);
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, DCERPC_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_SVCCTL_OPENSERVICEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_OpenServiceW, (ndr_push_flags_fn_t)ndr_push_svcctl_OpenServiceW);
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, DCERPC_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_SVCCTL_QUERYSERVICECONFIGW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceConfigW, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceConfigW);
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, DCERPC_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_SVCCTL_QUERYSERVICELOCKSTATUSW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceLockStatusW, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceLockStatusW);
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, DCERPC_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_SVCCTL_STARTSERVICEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_StartServiceW, (ndr_push_flags_fn_t)ndr_push_svcctl_StartServiceW);
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, DCERPC_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_SVCCTL_GETSERVICEDISPLAYNAMEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetServiceDisplayNameW, (ndr_push_flags_fn_t)ndr_push_svcctl_GetServiceDisplayNameW);
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, DCERPC_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_SVCCTL_GETSERVICEKEYNAMEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetServiceKeyNameW, (ndr_push_flags_fn_t)ndr_push_svcctl_GetServiceKeyNameW);
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, DCERPC_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_SVCCTL_SCSETSERVICEBITSA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SCSetServiceBitsA, (ndr_push_flags_fn_t)ndr_push_svcctl_SCSetServiceBitsA);
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, DCERPC_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_SVCCTL_CHANGESERVICECONFIGA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ChangeServiceConfigA, (ndr_push_flags_fn_t)ndr_push_svcctl_ChangeServiceConfigA);
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, DCERPC_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_SVCCTL_CREATESERVICEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_CreateServiceA, (ndr_push_flags_fn_t)ndr_push_svcctl_CreateServiceA);
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, DCERPC_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_SVCCTL_ENUMDEPENDENTSERVICESA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumDependentServicesA, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumDependentServicesA);
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, DCERPC_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_SVCCTL_ENUMSERVICESSTATUSA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumServicesStatusA, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumServicesStatusA);
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, DCERPC_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_SVCCTL_OPENSCMANAGERA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_OpenSCManagerA, (ndr_push_flags_fn_t)ndr_push_svcctl_OpenSCManagerA);
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, DCERPC_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_SVCCTL_OPENSERVICEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_OpenServiceA, (ndr_push_flags_fn_t)ndr_push_svcctl_OpenServiceA);
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, DCERPC_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_SVCCTL_QUERYSERVICECONFIGA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceConfigA, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceConfigA);
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, DCERPC_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_SVCCTL_QUERYSERVICELOCKSTATUSA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceLockStatusA, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceLockStatusA);
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, DCERPC_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_SVCCTL_STARTSERVICEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_StartServiceA, (ndr_push_flags_fn_t)ndr_push_svcctl_StartServiceA);
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, DCERPC_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_SVCCTL_GETSERVICEDISPLAYNAMEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetServiceDisplayNameA, (ndr_push_flags_fn_t)ndr_push_svcctl_GetServiceDisplayNameA);
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, DCERPC_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_SVCCTL_GETSERVICEKEYNAMEA, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetServiceKeyNameA, (ndr_push_flags_fn_t)ndr_push_svcctl_GetServiceKeyNameA);
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, DCERPC_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_SVCCTL_GETCURRENTGROUPESTATEW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_GetCurrentGroupeStateW, (ndr_push_flags_fn_t)ndr_push_svcctl_GetCurrentGroupeStateW);
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, DCERPC_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_SVCCTL_ENUMSERVICEGROUPW, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_EnumServiceGroupW, (ndr_push_flags_fn_t)ndr_push_svcctl_EnumServiceGroupW);
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, DCERPC_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_SVCCTL_CHANGESERVICECONFIG2A, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ChangeServiceConfig2A, (ndr_push_flags_fn_t)ndr_push_svcctl_ChangeServiceConfig2A);
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, DCERPC_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_SVCCTL_CHANGESERVICECONFIG2W, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_ChangeServiceConfig2W, (ndr_push_flags_fn_t)ndr_push_svcctl_ChangeServiceConfig2W);
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, DCERPC_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_SVCCTL_QUERYSERVICECONFIG2A, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceConfig2A, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceConfig2A);
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, DCERPC_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_SVCCTL_QUERYSERVICECONFIG2W, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceConfig2W, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceConfig2W);
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, DCERPC_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_SVCCTL_QUERYSERVICESTATUSEX, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_QueryServiceStatusEx, (ndr_push_flags_fn_t)ndr_push_svcctl_QueryServiceStatusEx);
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, DCERPC_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_ENUMSERVICESSTATUSEXA, &r, (ndr_pull_flags_fn_t)ndr_pull_EnumServicesStatusExA, (ndr_push_flags_fn_t)ndr_push_EnumServicesStatusExA);
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, DCERPC_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_ENUMSERVICESSTATUSEXW, &r, (ndr_pull_flags_fn_t)ndr_pull_EnumServicesStatusExW, (ndr_push_flags_fn_t)ndr_push_EnumServicesStatusExW);
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, DCERPC_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_SVCCTL_SCSENDTSMESSAGE, &r, (ndr_pull_flags_fn_t)ndr_pull_svcctl_SCSendTSMessage, (ndr_push_flags_fn_t)ndr_push_svcctl_SCSendTSMessage);
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 687ba7e5c1..91cdf55328 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, DCERPC_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_UNIXINFO_SIDTOUID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_SidToUid, (ndr_push_flags_fn_t)ndr_push_unixinfo_SidToUid);
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, DCERPC_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_UNIXINFO_UIDTOSID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_UidToSid, (ndr_push_flags_fn_t)ndr_push_unixinfo_UidToSid);
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, DCERPC_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_UNIXINFO_SIDTOGID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_SidToGid, (ndr_push_flags_fn_t)ndr_push_unixinfo_SidToGid);
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, DCERPC_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_UNIXINFO_GIDTOSID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_GidToSid, (ndr_push_flags_fn_t)ndr_push_unixinfo_GidToSid);
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, DCERPC_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_UNIXINFO_GETPWUID, &r, (ndr_pull_flags_fn_t)ndr_pull_unixinfo_GetPWUid, (ndr_push_flags_fn_t)ndr_push_unixinfo_GetPWUid);
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 0f49274015..b6b43a3d79 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, DCERPC_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_WINREG_OPENHKCR, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKCR, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKCR);
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, DCERPC_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_WINREG_OPENHKCU, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKCU, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKCU);
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, DCERPC_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_WINREG_OPENHKLM, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKLM, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKLM);
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, DCERPC_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_WINREG_OPENHKPD, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKPD, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKPD);
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, DCERPC_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_WINREG_OPENHKU, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKU, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKU);
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, DCERPC_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_WINREG_CLOSEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_CloseKey, (ndr_push_flags_fn_t)ndr_push_winreg_CloseKey);
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, DCERPC_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_WINREG_CREATEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_CreateKey, (ndr_push_flags_fn_t)ndr_push_winreg_CreateKey);
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, DCERPC_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_WINREG_DELETEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_DeleteKey, (ndr_push_flags_fn_t)ndr_push_winreg_DeleteKey);
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, DCERPC_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_WINREG_DELETEVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_DeleteValue, (ndr_push_flags_fn_t)ndr_push_winreg_DeleteValue);
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, DCERPC_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_WINREG_ENUMKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_EnumKey, (ndr_push_flags_fn_t)ndr_push_winreg_EnumKey);
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, DCERPC_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_WINREG_ENUMVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_EnumValue, (ndr_push_flags_fn_t)ndr_push_winreg_EnumValue);
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, DCERPC_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_WINREG_FLUSHKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_FlushKey, (ndr_push_flags_fn_t)ndr_push_winreg_FlushKey);
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, DCERPC_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_WINREG_GETKEYSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_GetKeySecurity, (ndr_push_flags_fn_t)ndr_push_winreg_GetKeySecurity);
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, DCERPC_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_WINREG_LOADKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_LoadKey, (ndr_push_flags_fn_t)ndr_push_winreg_LoadKey);
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, DCERPC_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_WINREG_NOTIFYCHANGEKEYVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_NotifyChangeKeyValue, (ndr_push_flags_fn_t)ndr_push_winreg_NotifyChangeKeyValue);
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, DCERPC_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_WINREG_OPENKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenKey, (ndr_push_flags_fn_t)ndr_push_winreg_OpenKey);
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, DCERPC_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_WINREG_QUERYINFOKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_QueryInfoKey, (ndr_push_flags_fn_t)ndr_push_winreg_QueryInfoKey);
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, DCERPC_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_WINREG_QUERYVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_QueryValue, (ndr_push_flags_fn_t)ndr_push_winreg_QueryValue);
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, DCERPC_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_WINREG_REPLACEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_ReplaceKey, (ndr_push_flags_fn_t)ndr_push_winreg_ReplaceKey);
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, DCERPC_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_WINREG_RESTOREKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_RestoreKey, (ndr_push_flags_fn_t)ndr_push_winreg_RestoreKey);
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, DCERPC_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_WINREG_SAVEKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_SaveKey, (ndr_push_flags_fn_t)ndr_push_winreg_SaveKey);
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, DCERPC_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_WINREG_SETKEYSECURITY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_SetKeySecurity, (ndr_push_flags_fn_t)ndr_push_winreg_SetKeySecurity);
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, DCERPC_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_WINREG_SETVALUE, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_SetValue, (ndr_push_flags_fn_t)ndr_push_winreg_SetValue);
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, DCERPC_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_WINREG_UNLOADKEY, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_UnLoadKey, (ndr_push_flags_fn_t)ndr_push_winreg_UnLoadKey);
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, DCERPC_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_WINREG_INITIATESYSTEMSHUTDOWN, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_InitiateSystemShutdown, (ndr_push_flags_fn_t)ndr_push_winreg_InitiateSystemShutdown);
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, DCERPC_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_WINREG_ABORTSYSTEMSHUTDOWN, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_AbortSystemShutdown, (ndr_push_flags_fn_t)ndr_push_winreg_AbortSystemShutdown);
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, DCERPC_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_WINREG_GETVERSION, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_GetVersion, (ndr_push_flags_fn_t)ndr_push_winreg_GetVersion);
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, DCERPC_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_WINREG_OPENHKCC, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKCC, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKCC);
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, DCERPC_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_WINREG_OPENHKDD, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKDD, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKDD);
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, DCERPC_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_WINREG_QUERYMULTIPLEVALUES, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_QueryMultipleValues, (ndr_push_flags_fn_t)ndr_push_winreg_QueryMultipleValues);
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, DCERPC_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_WINREG_INITIATESYSTEMSHUTDOWNEX, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_InitiateSystemShutdownEx, (ndr_push_flags_fn_t)ndr_push_winreg_InitiateSystemShutdownEx);
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, DCERPC_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_WINREG_SAVEKEYEX, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_SaveKeyEx, (ndr_push_flags_fn_t)ndr_push_winreg_SaveKeyEx);
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, DCERPC_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_WINREG_OPENHKPT, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKPT, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKPT);
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, DCERPC_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_WINREG_OPENHKPN, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_OpenHKPN, (ndr_push_flags_fn_t)ndr_push_winreg_OpenHKPN);
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, DCERPC_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_WINREG_QUERYMULTIPLEVALUES2, &r, (ndr_pull_flags_fn_t)ndr_pull_winreg_QueryMultipleValues2, (ndr_push_flags_fn_t)ndr_push_winreg_QueryMultipleValues2);
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 18d171827e..f3681b4a6b 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, DCERPC_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_WKSSVC_NETWKSTAGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetWkstaGetInfo, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetWkstaGetInfo);
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, DCERPC_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_WKSSVC_NETWKSTASETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetWkstaSetInfo, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetWkstaSetInfo);
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, DCERPC_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_WKSSVC_NETWKSTAENUMUSERS, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetWkstaEnumUsers, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetWkstaEnumUsers);
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, DCERPC_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_WKSSVC_NETRWKSTAUSERGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWKSTAUSERGETINFO, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWKSTAUSERGETINFO);
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, DCERPC_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_WKSSVC_NETRWKSTAUSERSETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWKSTAUSERSETINFO, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWKSTAUSERSETINFO);
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, DCERPC_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_WKSSVC_NETWKSTATRANSPORTENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetWkstaTransportEnum, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetWkstaTransportEnum);
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, DCERPC_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_WKSSVC_NETRWKSTATRANSPORTADD, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWKSTATRANSPORTADD, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWKSTATRANSPORTADD);
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, DCERPC_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_WKSSVC_NETRWKSTATRANSPORTDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWKSTATRANSPORTDEL, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWKSTATRANSPORTDEL);
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, DCERPC_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_WKSSVC_NETRUSEADD, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUSEADD, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUSEADD);
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, DCERPC_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_WKSSVC_NETRUSEGETINFO, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUSEGETINFO, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUSEGETINFO);
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, DCERPC_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_WKSSVC_NETRUSEDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUSEDEL, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUSEDEL);
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, DCERPC_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_WKSSVC_NETRUSEENUM, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUSEENUM, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUSEENUM);
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, DCERPC_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_WKSSVC_NETRMESSAGEBUFFERSEND, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRMESSAGEBUFFERSEND, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRMESSAGEBUFFERSEND);
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, DCERPC_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_WKSSVC_NETRWORKSTATIONSTATISTICSGET, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRWORKSTATIONSTATISTICSGET, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRWORKSTATIONSTATISTICSGET);
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, DCERPC_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_WKSSVC_NETRLOGONDOMAINNAMEADD, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRLOGONDOMAINNAMEADD, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRLOGONDOMAINNAMEADD);
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, DCERPC_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_WKSSVC_NETRLOGONDOMAINNAMEDEL, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRLOGONDOMAINNAMEDEL, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRLOGONDOMAINNAMEDEL);
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, DCERPC_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_WKSSVC_NETRJOINDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRJOINDOMAIN, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRJOINDOMAIN);
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, DCERPC_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_WKSSVC_NETRUNJOINDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRUNJOINDOMAIN, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRUNJOINDOMAIN);
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, DCERPC_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_WKSSVC_NETRRENAMEMACHINEINDOMAIN, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRRENAMEMACHINEINDOMAIN, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRRENAMEMACHINEINDOMAIN);
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, DCERPC_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_WKSSVC_NETRVALIDATENAME, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRVALIDATENAME, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRVALIDATENAME);
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, DCERPC_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_WKSSVC_NETRGETJOININFORMATION, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRGETJOININFORMATION, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRGETJOININFORMATION);
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, DCERPC_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_WKSSVC_NETRGETJOINABLEOUS, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRGETJOINABLEOUS, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRGETJOINABLEOUS);
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, DCERPC_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_WKSSVC_NETRJOINDOMAIN2, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrJoinDomain2, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrJoinDomain2);
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, DCERPC_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_WKSSVC_NETRUNJOINDOMAIN2, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrUnjoinDomain2, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrUnjoinDomain2);
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, DCERPC_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_WKSSVC_NETRRENAMEMACHINEINDOMAIN2, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrRenameMachineInDomain2, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrRenameMachineInDomain2);
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, DCERPC_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_WKSSVC_NETRVALIDATENAME2, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRVALIDATENAME2, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRVALIDATENAME2);
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, DCERPC_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_WKSSVC_NETRGETJOINABLEOUS2, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRGETJOINABLEOUS2, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRGETJOINABLEOUS2);
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, DCERPC_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_WKSSVC_NETRADDALTERNATECOMPUTERNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrAddAlternateComputerName, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrAddAlternateComputerName);
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, DCERPC_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_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_wkssvc_NetrRemoveAlternateComputerName, (ndr_push_flags_fn_t)ndr_push_wkssvc_NetrRemoveAlternateComputerName);
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, DCERPC_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_WKSSVC_NETRSETPRIMARYCOMPUTERNAME, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRSETPRIMARYCOMPUTERNAME, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRSETPRIMARYCOMPUTERNAME);
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, DCERPC_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_WKSSVC_NETRENUMERATECOMPUTERNAMES, &r, (ndr_pull_flags_fn_t)ndr_pull_WKSSVC_NETRENUMERATECOMPUTERNAMES, (ndr_push_flags_fn_t)ndr_push_WKSSVC_NETRENUMERATECOMPUTERNAMES);
if (!NT_STATUS_IS_OK(status)) {
return status;
diff --git a/source3/librpc/gen_ndr/ndr_dfs.c b/source3/librpc/gen_ndr/ndr_dfs.c
index 98489b3310..10678e48a3 100644
--- a/source3/librpc/gen_ndr/ndr_dfs.c
+++ b/source3/librpc/gen_ndr/ndr_dfs.c
@@ -5332,9 +5332,9 @@ const struct ndr_interface_table ndr_table_netdfs = {
.name = "netdfs",
.syntax_id = {
{0x4fc742e0,0x4a10,0x11cf,{0x82,0x73},{0x00,0xaa,0x00,0x4a,0xe6,0x73}},
- DCERPC_NETDFS_VERSION
+ NDR_NETDFS_VERSION
},
- .helpstring = DCERPC_NETDFS_HELPSTRING,
+ .helpstring = NDR_NETDFS_HELPSTRING,
.num_calls = 23,
.calls = netdfs_calls,
.endpoints = &netdfs_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_dfs.h b/source3/librpc/gen_ndr/ndr_dfs.h
index c55b88033c..5c68452b12 100644
--- a/source3/librpc/gen_ndr/ndr_dfs.h
+++ b/source3/librpc/gen_ndr/ndr_dfs.h
@@ -6,59 +6,59 @@
#define _HEADER_NDR_netdfs
#include "librpc/ndr/libndr.h"
-#define DCERPC_NETDFS_UUID "4fc742e0-4a10-11cf-8273-00aa004ae673"
-#define DCERPC_NETDFS_VERSION 3.0
-#define DCERPC_NETDFS_NAME "netdfs"
-#define DCERPC_NETDFS_HELPSTRING "Settings for Microsoft Distributed File System"
+#define NDR_NETDFS_UUID "4fc742e0-4a10-11cf-8273-00aa004ae673"
+#define NDR_NETDFS_VERSION 3.0
+#define NDR_NETDFS_NAME "netdfs"
+#define NDR_NETDFS_HELPSTRING "Settings for Microsoft Distributed File System"
extern const struct ndr_interface_table ndr_table_netdfs;
NTSTATUS dcerpc_server_netdfs_init(void);
-#define DCERPC_DFS_GETMANAGERVERSION (0x00)
+#define NDR_DFS_GETMANAGERVERSION (0x00)
-#define DCERPC_DFS_ADD (0x01)
+#define NDR_DFS_ADD (0x01)
-#define DCERPC_DFS_REMOVE (0x02)
+#define NDR_DFS_REMOVE (0x02)
-#define DCERPC_DFS_SETINFO (0x03)
+#define NDR_DFS_SETINFO (0x03)
-#define DCERPC_DFS_GETINFO (0x04)
+#define NDR_DFS_GETINFO (0x04)
-#define DCERPC_DFS_ENUM (0x05)
+#define NDR_DFS_ENUM (0x05)
-#define DCERPC_DFS_RENAME (0x06)
+#define NDR_DFS_RENAME (0x06)
-#define DCERPC_DFS_MOVE (0x07)
+#define NDR_DFS_MOVE (0x07)
-#define DCERPC_DFS_MANAGERGETCONFIGINFO (0x08)
+#define NDR_DFS_MANAGERGETCONFIGINFO (0x08)
-#define DCERPC_DFS_MANAGERSENDSITEINFO (0x09)
+#define NDR_DFS_MANAGERSENDSITEINFO (0x09)
-#define DCERPC_DFS_ADDFTROOT (0x0a)
+#define NDR_DFS_ADDFTROOT (0x0a)
-#define DCERPC_DFS_REMOVEFTROOT (0x0b)
+#define NDR_DFS_REMOVEFTROOT (0x0b)
-#define DCERPC_DFS_ADDSTDROOT (0x0c)
+#define NDR_DFS_ADDSTDROOT (0x0c)
-#define DCERPC_DFS_REMOVESTDROOT (0x0d)
+#define NDR_DFS_REMOVESTDROOT (0x0d)
-#define DCERPC_DFS_MANAGERINITIALIZE (0x0e)
+#define NDR_DFS_MANAGERINITIALIZE (0x0e)
-#define DCERPC_DFS_ADDSTDROOTFORCED (0x0f)
+#define NDR_DFS_ADDSTDROOTFORCED (0x0f)
-#define DCERPC_DFS_GETDCADDRESS (0x10)
+#define NDR_DFS_GETDCADDRESS (0x10)
-#define DCERPC_DFS_SETDCADDRESS (0x11)
+#define NDR_DFS_SETDCADDRESS (0x11)
-#define DCERPC_DFS_FLUSHFTTABLE (0x12)
+#define NDR_DFS_FLUSHFTTABLE (0x12)
-#define DCERPC_DFS_ADD2 (0x13)
+#define NDR_DFS_ADD2 (0x13)
-#define DCERPC_DFS_REMOVE2 (0x14)
+#define NDR_DFS_REMOVE2 (0x14)
-#define DCERPC_DFS_ENUMEX (0x15)
+#define NDR_DFS_ENUMEX (0x15)
-#define DCERPC_DFS_SETINFO2 (0x16)
+#define NDR_DFS_SETINFO2 (0x16)
-#define DCERPC_NETDFS_CALL_COUNT (23)
+#define NDR_NETDFS_CALL_COUNT (23)
void ndr_print_dfs_ManagerVersion(struct ndr_print *ndr, const char *name, enum dfs_ManagerVersion r);
void ndr_print_dfs_Info0(struct ndr_print *ndr, const char *name, const struct dfs_Info0 *r);
void ndr_print_dfs_Info1(struct ndr_print *ndr, const char *name, const struct dfs_Info1 *r);
diff --git a/source3/librpc/gen_ndr/ndr_echo.c b/source3/librpc/gen_ndr/ndr_echo.c
index 9039b6fd7d..140221c6df 100644
--- a/source3/librpc/gen_ndr/ndr_echo.c
+++ b/source3/librpc/gen_ndr/ndr_echo.c
@@ -1449,9 +1449,9 @@ const struct ndr_interface_table ndr_table_rpcecho = {
.name = "rpcecho",
.syntax_id = {
{0x60a15ec5,0x4de8,0x11d7,{0xa6,0x37},{0x00,0x50,0x56,0xa2,0x01,0x82}},
- DCERPC_RPCECHO_VERSION
+ NDR_RPCECHO_VERSION
},
- .helpstring = DCERPC_RPCECHO_HELPSTRING,
+ .helpstring = NDR_RPCECHO_HELPSTRING,
.num_calls = 10,
.calls = rpcecho_calls,
.endpoints = &rpcecho_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_echo.h b/source3/librpc/gen_ndr/ndr_echo.h
index c05845fda4..44a1bf360f 100644
--- a/source3/librpc/gen_ndr/ndr_echo.h
+++ b/source3/librpc/gen_ndr/ndr_echo.h
@@ -6,33 +6,33 @@
#define _HEADER_NDR_rpcecho
#include "librpc/ndr/libndr.h"
-#define DCERPC_RPCECHO_UUID "60a15ec5-4de8-11d7-a637-005056a20182"
-#define DCERPC_RPCECHO_VERSION 1.0
-#define DCERPC_RPCECHO_NAME "rpcecho"
-#define DCERPC_RPCECHO_HELPSTRING "Simple echo pipe"
+#define NDR_RPCECHO_UUID "60a15ec5-4de8-11d7-a637-005056a20182"
+#define NDR_RPCECHO_VERSION 1.0
+#define NDR_RPCECHO_NAME "rpcecho"
+#define NDR_RPCECHO_HELPSTRING "Simple echo pipe"
extern const struct ndr_interface_table ndr_table_rpcecho;
NTSTATUS dcerpc_server_rpcecho_init(void);
-#define DCERPC_ECHO_ADDONE (0x00)
+#define NDR_ECHO_ADDONE (0x00)
-#define DCERPC_ECHO_ECHODATA (0x01)
+#define NDR_ECHO_ECHODATA (0x01)
-#define DCERPC_ECHO_SINKDATA (0x02)
+#define NDR_ECHO_SINKDATA (0x02)
-#define DCERPC_ECHO_SOURCEDATA (0x03)
+#define NDR_ECHO_SOURCEDATA (0x03)
-#define DCERPC_ECHO_TESTCALL (0x04)
+#define NDR_ECHO_TESTCALL (0x04)
-#define DCERPC_ECHO_TESTCALL2 (0x05)
+#define NDR_ECHO_TESTCALL2 (0x05)
-#define DCERPC_ECHO_TESTSLEEP (0x06)
+#define NDR_ECHO_TESTSLEEP (0x06)
-#define DCERPC_ECHO_TESTENUM (0x07)
+#define NDR_ECHO_TESTENUM (0x07)
-#define DCERPC_ECHO_TESTSURROUNDING (0x08)
+#define NDR_ECHO_TESTSURROUNDING (0x08)
-#define DCERPC_ECHO_TESTDOUBLEPOINTER (0x09)
+#define NDR_ECHO_TESTDOUBLEPOINTER (0x09)
-#define DCERPC_RPCECHO_CALL_COUNT (10)
+#define NDR_RPCECHO_CALL_COUNT (10)
void ndr_print_echo_info1(struct ndr_print *ndr, const char *name, const struct echo_info1 *r);
void ndr_print_echo_info2(struct ndr_print *ndr, const char *name, const struct echo_info2 *r);
void ndr_print_echo_info3(struct ndr_print *ndr, const char *name, const struct echo_info3 *r);
diff --git a/source3/librpc/gen_ndr/ndr_epmapper.c b/source3/librpc/gen_ndr/ndr_epmapper.c
index be8b75955f..f33d1828cf 100644
--- a/source3/librpc/gen_ndr/ndr_epmapper.c
+++ b/source3/librpc/gen_ndr/ndr_epmapper.c
@@ -2675,9 +2675,9 @@ const struct ndr_interface_table ndr_table_epmapper = {
.name = "epmapper",
.syntax_id = {
{0xe1af8308,0x5d1f,0x11c9,{0x91,0xa4},{0x08,0x00,0x2b,0x14,0xa0,0xfa}},
- DCERPC_EPMAPPER_VERSION
+ NDR_EPMAPPER_VERSION
},
- .helpstring = DCERPC_EPMAPPER_HELPSTRING,
+ .helpstring = NDR_EPMAPPER_HELPSTRING,
.num_calls = 8,
.calls = epmapper_calls,
.endpoints = &epmapper_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_epmapper.h b/source3/librpc/gen_ndr/ndr_epmapper.h
index 3c85e0f993..9707f52ae2 100644
--- a/source3/librpc/gen_ndr/ndr_epmapper.h
+++ b/source3/librpc/gen_ndr/ndr_epmapper.h
@@ -6,29 +6,29 @@
#define _HEADER_NDR_epmapper
#include "librpc/ndr/libndr.h"
-#define DCERPC_EPMAPPER_UUID "e1af8308-5d1f-11c9-91a4-08002b14a0fa"
-#define DCERPC_EPMAPPER_VERSION 3.0
-#define DCERPC_EPMAPPER_NAME "epmapper"
-#define DCERPC_EPMAPPER_HELPSTRING "EndPoint Mapper"
+#define NDR_EPMAPPER_UUID "e1af8308-5d1f-11c9-91a4-08002b14a0fa"
+#define NDR_EPMAPPER_VERSION 3.0
+#define NDR_EPMAPPER_NAME "epmapper"
+#define NDR_EPMAPPER_HELPSTRING "EndPoint Mapper"
extern const struct ndr_interface_table ndr_table_epmapper;
NTSTATUS dcerpc_server_epmapper_init(void);
-#define DCERPC_EPM_INSERT (0x00)
+#define NDR_EPM_INSERT (0x00)
-#define DCERPC_EPM_DELETE (0x01)
+#define NDR_EPM_DELETE (0x01)
-#define DCERPC_EPM_LOOKUP (0x02)
+#define NDR_EPM_LOOKUP (0x02)
-#define DCERPC_EPM_MAP (0x03)
+#define NDR_EPM_MAP (0x03)
-#define DCERPC_EPM_LOOKUPHANDLEFREE (0x04)
+#define NDR_EPM_LOOKUPHANDLEFREE (0x04)
-#define DCERPC_EPM_INQOBJECT (0x05)
+#define NDR_EPM_INQOBJECT (0x05)
-#define DCERPC_EPM_MGMTDELETE (0x06)
+#define NDR_EPM_MGMTDELETE (0x06)
-#define DCERPC_EPM_MAPAUTH (0x07)
+#define NDR_EPM_MAPAUTH (0x07)
-#define DCERPC_EPMAPPER_CALL_COUNT (8)
+#define NDR_EPMAPPER_CALL_COUNT (8)
void ndr_print_epm_protocol(struct ndr_print *ndr, const char *name, enum epm_protocol r);
void ndr_print_epm_rhs_dnet_nsp(struct ndr_print *ndr, const char *name, const struct epm_rhs_dnet_nsp *r);
void ndr_print_epm_rhs_osi_tp4(struct ndr_print *ndr, const char *name, const struct epm_rhs_osi_tp4 *r);
diff --git a/source3/librpc/gen_ndr/ndr_eventlog.c b/source3/librpc/gen_ndr/ndr_eventlog.c
index 0f46e936c1..303648a229 100644
--- a/source3/librpc/gen_ndr/ndr_eventlog.c
+++ b/source3/librpc/gen_ndr/ndr_eventlog.c
@@ -1633,9 +1633,9 @@ const struct ndr_interface_table ndr_table_eventlog = {
.name = "eventlog",
.syntax_id = {
{0x82273fdc,0xe32a,0x18c3,{0x3f,0x78},{0x82,0x79,0x29,0xdc,0x23,0xea}},
- DCERPC_EVENTLOG_VERSION
+ NDR_EVENTLOG_VERSION
},
- .helpstring = DCERPC_EVENTLOG_HELPSTRING,
+ .helpstring = NDR_EVENTLOG_HELPSTRING,
.num_calls = 24,
.calls = eventlog_calls,
.endpoints = &eventlog_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_eventlog.h b/source3/librpc/gen_ndr/ndr_eventlog.h
index cdebc98ff8..3933082a2f 100644
--- a/source3/librpc/gen_ndr/ndr_eventlog.h
+++ b/source3/librpc/gen_ndr/ndr_eventlog.h
@@ -6,61 +6,61 @@
#define _HEADER_NDR_eventlog
#include "librpc/ndr/libndr.h"
-#define DCERPC_EVENTLOG_UUID "82273fdc-e32a-18c3-3f78-827929dc23ea"
-#define DCERPC_EVENTLOG_VERSION 0.0
-#define DCERPC_EVENTLOG_NAME "eventlog"
-#define DCERPC_EVENTLOG_HELPSTRING "Event Logger"
+#define NDR_EVENTLOG_UUID "82273fdc-e32a-18c3-3f78-827929dc23ea"
+#define NDR_EVENTLOG_VERSION 0.0
+#define NDR_EVENTLOG_NAME "eventlog"
+#define NDR_EVENTLOG_HELPSTRING "Event Logger"
extern const struct ndr_interface_table ndr_table_eventlog;
NTSTATUS dcerpc_server_eventlog_init(void);
-#define DCERPC_EVENTLOG_CLEAREVENTLOGW (0x00)
+#define NDR_EVENTLOG_CLEAREVENTLOGW (0x00)
-#define DCERPC_EVENTLOG_BACKUPEVENTLOGW (0x01)
+#define NDR_EVENTLOG_BACKUPEVENTLOGW (0x01)
-#define DCERPC_EVENTLOG_CLOSEEVENTLOG (0x02)
+#define NDR_EVENTLOG_CLOSEEVENTLOG (0x02)
-#define DCERPC_EVENTLOG_DEREGISTEREVENTSOURCE (0x03)
+#define NDR_EVENTLOG_DEREGISTEREVENTSOURCE (0x03)
-#define DCERPC_EVENTLOG_GETNUMRECORDS (0x04)
+#define NDR_EVENTLOG_GETNUMRECORDS (0x04)
-#define DCERPC_EVENTLOG_GETOLDESTRECORD (0x05)
+#define NDR_EVENTLOG_GETOLDESTRECORD (0x05)
-#define DCERPC_EVENTLOG_CHANGENOTIFY (0x06)
+#define NDR_EVENTLOG_CHANGENOTIFY (0x06)
-#define DCERPC_EVENTLOG_OPENEVENTLOGW (0x07)
+#define NDR_EVENTLOG_OPENEVENTLOGW (0x07)
-#define DCERPC_EVENTLOG_REGISTEREVENTSOURCEW (0x08)
+#define NDR_EVENTLOG_REGISTEREVENTSOURCEW (0x08)
-#define DCERPC_EVENTLOG_OPENBACKUPEVENTLOGW (0x09)
+#define NDR_EVENTLOG_OPENBACKUPEVENTLOGW (0x09)
-#define DCERPC_EVENTLOG_READEVENTLOGW (0x0a)
+#define NDR_EVENTLOG_READEVENTLOGW (0x0a)
-#define DCERPC_EVENTLOG_REPORTEVENTW (0x0b)
+#define NDR_EVENTLOG_REPORTEVENTW (0x0b)
-#define DCERPC_EVENTLOG_CLEAREVENTLOGA (0x0c)
+#define NDR_EVENTLOG_CLEAREVENTLOGA (0x0c)
-#define DCERPC_EVENTLOG_BACKUPEVENTLOGA (0x0d)
+#define NDR_EVENTLOG_BACKUPEVENTLOGA (0x0d)
-#define DCERPC_EVENTLOG_OPENEVENTLOGA (0x0e)
+#define NDR_EVENTLOG_OPENEVENTLOGA (0x0e)
-#define DCERPC_EVENTLOG_REGISTEREVENTSOURCEA (0x0f)
+#define NDR_EVENTLOG_REGISTEREVENTSOURCEA (0x0f)
-#define DCERPC_EVENTLOG_OPENBACKUPEVENTLOGA (0x10)
+#define NDR_EVENTLOG_OPENBACKUPEVENTLOGA (0x10)
-#define DCERPC_EVENTLOG_READEVENTLOGA (0x11)
+#define NDR_EVENTLOG_READEVENTLOGA (0x11)
-#define DCERPC_EVENTLOG_REPORTEVENTA (0x12)
+#define NDR_EVENTLOG_REPORTEVENTA (0x12)
-#define DCERPC_EVENTLOG_REGISTERCLUSTERSVC (0x13)
+#define NDR_EVENTLOG_REGISTERCLUSTERSVC (0x13)
-#define DCERPC_EVENTLOG_DEREGISTERCLUSTERSVC (0x14)
+#define NDR_EVENTLOG_DEREGISTERCLUSTERSVC (0x14)
-#define DCERPC_EVENTLOG_WRITECLUSTEREVENTS (0x15)
+#define NDR_EVENTLOG_WRITECLUSTEREVENTS (0x15)
-#define DCERPC_EVENTLOG_GETLOGINTORMATION (0x16)
+#define NDR_EVENTLOG_GETLOGINTORMATION (0x16)
-#define DCERPC_EVENTLOG_FLUSHEVENTLOG (0x17)
+#define NDR_EVENTLOG_FLUSHEVENTLOG (0x17)
-#define DCERPC_EVENTLOG_CALL_COUNT (24)
+#define NDR_EVENTLOG_CALL_COUNT (24)
void ndr_print_eventlog_OpenUnknown0(struct ndr_print *ndr, const char *name, const struct eventlog_OpenUnknown0 *r);
NTSTATUS ndr_push_eventlog_Record(struct ndr_push *ndr, int ndr_flags, const struct eventlog_Record *r);
NTSTATUS ndr_pull_eventlog_Record(struct ndr_pull *ndr, int ndr_flags, struct eventlog_Record *r);
diff --git a/source3/librpc/gen_ndr/ndr_initshutdown.c b/source3/librpc/gen_ndr/ndr_initshutdown.c
index 8c9f137497..192d4bcf3f 100644
--- a/source3/librpc/gen_ndr/ndr_initshutdown.c
+++ b/source3/librpc/gen_ndr/ndr_initshutdown.c
@@ -418,9 +418,9 @@ const struct ndr_interface_table ndr_table_initshutdown = {
.name = "initshutdown",
.syntax_id = {
{0x894de0c0,0x0d55,0x11d3,{0xa3,0x22},{0x00,0xc0,0x4f,0xa3,0x21,0xa1}},
- DCERPC_INITSHUTDOWN_VERSION
+ NDR_INITSHUTDOWN_VERSION
},
- .helpstring = DCERPC_INITSHUTDOWN_HELPSTRING,
+ .helpstring = NDR_INITSHUTDOWN_HELPSTRING,
.num_calls = 3,
.calls = initshutdown_calls,
.endpoints = &initshutdown_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_initshutdown.h b/source3/librpc/gen_ndr/ndr_initshutdown.h
index 93800bf9f0..916c42a2dc 100644
--- a/source3/librpc/gen_ndr/ndr_initshutdown.h
+++ b/source3/librpc/gen_ndr/ndr_initshutdown.h
@@ -6,19 +6,19 @@
#define _HEADER_NDR_initshutdown
#include "librpc/ndr/libndr.h"
-#define DCERPC_INITSHUTDOWN_UUID "894de0c0-0d55-11d3-a322-00c04fa321a1"
-#define DCERPC_INITSHUTDOWN_VERSION 1.0
-#define DCERPC_INITSHUTDOWN_NAME "initshutdown"
-#define DCERPC_INITSHUTDOWN_HELPSTRING "Init shutdown service"
+#define NDR_INITSHUTDOWN_UUID "894de0c0-0d55-11d3-a322-00c04fa321a1"
+#define NDR_INITSHUTDOWN_VERSION 1.0
+#define NDR_INITSHUTDOWN_NAME "initshutdown"
+#define NDR_INITSHUTDOWN_HELPSTRING "Init shutdown service"
extern const struct ndr_interface_table ndr_table_initshutdown;
NTSTATUS dcerpc_server_initshutdown_init(void);
-#define DCERPC_INITSHUTDOWN_INIT (0x00)
+#define NDR_INITSHUTDOWN_INIT (0x00)
-#define DCERPC_INITSHUTDOWN_ABORT (0x01)
+#define NDR_INITSHUTDOWN_ABORT (0x01)
-#define DCERPC_INITSHUTDOWN_INITEX (0x02)
+#define NDR_INITSHUTDOWN_INITEX (0x02)
-#define DCERPC_INITSHUTDOWN_CALL_COUNT (3)
+#define NDR_INITSHUTDOWN_CALL_COUNT (3)
void ndr_print_initshutdown_String_sub(struct ndr_print *ndr, const char *name, const struct initshutdown_String_sub *r);
NTSTATUS ndr_push_initshutdown_String(struct ndr_push *ndr, int ndr_flags, const struct initshutdown_String *r);
NTSTATUS ndr_pull_initshutdown_String(struct ndr_pull *ndr, int ndr_flags, struct initshutdown_String *r);
diff --git a/source3/librpc/gen_ndr/ndr_lsa.c b/source3/librpc/gen_ndr/ndr_lsa.c
index bfa125cc1e..69459029af 100644
--- a/source3/librpc/gen_ndr/ndr_lsa.c
+++ b/source3/librpc/gen_ndr/ndr_lsa.c
@@ -11063,9 +11063,9 @@ const struct ndr_interface_table ndr_table_lsarpc = {
.name = "lsarpc",
.syntax_id = {
{0x12345778,0x1234,0xabcd,{0xef,0x00},{0x01,0x23,0x45,0x67,0x89,0xab}},
- DCERPC_LSARPC_VERSION
+ NDR_LSARPC_VERSION
},
- .helpstring = DCERPC_LSARPC_HELPSTRING,
+ .helpstring = NDR_LSARPC_HELPSTRING,
.num_calls = 82,
.calls = lsarpc_calls,
.endpoints = &lsarpc_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_lsa.h b/source3/librpc/gen_ndr/ndr_lsa.h
index 2a4d546c2f..ebbb3bc215 100644
--- a/source3/librpc/gen_ndr/ndr_lsa.h
+++ b/source3/librpc/gen_ndr/ndr_lsa.h
@@ -6,177 +6,177 @@
#define _HEADER_NDR_lsarpc
#include "librpc/ndr/libndr.h"
-#define DCERPC_LSARPC_UUID "12345778-1234-abcd-ef00-0123456789ab"
-#define DCERPC_LSARPC_VERSION 0.0
-#define DCERPC_LSARPC_NAME "lsarpc"
-#define DCERPC_LSARPC_HELPSTRING "Local Security Authority"
+#define NDR_LSARPC_UUID "12345778-1234-abcd-ef00-0123456789ab"
+#define NDR_LSARPC_VERSION 0.0
+#define NDR_LSARPC_NAME "lsarpc"
+#define NDR_LSARPC_HELPSTRING "Local Security Authority"
extern const struct ndr_interface_table ndr_table_lsarpc;
NTSTATUS dcerpc_server_lsarpc_init(void);
-#define DCERPC_LSA_CLOSE (0x00)
+#define NDR_LSA_CLOSE (0x00)
-#define DCERPC_LSA_DELETE (0x01)
+#define NDR_LSA_DELETE (0x01)
-#define DCERPC_LSA_ENUMPRIVS (0x02)
+#define NDR_LSA_ENUMPRIVS (0x02)
-#define DCERPC_LSA_QUERYSECURITY (0x03)
+#define NDR_LSA_QUERYSECURITY (0x03)
-#define DCERPC_LSA_SETSECOBJ (0x04)
+#define NDR_LSA_SETSECOBJ (0x04)
-#define DCERPC_LSA_CHANGEPASSWORD (0x05)
+#define NDR_LSA_CHANGEPASSWORD (0x05)
-#define DCERPC_LSA_OPENPOLICY (0x06)
+#define NDR_LSA_OPENPOLICY (0x06)
-#define DCERPC_LSA_QUERYINFOPOLICY (0x07)
+#define NDR_LSA_QUERYINFOPOLICY (0x07)
-#define DCERPC_LSA_SETINFOPOLICY (0x08)
+#define NDR_LSA_SETINFOPOLICY (0x08)
-#define DCERPC_LSA_CLEARAUDITLOG (0x09)
+#define NDR_LSA_CLEARAUDITLOG (0x09)
-#define DCERPC_LSA_CREATEACCOUNT (0x0a)
+#define NDR_LSA_CREATEACCOUNT (0x0a)
-#define DCERPC_LSA_ENUMACCOUNTS (0x0b)
+#define NDR_LSA_ENUMACCOUNTS (0x0b)
-#define DCERPC_LSA_CREATETRUSTEDDOMAIN (0x0c)
+#define NDR_LSA_CREATETRUSTEDDOMAIN (0x0c)
-#define DCERPC_LSA_ENUMTRUSTDOM (0x0d)
+#define NDR_LSA_ENUMTRUSTDOM (0x0d)
-#define DCERPC_LSA_LOOKUPNAMES (0x0e)
+#define NDR_LSA_LOOKUPNAMES (0x0e)
-#define DCERPC_LSA_LOOKUPSIDS (0x0f)
+#define NDR_LSA_LOOKUPSIDS (0x0f)
-#define DCERPC_LSA_CREATESECRET (0x10)
+#define NDR_LSA_CREATESECRET (0x10)
-#define DCERPC_LSA_OPENACCOUNT (0x11)
+#define NDR_LSA_OPENACCOUNT (0x11)
-#define DCERPC_LSA_ENUMPRIVSACCOUNT (0x12)
+#define NDR_LSA_ENUMPRIVSACCOUNT (0x12)
-#define DCERPC_LSA_ADDPRIVILEGESTOACCOUNT (0x13)
+#define NDR_LSA_ADDPRIVILEGESTOACCOUNT (0x13)
-#define DCERPC_LSA_REMOVEPRIVILEGESFROMACCOUNT (0x14)
+#define NDR_LSA_REMOVEPRIVILEGESFROMACCOUNT (0x14)
-#define DCERPC_LSA_GETQUOTASFORACCOUNT (0x15)
+#define NDR_LSA_GETQUOTASFORACCOUNT (0x15)
-#define DCERPC_LSA_SETQUOTASFORACCOUNT (0x16)
+#define NDR_LSA_SETQUOTASFORACCOUNT (0x16)
-#define DCERPC_LSA_GETSYSTEMACCESSACCOUNT (0x17)
+#define NDR_LSA_GETSYSTEMACCESSACCOUNT (0x17)
-#define DCERPC_LSA_SETSYSTEMACCESSACCOUNT (0x18)
+#define NDR_LSA_SETSYSTEMACCESSACCOUNT (0x18)
-#define DCERPC_LSA_OPENTRUSTEDDOMAIN (0x19)
+#define NDR_LSA_OPENTRUSTEDDOMAIN (0x19)
-#define DCERPC_LSA_QUERYTRUSTEDDOMAININFO (0x1a)
+#define NDR_LSA_QUERYTRUSTEDDOMAININFO (0x1a)
-#define DCERPC_LSA_SETINFORMATIONTRUSTEDDOMAIN (0x1b)
+#define NDR_LSA_SETINFORMATIONTRUSTEDDOMAIN (0x1b)
-#define DCERPC_LSA_OPENSECRET (0x1c)
+#define NDR_LSA_OPENSECRET (0x1c)
-#define DCERPC_LSA_SETSECRET (0x1d)
+#define NDR_LSA_SETSECRET (0x1d)
-#define DCERPC_LSA_QUERYSECRET (0x1e)
+#define NDR_LSA_QUERYSECRET (0x1e)
-#define DCERPC_LSA_LOOKUPPRIVVALUE (0x1f)
+#define NDR_LSA_LOOKUPPRIVVALUE (0x1f)
-#define DCERPC_LSA_LOOKUPPRIVNAME (0x20)
+#define NDR_LSA_LOOKUPPRIVNAME (0x20)
-#define DCERPC_LSA_LOOKUPPRIVDISPLAYNAME (0x21)
+#define NDR_LSA_LOOKUPPRIVDISPLAYNAME (0x21)
-#define DCERPC_LSA_DELETEOBJECT (0x22)
+#define NDR_LSA_DELETEOBJECT (0x22)
-#define DCERPC_LSA_ENUMACCOUNTSWITHUSERRIGHT (0x23)
+#define NDR_LSA_ENUMACCOUNTSWITHUSERRIGHT (0x23)
-#define DCERPC_LSA_ENUMACCOUNTRIGHTS (0x24)
+#define NDR_LSA_ENUMACCOUNTRIGHTS (0x24)
-#define DCERPC_LSA_ADDACCOUNTRIGHTS (0x25)
+#define NDR_LSA_ADDACCOUNTRIGHTS (0x25)
-#define DCERPC_LSA_REMOVEACCOUNTRIGHTS (0x26)
+#define NDR_LSA_REMOVEACCOUNTRIGHTS (0x26)
-#define DCERPC_LSA_QUERYTRUSTEDDOMAININFOBYSID (0x27)
+#define NDR_LSA_QUERYTRUSTEDDOMAININFOBYSID (0x27)
-#define DCERPC_LSA_SETTRUSTEDDOMAININFO (0x28)
+#define NDR_LSA_SETTRUSTEDDOMAININFO (0x28)
-#define DCERPC_LSA_DELETETRUSTEDDOMAIN (0x29)
+#define NDR_LSA_DELETETRUSTEDDOMAIN (0x29)
-#define DCERPC_LSA_STOREPRIVATEDATA (0x2a)
+#define NDR_LSA_STOREPRIVATEDATA (0x2a)
-#define DCERPC_LSA_RETRIEVEPRIVATEDATA (0x2b)
+#define NDR_LSA_RETRIEVEPRIVATEDATA (0x2b)
-#define DCERPC_LSA_OPENPOLICY2 (0x2c)
+#define NDR_LSA_OPENPOLICY2 (0x2c)
-#define DCERPC_LSA_GETUSERNAME (0x2d)
+#define NDR_LSA_GETUSERNAME (0x2d)
-#define DCERPC_LSA_QUERYINFOPOLICY2 (0x2e)
+#define NDR_LSA_QUERYINFOPOLICY2 (0x2e)
-#define DCERPC_LSA_SETINFOPOLICY2 (0x2f)
+#define NDR_LSA_SETINFOPOLICY2 (0x2f)
-#define DCERPC_LSA_QUERYTRUSTEDDOMAININFOBYNAME (0x30)
+#define NDR_LSA_QUERYTRUSTEDDOMAININFOBYNAME (0x30)
-#define DCERPC_LSA_SETTRUSTEDDOMAININFOBYNAME (0x31)
+#define NDR_LSA_SETTRUSTEDDOMAININFOBYNAME (0x31)
-#define DCERPC_LSA_ENUMTRUSTEDDOMAINSEX (0x32)
+#define NDR_LSA_ENUMTRUSTEDDOMAINSEX (0x32)
-#define DCERPC_LSA_CREATETRUSTEDDOMAINEX (0x33)
+#define NDR_LSA_CREATETRUSTEDDOMAINEX (0x33)
-#define DCERPC_LSA_CLOSETRUSTEDDOMAINEX (0x34)
+#define NDR_LSA_CLOSETRUSTEDDOMAINEX (0x34)
-#define DCERPC_LSA_QUERYDOMAININFORMATIONPOLICY (0x35)
+#define NDR_LSA_QUERYDOMAININFORMATIONPOLICY (0x35)
-#define DCERPC_LSA_SETDOMAININFORMATIONPOLICY (0x36)
+#define NDR_LSA_SETDOMAININFORMATIONPOLICY (0x36)
-#define DCERPC_LSA_OPENTRUSTEDDOMAINBYNAME (0x37)
+#define NDR_LSA_OPENTRUSTEDDOMAINBYNAME (0x37)
-#define DCERPC_LSA_TESTCALL (0x38)
+#define NDR_LSA_TESTCALL (0x38)
-#define DCERPC_LSA_LOOKUPSIDS2 (0x39)
+#define NDR_LSA_LOOKUPSIDS2 (0x39)
-#define DCERPC_LSA_LOOKUPNAMES2 (0x3a)
+#define NDR_LSA_LOOKUPNAMES2 (0x3a)
-#define DCERPC_LSA_CREATETRUSTEDDOMAINEX2 (0x3b)
+#define NDR_LSA_CREATETRUSTEDDOMAINEX2 (0x3b)
-#define DCERPC_LSA_CREDRWRITE (0x3c)
+#define NDR_LSA_CREDRWRITE (0x3c)
-#define DCERPC_LSA_CREDRREAD (0x3d)
+#define NDR_LSA_CREDRREAD (0x3d)
-#define DCERPC_LSA_CREDRENUMERATE (0x3e)
+#define NDR_LSA_CREDRENUMERATE (0x3e)
-#define DCERPC_LSA_CREDRWRITEDOMAINCREDENTIALS (0x3f)
+#define NDR_LSA_CREDRWRITEDOMAINCREDENTIALS (0x3f)
-#define DCERPC_LSA_CREDRREADDOMAINCREDENTIALS (0x40)
+#define NDR_LSA_CREDRREADDOMAINCREDENTIALS (0x40)
-#define DCERPC_LSA_CREDRDELETE (0x41)
+#define NDR_LSA_CREDRDELETE (0x41)
-#define DCERPC_LSA_CREDRGETTARGETINFO (0x42)
+#define NDR_LSA_CREDRGETTARGETINFO (0x42)
-#define DCERPC_LSA_CREDRPROFILELOADED (0x43)
+#define NDR_LSA_CREDRPROFILELOADED (0x43)
-#define DCERPC_LSA_LOOKUPNAMES3 (0x44)
+#define NDR_LSA_LOOKUPNAMES3 (0x44)
-#define DCERPC_LSA_CREDRGETSESSIONTYPES (0x45)
+#define NDR_LSA_CREDRGETSESSIONTYPES (0x45)
-#define DCERPC_LSA_LSARREGISTERAUDITEVENT (0x46)
+#define NDR_LSA_LSARREGISTERAUDITEVENT (0x46)
-#define DCERPC_LSA_LSARGENAUDITEVENT (0x47)
+#define NDR_LSA_LSARGENAUDITEVENT (0x47)
-#define DCERPC_LSA_LSARUNREGISTERAUDITEVENT (0x48)
+#define NDR_LSA_LSARUNREGISTERAUDITEVENT (0x48)
-#define DCERPC_LSA_LSARQUERYFORESTTRUSTINFORMATION (0x49)
+#define NDR_LSA_LSARQUERYFORESTTRUSTINFORMATION (0x49)
-#define DCERPC_LSA_LSARSETFORESTTRUSTINFORMATION (0x4a)
+#define NDR_LSA_LSARSETFORESTTRUSTINFORMATION (0x4a)
-#define DCERPC_LSA_CREDRRENAME (0x4b)
+#define NDR_LSA_CREDRRENAME (0x4b)
-#define DCERPC_LSA_LOOKUPSIDS3 (0x4c)
+#define NDR_LSA_LOOKUPSIDS3 (0x4c)
-#define DCERPC_LSA_LOOKUPNAMES4 (0x4d)
+#define NDR_LSA_LOOKUPNAMES4 (0x4d)
-#define DCERPC_LSA_LSAROPENPOLICYSCE (0x4e)
+#define NDR_LSA_LSAROPENPOLICYSCE (0x4e)
-#define DCERPC_LSA_LSARADTREGISTERSECURITYEVENTSOURCE (0x4f)
+#define NDR_LSA_LSARADTREGISTERSECURITYEVENTSOURCE (0x4f)
-#define DCERPC_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE (0x50)
+#define NDR_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE (0x50)
-#define DCERPC_LSA_LSARADTREPORTSECURITYEVENT (0x51)
+#define NDR_LSA_LSARADTREPORTSECURITYEVENT (0x51)
-#define DCERPC_LSARPC_CALL_COUNT (82)
+#define NDR_LSARPC_CALL_COUNT (82)
NTSTATUS ndr_push_lsa_String(struct ndr_push *ndr, int ndr_flags, const struct lsa_String *r);
NTSTATUS ndr_pull_lsa_String(struct ndr_pull *ndr, int ndr_flags, struct lsa_String *r);
void ndr_print_lsa_String(struct ndr_print *ndr, const char *name, const struct lsa_String *r);
diff --git a/source3/librpc/gen_ndr/ndr_messaging.h b/source3/librpc/gen_ndr/ndr_messaging.h
index c1093c76fe..4c1814f552 100644
--- a/source3/librpc/gen_ndr/ndr_messaging.h
+++ b/source3/librpc/gen_ndr/ndr_messaging.h
@@ -6,7 +6,7 @@
#define _HEADER_NDR_messaging
#include "librpc/ndr/libndr.h"
-#define DCERPC_MESSAGING_CALL_COUNT (0)
+#define NDR_MESSAGING_CALL_COUNT (0)
NTSTATUS ndr_push_messaging_rec(struct ndr_push *ndr, int ndr_flags, const struct messaging_rec *r);
NTSTATUS ndr_pull_messaging_rec(struct ndr_pull *ndr, int ndr_flags, struct messaging_rec *r);
void ndr_print_messaging_rec(struct ndr_print *ndr, const char *name, const struct messaging_rec *r);
diff --git a/source3/librpc/gen_ndr/ndr_netlogon.c b/source3/librpc/gen_ndr/ndr_netlogon.c
index 430ed3820b..06e202714a 100644
--- a/source3/librpc/gen_ndr/ndr_netlogon.c
+++ b/source3/librpc/gen_ndr/ndr_netlogon.c
@@ -13118,9 +13118,9 @@ const struct ndr_interface_table ndr_table_netlogon = {
.name = "netlogon",
.syntax_id = {
{0x12345678,0x1234,0xabcd,{0xef,0x00},{0x01,0x23,0x45,0x67,0xcf,0xfb}},
- DCERPC_NETLOGON_VERSION
+ NDR_NETLOGON_VERSION
},
- .helpstring = DCERPC_NETLOGON_HELPSTRING,
+ .helpstring = NDR_NETLOGON_HELPSTRING,
.num_calls = 47,
.calls = netlogon_calls,
.endpoints = &netlogon_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_netlogon.h b/source3/librpc/gen_ndr/ndr_netlogon.h
index f3c9d16d95..e91e961b03 100644
--- a/source3/librpc/gen_ndr/ndr_netlogon.h
+++ b/source3/librpc/gen_ndr/ndr_netlogon.h
@@ -6,107 +6,107 @@
#define _HEADER_NDR_netlogon
#include "librpc/ndr/libndr.h"
-#define DCERPC_NETLOGON_UUID "12345678-1234-abcd-ef00-01234567cffb"
-#define DCERPC_NETLOGON_VERSION 1.0
-#define DCERPC_NETLOGON_NAME "netlogon"
-#define DCERPC_NETLOGON_HELPSTRING NULL
+#define NDR_NETLOGON_UUID "12345678-1234-abcd-ef00-01234567cffb"
+#define NDR_NETLOGON_VERSION 1.0
+#define NDR_NETLOGON_NAME "netlogon"
+#define NDR_NETLOGON_HELPSTRING NULL
extern const struct ndr_interface_table ndr_table_netlogon;
NTSTATUS dcerpc_server_netlogon_init(void);
-#define DCERPC_NETR_LOGONUASLOGON (0x00)
+#define NDR_NETR_LOGONUASLOGON (0x00)
-#define DCERPC_NETR_LOGONUASLOGOFF (0x01)
+#define NDR_NETR_LOGONUASLOGOFF (0x01)
-#define DCERPC_NETR_LOGONSAMLOGON (0x02)
+#define NDR_NETR_LOGONSAMLOGON (0x02)
-#define DCERPC_NETR_LOGONSAMLOGOFF (0x03)
+#define NDR_NETR_LOGONSAMLOGOFF (0x03)
-#define DCERPC_NETR_SERVERREQCHALLENGE (0x04)
+#define NDR_NETR_SERVERREQCHALLENGE (0x04)
-#define DCERPC_NETR_SERVERAUTHENTICATE (0x05)
+#define NDR_NETR_SERVERAUTHENTICATE (0x05)
-#define DCERPC_NETR_SERVERPASSWORDSET (0x06)
+#define NDR_NETR_SERVERPASSWORDSET (0x06)
-#define DCERPC_NETR_DATABASEDELTAS (0x07)
+#define NDR_NETR_DATABASEDELTAS (0x07)
-#define DCERPC_NETR_DATABASESYNC (0x08)
+#define NDR_NETR_DATABASESYNC (0x08)
-#define DCERPC_NETR_ACCOUNTDELTAS (0x09)
+#define NDR_NETR_ACCOUNTDELTAS (0x09)
-#define DCERPC_NETR_ACCOUNTSYNC (0x0a)
+#define NDR_NETR_ACCOUNTSYNC (0x0a)
-#define DCERPC_NETR_GETDCNAME (0x0b)
+#define NDR_NETR_GETDCNAME (0x0b)
-#define DCERPC_NETR_LOGONCONTROL (0x0c)
+#define NDR_NETR_LOGONCONTROL (0x0c)
-#define DCERPC_NETR_GETANYDCNAME (0x0d)
+#define NDR_NETR_GETANYDCNAME (0x0d)
-#define DCERPC_NETR_LOGONCONTROL2 (0x0e)
+#define NDR_NETR_LOGONCONTROL2 (0x0e)
-#define DCERPC_NETR_SERVERAUTHENTICATE2 (0x0f)
+#define NDR_NETR_SERVERAUTHENTICATE2 (0x0f)
-#define DCERPC_NETR_DATABASESYNC2 (0x10)
+#define NDR_NETR_DATABASESYNC2 (0x10)
-#define DCERPC_NETR_DATABASEREDO (0x11)
+#define NDR_NETR_DATABASEREDO (0x11)
-#define DCERPC_NETR_LOGONCONTROL2EX (0x12)
+#define NDR_NETR_LOGONCONTROL2EX (0x12)
-#define DCERPC_NETR_NETRENUMERATETRUSTEDDOMAINS (0x13)
+#define NDR_NETR_NETRENUMERATETRUSTEDDOMAINS (0x13)
-#define DCERPC_NETR_DSRGETDCNAME (0x14)
+#define NDR_NETR_DSRGETDCNAME (0x14)
-#define DCERPC_NETR_NETRLOGONDUMMYROUTINE1 (0x15)
+#define NDR_NETR_NETRLOGONDUMMYROUTINE1 (0x15)
-#define DCERPC_NETR_NETRLOGONSETSERVICEBITS (0x16)
+#define NDR_NETR_NETRLOGONSETSERVICEBITS (0x16)
-#define DCERPC_NETR_NETRLOGONGETTRUSTRID (0x17)
+#define NDR_NETR_NETRLOGONGETTRUSTRID (0x17)
-#define DCERPC_NETR_NETRLOGONCOMPUTESERVERDIGEST (0x18)
+#define NDR_NETR_NETRLOGONCOMPUTESERVERDIGEST (0x18)
-#define DCERPC_NETR_NETRLOGONCOMPUTECLIENTDIGEST (0x19)
+#define NDR_NETR_NETRLOGONCOMPUTECLIENTDIGEST (0x19)
-#define DCERPC_NETR_SERVERAUTHENTICATE3 (0x1a)
+#define NDR_NETR_SERVERAUTHENTICATE3 (0x1a)
-#define DCERPC_NETR_DSRGETDCNAMEEX (0x1b)
+#define NDR_NETR_DSRGETDCNAMEEX (0x1b)
-#define DCERPC_NETR_DSRGETSITENAME (0x1c)
+#define NDR_NETR_DSRGETSITENAME (0x1c)
-#define DCERPC_NETR_LOGONGETDOMAININFO (0x1d)
+#define NDR_NETR_LOGONGETDOMAININFO (0x1d)
-#define DCERPC_NETR_SERVERPASSWORDSET2 (0x1e)
+#define NDR_NETR_SERVERPASSWORDSET2 (0x1e)
-#define DCERPC_NETR_NETRSERVERPASSWORDGET (0x1f)
+#define NDR_NETR_NETRSERVERPASSWORDGET (0x1f)
-#define DCERPC_NETR_NETRLOGONSENDTOSAM (0x20)
+#define NDR_NETR_NETRLOGONSENDTOSAM (0x20)
-#define DCERPC_NETR_DSRADDRESSTOSITENAMESW (0x21)
+#define NDR_NETR_DSRADDRESSTOSITENAMESW (0x21)
-#define DCERPC_NETR_DSRGETDCNAMEEX2 (0x22)
+#define NDR_NETR_DSRGETDCNAMEEX2 (0x22)
-#define DCERPC_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN (0x23)
+#define NDR_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN (0x23)
-#define DCERPC_NETR_NETRENUMERATETRUSTEDDOMAINSEX (0x24)
+#define NDR_NETR_NETRENUMERATETRUSTEDDOMAINSEX (0x24)
-#define DCERPC_NETR_DSRADDRESSTOSITENAMESEXW (0x25)
+#define NDR_NETR_DSRADDRESSTOSITENAMESEXW (0x25)
-#define DCERPC_NETR_DSRGETDCSITECOVERAGEW (0x26)
+#define NDR_NETR_DSRGETDCSITECOVERAGEW (0x26)
-#define DCERPC_NETR_LOGONSAMLOGONEX (0x27)
+#define NDR_NETR_LOGONSAMLOGONEX (0x27)
-#define DCERPC_NETR_DSRENUMERATEDOMAINTRUSTS (0x28)
+#define NDR_NETR_DSRENUMERATEDOMAINTRUSTS (0x28)
-#define DCERPC_NETR_DSRDEREGISTERDNSHOSTRECORDS (0x29)
+#define NDR_NETR_DSRDEREGISTERDNSHOSTRECORDS (0x29)
-#define DCERPC_NETR_NETRSERVERTRUSTPASSWORDSGET (0x2a)
+#define NDR_NETR_NETRSERVERTRUSTPASSWORDSGET (0x2a)
-#define DCERPC_NETR_DSRGETFORESTTRUSTINFORMATION (0x2b)
+#define NDR_NETR_DSRGETFORESTTRUSTINFORMATION (0x2b)
-#define DCERPC_NETR_NETRGETFORESTTRUSTINFORMATION (0x2c)
+#define NDR_NETR_NETRGETFORESTTRUSTINFORMATION (0x2c)
-#define DCERPC_NETR_LOGONSAMLOGONWITHFLAGS (0x2d)
+#define NDR_NETR_LOGONSAMLOGONWITHFLAGS (0x2d)
-#define DCERPC_NETR_NETRSERVERGETTRUSTINFO (0x2e)
+#define NDR_NETR_NETRSERVERGETTRUSTINFO (0x2e)
-#define DCERPC_NETLOGON_CALL_COUNT (47)
+#define NDR_NETLOGON_CALL_COUNT (47)
void ndr_print_netr_UasInfo(struct ndr_print *ndr, const char *name, const struct netr_UasInfo *r);
void ndr_print_netr_UasLogoffInfo(struct ndr_print *ndr, const char *name, const struct netr_UasLogoffInfo *r);
void ndr_print_netr_AcctLockStr(struct ndr_print *ndr, const char *name, const struct netr_AcctLockStr *r);
diff --git a/source3/librpc/gen_ndr/ndr_notify.h b/source3/librpc/gen_ndr/ndr_notify.h
index 793ffa51ca..970dbeefd4 100644
--- a/source3/librpc/gen_ndr/ndr_notify.h
+++ b/source3/librpc/gen_ndr/ndr_notify.h
@@ -6,7 +6,7 @@
#define _HEADER_NDR_notify
#include "librpc/ndr/libndr.h"
-#define DCERPC_NOTIFY_CALL_COUNT (0)
+#define NDR_NOTIFY_CALL_COUNT (0)
NTSTATUS ndr_push_notify_entry(struct ndr_push *ndr, int ndr_flags, const struct notify_entry *r);
NTSTATUS ndr_pull_notify_entry(struct ndr_pull *ndr, int ndr_flags, struct notify_entry *r);
void ndr_print_notify_entry(struct ndr_print *ndr, const char *name, const struct notify_entry *r);
diff --git a/source3/librpc/gen_ndr/ndr_srvsvc.c b/source3/librpc/gen_ndr/ndr_srvsvc.c
index d362f864a0..30d30d2f58 100644
--- a/source3/librpc/gen_ndr/ndr_srvsvc.c
+++ b/source3/librpc/gen_ndr/ndr_srvsvc.c
@@ -19558,9 +19558,9 @@ const struct ndr_interface_table ndr_table_srvsvc = {
.name = "srvsvc",
.syntax_id = {
{0x4b324fc8,0x1670,0x01d3,{0x12,0x78},{0x5a,0x47,0xbf,0x6e,0xe1,0x88}},
- DCERPC_SRVSVC_VERSION
+ NDR_SRVSVC_VERSION
},
- .helpstring = DCERPC_SRVSVC_HELPSTRING,
+ .helpstring = NDR_SRVSVC_HELPSTRING,
.num_calls = 54,
.calls = srvsvc_calls,
.endpoints = &srvsvc_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_srvsvc.h b/source3/librpc/gen_ndr/ndr_srvsvc.h
index bf5c28fe92..5ebe6f9a07 100644
--- a/source3/librpc/gen_ndr/ndr_srvsvc.h
+++ b/source3/librpc/gen_ndr/ndr_srvsvc.h
@@ -6,121 +6,121 @@
#define _HEADER_NDR_srvsvc
#include "librpc/ndr/libndr.h"
-#define DCERPC_SRVSVC_UUID "4b324fc8-1670-01d3-1278-5a47bf6ee188"
-#define DCERPC_SRVSVC_VERSION 3.0
-#define DCERPC_SRVSVC_NAME "srvsvc"
-#define DCERPC_SRVSVC_HELPSTRING "Server Service"
+#define NDR_SRVSVC_UUID "4b324fc8-1670-01d3-1278-5a47bf6ee188"
+#define NDR_SRVSVC_VERSION 3.0
+#define NDR_SRVSVC_NAME "srvsvc"
+#define NDR_SRVSVC_HELPSTRING "Server Service"
extern const struct ndr_interface_table ndr_table_srvsvc;
NTSTATUS dcerpc_server_srvsvc_init(void);
-#define DCERPC_SRVSVC_NETCHARDEVENUM (0x00)
+#define NDR_SRVSVC_NETCHARDEVENUM (0x00)
-#define DCERPC_SRVSVC_NETCHARDEVGETINFO (0x01)
+#define NDR_SRVSVC_NETCHARDEVGETINFO (0x01)
-#define DCERPC_SRVSVC_NETCHARDEVCONTROL (0x02)
+#define NDR_SRVSVC_NETCHARDEVCONTROL (0x02)
-#define DCERPC_SRVSVC_NETCHARDEVQENUM (0x03)
+#define NDR_SRVSVC_NETCHARDEVQENUM (0x03)
-#define DCERPC_SRVSVC_NETCHARDEVQGETINFO (0x04)
+#define NDR_SRVSVC_NETCHARDEVQGETINFO (0x04)
-#define DCERPC_SRVSVC_NETCHARDEVQSETINFO (0x05)
+#define NDR_SRVSVC_NETCHARDEVQSETINFO (0x05)
-#define DCERPC_SRVSVC_NETCHARDEVQPURGE (0x06)
+#define NDR_SRVSVC_NETCHARDEVQPURGE (0x06)
-#define DCERPC_SRVSVC_NETCHARDEVQPURGESELF (0x07)
+#define NDR_SRVSVC_NETCHARDEVQPURGESELF (0x07)
-#define DCERPC_SRVSVC_NETCONNENUM (0x08)
+#define NDR_SRVSVC_NETCONNENUM (0x08)
-#define DCERPC_SRVSVC_NETFILEENUM (0x09)
+#define NDR_SRVSVC_NETFILEENUM (0x09)
-#define DCERPC_SRVSVC_NETFILEGETINFO (0x0a)
+#define NDR_SRVSVC_NETFILEGETINFO (0x0a)
-#define DCERPC_SRVSVC_NETFILECLOSE (0x0b)
+#define NDR_SRVSVC_NETFILECLOSE (0x0b)
-#define DCERPC_SRVSVC_NETSESSENUM (0x0c)
+#define NDR_SRVSVC_NETSESSENUM (0x0c)
-#define DCERPC_SRVSVC_NETSESSDEL (0x0d)
+#define NDR_SRVSVC_NETSESSDEL (0x0d)
-#define DCERPC_SRVSVC_NETSHAREADD (0x0e)
+#define NDR_SRVSVC_NETSHAREADD (0x0e)
-#define DCERPC_SRVSVC_NETSHAREENUMALL (0x0f)
+#define NDR_SRVSVC_NETSHAREENUMALL (0x0f)
-#define DCERPC_SRVSVC_NETSHAREGETINFO (0x10)
+#define NDR_SRVSVC_NETSHAREGETINFO (0x10)
-#define DCERPC_SRVSVC_NETSHARESETINFO (0x11)
+#define NDR_SRVSVC_NETSHARESETINFO (0x11)
-#define DCERPC_SRVSVC_NETSHAREDEL (0x12)
+#define NDR_SRVSVC_NETSHAREDEL (0x12)
-#define DCERPC_SRVSVC_NETSHAREDELSTICKY (0x13)
+#define NDR_SRVSVC_NETSHAREDELSTICKY (0x13)
-#define DCERPC_SRVSVC_NETSHARECHECK (0x14)
+#define NDR_SRVSVC_NETSHARECHECK (0x14)
-#define DCERPC_SRVSVC_NETSRVGETINFO (0x15)
+#define NDR_SRVSVC_NETSRVGETINFO (0x15)
-#define DCERPC_SRVSVC_NETSRVSETINFO (0x16)
+#define NDR_SRVSVC_NETSRVSETINFO (0x16)
-#define DCERPC_SRVSVC_NETDISKENUM (0x17)
+#define NDR_SRVSVC_NETDISKENUM (0x17)
-#define DCERPC_SRVSVC_NETSERVERSTATISTICSGET (0x18)
+#define NDR_SRVSVC_NETSERVERSTATISTICSGET (0x18)
-#define DCERPC_SRVSVC_NETTRANSPORTADD (0x19)
+#define NDR_SRVSVC_NETTRANSPORTADD (0x19)
-#define DCERPC_SRVSVC_NETTRANSPORTENUM (0x1a)
+#define NDR_SRVSVC_NETTRANSPORTENUM (0x1a)
-#define DCERPC_SRVSVC_NETTRANSPORTDEL (0x1b)
+#define NDR_SRVSVC_NETTRANSPORTDEL (0x1b)
-#define DCERPC_SRVSVC_NETREMOTETOD (0x1c)
+#define NDR_SRVSVC_NETREMOTETOD (0x1c)
-#define DCERPC_SRVSVC_NETSETSERVICEBITS (0x1d)
+#define NDR_SRVSVC_NETSETSERVICEBITS (0x1d)
-#define DCERPC_SRVSVC_NETPATHTYPE (0x1e)
+#define NDR_SRVSVC_NETPATHTYPE (0x1e)
-#define DCERPC_SRVSVC_NETPATHCANONICALIZE (0x1f)
+#define NDR_SRVSVC_NETPATHCANONICALIZE (0x1f)
-#define DCERPC_SRVSVC_NETPATHCOMPARE (0x20)
+#define NDR_SRVSVC_NETPATHCOMPARE (0x20)
-#define DCERPC_SRVSVC_NETNAMEVALIDATE (0x21)
+#define NDR_SRVSVC_NETNAMEVALIDATE (0x21)
-#define DCERPC_SRVSVC_NETRPRNAMECANONICALIZE (0x22)
+#define NDR_SRVSVC_NETRPRNAMECANONICALIZE (0x22)
-#define DCERPC_SRVSVC_NETPRNAMECOMPARE (0x23)
+#define NDR_SRVSVC_NETPRNAMECOMPARE (0x23)
-#define DCERPC_SRVSVC_NETSHAREENUM (0x24)
+#define NDR_SRVSVC_NETSHAREENUM (0x24)
-#define DCERPC_SRVSVC_NETSHAREDELSTART (0x25)
+#define NDR_SRVSVC_NETSHAREDELSTART (0x25)
-#define DCERPC_SRVSVC_NETSHAREDELCOMMIT (0x26)
+#define NDR_SRVSVC_NETSHAREDELCOMMIT (0x26)
-#define DCERPC_SRVSVC_NETGETFILESECURITY (0x27)
+#define NDR_SRVSVC_NETGETFILESECURITY (0x27)
-#define DCERPC_SRVSVC_NETSETFILESECURITY (0x28)
+#define NDR_SRVSVC_NETSETFILESECURITY (0x28)
-#define DCERPC_SRVSVC_NETSERVERTRANSPORTADDEX (0x29)
+#define NDR_SRVSVC_NETSERVERTRANSPORTADDEX (0x29)
-#define DCERPC_SRVSVC_NETSERVERSETSERVICEBITSEX (0x2a)
+#define NDR_SRVSVC_NETSERVERSETSERVICEBITSEX (0x2a)
-#define DCERPC_SRVSVC_NETRDFSGETVERSION (0x2b)
+#define NDR_SRVSVC_NETRDFSGETVERSION (0x2b)
-#define DCERPC_SRVSVC_NETRDFSCREATELOCALPARTITION (0x2c)
+#define NDR_SRVSVC_NETRDFSCREATELOCALPARTITION (0x2c)
-#define DCERPC_SRVSVC_NETRDFSDELETELOCALPARTITION (0x2d)
+#define NDR_SRVSVC_NETRDFSDELETELOCALPARTITION (0x2d)
-#define DCERPC_SRVSVC_NETRDFSSETLOCALVOLUMESTATE (0x2e)
+#define NDR_SRVSVC_NETRDFSSETLOCALVOLUMESTATE (0x2e)
-#define DCERPC_SRVSVC_NETRDFSSETSERVERINFO (0x2f)
+#define NDR_SRVSVC_NETRDFSSETSERVERINFO (0x2f)
-#define DCERPC_SRVSVC_NETRDFSCREATEEXITPOINT (0x30)
+#define NDR_SRVSVC_NETRDFSCREATEEXITPOINT (0x30)
-#define DCERPC_SRVSVC_NETRDFSDELETEEXITPOINT (0x31)
+#define NDR_SRVSVC_NETRDFSDELETEEXITPOINT (0x31)
-#define DCERPC_SRVSVC_NETRDFSMODIFYPREFIX (0x32)
+#define NDR_SRVSVC_NETRDFSMODIFYPREFIX (0x32)
-#define DCERPC_SRVSVC_NETRDFSFIXLOCALVOLUME (0x33)
+#define NDR_SRVSVC_NETRDFSFIXLOCALVOLUME (0x33)
-#define DCERPC_SRVSVC_NETRDFSMANAGERREPORTSITEINFO (0x34)
+#define NDR_SRVSVC_NETRDFSMANAGERREPORTSITEINFO (0x34)
-#define DCERPC_SRVSVC_NETRSERVERTRANSPORTDELEX (0x35)
+#define NDR_SRVSVC_NETRSERVERTRANSPORTDELEX (0x35)
-#define DCERPC_SRVSVC_CALL_COUNT (54)
+#define NDR_SRVSVC_CALL_COUNT (54)
void ndr_print_srvsvc_NetCharDevInfo0(struct ndr_print *ndr, const char *name, const struct srvsvc_NetCharDevInfo0 *r);
void ndr_print_srvsvc_NetCharDevCtr0(struct ndr_print *ndr, const char *name, const struct srvsvc_NetCharDevCtr0 *r);
void ndr_print_srvsvc_NetCharDevInfo1(struct ndr_print *ndr, const char *name, const struct srvsvc_NetCharDevInfo1 *r);
diff --git a/source3/librpc/gen_ndr/ndr_svcctl.c b/source3/librpc/gen_ndr/ndr_svcctl.c
index e142498048..5d98c465aa 100644
--- a/source3/librpc/gen_ndr/ndr_svcctl.c
+++ b/source3/librpc/gen_ndr/ndr_svcctl.c
@@ -5671,9 +5671,9 @@ const struct ndr_interface_table ndr_table_svcctl = {
.name = "svcctl",
.syntax_id = {
{0x367abb81,0x9844,0x35f1,{0xad,0x32},{0x98,0xf0,0x38,0x00,0x10,0x03}},
- DCERPC_SVCCTL_VERSION
+ NDR_SVCCTL_VERSION
},
- .helpstring = DCERPC_SVCCTL_HELPSTRING,
+ .helpstring = NDR_SVCCTL_HELPSTRING,
.num_calls = 44,
.calls = svcctl_calls,
.endpoints = &svcctl_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_svcctl.h b/source3/librpc/gen_ndr/ndr_svcctl.h
index fd1b3c5cee..f1828f318f 100644
--- a/source3/librpc/gen_ndr/ndr_svcctl.h
+++ b/source3/librpc/gen_ndr/ndr_svcctl.h
@@ -6,101 +6,101 @@
#define _HEADER_NDR_svcctl
#include "librpc/ndr/libndr.h"
-#define DCERPC_SVCCTL_UUID "367abb81-9844-35f1-ad32-98f038001003"
-#define DCERPC_SVCCTL_VERSION 2.0
-#define DCERPC_SVCCTL_NAME "svcctl"
-#define DCERPC_SVCCTL_HELPSTRING "Service Control"
+#define NDR_SVCCTL_UUID "367abb81-9844-35f1-ad32-98f038001003"
+#define NDR_SVCCTL_VERSION 2.0
+#define NDR_SVCCTL_NAME "svcctl"
+#define NDR_SVCCTL_HELPSTRING "Service Control"
extern const struct ndr_interface_table ndr_table_svcctl;
NTSTATUS dcerpc_server_svcctl_init(void);
-#define DCERPC_SVCCTL_CLOSESERVICEHANDLE (0x00)
+#define NDR_SVCCTL_CLOSESERVICEHANDLE (0x00)
-#define DCERPC_SVCCTL_CONTROLSERVICE (0x01)
+#define NDR_SVCCTL_CONTROLSERVICE (0x01)
-#define DCERPC_SVCCTL_DELETESERVICE (0x02)
+#define NDR_SVCCTL_DELETESERVICE (0x02)
-#define DCERPC_SVCCTL_LOCKSERVICEDATABASE (0x03)
+#define NDR_SVCCTL_LOCKSERVICEDATABASE (0x03)
-#define DCERPC_SVCCTL_QUERYSERVICEOBJECTSECURITY (0x04)
+#define NDR_SVCCTL_QUERYSERVICEOBJECTSECURITY (0x04)
-#define DCERPC_SVCCTL_SETSERVICEOBJECTSECURITY (0x05)
+#define NDR_SVCCTL_SETSERVICEOBJECTSECURITY (0x05)
-#define DCERPC_SVCCTL_QUERYSERVICESTATUS (0x06)
+#define NDR_SVCCTL_QUERYSERVICESTATUS (0x06)
-#define DCERPC_SVCCTL_SETSERVICESTATUS (0x07)
+#define NDR_SVCCTL_SETSERVICESTATUS (0x07)
-#define DCERPC_SVCCTL_UNLOCKSERVICEDATABASE (0x08)
+#define NDR_SVCCTL_UNLOCKSERVICEDATABASE (0x08)
-#define DCERPC_SVCCTL_NOTIFYBOOTCONFIGSTATUS (0x09)
+#define NDR_SVCCTL_NOTIFYBOOTCONFIGSTATUS (0x09)
-#define DCERPC_SVCCTL_SCSETSERVICEBITSW (0x0a)
+#define NDR_SVCCTL_SCSETSERVICEBITSW (0x0a)
-#define DCERPC_SVCCTL_CHANGESERVICECONFIGW (0x0b)
+#define NDR_SVCCTL_CHANGESERVICECONFIGW (0x0b)
-#define DCERPC_SVCCTL_CREATESERVICEW (0x0c)
+#define NDR_SVCCTL_CREATESERVICEW (0x0c)
-#define DCERPC_SVCCTL_ENUMDEPENDENTSERVICESW (0x0d)
+#define NDR_SVCCTL_ENUMDEPENDENTSERVICESW (0x0d)
-#define DCERPC_SVCCTL_ENUMSERVICESSTATUSW (0x0e)
+#define NDR_SVCCTL_ENUMSERVICESSTATUSW (0x0e)
-#define DCERPC_SVCCTL_OPENSCMANAGERW (0x0f)
+#define NDR_SVCCTL_OPENSCMANAGERW (0x0f)
-#define DCERPC_SVCCTL_OPENSERVICEW (0x10)
+#define NDR_SVCCTL_OPENSERVICEW (0x10)
-#define DCERPC_SVCCTL_QUERYSERVICECONFIGW (0x11)
+#define NDR_SVCCTL_QUERYSERVICECONFIGW (0x11)
-#define DCERPC_SVCCTL_QUERYSERVICELOCKSTATUSW (0x12)
+#define NDR_SVCCTL_QUERYSERVICELOCKSTATUSW (0x12)
-#define DCERPC_SVCCTL_STARTSERVICEW (0x13)
+#define NDR_SVCCTL_STARTSERVICEW (0x13)
-#define DCERPC_SVCCTL_GETSERVICEDISPLAYNAMEW (0x14)
+#define NDR_SVCCTL_GETSERVICEDISPLAYNAMEW (0x14)
-#define DCERPC_SVCCTL_GETSERVICEKEYNAMEW (0x15)
+#define NDR_SVCCTL_GETSERVICEKEYNAMEW (0x15)
-#define DCERPC_SVCCTL_SCSETSERVICEBITSA (0x16)
+#define NDR_SVCCTL_SCSETSERVICEBITSA (0x16)
-#define DCERPC_SVCCTL_CHANGESERVICECONFIGA (0x17)
+#define NDR_SVCCTL_CHANGESERVICECONFIGA (0x17)
-#define DCERPC_SVCCTL_CREATESERVICEA (0x18)
+#define NDR_SVCCTL_CREATESERVICEA (0x18)
-#define DCERPC_SVCCTL_ENUMDEPENDENTSERVICESA (0x19)
+#define NDR_SVCCTL_ENUMDEPENDENTSERVICESA (0x19)
-#define DCERPC_SVCCTL_ENUMSERVICESSTATUSA (0x1a)
+#define NDR_SVCCTL_ENUMSERVICESSTATUSA (0x1a)
-#define DCERPC_SVCCTL_OPENSCMANAGERA (0x1b)
+#define NDR_SVCCTL_OPENSCMANAGERA (0x1b)
-#define DCERPC_SVCCTL_OPENSERVICEA (0x1c)
+#define NDR_SVCCTL_OPENSERVICEA (0x1c)
-#define DCERPC_SVCCTL_QUERYSERVICECONFIGA (0x1d)
+#define NDR_SVCCTL_QUERYSERVICECONFIGA (0x1d)
-#define DCERPC_SVCCTL_QUERYSERVICELOCKSTATUSA (0x1e)
+#define NDR_SVCCTL_QUERYSERVICELOCKSTATUSA (0x1e)
-#define DCERPC_SVCCTL_STARTSERVICEA (0x1f)
+#define NDR_SVCCTL_STARTSERVICEA (0x1f)
-#define DCERPC_SVCCTL_GETSERVICEDISPLAYNAMEA (0x20)
+#define NDR_SVCCTL_GETSERVICEDISPLAYNAMEA (0x20)
-#define DCERPC_SVCCTL_GETSERVICEKEYNAMEA (0x21)
+#define NDR_SVCCTL_GETSERVICEKEYNAMEA (0x21)
-#define DCERPC_SVCCTL_GETCURRENTGROUPESTATEW (0x22)
+#define NDR_SVCCTL_GETCURRENTGROUPESTATEW (0x22)
-#define DCERPC_SVCCTL_ENUMSERVICEGROUPW (0x23)
+#define NDR_SVCCTL_ENUMSERVICEGROUPW (0x23)
-#define DCERPC_SVCCTL_CHANGESERVICECONFIG2A (0x24)
+#define NDR_SVCCTL_CHANGESERVICECONFIG2A (0x24)
-#define DCERPC_SVCCTL_CHANGESERVICECONFIG2W (0x25)
+#define NDR_SVCCTL_CHANGESERVICECONFIG2W (0x25)
-#define DCERPC_SVCCTL_QUERYSERVICECONFIG2A (0x26)
+#define NDR_SVCCTL_QUERYSERVICECONFIG2A (0x26)
-#define DCERPC_SVCCTL_QUERYSERVICECONFIG2W (0x27)
+#define NDR_SVCCTL_QUERYSERVICECONFIG2W (0x27)
-#define DCERPC_SVCCTL_QUERYSERVICESTATUSEX (0x28)
+#define NDR_SVCCTL_QUERYSERVICESTATUSEX (0x28)
-#define DCERPC_ENUMSERVICESSTATUSEXA (0x29)
+#define NDR_ENUMSERVICESSTATUSEXA (0x29)
-#define DCERPC_ENUMSERVICESSTATUSEXW (0x2a)
+#define NDR_ENUMSERVICESSTATUSEXW (0x2a)
-#define DCERPC_SVCCTL_SCSENDTSMESSAGE (0x2b)
+#define NDR_SVCCTL_SCSENDTSMESSAGE (0x2b)
-#define DCERPC_SVCCTL_CALL_COUNT (44)
+#define NDR_SVCCTL_CALL_COUNT (44)
void ndr_print_SERVICE_LOCK_STATUS(struct ndr_print *ndr, const char *name, const struct SERVICE_LOCK_STATUS *r);
void ndr_print_SERVICE_STATUS(struct ndr_print *ndr, const char *name, const struct SERVICE_STATUS *r);
void ndr_print_ENUM_SERVICE_STATUS(struct ndr_print *ndr, const char *name, const struct ENUM_SERVICE_STATUS *r);
diff --git a/source3/librpc/gen_ndr/ndr_unixinfo.c b/source3/librpc/gen_ndr/ndr_unixinfo.c
index b0ee0c5cb8..f41248dbd1 100644
--- a/source3/librpc/gen_ndr/ndr_unixinfo.c
+++ b/source3/librpc/gen_ndr/ndr_unixinfo.c
@@ -515,9 +515,9 @@ const struct ndr_interface_table ndr_table_unixinfo = {
.name = "unixinfo",
.syntax_id = {
{0x9c54e310,0xa955,0x4885,{0xbd,0x31},{0x78,0x78,0x71,0x47,0xdf,0xa6}},
- DCERPC_UNIXINFO_VERSION
+ NDR_UNIXINFO_VERSION
},
- .helpstring = DCERPC_UNIXINFO_HELPSTRING,
+ .helpstring = NDR_UNIXINFO_HELPSTRING,
.num_calls = 5,
.calls = unixinfo_calls,
.endpoints = &unixinfo_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_unixinfo.h b/source3/librpc/gen_ndr/ndr_unixinfo.h
index fa5cad86d9..54a3859a5e 100644
--- a/source3/librpc/gen_ndr/ndr_unixinfo.h
+++ b/source3/librpc/gen_ndr/ndr_unixinfo.h
@@ -6,23 +6,23 @@
#define _HEADER_NDR_unixinfo
#include "librpc/ndr/libndr.h"
-#define DCERPC_UNIXINFO_UUID "9c54e310-a955-4885-bd31-78787147dfa6"
-#define DCERPC_UNIXINFO_VERSION 0.0
-#define DCERPC_UNIXINFO_NAME "unixinfo"
-#define DCERPC_UNIXINFO_HELPSTRING "Unixinfo specific stuff"
+#define NDR_UNIXINFO_UUID "9c54e310-a955-4885-bd31-78787147dfa6"
+#define NDR_UNIXINFO_VERSION 0.0
+#define NDR_UNIXINFO_NAME "unixinfo"
+#define NDR_UNIXINFO_HELPSTRING "Unixinfo specific stuff"
extern const struct ndr_interface_table ndr_table_unixinfo;
NTSTATUS dcerpc_server_unixinfo_init(void);
-#define DCERPC_UNIXINFO_SIDTOUID (0x00)
+#define NDR_UNIXINFO_SIDTOUID (0x00)
-#define DCERPC_UNIXINFO_UIDTOSID (0x01)
+#define NDR_UNIXINFO_UIDTOSID (0x01)
-#define DCERPC_UNIXINFO_SIDTOGID (0x02)
+#define NDR_UNIXINFO_SIDTOGID (0x02)
-#define DCERPC_UNIXINFO_GIDTOSID (0x03)
+#define NDR_UNIXINFO_GIDTOSID (0x03)
-#define DCERPC_UNIXINFO_GETPWUID (0x04)
+#define NDR_UNIXINFO_GETPWUID (0x04)
-#define DCERPC_UNIXINFO_CALL_COUNT (5)
+#define NDR_UNIXINFO_CALL_COUNT (5)
void ndr_print_unixinfo_GetPWUidInfo(struct ndr_print *ndr, const char *name, const struct unixinfo_GetPWUidInfo *r);
void ndr_print_unixinfo_SidToUid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_SidToUid *r);
void ndr_print_unixinfo_UidToSid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_UidToSid *r);
diff --git a/source3/librpc/gen_ndr/ndr_winreg.c b/source3/librpc/gen_ndr/ndr_winreg.c
index d8e2d24398..beb9e5c7a5 100644
--- a/source3/librpc/gen_ndr/ndr_winreg.c
+++ b/source3/librpc/gen_ndr/ndr_winreg.c
@@ -4408,9 +4408,9 @@ const struct ndr_interface_table ndr_table_winreg = {
.name = "winreg",
.syntax_id = {
{0x338cd001,0x2244,0x31f1,{0xaa,0xaa},{0x90,0x00,0x38,0x00,0x10,0x03}},
- DCERPC_WINREG_VERSION
+ NDR_WINREG_VERSION
},
- .helpstring = DCERPC_WINREG_HELPSTRING,
+ .helpstring = NDR_WINREG_HELPSTRING,
.num_calls = 35,
.calls = winreg_calls,
.endpoints = &winreg_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_winreg.h b/source3/librpc/gen_ndr/ndr_winreg.h
index 79f29956a2..4c2d40229f 100644
--- a/source3/librpc/gen_ndr/ndr_winreg.h
+++ b/source3/librpc/gen_ndr/ndr_winreg.h
@@ -6,83 +6,83 @@
#define _HEADER_NDR_winreg
#include "librpc/ndr/libndr.h"
-#define DCERPC_WINREG_UUID "338cd001-2244-31f1-aaaa-900038001003"
-#define DCERPC_WINREG_VERSION 1.0
-#define DCERPC_WINREG_NAME "winreg"
-#define DCERPC_WINREG_HELPSTRING "Remote Registry Service"
+#define NDR_WINREG_UUID "338cd001-2244-31f1-aaaa-900038001003"
+#define NDR_WINREG_VERSION 1.0
+#define NDR_WINREG_NAME "winreg"
+#define NDR_WINREG_HELPSTRING "Remote Registry Service"
extern const struct ndr_interface_table ndr_table_winreg;
NTSTATUS dcerpc_server_winreg_init(void);
-#define DCERPC_WINREG_OPENHKCR (0x00)
+#define NDR_WINREG_OPENHKCR (0x00)
-#define DCERPC_WINREG_OPENHKCU (0x01)
+#define NDR_WINREG_OPENHKCU (0x01)
-#define DCERPC_WINREG_OPENHKLM (0x02)
+#define NDR_WINREG_OPENHKLM (0x02)
-#define DCERPC_WINREG_OPENHKPD (0x03)
+#define NDR_WINREG_OPENHKPD (0x03)
-#define DCERPC_WINREG_OPENHKU (0x04)
+#define NDR_WINREG_OPENHKU (0x04)
-#define DCERPC_WINREG_CLOSEKEY (0x05)
+#define NDR_WINREG_CLOSEKEY (0x05)
-#define DCERPC_WINREG_CREATEKEY (0x06)
+#define NDR_WINREG_CREATEKEY (0x06)
-#define DCERPC_WINREG_DELETEKEY (0x07)
+#define NDR_WINREG_DELETEKEY (0x07)
-#define DCERPC_WINREG_DELETEVALUE (0x08)
+#define NDR_WINREG_DELETEVALUE (0x08)
-#define DCERPC_WINREG_ENUMKEY (0x09)
+#define NDR_WINREG_ENUMKEY (0x09)
-#define DCERPC_WINREG_ENUMVALUE (0x0a)
+#define NDR_WINREG_ENUMVALUE (0x0a)
-#define DCERPC_WINREG_FLUSHKEY (0x0b)
+#define NDR_WINREG_FLUSHKEY (0x0b)
-#define DCERPC_WINREG_GETKEYSECURITY (0x0c)
+#define NDR_WINREG_GETKEYSECURITY (0x0c)
-#define DCERPC_WINREG_LOADKEY (0x0d)
+#define NDR_WINREG_LOADKEY (0x0d)
-#define DCERPC_WINREG_NOTIFYCHANGEKEYVALUE (0x0e)
+#define NDR_WINREG_NOTIFYCHANGEKEYVALUE (0x0e)
-#define DCERPC_WINREG_OPENKEY (0x0f)
+#define NDR_WINREG_OPENKEY (0x0f)
-#define DCERPC_WINREG_QUERYINFOKEY (0x10)
+#define NDR_WINREG_QUERYINFOKEY (0x10)
-#define DCERPC_WINREG_QUERYVALUE (0x11)
+#define NDR_WINREG_QUERYVALUE (0x11)
-#define DCERPC_WINREG_REPLACEKEY (0x12)
+#define NDR_WINREG_REPLACEKEY (0x12)
-#define DCERPC_WINREG_RESTOREKEY (0x13)
+#define NDR_WINREG_RESTOREKEY (0x13)
-#define DCERPC_WINREG_SAVEKEY (0x14)
+#define NDR_WINREG_SAVEKEY (0x14)
-#define DCERPC_WINREG_SETKEYSECURITY (0x15)
+#define NDR_WINREG_SETKEYSECURITY (0x15)
-#define DCERPC_WINREG_SETVALUE (0x16)
+#define NDR_WINREG_SETVALUE (0x16)
-#define DCERPC_WINREG_UNLOADKEY (0x17)
+#define NDR_WINREG_UNLOADKEY (0x17)
-#define DCERPC_WINREG_INITIATESYSTEMSHUTDOWN (0x18)
+#define NDR_WINREG_INITIATESYSTEMSHUTDOWN (0x18)
-#define DCERPC_WINREG_ABORTSYSTEMSHUTDOWN (0x19)
+#define NDR_WINREG_ABORTSYSTEMSHUTDOWN (0x19)
-#define DCERPC_WINREG_GETVERSION (0x1a)
+#define NDR_WINREG_GETVERSION (0x1a)
-#define DCERPC_WINREG_OPENHKCC (0x1b)
+#define NDR_WINREG_OPENHKCC (0x1b)
-#define DCERPC_WINREG_OPENHKDD (0x1c)
+#define NDR_WINREG_OPENHKDD (0x1c)
-#define DCERPC_WINREG_QUERYMULTIPLEVALUES (0x1d)
+#define NDR_WINREG_QUERYMULTIPLEVALUES (0x1d)
-#define DCERPC_WINREG_INITIATESYSTEMSHUTDOWNEX (0x1e)
+#define NDR_WINREG_INITIATESYSTEMSHUTDOWNEX (0x1e)
-#define DCERPC_WINREG_SAVEKEYEX (0x1f)
+#define NDR_WINREG_SAVEKEYEX (0x1f)
-#define DCERPC_WINREG_OPENHKPT (0x20)
+#define NDR_WINREG_OPENHKPT (0x20)
-#define DCERPC_WINREG_OPENHKPN (0x21)
+#define NDR_WINREG_OPENHKPN (0x21)
-#define DCERPC_WINREG_QUERYMULTIPLEVALUES2 (0x22)
+#define NDR_WINREG_QUERYMULTIPLEVALUES2 (0x22)
-#define DCERPC_WINREG_CALL_COUNT (35)
+#define NDR_WINREG_CALL_COUNT (35)
void ndr_print_winreg_AccessMask(struct ndr_print *ndr, const char *name, uint32_t r);
void ndr_print_winreg_Type(struct ndr_print *ndr, const char *name, enum winreg_Type r);
NTSTATUS ndr_push_winreg_String(struct ndr_push *ndr, int ndr_flags, const struct winreg_String *r);
diff --git a/source3/librpc/gen_ndr/ndr_wkssvc.c b/source3/librpc/gen_ndr/ndr_wkssvc.c
index 8f2f25f247..875260a4bb 100644
--- a/source3/librpc/gen_ndr/ndr_wkssvc.c
+++ b/source3/librpc/gen_ndr/ndr_wkssvc.c
@@ -4776,9 +4776,9 @@ const struct ndr_interface_table ndr_table_wkssvc = {
.name = "wkssvc",
.syntax_id = {
{0x6bffd098,0xa112,0x3610,{0x98,0x33},{0x46,0xc3,0xf8,0x7e,0x34,0x5a}},
- DCERPC_WKSSVC_VERSION
+ NDR_WKSSVC_VERSION
},
- .helpstring = DCERPC_WKSSVC_HELPSTRING,
+ .helpstring = NDR_WKSSVC_HELPSTRING,
.num_calls = 31,
.calls = wkssvc_calls,
.endpoints = &wkssvc_endpoints,
diff --git a/source3/librpc/gen_ndr/ndr_wkssvc.h b/source3/librpc/gen_ndr/ndr_wkssvc.h
index 75ba45ba79..59ae31b5c0 100644
--- a/source3/librpc/gen_ndr/ndr_wkssvc.h
+++ b/source3/librpc/gen_ndr/ndr_wkssvc.h
@@ -6,75 +6,75 @@
#define _HEADER_NDR_wkssvc
#include "librpc/ndr/libndr.h"
-#define DCERPC_WKSSVC_UUID "6bffd098-a112-3610-9833-46c3f87e345a"
-#define DCERPC_WKSSVC_VERSION 1.0
-#define DCERPC_WKSSVC_NAME "wkssvc"
-#define DCERPC_WKSSVC_HELPSTRING "Workstation Service"
+#define NDR_WKSSVC_UUID "6bffd098-a112-3610-9833-46c3f87e345a"
+#define NDR_WKSSVC_VERSION 1.0
+#define NDR_WKSSVC_NAME "wkssvc"
+#define NDR_WKSSVC_HELPSTRING "Workstation Service"
extern const struct ndr_interface_table ndr_table_wkssvc;
NTSTATUS dcerpc_server_wkssvc_init(void);
-#define DCERPC_WKSSVC_NETWKSTAGETINFO (0x00)
+#define NDR_WKSSVC_NETWKSTAGETINFO (0x00)
-#define DCERPC_WKSSVC_NETWKSTASETINFO (0x01)
+#define NDR_WKSSVC_NETWKSTASETINFO (0x01)
-#define DCERPC_WKSSVC_NETWKSTAENUMUSERS (0x02)
+#define NDR_WKSSVC_NETWKSTAENUMUSERS (0x02)
-#define DCERPC_WKSSVC_NETRWKSTAUSERGETINFO (0x03)
+#define NDR_WKSSVC_NETRWKSTAUSERGETINFO (0x03)
-#define DCERPC_WKSSVC_NETRWKSTAUSERSETINFO (0x04)
+#define NDR_WKSSVC_NETRWKSTAUSERSETINFO (0x04)
-#define DCERPC_WKSSVC_NETWKSTATRANSPORTENUM (0x05)
+#define NDR_WKSSVC_NETWKSTATRANSPORTENUM (0x05)
-#define DCERPC_WKSSVC_NETRWKSTATRANSPORTADD (0x06)
+#define NDR_WKSSVC_NETRWKSTATRANSPORTADD (0x06)
-#define DCERPC_WKSSVC_NETRWKSTATRANSPORTDEL (0x07)
+#define NDR_WKSSVC_NETRWKSTATRANSPORTDEL (0x07)
-#define DCERPC_WKSSVC_NETRUSEADD (0x08)
+#define NDR_WKSSVC_NETRUSEADD (0x08)
-#define DCERPC_WKSSVC_NETRUSEGETINFO (0x09)
+#define NDR_WKSSVC_NETRUSEGETINFO (0x09)
-#define DCERPC_WKSSVC_NETRUSEDEL (0x0a)
+#define NDR_WKSSVC_NETRUSEDEL (0x0a)
-#define DCERPC_WKSSVC_NETRUSEENUM (0x0b)
+#define NDR_WKSSVC_NETRUSEENUM (0x0b)
-#define DCERPC_WKSSVC_NETRMESSAGEBUFFERSEND (0x0c)
+#define NDR_WKSSVC_NETRMESSAGEBUFFERSEND (0x0c)
-#define DCERPC_WKSSVC_NETRWORKSTATIONSTATISTICSGET (0x0d)
+#define NDR_WKSSVC_NETRWORKSTATIONSTATISTICSGET (0x0d)
-#define DCERPC_WKSSVC_NETRLOGONDOMAINNAMEADD (0x0e)
+#define NDR_WKSSVC_NETRLOGONDOMAINNAMEADD (0x0e)
-#define DCERPC_WKSSVC_NETRLOGONDOMAINNAMEDEL (0x0f)
+#define NDR_WKSSVC_NETRLOGONDOMAINNAMEDEL (0x0f)
-#define DCERPC_WKSSVC_NETRJOINDOMAIN (0x10)
+#define NDR_WKSSVC_NETRJOINDOMAIN (0x10)
-#define DCERPC_WKSSVC_NETRUNJOINDOMAIN (0x11)
+#define NDR_WKSSVC_NETRUNJOINDOMAIN (0x11)
-#define DCERPC_WKSSVC_NETRRENAMEMACHINEINDOMAIN (0x12)
+#define NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN (0x12)
-#define DCERPC_WKSSVC_NETRVALIDATENAME (0x13)
+#define NDR_WKSSVC_NETRVALIDATENAME (0x13)
-#define DCERPC_WKSSVC_NETRGETJOININFORMATION (0x14)
+#define NDR_WKSSVC_NETRGETJOININFORMATION (0x14)
-#define DCERPC_WKSSVC_NETRGETJOINABLEOUS (0x15)
+#define NDR_WKSSVC_NETRGETJOINABLEOUS (0x15)
-#define DCERPC_WKSSVC_NETRJOINDOMAIN2 (0x16)
+#define NDR_WKSSVC_NETRJOINDOMAIN2 (0x16)
-#define DCERPC_WKSSVC_NETRUNJOINDOMAIN2 (0x17)
+#define NDR_WKSSVC_NETRUNJOINDOMAIN2 (0x17)
-#define DCERPC_WKSSVC_NETRRENAMEMACHINEINDOMAIN2 (0x18)
+#define NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN2 (0x18)
-#define DCERPC_WKSSVC_NETRVALIDATENAME2 (0x19)
+#define NDR_WKSSVC_NETRVALIDATENAME2 (0x19)
-#define DCERPC_WKSSVC_NETRGETJOINABLEOUS2 (0x1a)
+#define NDR_WKSSVC_NETRGETJOINABLEOUS2 (0x1a)
-#define DCERPC_WKSSVC_NETRADDALTERNATECOMPUTERNAME (0x1b)
+#define NDR_WKSSVC_NETRADDALTERNATECOMPUTERNAME (0x1b)
-#define DCERPC_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME (0x1c)
+#define NDR_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME (0x1c)
-#define DCERPC_WKSSVC_NETRSETPRIMARYCOMPUTERNAME (0x1d)
+#define NDR_WKSSVC_NETRSETPRIMARYCOMPUTERNAME (0x1d)
-#define DCERPC_WKSSVC_NETRENUMERATECOMPUTERNAMES (0x1e)
+#define NDR_WKSSVC_NETRENUMERATECOMPUTERNAMES (0x1e)
-#define DCERPC_WKSSVC_CALL_COUNT (31)
+#define NDR_WKSSVC_CALL_COUNT (31)
void ndr_print_wkssvc_NetWkstaInfo100(struct ndr_print *ndr, const char *name, const struct wkssvc_NetWkstaInfo100 *r);
void ndr_print_wkssvc_NetWkstaInfo101(struct ndr_print *ndr, const char *name, const struct wkssvc_NetWkstaInfo101 *r);
void ndr_print_wkssvc_NetWkstaInfo102(struct ndr_print *ndr, const char *name, const struct wkssvc_NetWkstaInfo102 *r);
diff --git a/source3/librpc/gen_ndr/srv_dfs.c b/source3/librpc/gen_ndr/srv_dfs.c
index 6a2eb824b7..6250508ccd 100644
--- a/source3/librpc/gen_ndr/srv_dfs.c
+++ b/source3/librpc/gen_ndr/srv_dfs.c
@@ -1506,29 +1506,29 @@ static BOOL api_dfs_SetInfo2(pipes_struct *p)
/* Tables */
static struct api_struct api_netdfs_cmds[] =
{
- {"DFS_GETMANAGERVERSION", DCERPC_DFS_GETMANAGERVERSION, api_dfs_GetManagerVersion},
- {"DFS_ADD", DCERPC_DFS_ADD, api_dfs_Add},
- {"DFS_REMOVE", DCERPC_DFS_REMOVE, api_dfs_Remove},
- {"DFS_SETINFO", DCERPC_DFS_SETINFO, api_dfs_SetInfo},
- {"DFS_GETINFO", DCERPC_DFS_GETINFO, api_dfs_GetInfo},
- {"DFS_ENUM", DCERPC_DFS_ENUM, api_dfs_Enum},
- {"DFS_RENAME", DCERPC_DFS_RENAME, api_dfs_Rename},
- {"DFS_MOVE", DCERPC_DFS_MOVE, api_dfs_Move},
- {"DFS_MANAGERGETCONFIGINFO", DCERPC_DFS_MANAGERGETCONFIGINFO, api_dfs_ManagerGetConfigInfo},
- {"DFS_MANAGERSENDSITEINFO", DCERPC_DFS_MANAGERSENDSITEINFO, api_dfs_ManagerSendSiteInfo},
- {"DFS_ADDFTROOT", DCERPC_DFS_ADDFTROOT, api_dfs_AddFtRoot},
- {"DFS_REMOVEFTROOT", DCERPC_DFS_REMOVEFTROOT, api_dfs_RemoveFtRoot},
- {"DFS_ADDSTDROOT", DCERPC_DFS_ADDSTDROOT, api_dfs_AddStdRoot},
- {"DFS_REMOVESTDROOT", DCERPC_DFS_REMOVESTDROOT, api_dfs_RemoveStdRoot},
- {"DFS_MANAGERINITIALIZE", DCERPC_DFS_MANAGERINITIALIZE, api_dfs_ManagerInitialize},
- {"DFS_ADDSTDROOTFORCED", DCERPC_DFS_ADDSTDROOTFORCED, api_dfs_AddStdRootForced},
- {"DFS_GETDCADDRESS", DCERPC_DFS_GETDCADDRESS, api_dfs_GetDcAddress},
- {"DFS_SETDCADDRESS", DCERPC_DFS_SETDCADDRESS, api_dfs_SetDcAddress},
- {"DFS_FLUSHFTTABLE", DCERPC_DFS_FLUSHFTTABLE, api_dfs_FlushFtTable},
- {"DFS_ADD2", DCERPC_DFS_ADD2, api_dfs_Add2},
- {"DFS_REMOVE2", DCERPC_DFS_REMOVE2, api_dfs_Remove2},
- {"DFS_ENUMEX", DCERPC_DFS_ENUMEX, api_dfs_EnumEx},
- {"DFS_SETINFO2", DCERPC_DFS_SETINFO2, api_dfs_SetInfo2},
+ {"DFS_GETMANAGERVERSION", NDR_DFS_GETMANAGERVERSION, api_dfs_GetManagerVersion},
+ {"DFS_ADD", NDR_DFS_ADD, api_dfs_Add},
+ {"DFS_REMOVE", NDR_DFS_REMOVE, api_dfs_Remove},
+ {"DFS_SETINFO", NDR_DFS_SETINFO, api_dfs_SetInfo},
+ {"DFS_GETINFO", NDR_DFS_GETINFO, api_dfs_GetInfo},
+ {"DFS_ENUM", NDR_DFS_ENUM, api_dfs_Enum},
+ {"DFS_RENAME", NDR_DFS_RENAME, api_dfs_Rename},
+ {"DFS_MOVE", NDR_DFS_MOVE, api_dfs_Move},
+ {"DFS_MANAGERGETCONFIGINFO", NDR_DFS_MANAGERGETCONFIGINFO, api_dfs_ManagerGetConfigInfo},
+ {"DFS_MANAGERSENDSITEINFO", NDR_DFS_MANAGERSENDSITEINFO, api_dfs_ManagerSendSiteInfo},
+ {"DFS_ADDFTROOT", NDR_DFS_ADDFTROOT, api_dfs_AddFtRoot},
+ {"DFS_REMOVEFTROOT", NDR_DFS_REMOVEFTROOT, api_dfs_RemoveFtRoot},
+ {"DFS_ADDSTDROOT", NDR_DFS_ADDSTDROOT, api_dfs_AddStdRoot},
+ {"DFS_REMOVESTDROOT", NDR_DFS_REMOVESTDROOT, api_dfs_RemoveStdRoot},
+ {"DFS_MANAGERINITIALIZE", NDR_DFS_MANAGERINITIALIZE, api_dfs_ManagerInitialize},
+ {"DFS_ADDSTDROOTFORCED", NDR_DFS_ADDSTDROOTFORCED, api_dfs_AddStdRootForced},
+ {"DFS_GETDCADDRESS", NDR_DFS_GETDCADDRESS, api_dfs_GetDcAddress},
+ {"DFS_SETDCADDRESS", NDR_DFS_SETDCADDRESS, api_dfs_SetDcAddress},
+ {"DFS_FLUSHFTTABLE", NDR_DFS_FLUSHFTTABLE, api_dfs_FlushFtTable},
+ {"DFS_ADD2", NDR_DFS_ADD2, api_dfs_Add2},
+ {"DFS_REMOVE2", NDR_DFS_REMOVE2, api_dfs_Remove2},
+ {"DFS_ENUMEX", NDR_DFS_ENUMEX, api_dfs_EnumEx},
+ {"DFS_SETINFO2", NDR_DFS_SETINFO2, api_dfs_SetInfo2},
};
void netdfs_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_echo.c b/source3/librpc/gen_ndr/srv_echo.c
index 046f448040..298a4ba874 100644
--- a/source3/librpc/gen_ndr/srv_echo.c
+++ b/source3/librpc/gen_ndr/srv_echo.c
@@ -691,16 +691,16 @@ static BOOL api_echo_TestDoublePointer(pipes_struct *p)
/* Tables */
static struct api_struct api_rpcecho_cmds[] =
{
- {"ECHO_ADDONE", DCERPC_ECHO_ADDONE, api_echo_AddOne},
- {"ECHO_ECHODATA", DCERPC_ECHO_ECHODATA, api_echo_EchoData},
- {"ECHO_SINKDATA", DCERPC_ECHO_SINKDATA, api_echo_SinkData},
- {"ECHO_SOURCEDATA", DCERPC_ECHO_SOURCEDATA, api_echo_SourceData},
- {"ECHO_TESTCALL", DCERPC_ECHO_TESTCALL, api_echo_TestCall},
- {"ECHO_TESTCALL2", DCERPC_ECHO_TESTCALL2, api_echo_TestCall2},
- {"ECHO_TESTSLEEP", DCERPC_ECHO_TESTSLEEP, api_echo_TestSleep},
- {"ECHO_TESTENUM", DCERPC_ECHO_TESTENUM, api_echo_TestEnum},
- {"ECHO_TESTSURROUNDING", DCERPC_ECHO_TESTSURROUNDING, api_echo_TestSurrounding},
- {"ECHO_TESTDOUBLEPOINTER", DCERPC_ECHO_TESTDOUBLEPOINTER, api_echo_TestDoublePointer},
+ {"ECHO_ADDONE", NDR_ECHO_ADDONE, api_echo_AddOne},
+ {"ECHO_ECHODATA", NDR_ECHO_ECHODATA, api_echo_EchoData},
+ {"ECHO_SINKDATA", NDR_ECHO_SINKDATA, api_echo_SinkData},
+ {"ECHO_SOURCEDATA", NDR_ECHO_SOURCEDATA, api_echo_SourceData},
+ {"ECHO_TESTCALL", NDR_ECHO_TESTCALL, api_echo_TestCall},
+ {"ECHO_TESTCALL2", NDR_ECHO_TESTCALL2, api_echo_TestCall2},
+ {"ECHO_TESTSLEEP", NDR_ECHO_TESTSLEEP, api_echo_TestSleep},
+ {"ECHO_TESTENUM", NDR_ECHO_TESTENUM, api_echo_TestEnum},
+ {"ECHO_TESTSURROUNDING", NDR_ECHO_TESTSURROUNDING, api_echo_TestSurrounding},
+ {"ECHO_TESTDOUBLEPOINTER", NDR_ECHO_TESTDOUBLEPOINTER, api_echo_TestDoublePointer},
};
void rpcecho_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_epmapper.c b/source3/librpc/gen_ndr/srv_epmapper.c
index f64a903e10..e5a7989137 100644
--- a/source3/librpc/gen_ndr/srv_epmapper.c
+++ b/source3/librpc/gen_ndr/srv_epmapper.c
@@ -552,14 +552,14 @@ static BOOL api_epm_MapAuth(pipes_struct *p)
/* Tables */
static struct api_struct api_epmapper_cmds[] =
{
- {"EPM_INSERT", DCERPC_EPM_INSERT, api_epm_Insert},
- {"EPM_DELETE", DCERPC_EPM_DELETE, api_epm_Delete},
- {"EPM_LOOKUP", DCERPC_EPM_LOOKUP, api_epm_Lookup},
- {"EPM_MAP", DCERPC_EPM_MAP, api_epm_Map},
- {"EPM_LOOKUPHANDLEFREE", DCERPC_EPM_LOOKUPHANDLEFREE, api_epm_LookupHandleFree},
- {"EPM_INQOBJECT", DCERPC_EPM_INQOBJECT, api_epm_InqObject},
- {"EPM_MGMTDELETE", DCERPC_EPM_MGMTDELETE, api_epm_MgmtDelete},
- {"EPM_MAPAUTH", DCERPC_EPM_MAPAUTH, api_epm_MapAuth},
+ {"EPM_INSERT", NDR_EPM_INSERT, api_epm_Insert},
+ {"EPM_DELETE", NDR_EPM_DELETE, api_epm_Delete},
+ {"EPM_LOOKUP", NDR_EPM_LOOKUP, api_epm_Lookup},
+ {"EPM_MAP", NDR_EPM_MAP, api_epm_Map},
+ {"EPM_LOOKUPHANDLEFREE", NDR_EPM_LOOKUPHANDLEFREE, api_epm_LookupHandleFree},
+ {"EPM_INQOBJECT", NDR_EPM_INQOBJECT, api_epm_InqObject},
+ {"EPM_MGMTDELETE", NDR_EPM_MGMTDELETE, api_epm_MgmtDelete},
+ {"EPM_MAPAUTH", NDR_EPM_MAPAUTH, api_epm_MapAuth},
};
void epmapper_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_eventlog.c b/source3/librpc/gen_ndr/srv_eventlog.c
index 51740e15c1..c2d65a6694 100644
--- a/source3/librpc/gen_ndr/srv_eventlog.c
+++ b/source3/librpc/gen_ndr/srv_eventlog.c
@@ -1581,30 +1581,30 @@ static BOOL api_eventlog_FlushEventLog(pipes_struct *p)
/* Tables */
static struct api_struct api_eventlog_cmds[] =
{
- {"EVENTLOG_CLEAREVENTLOGW", DCERPC_EVENTLOG_CLEAREVENTLOGW, api_eventlog_ClearEventLogW},
- {"EVENTLOG_BACKUPEVENTLOGW", DCERPC_EVENTLOG_BACKUPEVENTLOGW, api_eventlog_BackupEventLogW},
- {"EVENTLOG_CLOSEEVENTLOG", DCERPC_EVENTLOG_CLOSEEVENTLOG, api_eventlog_CloseEventLog},
- {"EVENTLOG_DEREGISTEREVENTSOURCE", DCERPC_EVENTLOG_DEREGISTEREVENTSOURCE, api_eventlog_DeregisterEventSource},
- {"EVENTLOG_GETNUMRECORDS", DCERPC_EVENTLOG_GETNUMRECORDS, api_eventlog_GetNumRecords},
- {"EVENTLOG_GETOLDESTRECORD", DCERPC_EVENTLOG_GETOLDESTRECORD, api_eventlog_GetOldestRecord},
- {"EVENTLOG_CHANGENOTIFY", DCERPC_EVENTLOG_CHANGENOTIFY, api_eventlog_ChangeNotify},
- {"EVENTLOG_OPENEVENTLOGW", DCERPC_EVENTLOG_OPENEVENTLOGW, api_eventlog_OpenEventLogW},
- {"EVENTLOG_REGISTEREVENTSOURCEW", DCERPC_EVENTLOG_REGISTEREVENTSOURCEW, api_eventlog_RegisterEventSourceW},
- {"EVENTLOG_OPENBACKUPEVENTLOGW", DCERPC_EVENTLOG_OPENBACKUPEVENTLOGW, api_eventlog_OpenBackupEventLogW},
- {"EVENTLOG_READEVENTLOGW", DCERPC_EVENTLOG_READEVENTLOGW, api_eventlog_ReadEventLogW},
- {"EVENTLOG_REPORTEVENTW", DCERPC_EVENTLOG_REPORTEVENTW, api_eventlog_ReportEventW},
- {"EVENTLOG_CLEAREVENTLOGA", DCERPC_EVENTLOG_CLEAREVENTLOGA, api_eventlog_ClearEventLogA},
- {"EVENTLOG_BACKUPEVENTLOGA", DCERPC_EVENTLOG_BACKUPEVENTLOGA, api_eventlog_BackupEventLogA},
- {"EVENTLOG_OPENEVENTLOGA", DCERPC_EVENTLOG_OPENEVENTLOGA, api_eventlog_OpenEventLogA},
- {"EVENTLOG_REGISTEREVENTSOURCEA", DCERPC_EVENTLOG_REGISTEREVENTSOURCEA, api_eventlog_RegisterEventSourceA},
- {"EVENTLOG_OPENBACKUPEVENTLOGA", DCERPC_EVENTLOG_OPENBACKUPEVENTLOGA, api_eventlog_OpenBackupEventLogA},
- {"EVENTLOG_READEVENTLOGA", DCERPC_EVENTLOG_READEVENTLOGA, api_eventlog_ReadEventLogA},
- {"EVENTLOG_REPORTEVENTA", DCERPC_EVENTLOG_REPORTEVENTA, api_eventlog_ReportEventA},
- {"EVENTLOG_REGISTERCLUSTERSVC", DCERPC_EVENTLOG_REGISTERCLUSTERSVC, api_eventlog_RegisterClusterSvc},
- {"EVENTLOG_DEREGISTERCLUSTERSVC", DCERPC_EVENTLOG_DEREGISTERCLUSTERSVC, api_eventlog_DeregisterClusterSvc},
- {"EVENTLOG_WRITECLUSTEREVENTS", DCERPC_EVENTLOG_WRITECLUSTEREVENTS, api_eventlog_WriteClusterEvents},
- {"EVENTLOG_GETLOGINTORMATION", DCERPC_EVENTLOG_GETLOGINTORMATION, api_eventlog_GetLogIntormation},
- {"EVENTLOG_FLUSHEVENTLOG", DCERPC_EVENTLOG_FLUSHEVENTLOG, api_eventlog_FlushEventLog},
+ {"EVENTLOG_CLEAREVENTLOGW", NDR_EVENTLOG_CLEAREVENTLOGW, api_eventlog_ClearEventLogW},
+ {"EVENTLOG_BACKUPEVENTLOGW", NDR_EVENTLOG_BACKUPEVENTLOGW, api_eventlog_BackupEventLogW},
+ {"EVENTLOG_CLOSEEVENTLOG", NDR_EVENTLOG_CLOSEEVENTLOG, api_eventlog_CloseEventLog},
+ {"EVENTLOG_DEREGISTEREVENTSOURCE", NDR_EVENTLOG_DEREGISTEREVENTSOURCE, api_eventlog_DeregisterEventSource},
+ {"EVENTLOG_GETNUMRECORDS", NDR_EVENTLOG_GETNUMRECORDS, api_eventlog_GetNumRecords},
+ {"EVENTLOG_GETOLDESTRECORD", NDR_EVENTLOG_GETOLDESTRECORD, api_eventlog_GetOldestRecord},
+ {"EVENTLOG_CHANGENOTIFY", NDR_EVENTLOG_CHANGENOTIFY, api_eventlog_ChangeNotify},
+ {"EVENTLOG_OPENEVENTLOGW", NDR_EVENTLOG_OPENEVENTLOGW, api_eventlog_OpenEventLogW},
+ {"EVENTLOG_REGISTEREVENTSOURCEW", NDR_EVENTLOG_REGISTEREVENTSOURCEW, api_eventlog_RegisterEventSourceW},
+ {"EVENTLOG_OPENBACKUPEVENTLOGW", NDR_EVENTLOG_OPENBACKUPEVENTLOGW, api_eventlog_OpenBackupEventLogW},
+ {"EVENTLOG_READEVENTLOGW", NDR_EVENTLOG_READEVENTLOGW, api_eventlog_ReadEventLogW},
+ {"EVENTLOG_REPORTEVENTW", NDR_EVENTLOG_REPORTEVENTW, api_eventlog_ReportEventW},
+ {"EVENTLOG_CLEAREVENTLOGA", NDR_EVENTLOG_CLEAREVENTLOGA, api_eventlog_ClearEventLogA},
+ {"EVENTLOG_BACKUPEVENTLOGA", NDR_EVENTLOG_BACKUPEVENTLOGA, api_eventlog_BackupEventLogA},
+ {"EVENTLOG_OPENEVENTLOGA", NDR_EVENTLOG_OPENEVENTLOGA, api_eventlog_OpenEventLogA},
+ {"EVENTLOG_REGISTEREVENTSOURCEA", NDR_EVENTLOG_REGISTEREVENTSOURCEA, api_eventlog_RegisterEventSourceA},
+ {"EVENTLOG_OPENBACKUPEVENTLOGA", NDR_EVENTLOG_OPENBACKUPEVENTLOGA, api_eventlog_OpenBackupEventLogA},
+ {"EVENTLOG_READEVENTLOGA", NDR_EVENTLOG_READEVENTLOGA, api_eventlog_ReadEventLogA},
+ {"EVENTLOG_REPORTEVENTA", NDR_EVENTLOG_REPORTEVENTA, api_eventlog_ReportEventA},
+ {"EVENTLOG_REGISTERCLUSTERSVC", NDR_EVENTLOG_REGISTERCLUSTERSVC, api_eventlog_RegisterClusterSvc},
+ {"EVENTLOG_DEREGISTERCLUSTERSVC", NDR_EVENTLOG_DEREGISTERCLUSTERSVC, api_eventlog_DeregisterClusterSvc},
+ {"EVENTLOG_WRITECLUSTEREVENTS", NDR_EVENTLOG_WRITECLUSTEREVENTS, api_eventlog_WriteClusterEvents},
+ {"EVENTLOG_GETLOGINTORMATION", NDR_EVENTLOG_GETLOGINTORMATION, api_eventlog_GetLogIntormation},
+ {"EVENTLOG_FLUSHEVENTLOG", NDR_EVENTLOG_FLUSHEVENTLOG, api_eventlog_FlushEventLog},
};
void eventlog_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_initshutdown.c b/source3/librpc/gen_ndr/srv_initshutdown.c
index 41c10129d5..b47ca9b600 100644
--- a/source3/librpc/gen_ndr/srv_initshutdown.c
+++ b/source3/librpc/gen_ndr/srv_initshutdown.c
@@ -202,9 +202,9 @@ static BOOL api_initshutdown_InitEx(pipes_struct *p)
/* Tables */
static struct api_struct api_initshutdown_cmds[] =
{
- {"INITSHUTDOWN_INIT", DCERPC_INITSHUTDOWN_INIT, api_initshutdown_Init},
- {"INITSHUTDOWN_ABORT", DCERPC_INITSHUTDOWN_ABORT, api_initshutdown_Abort},
- {"INITSHUTDOWN_INITEX", DCERPC_INITSHUTDOWN_INITEX, api_initshutdown_InitEx},
+ {"INITSHUTDOWN_INIT", NDR_INITSHUTDOWN_INIT, api_initshutdown_Init},
+ {"INITSHUTDOWN_ABORT", NDR_INITSHUTDOWN_ABORT, api_initshutdown_Abort},
+ {"INITSHUTDOWN_INITEX", NDR_INITSHUTDOWN_INITEX, api_initshutdown_InitEx},
};
void initshutdown_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_lsa.c b/source3/librpc/gen_ndr/srv_lsa.c
index 8e08f671ec..01d34abfea 100644
--- a/source3/librpc/gen_ndr/srv_lsa.c
+++ b/source3/librpc/gen_ndr/srv_lsa.c
@@ -5520,88 +5520,88 @@ static BOOL api_lsa_LSARADTREPORTSECURITYEVENT(pipes_struct *p)
/* Tables */
static struct api_struct api_lsarpc_cmds[] =
{
- {"LSA_CLOSE", DCERPC_LSA_CLOSE, api_lsa_Close},
- {"LSA_DELETE", DCERPC_LSA_DELETE, api_lsa_Delete},
- {"LSA_ENUMPRIVS", DCERPC_LSA_ENUMPRIVS, api_lsa_EnumPrivs},
- {"LSA_QUERYSECURITY", DCERPC_LSA_QUERYSECURITY, api_lsa_QuerySecurity},
- {"LSA_SETSECOBJ", DCERPC_LSA_SETSECOBJ, api_lsa_SetSecObj},
- {"LSA_CHANGEPASSWORD", DCERPC_LSA_CHANGEPASSWORD, api_lsa_ChangePassword},
- {"LSA_OPENPOLICY", DCERPC_LSA_OPENPOLICY, api_lsa_OpenPolicy},
- {"LSA_QUERYINFOPOLICY", DCERPC_LSA_QUERYINFOPOLICY, api_lsa_QueryInfoPolicy},
- {"LSA_SETINFOPOLICY", DCERPC_LSA_SETINFOPOLICY, api_lsa_SetInfoPolicy},
- {"LSA_CLEARAUDITLOG", DCERPC_LSA_CLEARAUDITLOG, api_lsa_ClearAuditLog},
- {"LSA_CREATEACCOUNT", DCERPC_LSA_CREATEACCOUNT, api_lsa_CreateAccount},
- {"LSA_ENUMACCOUNTS", DCERPC_LSA_ENUMACCOUNTS, api_lsa_EnumAccounts},
- {"LSA_CREATETRUSTEDDOMAIN", DCERPC_LSA_CREATETRUSTEDDOMAIN, api_lsa_CreateTrustedDomain},
- {"LSA_ENUMTRUSTDOM", DCERPC_LSA_ENUMTRUSTDOM, api_lsa_EnumTrustDom},
- {"LSA_LOOKUPNAMES", DCERPC_LSA_LOOKUPNAMES, api_lsa_LookupNames},
- {"LSA_LOOKUPSIDS", DCERPC_LSA_LOOKUPSIDS, api_lsa_LookupSids},
- {"LSA_CREATESECRET", DCERPC_LSA_CREATESECRET, api_lsa_CreateSecret},
- {"LSA_OPENACCOUNT", DCERPC_LSA_OPENACCOUNT, api_lsa_OpenAccount},
- {"LSA_ENUMPRIVSACCOUNT", DCERPC_LSA_ENUMPRIVSACCOUNT, api_lsa_EnumPrivsAccount},
- {"LSA_ADDPRIVILEGESTOACCOUNT", DCERPC_LSA_ADDPRIVILEGESTOACCOUNT, api_lsa_AddPrivilegesToAccount},
- {"LSA_REMOVEPRIVILEGESFROMACCOUNT", DCERPC_LSA_REMOVEPRIVILEGESFROMACCOUNT, api_lsa_RemovePrivilegesFromAccount},
- {"LSA_GETQUOTASFORACCOUNT", DCERPC_LSA_GETQUOTASFORACCOUNT, api_lsa_GetQuotasForAccount},
- {"LSA_SETQUOTASFORACCOUNT", DCERPC_LSA_SETQUOTASFORACCOUNT, api_lsa_SetQuotasForAccount},
- {"LSA_GETSYSTEMACCESSACCOUNT", DCERPC_LSA_GETSYSTEMACCESSACCOUNT, api_lsa_GetSystemAccessAccount},
- {"LSA_SETSYSTEMACCESSACCOUNT", DCERPC_LSA_SETSYSTEMACCESSACCOUNT, api_lsa_SetSystemAccessAccount},
- {"LSA_OPENTRUSTEDDOMAIN", DCERPC_LSA_OPENTRUSTEDDOMAIN, api_lsa_OpenTrustedDomain},
- {"LSA_QUERYTRUSTEDDOMAININFO", DCERPC_LSA_QUERYTRUSTEDDOMAININFO, api_lsa_QueryTrustedDomainInfo},
- {"LSA_SETINFORMATIONTRUSTEDDOMAIN", DCERPC_LSA_SETINFORMATIONTRUSTEDDOMAIN, api_lsa_SetInformationTrustedDomain},
- {"LSA_OPENSECRET", DCERPC_LSA_OPENSECRET, api_lsa_OpenSecret},
- {"LSA_SETSECRET", DCERPC_LSA_SETSECRET, api_lsa_SetSecret},
- {"LSA_QUERYSECRET", DCERPC_LSA_QUERYSECRET, api_lsa_QuerySecret},
- {"LSA_LOOKUPPRIVVALUE", DCERPC_LSA_LOOKUPPRIVVALUE, api_lsa_LookupPrivValue},
- {"LSA_LOOKUPPRIVNAME", DCERPC_LSA_LOOKUPPRIVNAME, api_lsa_LookupPrivName},
- {"LSA_LOOKUPPRIVDISPLAYNAME", DCERPC_LSA_LOOKUPPRIVDISPLAYNAME, api_lsa_LookupPrivDisplayName},
- {"LSA_DELETEOBJECT", DCERPC_LSA_DELETEOBJECT, api_lsa_DeleteObject},
- {"LSA_ENUMACCOUNTSWITHUSERRIGHT", DCERPC_LSA_ENUMACCOUNTSWITHUSERRIGHT, api_lsa_EnumAccountsWithUserRight},
- {"LSA_ENUMACCOUNTRIGHTS", DCERPC_LSA_ENUMACCOUNTRIGHTS, api_lsa_EnumAccountRights},
- {"LSA_ADDACCOUNTRIGHTS", DCERPC_LSA_ADDACCOUNTRIGHTS, api_lsa_AddAccountRights},
- {"LSA_REMOVEACCOUNTRIGHTS", DCERPC_LSA_REMOVEACCOUNTRIGHTS, api_lsa_RemoveAccountRights},
- {"LSA_QUERYTRUSTEDDOMAININFOBYSID", DCERPC_LSA_QUERYTRUSTEDDOMAININFOBYSID, api_lsa_QueryTrustedDomainInfoBySid},
- {"LSA_SETTRUSTEDDOMAININFO", DCERPC_LSA_SETTRUSTEDDOMAININFO, api_lsa_SetTrustedDomainInfo},
- {"LSA_DELETETRUSTEDDOMAIN", DCERPC_LSA_DELETETRUSTEDDOMAIN, api_lsa_DeleteTrustedDomain},
- {"LSA_STOREPRIVATEDATA", DCERPC_LSA_STOREPRIVATEDATA, api_lsa_StorePrivateData},
- {"LSA_RETRIEVEPRIVATEDATA", DCERPC_LSA_RETRIEVEPRIVATEDATA, api_lsa_RetrievePrivateData},
- {"LSA_OPENPOLICY2", DCERPC_LSA_OPENPOLICY2, api_lsa_OpenPolicy2},
- {"LSA_GETUSERNAME", DCERPC_LSA_GETUSERNAME, api_lsa_GetUserName},
- {"LSA_QUERYINFOPOLICY2", DCERPC_LSA_QUERYINFOPOLICY2, api_lsa_QueryInfoPolicy2},
- {"LSA_SETINFOPOLICY2", DCERPC_LSA_SETINFOPOLICY2, api_lsa_SetInfoPolicy2},
- {"LSA_QUERYTRUSTEDDOMAININFOBYNAME", DCERPC_LSA_QUERYTRUSTEDDOMAININFOBYNAME, api_lsa_QueryTrustedDomainInfoByName},
- {"LSA_SETTRUSTEDDOMAININFOBYNAME", DCERPC_LSA_SETTRUSTEDDOMAININFOBYNAME, api_lsa_SetTrustedDomainInfoByName},
- {"LSA_ENUMTRUSTEDDOMAINSEX", DCERPC_LSA_ENUMTRUSTEDDOMAINSEX, api_lsa_EnumTrustedDomainsEx},
- {"LSA_CREATETRUSTEDDOMAINEX", DCERPC_LSA_CREATETRUSTEDDOMAINEX, api_lsa_CreateTrustedDomainEx},
- {"LSA_CLOSETRUSTEDDOMAINEX", DCERPC_LSA_CLOSETRUSTEDDOMAINEX, api_lsa_CloseTrustedDomainEx},
- {"LSA_QUERYDOMAININFORMATIONPOLICY", DCERPC_LSA_QUERYDOMAININFORMATIONPOLICY, api_lsa_QueryDomainInformationPolicy},
- {"LSA_SETDOMAININFORMATIONPOLICY", DCERPC_LSA_SETDOMAININFORMATIONPOLICY, api_lsa_SetDomainInformationPolicy},
- {"LSA_OPENTRUSTEDDOMAINBYNAME", DCERPC_LSA_OPENTRUSTEDDOMAINBYNAME, api_lsa_OpenTrustedDomainByName},
- {"LSA_TESTCALL", DCERPC_LSA_TESTCALL, api_lsa_TestCall},
- {"LSA_LOOKUPSIDS2", DCERPC_LSA_LOOKUPSIDS2, api_lsa_LookupSids2},
- {"LSA_LOOKUPNAMES2", DCERPC_LSA_LOOKUPNAMES2, api_lsa_LookupNames2},
- {"LSA_CREATETRUSTEDDOMAINEX2", DCERPC_LSA_CREATETRUSTEDDOMAINEX2, api_lsa_CreateTrustedDomainEx2},
- {"LSA_CREDRWRITE", DCERPC_LSA_CREDRWRITE, api_lsa_CREDRWRITE},
- {"LSA_CREDRREAD", DCERPC_LSA_CREDRREAD, api_lsa_CREDRREAD},
- {"LSA_CREDRENUMERATE", DCERPC_LSA_CREDRENUMERATE, api_lsa_CREDRENUMERATE},
- {"LSA_CREDRWRITEDOMAINCREDENTIALS", DCERPC_LSA_CREDRWRITEDOMAINCREDENTIALS, api_lsa_CREDRWRITEDOMAINCREDENTIALS},
- {"LSA_CREDRREADDOMAINCREDENTIALS", DCERPC_LSA_CREDRREADDOMAINCREDENTIALS, api_lsa_CREDRREADDOMAINCREDENTIALS},
- {"LSA_CREDRDELETE", DCERPC_LSA_CREDRDELETE, api_lsa_CREDRDELETE},
- {"LSA_CREDRGETTARGETINFO", DCERPC_LSA_CREDRGETTARGETINFO, api_lsa_CREDRGETTARGETINFO},
- {"LSA_CREDRPROFILELOADED", DCERPC_LSA_CREDRPROFILELOADED, api_lsa_CREDRPROFILELOADED},
- {"LSA_LOOKUPNAMES3", DCERPC_LSA_LOOKUPNAMES3, api_lsa_LookupNames3},
- {"LSA_CREDRGETSESSIONTYPES", DCERPC_LSA_CREDRGETSESSIONTYPES, api_lsa_CREDRGETSESSIONTYPES},
- {"LSA_LSARREGISTERAUDITEVENT", DCERPC_LSA_LSARREGISTERAUDITEVENT, api_lsa_LSARREGISTERAUDITEVENT},
- {"LSA_LSARGENAUDITEVENT", DCERPC_LSA_LSARGENAUDITEVENT, api_lsa_LSARGENAUDITEVENT},
- {"LSA_LSARUNREGISTERAUDITEVENT", DCERPC_LSA_LSARUNREGISTERAUDITEVENT, api_lsa_LSARUNREGISTERAUDITEVENT},
- {"LSA_LSARQUERYFORESTTRUSTINFORMATION", DCERPC_LSA_LSARQUERYFORESTTRUSTINFORMATION, api_lsa_LSARQUERYFORESTTRUSTINFORMATION},
- {"LSA_LSARSETFORESTTRUSTINFORMATION", DCERPC_LSA_LSARSETFORESTTRUSTINFORMATION, api_lsa_LSARSETFORESTTRUSTINFORMATION},
- {"LSA_CREDRRENAME", DCERPC_LSA_CREDRRENAME, api_lsa_CREDRRENAME},
- {"LSA_LOOKUPSIDS3", DCERPC_LSA_LOOKUPSIDS3, api_lsa_LookupSids3},
- {"LSA_LOOKUPNAMES4", DCERPC_LSA_LOOKUPNAMES4, api_lsa_LookupNames4},
- {"LSA_LSAROPENPOLICYSCE", DCERPC_LSA_LSAROPENPOLICYSCE, api_lsa_LSAROPENPOLICYSCE},
- {"LSA_LSARADTREGISTERSECURITYEVENTSOURCE", DCERPC_LSA_LSARADTREGISTERSECURITYEVENTSOURCE, api_lsa_LSARADTREGISTERSECURITYEVENTSOURCE},
- {"LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE", DCERPC_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE, api_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE},
- {"LSA_LSARADTREPORTSECURITYEVENT", DCERPC_LSA_LSARADTREPORTSECURITYEVENT, api_lsa_LSARADTREPORTSECURITYEVENT},
+ {"LSA_CLOSE", NDR_LSA_CLOSE, api_lsa_Close},
+ {"LSA_DELETE", NDR_LSA_DELETE, api_lsa_Delete},
+ {"LSA_ENUMPRIVS", NDR_LSA_ENUMPRIVS, api_lsa_EnumPrivs},
+ {"LSA_QUERYSECURITY", NDR_LSA_QUERYSECURITY, api_lsa_QuerySecurity},
+ {"LSA_SETSECOBJ", NDR_LSA_SETSECOBJ, api_lsa_SetSecObj},
+ {"LSA_CHANGEPASSWORD", NDR_LSA_CHANGEPASSWORD, api_lsa_ChangePassword},
+ {"LSA_OPENPOLICY", NDR_LSA_OPENPOLICY, api_lsa_OpenPolicy},
+ {"LSA_QUERYINFOPOLICY", NDR_LSA_QUERYINFOPOLICY, api_lsa_QueryInfoPolicy},
+ {"LSA_SETINFOPOLICY", NDR_LSA_SETINFOPOLICY, api_lsa_SetInfoPolicy},
+ {"LSA_CLEARAUDITLOG", NDR_LSA_CLEARAUDITLOG, api_lsa_ClearAuditLog},
+ {"LSA_CREATEACCOUNT", NDR_LSA_CREATEACCOUNT, api_lsa_CreateAccount},
+ {"LSA_ENUMACCOUNTS", NDR_LSA_ENUMACCOUNTS, api_lsa_EnumAccounts},
+ {"LSA_CREATETRUSTEDDOMAIN", NDR_LSA_CREATETRUSTEDDOMAIN, api_lsa_CreateTrustedDomain},
+ {"LSA_ENUMTRUSTDOM", NDR_LSA_ENUMTRUSTDOM, api_lsa_EnumTrustDom},
+ {"LSA_LOOKUPNAMES", NDR_LSA_LOOKUPNAMES, api_lsa_LookupNames},
+ {"LSA_LOOKUPSIDS", NDR_LSA_LOOKUPSIDS, api_lsa_LookupSids},
+ {"LSA_CREATESECRET", NDR_LSA_CREATESECRET, api_lsa_CreateSecret},
+ {"LSA_OPENACCOUNT", NDR_LSA_OPENACCOUNT, api_lsa_OpenAccount},
+ {"LSA_ENUMPRIVSACCOUNT", NDR_LSA_ENUMPRIVSACCOUNT, api_lsa_EnumPrivsAccount},
+ {"LSA_ADDPRIVILEGESTOACCOUNT", NDR_LSA_ADDPRIVILEGESTOACCOUNT, api_lsa_AddPrivilegesToAccount},
+ {"LSA_REMOVEPRIVILEGESFROMACCOUNT", NDR_LSA_REMOVEPRIVILEGESFROMACCOUNT, api_lsa_RemovePrivilegesFromAccount},
+ {"LSA_GETQUOTASFORACCOUNT", NDR_LSA_GETQUOTASFORACCOUNT, api_lsa_GetQuotasForAccount},
+ {"LSA_SETQUOTASFORACCOUNT", NDR_LSA_SETQUOTASFORACCOUNT, api_lsa_SetQuotasForAccount},
+ {"LSA_GETSYSTEMACCESSACCOUNT", NDR_LSA_GETSYSTEMACCESSACCOUNT, api_lsa_GetSystemAccessAccount},
+ {"LSA_SETSYSTEMACCESSACCOUNT", NDR_LSA_SETSYSTEMACCESSACCOUNT, api_lsa_SetSystemAccessAccount},
+ {"LSA_OPENTRUSTEDDOMAIN", NDR_LSA_OPENTRUSTEDDOMAIN, api_lsa_OpenTrustedDomain},
+ {"LSA_QUERYTRUSTEDDOMAININFO", NDR_LSA_QUERYTRUSTEDDOMAININFO, api_lsa_QueryTrustedDomainInfo},
+ {"LSA_SETINFORMATIONTRUSTEDDOMAIN", NDR_LSA_SETINFORMATIONTRUSTEDDOMAIN, api_lsa_SetInformationTrustedDomain},
+ {"LSA_OPENSECRET", NDR_LSA_OPENSECRET, api_lsa_OpenSecret},
+ {"LSA_SETSECRET", NDR_LSA_SETSECRET, api_lsa_SetSecret},
+ {"LSA_QUERYSECRET", NDR_LSA_QUERYSECRET, api_lsa_QuerySecret},
+ {"LSA_LOOKUPPRIVVALUE", NDR_LSA_LOOKUPPRIVVALUE, api_lsa_LookupPrivValue},
+ {"LSA_LOOKUPPRIVNAME", NDR_LSA_LOOKUPPRIVNAME, api_lsa_LookupPrivName},
+ {"LSA_LOOKUPPRIVDISPLAYNAME", NDR_LSA_LOOKUPPRIVDISPLAYNAME, api_lsa_LookupPrivDisplayName},
+ {"LSA_DELETEOBJECT", NDR_LSA_DELETEOBJECT, api_lsa_DeleteObject},
+ {"LSA_ENUMACCOUNTSWITHUSERRIGHT", NDR_LSA_ENUMACCOUNTSWITHUSERRIGHT, api_lsa_EnumAccountsWithUserRight},
+ {"LSA_ENUMACCOUNTRIGHTS", NDR_LSA_ENUMACCOUNTRIGHTS, api_lsa_EnumAccountRights},
+ {"LSA_ADDACCOUNTRIGHTS", NDR_LSA_ADDACCOUNTRIGHTS, api_lsa_AddAccountRights},
+ {"LSA_REMOVEACCOUNTRIGHTS", NDR_LSA_REMOVEACCOUNTRIGHTS, api_lsa_RemoveAccountRights},
+ {"LSA_QUERYTRUSTEDDOMAININFOBYSID", NDR_LSA_QUERYTRUSTEDDOMAININFOBYSID, api_lsa_QueryTrustedDomainInfoBySid},
+ {"LSA_SETTRUSTEDDOMAININFO", NDR_LSA_SETTRUSTEDDOMAININFO, api_lsa_SetTrustedDomainInfo},
+ {"LSA_DELETETRUSTEDDOMAIN", NDR_LSA_DELETETRUSTEDDOMAIN, api_lsa_DeleteTrustedDomain},
+ {"LSA_STOREPRIVATEDATA", NDR_LSA_STOREPRIVATEDATA, api_lsa_StorePrivateData},
+ {"LSA_RETRIEVEPRIVATEDATA", NDR_LSA_RETRIEVEPRIVATEDATA, api_lsa_RetrievePrivateData},
+ {"LSA_OPENPOLICY2", NDR_LSA_OPENPOLICY2, api_lsa_OpenPolicy2},
+ {"LSA_GETUSERNAME", NDR_LSA_GETUSERNAME, api_lsa_GetUserName},
+ {"LSA_QUERYINFOPOLICY2", NDR_LSA_QUERYINFOPOLICY2, api_lsa_QueryInfoPolicy2},
+ {"LSA_SETINFOPOLICY2", NDR_LSA_SETINFOPOLICY2, api_lsa_SetInfoPolicy2},
+ {"LSA_QUERYTRUSTEDDOMAININFOBYNAME", NDR_LSA_QUERYTRUSTEDDOMAININFOBYNAME, api_lsa_QueryTrustedDomainInfoByName},
+ {"LSA_SETTRUSTEDDOMAININFOBYNAME", NDR_LSA_SETTRUSTEDDOMAININFOBYNAME, api_lsa_SetTrustedDomainInfoByName},
+ {"LSA_ENUMTRUSTEDDOMAINSEX", NDR_LSA_ENUMTRUSTEDDOMAINSEX, api_lsa_EnumTrustedDomainsEx},
+ {"LSA_CREATETRUSTEDDOMAINEX", NDR_LSA_CREATETRUSTEDDOMAINEX, api_lsa_CreateTrustedDomainEx},
+ {"LSA_CLOSETRUSTEDDOMAINEX", NDR_LSA_CLOSETRUSTEDDOMAINEX, api_lsa_CloseTrustedDomainEx},
+ {"LSA_QUERYDOMAININFORMATIONPOLICY", NDR_LSA_QUERYDOMAININFORMATIONPOLICY, api_lsa_QueryDomainInformationPolicy},
+ {"LSA_SETDOMAININFORMATIONPOLICY", NDR_LSA_SETDOMAININFORMATIONPOLICY, api_lsa_SetDomainInformationPolicy},
+ {"LSA_OPENTRUSTEDDOMAINBYNAME", NDR_LSA_OPENTRUSTEDDOMAINBYNAME, api_lsa_OpenTrustedDomainByName},
+ {"LSA_TESTCALL", NDR_LSA_TESTCALL, api_lsa_TestCall},
+ {"LSA_LOOKUPSIDS2", NDR_LSA_LOOKUPSIDS2, api_lsa_LookupSids2},
+ {"LSA_LOOKUPNAMES2", NDR_LSA_LOOKUPNAMES2, api_lsa_LookupNames2},
+ {"LSA_CREATETRUSTEDDOMAINEX2", NDR_LSA_CREATETRUSTEDDOMAINEX2, api_lsa_CreateTrustedDomainEx2},
+ {"LSA_CREDRWRITE", NDR_LSA_CREDRWRITE, api_lsa_CREDRWRITE},
+ {"LSA_CREDRREAD", NDR_LSA_CREDRREAD, api_lsa_CREDRREAD},
+ {"LSA_CREDRENUMERATE", NDR_LSA_CREDRENUMERATE, api_lsa_CREDRENUMERATE},
+ {"LSA_CREDRWRITEDOMAINCREDENTIALS", NDR_LSA_CREDRWRITEDOMAINCREDENTIALS, api_lsa_CREDRWRITEDOMAINCREDENTIALS},
+ {"LSA_CREDRREADDOMAINCREDENTIALS", NDR_LSA_CREDRREADDOMAINCREDENTIALS, api_lsa_CREDRREADDOMAINCREDENTIALS},
+ {"LSA_CREDRDELETE", NDR_LSA_CREDRDELETE, api_lsa_CREDRDELETE},
+ {"LSA_CREDRGETTARGETINFO", NDR_LSA_CREDRGETTARGETINFO, api_lsa_CREDRGETTARGETINFO},
+ {"LSA_CREDRPROFILELOADED", NDR_LSA_CREDRPROFILELOADED, api_lsa_CREDRPROFILELOADED},
+ {"LSA_LOOKUPNAMES3", NDR_LSA_LOOKUPNAMES3, api_lsa_LookupNames3},
+ {"LSA_CREDRGETSESSIONTYPES", NDR_LSA_CREDRGETSESSIONTYPES, api_lsa_CREDRGETSESSIONTYPES},
+ {"LSA_LSARREGISTERAUDITEVENT", NDR_LSA_LSARREGISTERAUDITEVENT, api_lsa_LSARREGISTERAUDITEVENT},
+ {"LSA_LSARGENAUDITEVENT", NDR_LSA_LSARGENAUDITEVENT, api_lsa_LSARGENAUDITEVENT},
+ {"LSA_LSARUNREGISTERAUDITEVENT", NDR_LSA_LSARUNREGISTERAUDITEVENT, api_lsa_LSARUNREGISTERAUDITEVENT},
+ {"LSA_LSARQUERYFORESTTRUSTINFORMATION", NDR_LSA_LSARQUERYFORESTTRUSTINFORMATION, api_lsa_LSARQUERYFORESTTRUSTINFORMATION},
+ {"LSA_LSARSETFORESTTRUSTINFORMATION", NDR_LSA_LSARSETFORESTTRUSTINFORMATION, api_lsa_LSARSETFORESTTRUSTINFORMATION},
+ {"LSA_CREDRRENAME", NDR_LSA_CREDRRENAME, api_lsa_CREDRRENAME},
+ {"LSA_LOOKUPSIDS3", NDR_LSA_LOOKUPSIDS3, api_lsa_LookupSids3},
+ {"LSA_LOOKUPNAMES4", NDR_LSA_LOOKUPNAMES4, api_lsa_LookupNames4},
+ {"LSA_LSAROPENPOLICYSCE", NDR_LSA_LSAROPENPOLICYSCE, api_lsa_LSAROPENPOLICYSCE},
+ {"LSA_LSARADTREGISTERSECURITYEVENTSOURCE", NDR_LSA_LSARADTREGISTERSECURITYEVENTSOURCE, api_lsa_LSARADTREGISTERSECURITYEVENTSOURCE},
+ {"LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE", NDR_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE, api_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE},
+ {"LSA_LSARADTREPORTSECURITYEVENT", NDR_LSA_LSARADTREPORTSECURITYEVENT, api_lsa_LSARADTREPORTSECURITYEVENT},
};
void lsarpc_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_netlogon.c b/source3/librpc/gen_ndr/srv_netlogon.c
index e964918403..2dc90d1c74 100644
--- a/source3/librpc/gen_ndr/srv_netlogon.c
+++ b/source3/librpc/gen_ndr/srv_netlogon.c
@@ -3279,53 +3279,53 @@ static BOOL api_netr_NETRSERVERGETTRUSTINFO(pipes_struct *p)
/* Tables */
static struct api_struct api_netlogon_cmds[] =
{
- {"NETR_LOGONUASLOGON", DCERPC_NETR_LOGONUASLOGON, api_netr_LogonUasLogon},
- {"NETR_LOGONUASLOGOFF", DCERPC_NETR_LOGONUASLOGOFF, api_netr_LogonUasLogoff},
- {"NETR_LOGONSAMLOGON", DCERPC_NETR_LOGONSAMLOGON, api_netr_LogonSamLogon},
- {"NETR_LOGONSAMLOGOFF", DCERPC_NETR_LOGONSAMLOGOFF, api_netr_LogonSamLogoff},
- {"NETR_SERVERREQCHALLENGE", DCERPC_NETR_SERVERREQCHALLENGE, api_netr_ServerReqChallenge},
- {"NETR_SERVERAUTHENTICATE", DCERPC_NETR_SERVERAUTHENTICATE, api_netr_ServerAuthenticate},
- {"NETR_SERVERPASSWORDSET", DCERPC_NETR_SERVERPASSWORDSET, api_netr_ServerPasswordSet},
- {"NETR_DATABASEDELTAS", DCERPC_NETR_DATABASEDELTAS, api_netr_DatabaseDeltas},
- {"NETR_DATABASESYNC", DCERPC_NETR_DATABASESYNC, api_netr_DatabaseSync},
- {"NETR_ACCOUNTDELTAS", DCERPC_NETR_ACCOUNTDELTAS, api_netr_AccountDeltas},
- {"NETR_ACCOUNTSYNC", DCERPC_NETR_ACCOUNTSYNC, api_netr_AccountSync},
- {"NETR_GETDCNAME", DCERPC_NETR_GETDCNAME, api_netr_GetDcName},
- {"NETR_LOGONCONTROL", DCERPC_NETR_LOGONCONTROL, api_netr_LogonControl},
- {"NETR_GETANYDCNAME", DCERPC_NETR_GETANYDCNAME, api_netr_GetAnyDCName},
- {"NETR_LOGONCONTROL2", DCERPC_NETR_LOGONCONTROL2, api_netr_LogonControl2},
- {"NETR_SERVERAUTHENTICATE2", DCERPC_NETR_SERVERAUTHENTICATE2, api_netr_ServerAuthenticate2},
- {"NETR_DATABASESYNC2", DCERPC_NETR_DATABASESYNC2, api_netr_DatabaseSync2},
- {"NETR_DATABASEREDO", DCERPC_NETR_DATABASEREDO, api_netr_DatabaseRedo},
- {"NETR_LOGONCONTROL2EX", DCERPC_NETR_LOGONCONTROL2EX, api_netr_LogonControl2Ex},
- {"NETR_NETRENUMERATETRUSTEDDOMAINS", DCERPC_NETR_NETRENUMERATETRUSTEDDOMAINS, api_netr_NETRENUMERATETRUSTEDDOMAINS},
- {"NETR_DSRGETDCNAME", DCERPC_NETR_DSRGETDCNAME, api_netr_DsRGetDCName},
- {"NETR_NETRLOGONDUMMYROUTINE1", DCERPC_NETR_NETRLOGONDUMMYROUTINE1, api_netr_NETRLOGONDUMMYROUTINE1},
- {"NETR_NETRLOGONSETSERVICEBITS", DCERPC_NETR_NETRLOGONSETSERVICEBITS, api_netr_NETRLOGONSETSERVICEBITS},
- {"NETR_NETRLOGONGETTRUSTRID", DCERPC_NETR_NETRLOGONGETTRUSTRID, api_netr_NETRLOGONGETTRUSTRID},
- {"NETR_NETRLOGONCOMPUTESERVERDIGEST", DCERPC_NETR_NETRLOGONCOMPUTESERVERDIGEST, api_netr_NETRLOGONCOMPUTESERVERDIGEST},
- {"NETR_NETRLOGONCOMPUTECLIENTDIGEST", DCERPC_NETR_NETRLOGONCOMPUTECLIENTDIGEST, api_netr_NETRLOGONCOMPUTECLIENTDIGEST},
- {"NETR_SERVERAUTHENTICATE3", DCERPC_NETR_SERVERAUTHENTICATE3, api_netr_ServerAuthenticate3},
- {"NETR_DSRGETDCNAMEEX", DCERPC_NETR_DSRGETDCNAMEEX, api_netr_DsRGetDCNameEx},
- {"NETR_DSRGETSITENAME", DCERPC_NETR_DSRGETSITENAME, api_netr_DsRGetSiteName},
- {"NETR_LOGONGETDOMAININFO", DCERPC_NETR_LOGONGETDOMAININFO, api_netr_LogonGetDomainInfo},
- {"NETR_SERVERPASSWORDSET2", DCERPC_NETR_SERVERPASSWORDSET2, api_netr_ServerPasswordSet2},
- {"NETR_NETRSERVERPASSWORDGET", DCERPC_NETR_NETRSERVERPASSWORDGET, api_netr_NETRSERVERPASSWORDGET},
- {"NETR_NETRLOGONSENDTOSAM", DCERPC_NETR_NETRLOGONSENDTOSAM, api_netr_NETRLOGONSENDTOSAM},
- {"NETR_DSRADDRESSTOSITENAMESW", DCERPC_NETR_DSRADDRESSTOSITENAMESW, api_netr_DSRADDRESSTOSITENAMESW},
- {"NETR_DSRGETDCNAMEEX2", DCERPC_NETR_DSRGETDCNAMEEX2, api_netr_DsRGetDCNameEx2},
- {"NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN", DCERPC_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN, api_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN},
- {"NETR_NETRENUMERATETRUSTEDDOMAINSEX", DCERPC_NETR_NETRENUMERATETRUSTEDDOMAINSEX, api_netr_NETRENUMERATETRUSTEDDOMAINSEX},
- {"NETR_DSRADDRESSTOSITENAMESEXW", DCERPC_NETR_DSRADDRESSTOSITENAMESEXW, api_netr_DSRADDRESSTOSITENAMESEXW},
- {"NETR_DSRGETDCSITECOVERAGEW", DCERPC_NETR_DSRGETDCSITECOVERAGEW, api_netr_DSRGETDCSITECOVERAGEW},
- {"NETR_LOGONSAMLOGONEX", DCERPC_NETR_LOGONSAMLOGONEX, api_netr_LogonSamLogonEx},
- {"NETR_DSRENUMERATEDOMAINTRUSTS", DCERPC_NETR_DSRENUMERATEDOMAINTRUSTS, api_netr_DsrEnumerateDomainTrusts},
- {"NETR_DSRDEREGISTERDNSHOSTRECORDS", DCERPC_NETR_DSRDEREGISTERDNSHOSTRECORDS, api_netr_DSRDEREGISTERDNSHOSTRECORDS},
- {"NETR_NETRSERVERTRUSTPASSWORDSGET", DCERPC_NETR_NETRSERVERTRUSTPASSWORDSGET, api_netr_NETRSERVERTRUSTPASSWORDSGET},
- {"NETR_DSRGETFORESTTRUSTINFORMATION", DCERPC_NETR_DSRGETFORESTTRUSTINFORMATION, api_netr_DSRGETFORESTTRUSTINFORMATION},
- {"NETR_NETRGETFORESTTRUSTINFORMATION", DCERPC_NETR_NETRGETFORESTTRUSTINFORMATION, api_netr_NETRGETFORESTTRUSTINFORMATION},
- {"NETR_LOGONSAMLOGONWITHFLAGS", DCERPC_NETR_LOGONSAMLOGONWITHFLAGS, api_netr_LogonSamLogonWithFlags},
- {"NETR_NETRSERVERGETTRUSTINFO", DCERPC_NETR_NETRSERVERGETTRUSTINFO, api_netr_NETRSERVERGETTRUSTINFO},
+ {"NETR_LOGONUASLOGON", NDR_NETR_LOGONUASLOGON, api_netr_LogonUasLogon},
+ {"NETR_LOGONUASLOGOFF", NDR_NETR_LOGONUASLOGOFF, api_netr_LogonUasLogoff},
+ {"NETR_LOGONSAMLOGON", NDR_NETR_LOGONSAMLOGON, api_netr_LogonSamLogon},
+ {"NETR_LOGONSAMLOGOFF", NDR_NETR_LOGONSAMLOGOFF, api_netr_LogonSamLogoff},
+ {"NETR_SERVERREQCHALLENGE", NDR_NETR_SERVERREQCHALLENGE, api_netr_ServerReqChallenge},
+ {"NETR_SERVERAUTHENTICATE", NDR_NETR_SERVERAUTHENTICATE, api_netr_ServerAuthenticate},
+ {"NETR_SERVERPASSWORDSET", NDR_NETR_SERVERPASSWORDSET, api_netr_ServerPasswordSet},
+ {"NETR_DATABASEDELTAS", NDR_NETR_DATABASEDELTAS, api_netr_DatabaseDeltas},
+ {"NETR_DATABASESYNC", NDR_NETR_DATABASESYNC, api_netr_DatabaseSync},
+ {"NETR_ACCOUNTDELTAS", NDR_NETR_ACCOUNTDELTAS, api_netr_AccountDeltas},
+ {"NETR_ACCOUNTSYNC", NDR_NETR_ACCOUNTSYNC, api_netr_AccountSync},
+ {"NETR_GETDCNAME", NDR_NETR_GETDCNAME, api_netr_GetDcName},
+ {"NETR_LOGONCONTROL", NDR_NETR_LOGONCONTROL, api_netr_LogonControl},
+ {"NETR_GETANYDCNAME", NDR_NETR_GETANYDCNAME, api_netr_GetAnyDCName},
+ {"NETR_LOGONCONTROL2", NDR_NETR_LOGONCONTROL2, api_netr_LogonControl2},
+ {"NETR_SERVERAUTHENTICATE2", NDR_NETR_SERVERAUTHENTICATE2, api_netr_ServerAuthenticate2},
+ {"NETR_DATABASESYNC2", NDR_NETR_DATABASESYNC2, api_netr_DatabaseSync2},
+ {"NETR_DATABASEREDO", NDR_NETR_DATABASEREDO, api_netr_DatabaseRedo},
+ {"NETR_LOGONCONTROL2EX", NDR_NETR_LOGONCONTROL2EX, api_netr_LogonControl2Ex},
+ {"NETR_NETRENUMERATETRUSTEDDOMAINS", NDR_NETR_NETRENUMERATETRUSTEDDOMAINS, api_netr_NETRENUMERATETRUSTEDDOMAINS},
+ {"NETR_DSRGETDCNAME", NDR_NETR_DSRGETDCNAME, api_netr_DsRGetDCName},
+ {"NETR_NETRLOGONDUMMYROUTINE1", NDR_NETR_NETRLOGONDUMMYROUTINE1, api_netr_NETRLOGONDUMMYROUTINE1},
+ {"NETR_NETRLOGONSETSERVICEBITS", NDR_NETR_NETRLOGONSETSERVICEBITS, api_netr_NETRLOGONSETSERVICEBITS},
+ {"NETR_NETRLOGONGETTRUSTRID", NDR_NETR_NETRLOGONGETTRUSTRID, api_netr_NETRLOGONGETTRUSTRID},
+ {"NETR_NETRLOGONCOMPUTESERVERDIGEST", NDR_NETR_NETRLOGONCOMPUTESERVERDIGEST, api_netr_NETRLOGONCOMPUTESERVERDIGEST},
+ {"NETR_NETRLOGONCOMPUTECLIENTDIGEST", NDR_NETR_NETRLOGONCOMPUTECLIENTDIGEST, api_netr_NETRLOGONCOMPUTECLIENTDIGEST},
+ {"NETR_SERVERAUTHENTICATE3", NDR_NETR_SERVERAUTHENTICATE3, api_netr_ServerAuthenticate3},
+ {"NETR_DSRGETDCNAMEEX", NDR_NETR_DSRGETDCNAMEEX, api_netr_DsRGetDCNameEx},
+ {"NETR_DSRGETSITENAME", NDR_NETR_DSRGETSITENAME, api_netr_DsRGetSiteName},
+ {"NETR_LOGONGETDOMAININFO", NDR_NETR_LOGONGETDOMAININFO, api_netr_LogonGetDomainInfo},
+ {"NETR_SERVERPASSWORDSET2", NDR_NETR_SERVERPASSWORDSET2, api_netr_ServerPasswordSet2},
+ {"NETR_NETRSERVERPASSWORDGET", NDR_NETR_NETRSERVERPASSWORDGET, api_netr_NETRSERVERPASSWORDGET},
+ {"NETR_NETRLOGONSENDTOSAM", NDR_NETR_NETRLOGONSENDTOSAM, api_netr_NETRLOGONSENDTOSAM},
+ {"NETR_DSRADDRESSTOSITENAMESW", NDR_NETR_DSRADDRESSTOSITENAMESW, api_netr_DSRADDRESSTOSITENAMESW},
+ {"NETR_DSRGETDCNAMEEX2", NDR_NETR_DSRGETDCNAMEEX2, api_netr_DsRGetDCNameEx2},
+ {"NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN", NDR_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN, api_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN},
+ {"NETR_NETRENUMERATETRUSTEDDOMAINSEX", NDR_NETR_NETRENUMERATETRUSTEDDOMAINSEX, api_netr_NETRENUMERATETRUSTEDDOMAINSEX},
+ {"NETR_DSRADDRESSTOSITENAMESEXW", NDR_NETR_DSRADDRESSTOSITENAMESEXW, api_netr_DSRADDRESSTOSITENAMESEXW},
+ {"NETR_DSRGETDCSITECOVERAGEW", NDR_NETR_DSRGETDCSITECOVERAGEW, api_netr_DSRGETDCSITECOVERAGEW},
+ {"NETR_LOGONSAMLOGONEX", NDR_NETR_LOGONSAMLOGONEX, api_netr_LogonSamLogonEx},
+ {"NETR_DSRENUMERATEDOMAINTRUSTS", NDR_NETR_DSRENUMERATEDOMAINTRUSTS, api_netr_DsrEnumerateDomainTrusts},
+ {"NETR_DSRDEREGISTERDNSHOSTRECORDS", NDR_NETR_DSRDEREGISTERDNSHOSTRECORDS, api_netr_DSRDEREGISTERDNSHOSTRECORDS},
+ {"NETR_NETRSERVERTRUSTPASSWORDSGET", NDR_NETR_NETRSERVERTRUSTPASSWORDSGET, api_netr_NETRSERVERTRUSTPASSWORDSGET},
+ {"NETR_DSRGETFORESTTRUSTINFORMATION", NDR_NETR_DSRGETFORESTTRUSTINFORMATION, api_netr_DSRGETFORESTTRUSTINFORMATION},
+ {"NETR_NETRGETFORESTTRUSTINFORMATION", NDR_NETR_NETRGETFORESTTRUSTINFORMATION, api_netr_NETRGETFORESTTRUSTINFORMATION},
+ {"NETR_LOGONSAMLOGONWITHFLAGS", NDR_NETR_LOGONSAMLOGONWITHFLAGS, api_netr_LogonSamLogonWithFlags},
+ {"NETR_NETRSERVERGETTRUSTINFO", NDR_NETR_NETRSERVERGETTRUSTINFO, api_netr_NETRSERVERGETTRUSTINFO},
};
void netlogon_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_srvsvc.c b/source3/librpc/gen_ndr/srv_srvsvc.c
index 18b8689204..72daa7ed09 100644
--- a/source3/librpc/gen_ndr/srv_srvsvc.c
+++ b/source3/librpc/gen_ndr/srv_srvsvc.c
@@ -3650,60 +3650,60 @@ static BOOL api_srvsvc_NETRSERVERTRANSPORTDELEX(pipes_struct *p)
/* Tables */
static struct api_struct api_srvsvc_cmds[] =
{
- {"SRVSVC_NETCHARDEVENUM", DCERPC_SRVSVC_NETCHARDEVENUM, api_srvsvc_NetCharDevEnum},
- {"SRVSVC_NETCHARDEVGETINFO", DCERPC_SRVSVC_NETCHARDEVGETINFO, api_srvsvc_NetCharDevGetInfo},
- {"SRVSVC_NETCHARDEVCONTROL", DCERPC_SRVSVC_NETCHARDEVCONTROL, api_srvsvc_NetCharDevControl},
- {"SRVSVC_NETCHARDEVQENUM", DCERPC_SRVSVC_NETCHARDEVQENUM, api_srvsvc_NetCharDevQEnum},
- {"SRVSVC_NETCHARDEVQGETINFO", DCERPC_SRVSVC_NETCHARDEVQGETINFO, api_srvsvc_NetCharDevQGetInfo},
- {"SRVSVC_NETCHARDEVQSETINFO", DCERPC_SRVSVC_NETCHARDEVQSETINFO, api_srvsvc_NetCharDevQSetInfo},
- {"SRVSVC_NETCHARDEVQPURGE", DCERPC_SRVSVC_NETCHARDEVQPURGE, api_srvsvc_NetCharDevQPurge},
- {"SRVSVC_NETCHARDEVQPURGESELF", DCERPC_SRVSVC_NETCHARDEVQPURGESELF, api_srvsvc_NetCharDevQPurgeSelf},
- {"SRVSVC_NETCONNENUM", DCERPC_SRVSVC_NETCONNENUM, api_srvsvc_NetConnEnum},
- {"SRVSVC_NETFILEENUM", DCERPC_SRVSVC_NETFILEENUM, api_srvsvc_NetFileEnum},
- {"SRVSVC_NETFILEGETINFO", DCERPC_SRVSVC_NETFILEGETINFO, api_srvsvc_NetFileGetInfo},
- {"SRVSVC_NETFILECLOSE", DCERPC_SRVSVC_NETFILECLOSE, api_srvsvc_NetFileClose},
- {"SRVSVC_NETSESSENUM", DCERPC_SRVSVC_NETSESSENUM, api_srvsvc_NetSessEnum},
- {"SRVSVC_NETSESSDEL", DCERPC_SRVSVC_NETSESSDEL, api_srvsvc_NetSessDel},
- {"SRVSVC_NETSHAREADD", DCERPC_SRVSVC_NETSHAREADD, api_srvsvc_NetShareAdd},
- {"SRVSVC_NETSHAREENUMALL", DCERPC_SRVSVC_NETSHAREENUMALL, api_srvsvc_NetShareEnumAll},
- {"SRVSVC_NETSHAREGETINFO", DCERPC_SRVSVC_NETSHAREGETINFO, api_srvsvc_NetShareGetInfo},
- {"SRVSVC_NETSHARESETINFO", DCERPC_SRVSVC_NETSHARESETINFO, api_srvsvc_NetShareSetInfo},
- {"SRVSVC_NETSHAREDEL", DCERPC_SRVSVC_NETSHAREDEL, api_srvsvc_NetShareDel},
- {"SRVSVC_NETSHAREDELSTICKY", DCERPC_SRVSVC_NETSHAREDELSTICKY, api_srvsvc_NetShareDelSticky},
- {"SRVSVC_NETSHARECHECK", DCERPC_SRVSVC_NETSHARECHECK, api_srvsvc_NetShareCheck},
- {"SRVSVC_NETSRVGETINFO", DCERPC_SRVSVC_NETSRVGETINFO, api_srvsvc_NetSrvGetInfo},
- {"SRVSVC_NETSRVSETINFO", DCERPC_SRVSVC_NETSRVSETINFO, api_srvsvc_NetSrvSetInfo},
- {"SRVSVC_NETDISKENUM", DCERPC_SRVSVC_NETDISKENUM, api_srvsvc_NetDiskEnum},
- {"SRVSVC_NETSERVERSTATISTICSGET", DCERPC_SRVSVC_NETSERVERSTATISTICSGET, api_srvsvc_NetServerStatisticsGet},
- {"SRVSVC_NETTRANSPORTADD", DCERPC_SRVSVC_NETTRANSPORTADD, api_srvsvc_NetTransportAdd},
- {"SRVSVC_NETTRANSPORTENUM", DCERPC_SRVSVC_NETTRANSPORTENUM, api_srvsvc_NetTransportEnum},
- {"SRVSVC_NETTRANSPORTDEL", DCERPC_SRVSVC_NETTRANSPORTDEL, api_srvsvc_NetTransportDel},
- {"SRVSVC_NETREMOTETOD", DCERPC_SRVSVC_NETREMOTETOD, api_srvsvc_NetRemoteTOD},
- {"SRVSVC_NETSETSERVICEBITS", DCERPC_SRVSVC_NETSETSERVICEBITS, api_srvsvc_NetSetServiceBits},
- {"SRVSVC_NETPATHTYPE", DCERPC_SRVSVC_NETPATHTYPE, api_srvsvc_NetPathType},
- {"SRVSVC_NETPATHCANONICALIZE", DCERPC_SRVSVC_NETPATHCANONICALIZE, api_srvsvc_NetPathCanonicalize},
- {"SRVSVC_NETPATHCOMPARE", DCERPC_SRVSVC_NETPATHCOMPARE, api_srvsvc_NetPathCompare},
- {"SRVSVC_NETNAMEVALIDATE", DCERPC_SRVSVC_NETNAMEVALIDATE, api_srvsvc_NetNameValidate},
- {"SRVSVC_NETRPRNAMECANONICALIZE", DCERPC_SRVSVC_NETRPRNAMECANONICALIZE, api_srvsvc_NETRPRNAMECANONICALIZE},
- {"SRVSVC_NETPRNAMECOMPARE", DCERPC_SRVSVC_NETPRNAMECOMPARE, api_srvsvc_NetPRNameCompare},
- {"SRVSVC_NETSHAREENUM", DCERPC_SRVSVC_NETSHAREENUM, api_srvsvc_NetShareEnum},
- {"SRVSVC_NETSHAREDELSTART", DCERPC_SRVSVC_NETSHAREDELSTART, api_srvsvc_NetShareDelStart},
- {"SRVSVC_NETSHAREDELCOMMIT", DCERPC_SRVSVC_NETSHAREDELCOMMIT, api_srvsvc_NetShareDelCommit},
- {"SRVSVC_NETGETFILESECURITY", DCERPC_SRVSVC_NETGETFILESECURITY, api_srvsvc_NetGetFileSecurity},
- {"SRVSVC_NETSETFILESECURITY", DCERPC_SRVSVC_NETSETFILESECURITY, api_srvsvc_NetSetFileSecurity},
- {"SRVSVC_NETSERVERTRANSPORTADDEX", DCERPC_SRVSVC_NETSERVERTRANSPORTADDEX, api_srvsvc_NetServerTransportAddEx},
- {"SRVSVC_NETSERVERSETSERVICEBITSEX", DCERPC_SRVSVC_NETSERVERSETSERVICEBITSEX, api_srvsvc_NetServerSetServiceBitsEx},
- {"SRVSVC_NETRDFSGETVERSION", DCERPC_SRVSVC_NETRDFSGETVERSION, api_srvsvc_NETRDFSGETVERSION},
- {"SRVSVC_NETRDFSCREATELOCALPARTITION", DCERPC_SRVSVC_NETRDFSCREATELOCALPARTITION, api_srvsvc_NETRDFSCREATELOCALPARTITION},
- {"SRVSVC_NETRDFSDELETELOCALPARTITION", DCERPC_SRVSVC_NETRDFSDELETELOCALPARTITION, api_srvsvc_NETRDFSDELETELOCALPARTITION},
- {"SRVSVC_NETRDFSSETLOCALVOLUMESTATE", DCERPC_SRVSVC_NETRDFSSETLOCALVOLUMESTATE, api_srvsvc_NETRDFSSETLOCALVOLUMESTATE},
- {"SRVSVC_NETRDFSSETSERVERINFO", DCERPC_SRVSVC_NETRDFSSETSERVERINFO, api_srvsvc_NETRDFSSETSERVERINFO},
- {"SRVSVC_NETRDFSCREATEEXITPOINT", DCERPC_SRVSVC_NETRDFSCREATEEXITPOINT, api_srvsvc_NETRDFSCREATEEXITPOINT},
- {"SRVSVC_NETRDFSDELETEEXITPOINT", DCERPC_SRVSVC_NETRDFSDELETEEXITPOINT, api_srvsvc_NETRDFSDELETEEXITPOINT},
- {"SRVSVC_NETRDFSMODIFYPREFIX", DCERPC_SRVSVC_NETRDFSMODIFYPREFIX, api_srvsvc_NETRDFSMODIFYPREFIX},
- {"SRVSVC_NETRDFSFIXLOCALVOLUME", DCERPC_SRVSVC_NETRDFSFIXLOCALVOLUME, api_srvsvc_NETRDFSFIXLOCALVOLUME},
- {"SRVSVC_NETRDFSMANAGERREPORTSITEINFO", DCERPC_SRVSVC_NETRDFSMANAGERREPORTSITEINFO, api_srvsvc_NETRDFSMANAGERREPORTSITEINFO},
- {"SRVSVC_NETRSERVERTRANSPORTDELEX", DCERPC_SRVSVC_NETRSERVERTRANSPORTDELEX, api_srvsvc_NETRSERVERTRANSPORTDELEX},
+ {"SRVSVC_NETCHARDEVENUM", NDR_SRVSVC_NETCHARDEVENUM, api_srvsvc_NetCharDevEnum},
+ {"SRVSVC_NETCHARDEVGETINFO", NDR_SRVSVC_NETCHARDEVGETINFO, api_srvsvc_NetCharDevGetInfo},
+ {"SRVSVC_NETCHARDEVCONTROL", NDR_SRVSVC_NETCHARDEVCONTROL, api_srvsvc_NetCharDevControl},
+ {"SRVSVC_NETCHARDEVQENUM", NDR_SRVSVC_NETCHARDEVQENUM, api_srvsvc_NetCharDevQEnum},
+ {"SRVSVC_NETCHARDEVQGETINFO", NDR_SRVSVC_NETCHARDEVQGETINFO, api_srvsvc_NetCharDevQGetInfo},
+ {"SRVSVC_NETCHARDEVQSETINFO", NDR_SRVSVC_NETCHARDEVQSETINFO, api_srvsvc_NetCharDevQSetInfo},
+ {"SRVSVC_NETCHARDEVQPURGE", NDR_SRVSVC_NETCHARDEVQPURGE, api_srvsvc_NetCharDevQPurge},
+ {"SRVSVC_NETCHARDEVQPURGESELF", NDR_SRVSVC_NETCHARDEVQPURGESELF, api_srvsvc_NetCharDevQPurgeSelf},
+ {"SRVSVC_NETCONNENUM", NDR_SRVSVC_NETCONNENUM, api_srvsvc_NetConnEnum},
+ {"SRVSVC_NETFILEENUM", NDR_SRVSVC_NETFILEENUM, api_srvsvc_NetFileEnum},
+ {"SRVSVC_NETFILEGETINFO", NDR_SRVSVC_NETFILEGETINFO, api_srvsvc_NetFileGetInfo},
+ {"SRVSVC_NETFILECLOSE", NDR_SRVSVC_NETFILECLOSE, api_srvsvc_NetFileClose},
+ {"SRVSVC_NETSESSENUM", NDR_SRVSVC_NETSESSENUM, api_srvsvc_NetSessEnum},
+ {"SRVSVC_NETSESSDEL", NDR_SRVSVC_NETSESSDEL, api_srvsvc_NetSessDel},
+ {"SRVSVC_NETSHAREADD", NDR_SRVSVC_NETSHAREADD, api_srvsvc_NetShareAdd},
+ {"SRVSVC_NETSHAREENUMALL", NDR_SRVSVC_NETSHAREENUMALL, api_srvsvc_NetShareEnumAll},
+ {"SRVSVC_NETSHAREGETINFO", NDR_SRVSVC_NETSHAREGETINFO, api_srvsvc_NetShareGetInfo},
+ {"SRVSVC_NETSHARESETINFO", NDR_SRVSVC_NETSHARESETINFO, api_srvsvc_NetShareSetInfo},
+ {"SRVSVC_NETSHAREDEL", NDR_SRVSVC_NETSHAREDEL, api_srvsvc_NetShareDel},
+ {"SRVSVC_NETSHAREDELSTICKY", NDR_SRVSVC_NETSHAREDELSTICKY, api_srvsvc_NetShareDelSticky},
+ {"SRVSVC_NETSHARECHECK", NDR_SRVSVC_NETSHARECHECK, api_srvsvc_NetShareCheck},
+ {"SRVSVC_NETSRVGETINFO", NDR_SRVSVC_NETSRVGETINFO, api_srvsvc_NetSrvGetInfo},
+ {"SRVSVC_NETSRVSETINFO", NDR_SRVSVC_NETSRVSETINFO, api_srvsvc_NetSrvSetInfo},
+ {"SRVSVC_NETDISKENUM", NDR_SRVSVC_NETDISKENUM, api_srvsvc_NetDiskEnum},
+ {"SRVSVC_NETSERVERSTATISTICSGET", NDR_SRVSVC_NETSERVERSTATISTICSGET, api_srvsvc_NetServerStatisticsGet},
+ {"SRVSVC_NETTRANSPORTADD", NDR_SRVSVC_NETTRANSPORTADD, api_srvsvc_NetTransportAdd},
+ {"SRVSVC_NETTRANSPORTENUM", NDR_SRVSVC_NETTRANSPORTENUM, api_srvsvc_NetTransportEnum},
+ {"SRVSVC_NETTRANSPORTDEL", NDR_SRVSVC_NETTRANSPORTDEL, api_srvsvc_NetTransportDel},
+ {"SRVSVC_NETREMOTETOD", NDR_SRVSVC_NETREMOTETOD, api_srvsvc_NetRemoteTOD},
+ {"SRVSVC_NETSETSERVICEBITS", NDR_SRVSVC_NETSETSERVICEBITS, api_srvsvc_NetSetServiceBits},
+ {"SRVSVC_NETPATHTYPE", NDR_SRVSVC_NETPATHTYPE, api_srvsvc_NetPathType},
+ {"SRVSVC_NETPATHCANONICALIZE", NDR_SRVSVC_NETPATHCANONICALIZE, api_srvsvc_NetPathCanonicalize},
+ {"SRVSVC_NETPATHCOMPARE", NDR_SRVSVC_NETPATHCOMPARE, api_srvsvc_NetPathCompare},
+ {"SRVSVC_NETNAMEVALIDATE", NDR_SRVSVC_NETNAMEVALIDATE, api_srvsvc_NetNameValidate},
+ {"SRVSVC_NETRPRNAMECANONICALIZE", NDR_SRVSVC_NETRPRNAMECANONICALIZE, api_srvsvc_NETRPRNAMECANONICALIZE},
+ {"SRVSVC_NETPRNAMECOMPARE", NDR_SRVSVC_NETPRNAMECOMPARE, api_srvsvc_NetPRNameCompare},
+ {"SRVSVC_NETSHAREENUM", NDR_SRVSVC_NETSHAREENUM, api_srvsvc_NetShareEnum},
+ {"SRVSVC_NETSHAREDELSTART", NDR_SRVSVC_NETSHAREDELSTART, api_srvsvc_NetShareDelStart},
+ {"SRVSVC_NETSHAREDELCOMMIT", NDR_SRVSVC_NETSHAREDELCOMMIT, api_srvsvc_NetShareDelCommit},
+ {"SRVSVC_NETGETFILESECURITY", NDR_SRVSVC_NETGETFILESECURITY, api_srvsvc_NetGetFileSecurity},
+ {"SRVSVC_NETSETFILESECURITY", NDR_SRVSVC_NETSETFILESECURITY, api_srvsvc_NetSetFileSecurity},
+ {"SRVSVC_NETSERVERTRANSPORTADDEX", NDR_SRVSVC_NETSERVERTRANSPORTADDEX, api_srvsvc_NetServerTransportAddEx},
+ {"SRVSVC_NETSERVERSETSERVICEBITSEX", NDR_SRVSVC_NETSERVERSETSERVICEBITSEX, api_srvsvc_NetServerSetServiceBitsEx},
+ {"SRVSVC_NETRDFSGETVERSION", NDR_SRVSVC_NETRDFSGETVERSION, api_srvsvc_NETRDFSGETVERSION},
+ {"SRVSVC_NETRDFSCREATELOCALPARTITION", NDR_SRVSVC_NETRDFSCREATELOCALPARTITION, api_srvsvc_NETRDFSCREATELOCALPARTITION},
+ {"SRVSVC_NETRDFSDELETELOCALPARTITION", NDR_SRVSVC_NETRDFSDELETELOCALPARTITION, api_srvsvc_NETRDFSDELETELOCALPARTITION},
+ {"SRVSVC_NETRDFSSETLOCALVOLUMESTATE", NDR_SRVSVC_NETRDFSSETLOCALVOLUMESTATE, api_srvsvc_NETRDFSSETLOCALVOLUMESTATE},
+ {"SRVSVC_NETRDFSSETSERVERINFO", NDR_SRVSVC_NETRDFSSETSERVERINFO, api_srvsvc_NETRDFSSETSERVERINFO},
+ {"SRVSVC_NETRDFSCREATEEXITPOINT", NDR_SRVSVC_NETRDFSCREATEEXITPOINT, api_srvsvc_NETRDFSCREATEEXITPOINT},
+ {"SRVSVC_NETRDFSDELETEEXITPOINT", NDR_SRVSVC_NETRDFSDELETEEXITPOINT, api_srvsvc_NETRDFSDELETEEXITPOINT},
+ {"SRVSVC_NETRDFSMODIFYPREFIX", NDR_SRVSVC_NETRDFSMODIFYPREFIX, api_srvsvc_NETRDFSMODIFYPREFIX},
+ {"SRVSVC_NETRDFSFIXLOCALVOLUME", NDR_SRVSVC_NETRDFSFIXLOCALVOLUME, api_srvsvc_NETRDFSFIXLOCALVOLUME},
+ {"SRVSVC_NETRDFSMANAGERREPORTSITEINFO", NDR_SRVSVC_NETRDFSMANAGERREPORTSITEINFO, api_srvsvc_NETRDFSMANAGERREPORTSITEINFO},
+ {"SRVSVC_NETRSERVERTRANSPORTDELEX", NDR_SRVSVC_NETRSERVERTRANSPORTDELEX, api_srvsvc_NETRSERVERTRANSPORTDELEX},
};
void srvsvc_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_svcctl.c b/source3/librpc/gen_ndr/srv_svcctl.c
index 0211baa583..6386bd4563 100644
--- a/source3/librpc/gen_ndr/srv_svcctl.c
+++ b/source3/librpc/gen_ndr/srv_svcctl.c
@@ -3154,50 +3154,50 @@ static BOOL api_svcctl_SCSendTSMessage(pipes_struct *p)
/* Tables */
static struct api_struct api_svcctl_cmds[] =
{
- {"SVCCTL_CLOSESERVICEHANDLE", DCERPC_SVCCTL_CLOSESERVICEHANDLE, api_svcctl_CloseServiceHandle},
- {"SVCCTL_CONTROLSERVICE", DCERPC_SVCCTL_CONTROLSERVICE, api_svcctl_ControlService},
- {"SVCCTL_DELETESERVICE", DCERPC_SVCCTL_DELETESERVICE, api_svcctl_DeleteService},
- {"SVCCTL_LOCKSERVICEDATABASE", DCERPC_SVCCTL_LOCKSERVICEDATABASE, api_svcctl_LockServiceDatabase},
- {"SVCCTL_QUERYSERVICEOBJECTSECURITY", DCERPC_SVCCTL_QUERYSERVICEOBJECTSECURITY, api_svcctl_QueryServiceObjectSecurity},
- {"SVCCTL_SETSERVICEOBJECTSECURITY", DCERPC_SVCCTL_SETSERVICEOBJECTSECURITY, api_svcctl_SetServiceObjectSecurity},
- {"SVCCTL_QUERYSERVICESTATUS", DCERPC_SVCCTL_QUERYSERVICESTATUS, api_svcctl_QueryServiceStatus},
- {"SVCCTL_SETSERVICESTATUS", DCERPC_SVCCTL_SETSERVICESTATUS, api_svcctl_SetServiceStatus},
- {"SVCCTL_UNLOCKSERVICEDATABASE", DCERPC_SVCCTL_UNLOCKSERVICEDATABASE, api_svcctl_UnlockServiceDatabase},
- {"SVCCTL_NOTIFYBOOTCONFIGSTATUS", DCERPC_SVCCTL_NOTIFYBOOTCONFIGSTATUS, api_svcctl_NotifyBootConfigStatus},
- {"SVCCTL_SCSETSERVICEBITSW", DCERPC_SVCCTL_SCSETSERVICEBITSW, api_svcctl_SCSetServiceBitsW},
- {"SVCCTL_CHANGESERVICECONFIGW", DCERPC_SVCCTL_CHANGESERVICECONFIGW, api_svcctl_ChangeServiceConfigW},
- {"SVCCTL_CREATESERVICEW", DCERPC_SVCCTL_CREATESERVICEW, api_svcctl_CreateServiceW},
- {"SVCCTL_ENUMDEPENDENTSERVICESW", DCERPC_SVCCTL_ENUMDEPENDENTSERVICESW, api_svcctl_EnumDependentServicesW},
- {"SVCCTL_ENUMSERVICESSTATUSW", DCERPC_SVCCTL_ENUMSERVICESSTATUSW, api_svcctl_EnumServicesStatusW},
- {"SVCCTL_OPENSCMANAGERW", DCERPC_SVCCTL_OPENSCMANAGERW, api_svcctl_OpenSCManagerW},
- {"SVCCTL_OPENSERVICEW", DCERPC_SVCCTL_OPENSERVICEW, api_svcctl_OpenServiceW},
- {"SVCCTL_QUERYSERVICECONFIGW", DCERPC_SVCCTL_QUERYSERVICECONFIGW, api_svcctl_QueryServiceConfigW},
- {"SVCCTL_QUERYSERVICELOCKSTATUSW", DCERPC_SVCCTL_QUERYSERVICELOCKSTATUSW, api_svcctl_QueryServiceLockStatusW},
- {"SVCCTL_STARTSERVICEW", DCERPC_SVCCTL_STARTSERVICEW, api_svcctl_StartServiceW},
- {"SVCCTL_GETSERVICEDISPLAYNAMEW", DCERPC_SVCCTL_GETSERVICEDISPLAYNAMEW, api_svcctl_GetServiceDisplayNameW},
- {"SVCCTL_GETSERVICEKEYNAMEW", DCERPC_SVCCTL_GETSERVICEKEYNAMEW, api_svcctl_GetServiceKeyNameW},
- {"SVCCTL_SCSETSERVICEBITSA", DCERPC_SVCCTL_SCSETSERVICEBITSA, api_svcctl_SCSetServiceBitsA},
- {"SVCCTL_CHANGESERVICECONFIGA", DCERPC_SVCCTL_CHANGESERVICECONFIGA, api_svcctl_ChangeServiceConfigA},
- {"SVCCTL_CREATESERVICEA", DCERPC_SVCCTL_CREATESERVICEA, api_svcctl_CreateServiceA},
- {"SVCCTL_ENUMDEPENDENTSERVICESA", DCERPC_SVCCTL_ENUMDEPENDENTSERVICESA, api_svcctl_EnumDependentServicesA},
- {"SVCCTL_ENUMSERVICESSTATUSA", DCERPC_SVCCTL_ENUMSERVICESSTATUSA, api_svcctl_EnumServicesStatusA},
- {"SVCCTL_OPENSCMANAGERA", DCERPC_SVCCTL_OPENSCMANAGERA, api_svcctl_OpenSCManagerA},
- {"SVCCTL_OPENSERVICEA", DCERPC_SVCCTL_OPENSERVICEA, api_svcctl_OpenServiceA},
- {"SVCCTL_QUERYSERVICECONFIGA", DCERPC_SVCCTL_QUERYSERVICECONFIGA, api_svcctl_QueryServiceConfigA},
- {"SVCCTL_QUERYSERVICELOCKSTATUSA", DCERPC_SVCCTL_QUERYSERVICELOCKSTATUSA, api_svcctl_QueryServiceLockStatusA},
- {"SVCCTL_STARTSERVICEA", DCERPC_SVCCTL_STARTSERVICEA, api_svcctl_StartServiceA},
- {"SVCCTL_GETSERVICEDISPLAYNAMEA", DCERPC_SVCCTL_GETSERVICEDISPLAYNAMEA, api_svcctl_GetServiceDisplayNameA},
- {"SVCCTL_GETSERVICEKEYNAMEA", DCERPC_SVCCTL_GETSERVICEKEYNAMEA, api_svcctl_GetServiceKeyNameA},
- {"SVCCTL_GETCURRENTGROUPESTATEW", DCERPC_SVCCTL_GETCURRENTGROUPESTATEW, api_svcctl_GetCurrentGroupeStateW},
- {"SVCCTL_ENUMSERVICEGROUPW", DCERPC_SVCCTL_ENUMSERVICEGROUPW, api_svcctl_EnumServiceGroupW},
- {"SVCCTL_CHANGESERVICECONFIG2A", DCERPC_SVCCTL_CHANGESERVICECONFIG2A, api_svcctl_ChangeServiceConfig2A},
- {"SVCCTL_CHANGESERVICECONFIG2W", DCERPC_SVCCTL_CHANGESERVICECONFIG2W, api_svcctl_ChangeServiceConfig2W},
- {"SVCCTL_QUERYSERVICECONFIG2A", DCERPC_SVCCTL_QUERYSERVICECONFIG2A, api_svcctl_QueryServiceConfig2A},
- {"SVCCTL_QUERYSERVICECONFIG2W", DCERPC_SVCCTL_QUERYSERVICECONFIG2W, api_svcctl_QueryServiceConfig2W},
- {"SVCCTL_QUERYSERVICESTATUSEX", DCERPC_SVCCTL_QUERYSERVICESTATUSEX, api_svcctl_QueryServiceStatusEx},
- {"ENUMSERVICESSTATUSEXA", DCERPC_ENUMSERVICESSTATUSEXA, api_EnumServicesStatusExA},
- {"ENUMSERVICESSTATUSEXW", DCERPC_ENUMSERVICESSTATUSEXW, api_EnumServicesStatusExW},
- {"SVCCTL_SCSENDTSMESSAGE", DCERPC_SVCCTL_SCSENDTSMESSAGE, api_svcctl_SCSendTSMessage},
+ {"SVCCTL_CLOSESERVICEHANDLE", NDR_SVCCTL_CLOSESERVICEHANDLE, api_svcctl_CloseServiceHandle},
+ {"SVCCTL_CONTROLSERVICE", NDR_SVCCTL_CONTROLSERVICE, api_svcctl_ControlService},
+ {"SVCCTL_DELETESERVICE", NDR_SVCCTL_DELETESERVICE, api_svcctl_DeleteService},
+ {"SVCCTL_LOCKSERVICEDATABASE", NDR_SVCCTL_LOCKSERVICEDATABASE, api_svcctl_LockServiceDatabase},
+ {"SVCCTL_QUERYSERVICEOBJECTSECURITY", NDR_SVCCTL_QUERYSERVICEOBJECTSECURITY, api_svcctl_QueryServiceObjectSecurity},
+ {"SVCCTL_SETSERVICEOBJECTSECURITY", NDR_SVCCTL_SETSERVICEOBJECTSECURITY, api_svcctl_SetServiceObjectSecurity},
+ {"SVCCTL_QUERYSERVICESTATUS", NDR_SVCCTL_QUERYSERVICESTATUS, api_svcctl_QueryServiceStatus},
+ {"SVCCTL_SETSERVICESTATUS", NDR_SVCCTL_SETSERVICESTATUS, api_svcctl_SetServiceStatus},
+ {"SVCCTL_UNLOCKSERVICEDATABASE", NDR_SVCCTL_UNLOCKSERVICEDATABASE, api_svcctl_UnlockServiceDatabase},
+ {"SVCCTL_NOTIFYBOOTCONFIGSTATUS", NDR_SVCCTL_NOTIFYBOOTCONFIGSTATUS, api_svcctl_NotifyBootConfigStatus},
+ {"SVCCTL_SCSETSERVICEBITSW", NDR_SVCCTL_SCSETSERVICEBITSW, api_svcctl_SCSetServiceBitsW},
+ {"SVCCTL_CHANGESERVICECONFIGW", NDR_SVCCTL_CHANGESERVICECONFIGW, api_svcctl_ChangeServiceConfigW},
+ {"SVCCTL_CREATESERVICEW", NDR_SVCCTL_CREATESERVICEW, api_svcctl_CreateServiceW},
+ {"SVCCTL_ENUMDEPENDENTSERVICESW", NDR_SVCCTL_ENUMDEPENDENTSERVICESW, api_svcctl_EnumDependentServicesW},
+ {"SVCCTL_ENUMSERVICESSTATUSW", NDR_SVCCTL_ENUMSERVICESSTATUSW, api_svcctl_EnumServicesStatusW},
+ {"SVCCTL_OPENSCMANAGERW", NDR_SVCCTL_OPENSCMANAGERW, api_svcctl_OpenSCManagerW},
+ {"SVCCTL_OPENSERVICEW", NDR_SVCCTL_OPENSERVICEW, api_svcctl_OpenServiceW},
+ {"SVCCTL_QUERYSERVICECONFIGW", NDR_SVCCTL_QUERYSERVICECONFIGW, api_svcctl_QueryServiceConfigW},
+ {"SVCCTL_QUERYSERVICELOCKSTATUSW", NDR_SVCCTL_QUERYSERVICELOCKSTATUSW, api_svcctl_QueryServiceLockStatusW},
+ {"SVCCTL_STARTSERVICEW", NDR_SVCCTL_STARTSERVICEW, api_svcctl_StartServiceW},
+ {"SVCCTL_GETSERVICEDISPLAYNAMEW", NDR_SVCCTL_GETSERVICEDISPLAYNAMEW, api_svcctl_GetServiceDisplayNameW},
+ {"SVCCTL_GETSERVICEKEYNAMEW", NDR_SVCCTL_GETSERVICEKEYNAMEW, api_svcctl_GetServiceKeyNameW},
+ {"SVCCTL_SCSETSERVICEBITSA", NDR_SVCCTL_SCSETSERVICEBITSA, api_svcctl_SCSetServiceBitsA},
+ {"SVCCTL_CHANGESERVICECONFIGA", NDR_SVCCTL_CHANGESERVICECONFIGA, api_svcctl_ChangeServiceConfigA},
+ {"SVCCTL_CREATESERVICEA", NDR_SVCCTL_CREATESERVICEA, api_svcctl_CreateServiceA},
+ {"SVCCTL_ENUMDEPENDENTSERVICESA", NDR_SVCCTL_ENUMDEPENDENTSERVICESA, api_svcctl_EnumDependentServicesA},
+ {"SVCCTL_ENUMSERVICESSTATUSA", NDR_SVCCTL_ENUMSERVICESSTATUSA, api_svcctl_EnumServicesStatusA},
+ {"SVCCTL_OPENSCMANAGERA", NDR_SVCCTL_OPENSCMANAGERA, api_svcctl_OpenSCManagerA},
+ {"SVCCTL_OPENSERVICEA", NDR_SVCCTL_OPENSERVICEA, api_svcctl_OpenServiceA},
+ {"SVCCTL_QUERYSERVICECONFIGA", NDR_SVCCTL_QUERYSERVICECONFIGA, api_svcctl_QueryServiceConfigA},
+ {"SVCCTL_QUERYSERVICELOCKSTATUSA", NDR_SVCCTL_QUERYSERVICELOCKSTATUSA, api_svcctl_QueryServiceLockStatusA},
+ {"SVCCTL_STARTSERVICEA", NDR_SVCCTL_STARTSERVICEA, api_svcctl_StartServiceA},
+ {"SVCCTL_GETSERVICEDISPLAYNAMEA", NDR_SVCCTL_GETSERVICEDISPLAYNAMEA, api_svcctl_GetServiceDisplayNameA},
+ {"SVCCTL_GETSERVICEKEYNAMEA", NDR_SVCCTL_GETSERVICEKEYNAMEA, api_svcctl_GetServiceKeyNameA},
+ {"SVCCTL_GETCURRENTGROUPESTATEW", NDR_SVCCTL_GETCURRENTGROUPESTATEW, api_svcctl_GetCurrentGroupeStateW},
+ {"SVCCTL_ENUMSERVICEGROUPW", NDR_SVCCTL_ENUMSERVICEGROUPW, api_svcctl_EnumServiceGroupW},
+ {"SVCCTL_CHANGESERVICECONFIG2A", NDR_SVCCTL_CHANGESERVICECONFIG2A, api_svcctl_ChangeServiceConfig2A},
+ {"SVCCTL_CHANGESERVICECONFIG2W", NDR_SVCCTL_CHANGESERVICECONFIG2W, api_svcctl_ChangeServiceConfig2W},
+ {"SVCCTL_QUERYSERVICECONFIG2A", NDR_SVCCTL_QUERYSERVICECONFIG2A, api_svcctl_QueryServiceConfig2A},
+ {"SVCCTL_QUERYSERVICECONFIG2W", NDR_SVCCTL_QUERYSERVICECONFIG2W, api_svcctl_QueryServiceConfig2W},
+ {"SVCCTL_QUERYSERVICESTATUSEX", NDR_SVCCTL_QUERYSERVICESTATUSEX, api_svcctl_QueryServiceStatusEx},
+ {"ENUMSERVICESSTATUSEXA", NDR_ENUMSERVICESSTATUSEXA, api_EnumServicesStatusExA},
+ {"ENUMSERVICESSTATUSEXW", NDR_ENUMSERVICESSTATUSEXW, api_EnumServicesStatusExW},
+ {"SVCCTL_SCSENDTSMESSAGE", NDR_SVCCTL_SCSENDTSMESSAGE, api_svcctl_SCSendTSMessage},
};
void svcctl_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_unixinfo.c b/source3/librpc/gen_ndr/srv_unixinfo.c
index d02a5561a6..d5e3bdeaee 100644
--- a/source3/librpc/gen_ndr/srv_unixinfo.c
+++ b/source3/librpc/gen_ndr/srv_unixinfo.c
@@ -366,11 +366,11 @@ static BOOL api_unixinfo_GetPWUid(pipes_struct *p)
/* Tables */
static struct api_struct api_unixinfo_cmds[] =
{
- {"UNIXINFO_SIDTOUID", DCERPC_UNIXINFO_SIDTOUID, api_unixinfo_SidToUid},
- {"UNIXINFO_UIDTOSID", DCERPC_UNIXINFO_UIDTOSID, api_unixinfo_UidToSid},
- {"UNIXINFO_SIDTOGID", DCERPC_UNIXINFO_SIDTOGID, api_unixinfo_SidToGid},
- {"UNIXINFO_GIDTOSID", DCERPC_UNIXINFO_GIDTOSID, api_unixinfo_GidToSid},
- {"UNIXINFO_GETPWUID", DCERPC_UNIXINFO_GETPWUID, api_unixinfo_GetPWUid},
+ {"UNIXINFO_SIDTOUID", NDR_UNIXINFO_SIDTOUID, api_unixinfo_SidToUid},
+ {"UNIXINFO_UIDTOSID", NDR_UNIXINFO_UIDTOSID, api_unixinfo_UidToSid},
+ {"UNIXINFO_SIDTOGID", NDR_UNIXINFO_SIDTOGID, api_unixinfo_SidToGid},
+ {"UNIXINFO_GIDTOSID", NDR_UNIXINFO_GIDTOSID, api_unixinfo_GidToSid},
+ {"UNIXINFO_GETPWUID", NDR_UNIXINFO_GETPWUID, api_unixinfo_GetPWUid},
};
void unixinfo_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_winreg.c b/source3/librpc/gen_ndr/srv_winreg.c
index 77b4c0ce58..6384f65f04 100644
--- a/source3/librpc/gen_ndr/srv_winreg.c
+++ b/source3/librpc/gen_ndr/srv_winreg.c
@@ -2408,41 +2408,41 @@ static BOOL api_winreg_QueryMultipleValues2(pipes_struct *p)
/* Tables */
static struct api_struct api_winreg_cmds[] =
{
- {"WINREG_OPENHKCR", DCERPC_WINREG_OPENHKCR, api_winreg_OpenHKCR},
- {"WINREG_OPENHKCU", DCERPC_WINREG_OPENHKCU, api_winreg_OpenHKCU},
- {"WINREG_OPENHKLM", DCERPC_WINREG_OPENHKLM, api_winreg_OpenHKLM},
- {"WINREG_OPENHKPD", DCERPC_WINREG_OPENHKPD, api_winreg_OpenHKPD},
- {"WINREG_OPENHKU", DCERPC_WINREG_OPENHKU, api_winreg_OpenHKU},
- {"WINREG_CLOSEKEY", DCERPC_WINREG_CLOSEKEY, api_winreg_CloseKey},
- {"WINREG_CREATEKEY", DCERPC_WINREG_CREATEKEY, api_winreg_CreateKey},
- {"WINREG_DELETEKEY", DCERPC_WINREG_DELETEKEY, api_winreg_DeleteKey},
- {"WINREG_DELETEVALUE", DCERPC_WINREG_DELETEVALUE, api_winreg_DeleteValue},
- {"WINREG_ENUMKEY", DCERPC_WINREG_ENUMKEY, api_winreg_EnumKey},
- {"WINREG_ENUMVALUE", DCERPC_WINREG_ENUMVALUE, api_winreg_EnumValue},
- {"WINREG_FLUSHKEY", DCERPC_WINREG_FLUSHKEY, api_winreg_FlushKey},
- {"WINREG_GETKEYSECURITY", DCERPC_WINREG_GETKEYSECURITY, api_winreg_GetKeySecurity},
- {"WINREG_LOADKEY", DCERPC_WINREG_LOADKEY, api_winreg_LoadKey},
- {"WINREG_NOTIFYCHANGEKEYVALUE", DCERPC_WINREG_NOTIFYCHANGEKEYVALUE, api_winreg_NotifyChangeKeyValue},
- {"WINREG_OPENKEY", DCERPC_WINREG_OPENKEY, api_winreg_OpenKey},
- {"WINREG_QUERYINFOKEY", DCERPC_WINREG_QUERYINFOKEY, api_winreg_QueryInfoKey},
- {"WINREG_QUERYVALUE", DCERPC_WINREG_QUERYVALUE, api_winreg_QueryValue},
- {"WINREG_REPLACEKEY", DCERPC_WINREG_REPLACEKEY, api_winreg_ReplaceKey},
- {"WINREG_RESTOREKEY", DCERPC_WINREG_RESTOREKEY, api_winreg_RestoreKey},
- {"WINREG_SAVEKEY", DCERPC_WINREG_SAVEKEY, api_winreg_SaveKey},
- {"WINREG_SETKEYSECURITY", DCERPC_WINREG_SETKEYSECURITY, api_winreg_SetKeySecurity},
- {"WINREG_SETVALUE", DCERPC_WINREG_SETVALUE, api_winreg_SetValue},
- {"WINREG_UNLOADKEY", DCERPC_WINREG_UNLOADKEY, api_winreg_UnLoadKey},
- {"WINREG_INITIATESYSTEMSHUTDOWN", DCERPC_WINREG_INITIATESYSTEMSHUTDOWN, api_winreg_InitiateSystemShutdown},
- {"WINREG_ABORTSYSTEMSHUTDOWN", DCERPC_WINREG_ABORTSYSTEMSHUTDOWN, api_winreg_AbortSystemShutdown},
- {"WINREG_GETVERSION", DCERPC_WINREG_GETVERSION, api_winreg_GetVersion},
- {"WINREG_OPENHKCC", DCERPC_WINREG_OPENHKCC, api_winreg_OpenHKCC},
- {"WINREG_OPENHKDD", DCERPC_WINREG_OPENHKDD, api_winreg_OpenHKDD},
- {"WINREG_QUERYMULTIPLEVALUES", DCERPC_WINREG_QUERYMULTIPLEVALUES, api_winreg_QueryMultipleValues},
- {"WINREG_INITIATESYSTEMSHUTDOWNEX", DCERPC_WINREG_INITIATESYSTEMSHUTDOWNEX, api_winreg_InitiateSystemShutdownEx},
- {"WINREG_SAVEKEYEX", DCERPC_WINREG_SAVEKEYEX, api_winreg_SaveKeyEx},
- {"WINREG_OPENHKPT", DCERPC_WINREG_OPENHKPT, api_winreg_OpenHKPT},
- {"WINREG_OPENHKPN", DCERPC_WINREG_OPENHKPN, api_winreg_OpenHKPN},
- {"WINREG_QUERYMULTIPLEVALUES2", DCERPC_WINREG_QUERYMULTIPLEVALUES2, api_winreg_QueryMultipleValues2},
+ {"WINREG_OPENHKCR", NDR_WINREG_OPENHKCR, api_winreg_OpenHKCR},
+ {"WINREG_OPENHKCU", NDR_WINREG_OPENHKCU, api_winreg_OpenHKCU},
+ {"WINREG_OPENHKLM", NDR_WINREG_OPENHKLM, api_winreg_OpenHKLM},
+ {"WINREG_OPENHKPD", NDR_WINREG_OPENHKPD, api_winreg_OpenHKPD},
+ {"WINREG_OPENHKU", NDR_WINREG_OPENHKU, api_winreg_OpenHKU},
+ {"WINREG_CLOSEKEY", NDR_WINREG_CLOSEKEY, api_winreg_CloseKey},
+ {"WINREG_CREATEKEY", NDR_WINREG_CREATEKEY, api_winreg_CreateKey},
+ {"WINREG_DELETEKEY", NDR_WINREG_DELETEKEY, api_winreg_DeleteKey},
+ {"WINREG_DELETEVALUE", NDR_WINREG_DELETEVALUE, api_winreg_DeleteValue},
+ {"WINREG_ENUMKEY", NDR_WINREG_ENUMKEY, api_winreg_EnumKey},
+ {"WINREG_ENUMVALUE", NDR_WINREG_ENUMVALUE, api_winreg_EnumValue},
+ {"WINREG_FLUSHKEY", NDR_WINREG_FLUSHKEY, api_winreg_FlushKey},
+ {"WINREG_GETKEYSECURITY", NDR_WINREG_GETKEYSECURITY, api_winreg_GetKeySecurity},
+ {"WINREG_LOADKEY", NDR_WINREG_LOADKEY, api_winreg_LoadKey},
+ {"WINREG_NOTIFYCHANGEKEYVALUE", NDR_WINREG_NOTIFYCHANGEKEYVALUE, api_winreg_NotifyChangeKeyValue},
+ {"WINREG_OPENKEY", NDR_WINREG_OPENKEY, api_winreg_OpenKey},
+ {"WINREG_QUERYINFOKEY", NDR_WINREG_QUERYINFOKEY, api_winreg_QueryInfoKey},
+ {"WINREG_QUERYVALUE", NDR_WINREG_QUERYVALUE, api_winreg_QueryValue},
+ {"WINREG_REPLACEKEY", NDR_WINREG_REPLACEKEY, api_winreg_ReplaceKey},
+ {"WINREG_RESTOREKEY", NDR_WINREG_RESTOREKEY, api_winreg_RestoreKey},
+ {"WINREG_SAVEKEY", NDR_WINREG_SAVEKEY, api_winreg_SaveKey},
+ {"WINREG_SETKEYSECURITY", NDR_WINREG_SETKEYSECURITY, api_winreg_SetKeySecurity},
+ {"WINREG_SETVALUE", NDR_WINREG_SETVALUE, api_winreg_SetValue},
+ {"WINREG_UNLOADKEY", NDR_WINREG_UNLOADKEY, api_winreg_UnLoadKey},
+ {"WINREG_INITIATESYSTEMSHUTDOWN", NDR_WINREG_INITIATESYSTEMSHUTDOWN, api_winreg_InitiateSystemShutdown},
+ {"WINREG_ABORTSYSTEMSHUTDOWN", NDR_WINREG_ABORTSYSTEMSHUTDOWN, api_winreg_AbortSystemShutdown},
+ {"WINREG_GETVERSION", NDR_WINREG_GETVERSION, api_winreg_GetVersion},
+ {"WINREG_OPENHKCC", NDR_WINREG_OPENHKCC, api_winreg_OpenHKCC},
+ {"WINREG_OPENHKDD", NDR_WINREG_OPENHKDD, api_winreg_OpenHKDD},
+ {"WINREG_QUERYMULTIPLEVALUES", NDR_WINREG_QUERYMULTIPLEVALUES, api_winreg_QueryMultipleValues},
+ {"WINREG_INITIATESYSTEMSHUTDOWNEX", NDR_WINREG_INITIATESYSTEMSHUTDOWNEX, api_winreg_InitiateSystemShutdownEx},
+ {"WINREG_SAVEKEYEX", NDR_WINREG_SAVEKEYEX, api_winreg_SaveKeyEx},
+ {"WINREG_OPENHKPT", NDR_WINREG_OPENHKPT, api_winreg_OpenHKPT},
+ {"WINREG_OPENHKPN", NDR_WINREG_OPENHKPN, api_winreg_OpenHKPN},
+ {"WINREG_QUERYMULTIPLEVALUES2", NDR_WINREG_QUERYMULTIPLEVALUES2, api_winreg_QueryMultipleValues2},
};
void winreg_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/librpc/gen_ndr/srv_wkssvc.c b/source3/librpc/gen_ndr/srv_wkssvc.c
index d0535d41c9..2f3673d4a4 100644
--- a/source3/librpc/gen_ndr/srv_wkssvc.c
+++ b/source3/librpc/gen_ndr/srv_wkssvc.c
@@ -2028,37 +2028,37 @@ static BOOL api_WKSSVC_NETRENUMERATECOMPUTERNAMES(pipes_struct *p)
/* Tables */
static struct api_struct api_wkssvc_cmds[] =
{
- {"WKSSVC_NETWKSTAGETINFO", DCERPC_WKSSVC_NETWKSTAGETINFO, api_wkssvc_NetWkstaGetInfo},
- {"WKSSVC_NETWKSTASETINFO", DCERPC_WKSSVC_NETWKSTASETINFO, api_wkssvc_NetWkstaSetInfo},
- {"WKSSVC_NETWKSTAENUMUSERS", DCERPC_WKSSVC_NETWKSTAENUMUSERS, api_wkssvc_NetWkstaEnumUsers},
- {"WKSSVC_NETRWKSTAUSERGETINFO", DCERPC_WKSSVC_NETRWKSTAUSERGETINFO, api_WKSSVC_NETRWKSTAUSERGETINFO},
- {"WKSSVC_NETRWKSTAUSERSETINFO", DCERPC_WKSSVC_NETRWKSTAUSERSETINFO, api_WKSSVC_NETRWKSTAUSERSETINFO},
- {"WKSSVC_NETWKSTATRANSPORTENUM", DCERPC_WKSSVC_NETWKSTATRANSPORTENUM, api_wkssvc_NetWkstaTransportEnum},
- {"WKSSVC_NETRWKSTATRANSPORTADD", DCERPC_WKSSVC_NETRWKSTATRANSPORTADD, api_WKSSVC_NETRWKSTATRANSPORTADD},
- {"WKSSVC_NETRWKSTATRANSPORTDEL", DCERPC_WKSSVC_NETRWKSTATRANSPORTDEL, api_WKSSVC_NETRWKSTATRANSPORTDEL},
- {"WKSSVC_NETRUSEADD", DCERPC_WKSSVC_NETRUSEADD, api_WKSSVC_NETRUSEADD},
- {"WKSSVC_NETRUSEGETINFO", DCERPC_WKSSVC_NETRUSEGETINFO, api_WKSSVC_NETRUSEGETINFO},
- {"WKSSVC_NETRUSEDEL", DCERPC_WKSSVC_NETRUSEDEL, api_WKSSVC_NETRUSEDEL},
- {"WKSSVC_NETRUSEENUM", DCERPC_WKSSVC_NETRUSEENUM, api_WKSSVC_NETRUSEENUM},
- {"WKSSVC_NETRMESSAGEBUFFERSEND", DCERPC_WKSSVC_NETRMESSAGEBUFFERSEND, api_WKSSVC_NETRMESSAGEBUFFERSEND},
- {"WKSSVC_NETRWORKSTATIONSTATISTICSGET", DCERPC_WKSSVC_NETRWORKSTATIONSTATISTICSGET, api_WKSSVC_NETRWORKSTATIONSTATISTICSGET},
- {"WKSSVC_NETRLOGONDOMAINNAMEADD", DCERPC_WKSSVC_NETRLOGONDOMAINNAMEADD, api_WKSSVC_NETRLOGONDOMAINNAMEADD},
- {"WKSSVC_NETRLOGONDOMAINNAMEDEL", DCERPC_WKSSVC_NETRLOGONDOMAINNAMEDEL, api_WKSSVC_NETRLOGONDOMAINNAMEDEL},
- {"WKSSVC_NETRJOINDOMAIN", DCERPC_WKSSVC_NETRJOINDOMAIN, api_WKSSVC_NETRJOINDOMAIN},
- {"WKSSVC_NETRUNJOINDOMAIN", DCERPC_WKSSVC_NETRUNJOINDOMAIN, api_WKSSVC_NETRUNJOINDOMAIN},
- {"WKSSVC_NETRRENAMEMACHINEINDOMAIN", DCERPC_WKSSVC_NETRRENAMEMACHINEINDOMAIN, api_WKSSVC_NETRRENAMEMACHINEINDOMAIN},
- {"WKSSVC_NETRVALIDATENAME", DCERPC_WKSSVC_NETRVALIDATENAME, api_WKSSVC_NETRVALIDATENAME},
- {"WKSSVC_NETRGETJOININFORMATION", DCERPC_WKSSVC_NETRGETJOININFORMATION, api_WKSSVC_NETRGETJOININFORMATION},
- {"WKSSVC_NETRGETJOINABLEOUS", DCERPC_WKSSVC_NETRGETJOINABLEOUS, api_WKSSVC_NETRGETJOINABLEOUS},
- {"WKSSVC_NETRJOINDOMAIN2", DCERPC_WKSSVC_NETRJOINDOMAIN2, api_wkssvc_NetrJoinDomain2},
- {"WKSSVC_NETRUNJOINDOMAIN2", DCERPC_WKSSVC_NETRUNJOINDOMAIN2, api_wkssvc_NetrUnjoinDomain2},
- {"WKSSVC_NETRRENAMEMACHINEINDOMAIN2", DCERPC_WKSSVC_NETRRENAMEMACHINEINDOMAIN2, api_wkssvc_NetrRenameMachineInDomain2},
- {"WKSSVC_NETRVALIDATENAME2", DCERPC_WKSSVC_NETRVALIDATENAME2, api_WKSSVC_NETRVALIDATENAME2},
- {"WKSSVC_NETRGETJOINABLEOUS2", DCERPC_WKSSVC_NETRGETJOINABLEOUS2, api_WKSSVC_NETRGETJOINABLEOUS2},
- {"WKSSVC_NETRADDALTERNATECOMPUTERNAME", DCERPC_WKSSVC_NETRADDALTERNATECOMPUTERNAME, api_wkssvc_NetrAddAlternateComputerName},
- {"WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME", DCERPC_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME, api_wkssvc_NetrRemoveAlternateComputerName},
- {"WKSSVC_NETRSETPRIMARYCOMPUTERNAME", DCERPC_WKSSVC_NETRSETPRIMARYCOMPUTERNAME, api_WKSSVC_NETRSETPRIMARYCOMPUTERNAME},
- {"WKSSVC_NETRENUMERATECOMPUTERNAMES", DCERPC_WKSSVC_NETRENUMERATECOMPUTERNAMES, api_WKSSVC_NETRENUMERATECOMPUTERNAMES},
+ {"WKSSVC_NETWKSTAGETINFO", NDR_WKSSVC_NETWKSTAGETINFO, api_wkssvc_NetWkstaGetInfo},
+ {"WKSSVC_NETWKSTASETINFO", NDR_WKSSVC_NETWKSTASETINFO, api_wkssvc_NetWkstaSetInfo},
+ {"WKSSVC_NETWKSTAENUMUSERS", NDR_WKSSVC_NETWKSTAENUMUSERS, api_wkssvc_NetWkstaEnumUsers},
+ {"WKSSVC_NETRWKSTAUSERGETINFO", NDR_WKSSVC_NETRWKSTAUSERGETINFO, api_WKSSVC_NETRWKSTAUSERGETINFO},
+ {"WKSSVC_NETRWKSTAUSERSETINFO", NDR_WKSSVC_NETRWKSTAUSERSETINFO, api_WKSSVC_NETRWKSTAUSERSETINFO},
+ {"WKSSVC_NETWKSTATRANSPORTENUM", NDR_WKSSVC_NETWKSTATRANSPORTENUM, api_wkssvc_NetWkstaTransportEnum},
+ {"WKSSVC_NETRWKSTATRANSPORTADD", NDR_WKSSVC_NETRWKSTATRANSPORTADD, api_WKSSVC_NETRWKSTATRANSPORTADD},
+ {"WKSSVC_NETRWKSTATRANSPORTDEL", NDR_WKSSVC_NETRWKSTATRANSPORTDEL, api_WKSSVC_NETRWKSTATRANSPORTDEL},
+ {"WKSSVC_NETRUSEADD", NDR_WKSSVC_NETRUSEADD, api_WKSSVC_NETRUSEADD},
+ {"WKSSVC_NETRUSEGETINFO", NDR_WKSSVC_NETRUSEGETINFO, api_WKSSVC_NETRUSEGETINFO},
+ {"WKSSVC_NETRUSEDEL", NDR_WKSSVC_NETRUSEDEL, api_WKSSVC_NETRUSEDEL},
+ {"WKSSVC_NETRUSEENUM", NDR_WKSSVC_NETRUSEENUM, api_WKSSVC_NETRUSEENUM},
+ {"WKSSVC_NETRMESSAGEBUFFERSEND", NDR_WKSSVC_NETRMESSAGEBUFFERSEND, api_WKSSVC_NETRMESSAGEBUFFERSEND},
+ {"WKSSVC_NETRWORKSTATIONSTATISTICSGET", NDR_WKSSVC_NETRWORKSTATIONSTATISTICSGET, api_WKSSVC_NETRWORKSTATIONSTATISTICSGET},
+ {"WKSSVC_NETRLOGONDOMAINNAMEADD", NDR_WKSSVC_NETRLOGONDOMAINNAMEADD, api_WKSSVC_NETRLOGONDOMAINNAMEADD},
+ {"WKSSVC_NETRLOGONDOMAINNAMEDEL", NDR_WKSSVC_NETRLOGONDOMAINNAMEDEL, api_WKSSVC_NETRLOGONDOMAINNAMEDEL},
+ {"WKSSVC_NETRJOINDOMAIN", NDR_WKSSVC_NETRJOINDOMAIN, api_WKSSVC_NETRJOINDOMAIN},
+ {"WKSSVC_NETRUNJOINDOMAIN", NDR_WKSSVC_NETRUNJOINDOMAIN, api_WKSSVC_NETRUNJOINDOMAIN},
+ {"WKSSVC_NETRRENAMEMACHINEINDOMAIN", NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN, api_WKSSVC_NETRRENAMEMACHINEINDOMAIN},
+ {"WKSSVC_NETRVALIDATENAME", NDR_WKSSVC_NETRVALIDATENAME, api_WKSSVC_NETRVALIDATENAME},
+ {"WKSSVC_NETRGETJOININFORMATION", NDR_WKSSVC_NETRGETJOININFORMATION, api_WKSSVC_NETRGETJOININFORMATION},
+ {"WKSSVC_NETRGETJOINABLEOUS", NDR_WKSSVC_NETRGETJOINABLEOUS, api_WKSSVC_NETRGETJOINABLEOUS},
+ {"WKSSVC_NETRJOINDOMAIN2", NDR_WKSSVC_NETRJOINDOMAIN2, api_wkssvc_NetrJoinDomain2},
+ {"WKSSVC_NETRUNJOINDOMAIN2", NDR_WKSSVC_NETRUNJOINDOMAIN2, api_wkssvc_NetrUnjoinDomain2},
+ {"WKSSVC_NETRRENAMEMACHINEINDOMAIN2", NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN2, api_wkssvc_NetrRenameMachineInDomain2},
+ {"WKSSVC_NETRVALIDATENAME2", NDR_WKSSVC_NETRVALIDATENAME2, api_WKSSVC_NETRVALIDATENAME2},
+ {"WKSSVC_NETRGETJOINABLEOUS2", NDR_WKSSVC_NETRGETJOINABLEOUS2, api_WKSSVC_NETRGETJOINABLEOUS2},
+ {"WKSSVC_NETRADDALTERNATECOMPUTERNAME", NDR_WKSSVC_NETRADDALTERNATECOMPUTERNAME, api_wkssvc_NetrAddAlternateComputerName},
+ {"WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME", NDR_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME, api_wkssvc_NetrRemoveAlternateComputerName},
+ {"WKSSVC_NETRSETPRIMARYCOMPUTERNAME", NDR_WKSSVC_NETRSETPRIMARYCOMPUTERNAME, api_WKSSVC_NETRSETPRIMARYCOMPUTERNAME},
+ {"WKSSVC_NETRENUMERATECOMPUTERNAMES", NDR_WKSSVC_NETRENUMERATECOMPUTERNAMES, api_WKSSVC_NETRENUMERATECOMPUTERNAMES},
};
void wkssvc_get_pipe_fns(struct api_struct **fns, int *n_fns)
diff --git a/source3/rpc_server/srv_eventlog.c b/source3/rpc_server/srv_eventlog.c
index 34914dc9d2..fcba6a1268 100644
--- a/source3/rpc_server/srv_eventlog.c
+++ b/source3/rpc_server/srv_eventlog.c
@@ -67,7 +67,7 @@ static BOOL api_eventlog_open_eventlog(pipes_struct *p)
static BOOL api_eventlog_close_eventlog(pipes_struct *p)
{
- return proxy_eventlog_call( p, DCERPC_EVENTLOG_CLOSEEVENTLOG );
+ return proxy_eventlog_call( p, NDR_EVENTLOG_CLOSEEVENTLOG );
}
static BOOL api_eventlog_get_num_records(pipes_struct *p)
diff --git a/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c
index 571d3484fb..484e964068 100644
--- a/source3/rpc_server/srv_lsa.c
+++ b/source3/rpc_server/srv_lsa.c
@@ -234,7 +234,7 @@ static BOOL api_lsa_lookup_names(pipes_struct *p)
static BOOL api_lsa_close(pipes_struct *p)
{
- return proxy_lsa_call(p, DCERPC_LSA_CLOSE);
+ return proxy_lsa_call(p, NDR_LSA_CLOSE);
}
/***************************************************************************
@@ -243,7 +243,7 @@ static BOOL api_lsa_close(pipes_struct *p)
static BOOL api_lsa_open_secret(pipes_struct *p)
{
- return proxy_lsa_call(p, DCERPC_LSA_OPENSECRET);
+ return proxy_lsa_call(p, NDR_LSA_OPENSECRET);
}
/***************************************************************************
@@ -745,7 +745,7 @@ static BOOL api_lsa_lookup_priv_value(pipes_struct *p)
static BOOL api_lsa_open_trust_dom(pipes_struct *p)
{
- return proxy_lsa_call(p, DCERPC_LSA_OPENTRUSTEDDOMAIN);
+ return proxy_lsa_call(p, NDR_LSA_OPENTRUSTEDDOMAIN);
}
/***************************************************************************
@@ -753,7 +753,7 @@ static BOOL api_lsa_open_trust_dom(pipes_struct *p)
static BOOL api_lsa_create_trust_dom(pipes_struct *p)
{
- return proxy_lsa_call(p, DCERPC_LSA_CREATETRUSTEDDOMAIN);
+ return proxy_lsa_call(p, NDR_LSA_CREATETRUSTEDDOMAIN);
}
/***************************************************************************
@@ -761,7 +761,7 @@ static BOOL api_lsa_create_trust_dom(pipes_struct *p)
static BOOL api_lsa_create_secret(pipes_struct *p)
{
- return proxy_lsa_call(p, DCERPC_LSA_CREATESECRET);
+ return proxy_lsa_call(p, NDR_LSA_CREATESECRET);
}
/***************************************************************************
@@ -769,7 +769,7 @@ static BOOL api_lsa_create_secret(pipes_struct *p)
static BOOL api_lsa_set_secret(pipes_struct *p)
{
- return proxy_lsa_call(p, DCERPC_LSA_SETSECRET);
+ return proxy_lsa_call(p, NDR_LSA_SETSECRET);
}
/***************************************************************************
diff --git a/source3/rpc_server/srv_svcctl.c b/source3/rpc_server/srv_svcctl.c
index cc8de13562..fcaf37e8ee 100644
--- a/source3/rpc_server/srv_svcctl.c
+++ b/source3/rpc_server/srv_svcctl.c
@@ -45,7 +45,7 @@ static BOOL proxy_svcctl_call(pipes_struct *p, uint8 opnum)
static BOOL api_svcctl_close_service(pipes_struct *p)
{
- return proxy_svcctl_call( p, DCERPC_SVCCTL_CLOSESERVICEHANDLE );
+ return proxy_svcctl_call( p, NDR_SVCCTL_CLOSESERVICEHANDLE );
}
/*******************************************************************