summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-20 11:09:53 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-20 11:09:53 +0000
commitb0083691759c9d0561a5e9d436d927a44c82b388 (patch)
treef4e0178a4fdb82a8685150b5a61f2ecb78e3fec4 /source4/librpc/rpc
parentfe6fd991ee42aee36a5141f11295f7936091447f (diff)
downloadsamba-b0083691759c9d0561a5e9d436d927a44c82b388.tar.gz
samba-b0083691759c9d0561a5e9d436d927a44c82b388.tar.bz2
samba-b0083691759c9d0561a5e9d436d927a44c82b388.zip
moved the pidl auto-generated files out of CVS
(This used to be commit 49c72d42766a55e2833c004e721a47115000626b)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/rpc_atsvc.c88
-rw-r--r--source4/librpc/rpc/rpc_dfs.c129
-rw-r--r--source4/librpc/rpc/rpc_echo.c125
-rw-r--r--source4/librpc/rpc/rpc_lsa.c991
-rw-r--r--source4/librpc/rpc/rpc_misc.c4
-rw-r--r--source4/librpc/rpc/rpc_samr.c1432
-rw-r--r--source4/librpc/rpc/rpc_spoolss.c2014
-rw-r--r--source4/librpc/rpc/rpc_srvsvc.c858
-rw-r--r--source4/librpc/rpc/rpc_wkssvc.c624
9 files changed, 0 insertions, 6265 deletions
diff --git a/source4/librpc/rpc/rpc_atsvc.c b/source4/librpc/rpc/rpc_atsvc.c
deleted file mode 100644
index 1bc81b5a68..0000000000
--- a/source4/librpc/rpc/rpc_atsvc.c
+++ /dev/null
@@ -1,88 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
-
-NTSTATUS dcerpc_atsvc_JobAdd(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct atsvc_JobAdd *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(atsvc_JobAdd, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ATSVC_JOBADD, mem_ctx,
- (ndr_push_fn_t) ndr_push_atsvc_JobAdd,
- (ndr_pull_fn_t) ndr_pull_atsvc_JobAdd,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(atsvc_JobAdd, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_atsvc_JobDel(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct atsvc_JobDel *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(atsvc_JobDel, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ATSVC_JOBDEL, mem_ctx,
- (ndr_push_fn_t) ndr_push_atsvc_JobDel,
- (ndr_pull_fn_t) ndr_pull_atsvc_JobDel,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(atsvc_JobDel, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_atsvc_JobEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct atsvc_JobEnum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(atsvc_JobEnum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ATSVC_JOBENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_atsvc_JobEnum,
- (ndr_pull_fn_t) ndr_pull_atsvc_JobEnum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(atsvc_JobEnum, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_atsvc_JobGetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct atsvc_JobGetInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(atsvc_JobGetInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ATSVC_JOBGETINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_atsvc_JobGetInfo,
- (ndr_pull_fn_t) ndr_pull_atsvc_JobGetInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(atsvc_JobGetInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
diff --git a/source4/librpc/rpc/rpc_dfs.c b/source4/librpc/rpc/rpc_dfs.c
deleted file mode 100644
index 4de98ad5f6..0000000000
--- a/source4/librpc/rpc/rpc_dfs.c
+++ /dev/null
@@ -1,129 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
-
-NTSTATUS dcerpc_dfs_Exist(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Exist *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_Exist, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_EXIST, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_Exist,
- (ndr_pull_fn_t) ndr_pull_dfs_Exist,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_Exist, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_Add(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Add *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_Add, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_ADD, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_Add,
- (ndr_pull_fn_t) ndr_pull_dfs_Add,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_Add, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_Remove(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Remove *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_Remove, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_REMOVE, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_Remove,
- (ndr_pull_fn_t) ndr_pull_dfs_Remove,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_Remove, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_SetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_SetInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_SetInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_SETINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_SetInfo,
- (ndr_pull_fn_t) ndr_pull_dfs_SetInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_SetInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_GetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_GetInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_GetInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_GETINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_GetInfo,
- (ndr_pull_fn_t) ndr_pull_dfs_GetInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_GetInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_Enum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Enum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_Enum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_ENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_Enum,
- (ndr_pull_fn_t) ndr_pull_dfs_Enum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_Enum, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
diff --git a/source4/librpc/rpc/rpc_echo.c b/source4/librpc/rpc/rpc_echo.c
deleted file mode 100644
index c774dbb36e..0000000000
--- a/source4/librpc/rpc/rpc_echo.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
-
-NTSTATUS dcerpc_echo_AddOne(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct echo_AddOne *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(echo_AddOne, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ECHO_ADDONE, mem_ctx,
- (ndr_push_fn_t) ndr_push_echo_AddOne,
- (ndr_pull_fn_t) ndr_pull_echo_AddOne,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(echo_AddOne, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_echo_EchoData(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct echo_EchoData *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(echo_EchoData, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ECHO_ECHODATA, mem_ctx,
- (ndr_push_fn_t) ndr_push_echo_EchoData,
- (ndr_pull_fn_t) ndr_pull_echo_EchoData,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(echo_EchoData, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_echo_SinkData(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct echo_SinkData *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(echo_SinkData, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ECHO_SINKDATA, mem_ctx,
- (ndr_push_fn_t) ndr_push_echo_SinkData,
- (ndr_pull_fn_t) ndr_pull_echo_SinkData,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(echo_SinkData, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_echo_SourceData(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct echo_SourceData *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(echo_SourceData, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ECHO_SOURCEDATA, mem_ctx,
- (ndr_push_fn_t) ndr_push_echo_SourceData,
- (ndr_pull_fn_t) ndr_pull_echo_SourceData,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(echo_SourceData, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_TestCall(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct TestCall *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(TestCall, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_TESTCALL, mem_ctx,
- (ndr_push_fn_t) ndr_push_TestCall,
- (ndr_pull_fn_t) ndr_pull_TestCall,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(TestCall, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_TestCall2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct TestCall2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(TestCall2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_TESTCALL2, mem_ctx,
- (ndr_push_fn_t) ndr_push_TestCall2,
- (ndr_pull_fn_t) ndr_pull_TestCall2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(TestCall2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
diff --git a/source4/librpc/rpc/rpc_lsa.c b/source4/librpc/rpc/rpc_lsa.c
deleted file mode 100644
index c6e956abaf..0000000000
--- a/source4/librpc/rpc/rpc_lsa.c
+++ /dev/null
@@ -1,991 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
-
-NTSTATUS dcerpc_lsa_Close(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_Close *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_Close, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_CLOSE, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_Close,
- (ndr_pull_fn_t) ndr_pull_lsa_Close,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_Close, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_Delete(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_Delete *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_Delete, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_DELETE, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_Delete,
- (ndr_pull_fn_t) ndr_pull_lsa_Delete,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_Delete, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_EnumPrivs(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_EnumPrivs *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_EnumPrivs, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_ENUMPRIVS, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_EnumPrivs,
- (ndr_pull_fn_t) ndr_pull_lsa_EnumPrivs,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumPrivs, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_QuerySecObj(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_QuerySecObj *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_QuerySecObj, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_QUERYSECOBJ, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_QuerySecObj,
- (ndr_pull_fn_t) ndr_pull_lsa_QuerySecObj,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_QuerySecObj, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_SetSecObj(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_SetSecObj *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_SetSecObj, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_SETSECOBJ, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_SetSecObj,
- (ndr_pull_fn_t) ndr_pull_lsa_SetSecObj,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_SetSecObj, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_ChangePassword(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_ChangePassword *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_ChangePassword, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_CHANGEPASSWORD, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_ChangePassword,
- (ndr_pull_fn_t) ndr_pull_lsa_ChangePassword,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_ChangePassword, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_OpenPolicy(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_OpenPolicy *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_OpenPolicy, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_OPENPOLICY, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_OpenPolicy,
- (ndr_pull_fn_t) ndr_pull_lsa_OpenPolicy,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_QueryInfoPolicy(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_QueryInfoPolicy *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_QueryInfoPolicy, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_QUERYINFOPOLICY, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_QueryInfoPolicy,
- (ndr_pull_fn_t) ndr_pull_lsa_QueryInfoPolicy,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_SetInfoPolicy(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_SetInfoPolicy *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_SetInfoPolicy, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_SETINFOPOLICY, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_SetInfoPolicy,
- (ndr_pull_fn_t) ndr_pull_lsa_SetInfoPolicy,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_ClearAuditLog(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_ClearAuditLog *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_ClearAuditLog, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_CLEARAUDITLOG, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_ClearAuditLog,
- (ndr_pull_fn_t) ndr_pull_lsa_ClearAuditLog,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_ClearAuditLog, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_CreateAccount(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_CreateAccount *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_CreateAccount, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_CREATEACCOUNT, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_CreateAccount,
- (ndr_pull_fn_t) ndr_pull_lsa_CreateAccount,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateAccount, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_EnumAccounts(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_EnumAccounts *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_EnumAccounts, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_ENUMACCOUNTS, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_EnumAccounts,
- (ndr_pull_fn_t) ndr_pull_lsa_EnumAccounts,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumAccounts, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_CreateTrustDom(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_CreateTrustDom *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_CreateTrustDom, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_CREATETRUSTDOM, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_CreateTrustDom,
- (ndr_pull_fn_t) ndr_pull_lsa_CreateTrustDom,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_CreateTrustDom, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_EnumTrustDom(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_EnumTrustDom *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_EnumTrustDom, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_ENUMTRUSTDOM, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_EnumTrustDom,
- (ndr_pull_fn_t) ndr_pull_lsa_EnumTrustDom,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumTrustDom, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_LookupNames(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_LookupNames *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_LookupNames, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_LOOKUPNAMES, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_LookupNames,
- (ndr_pull_fn_t) ndr_pull_lsa_LookupNames,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupNames, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_LookupSids(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_LookupSids *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_LookupSids, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_LOOKUPSIDS, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_LookupSids,
- (ndr_pull_fn_t) ndr_pull_lsa_LookupSids,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupSids, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_CREATESECRET(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct CREATESECRET *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(CREATESECRET, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_CREATESECRET, mem_ctx,
- (ndr_push_fn_t) ndr_push_CREATESECRET,
- (ndr_pull_fn_t) ndr_pull_CREATESECRET,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(CREATESECRET, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_OpenAccount(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_OpenAccount *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_OpenAccount, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_OPENACCOUNT, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_OpenAccount,
- (ndr_pull_fn_t) ndr_pull_lsa_OpenAccount,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenAccount, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_EnumPrivsAccount(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_EnumPrivsAccount *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_EnumPrivsAccount, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_ENUMPRIVSACCOUNT, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_EnumPrivsAccount,
- (ndr_pull_fn_t) ndr_pull_lsa_EnumPrivsAccount,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumPrivsAccount, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_ADDPRIVS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct ADDPRIVS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(ADDPRIVS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ADDPRIVS, mem_ctx,
- (ndr_push_fn_t) ndr_push_ADDPRIVS,
- (ndr_pull_fn_t) ndr_pull_ADDPRIVS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(ADDPRIVS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_REMOVEPRIVS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct REMOVEPRIVS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(REMOVEPRIVS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_REMOVEPRIVS, mem_ctx,
- (ndr_push_fn_t) ndr_push_REMOVEPRIVS,
- (ndr_pull_fn_t) ndr_pull_REMOVEPRIVS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(REMOVEPRIVS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_GETQUOTAS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct GETQUOTAS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(GETQUOTAS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_GETQUOTAS, mem_ctx,
- (ndr_push_fn_t) ndr_push_GETQUOTAS,
- (ndr_pull_fn_t) ndr_pull_GETQUOTAS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(GETQUOTAS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_SETQUOTAS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct SETQUOTAS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(SETQUOTAS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SETQUOTAS, mem_ctx,
- (ndr_push_fn_t) ndr_push_SETQUOTAS,
- (ndr_pull_fn_t) ndr_pull_SETQUOTAS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(SETQUOTAS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_GETSYSTEMACCOUNT(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct GETSYSTEMACCOUNT *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(GETSYSTEMACCOUNT, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_GETSYSTEMACCOUNT, mem_ctx,
- (ndr_push_fn_t) ndr_push_GETSYSTEMACCOUNT,
- (ndr_pull_fn_t) ndr_pull_GETSYSTEMACCOUNT,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(GETSYSTEMACCOUNT, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_SETSYSTEMACCOUNT(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct SETSYSTEMACCOUNT *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(SETSYSTEMACCOUNT, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SETSYSTEMACCOUNT, mem_ctx,
- (ndr_push_fn_t) ndr_push_SETSYSTEMACCOUNT,
- (ndr_pull_fn_t) ndr_pull_SETSYSTEMACCOUNT,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(SETSYSTEMACCOUNT, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_OPENTRUSTDOM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct OPENTRUSTDOM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(OPENTRUSTDOM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_OPENTRUSTDOM, mem_ctx,
- (ndr_push_fn_t) ndr_push_OPENTRUSTDOM,
- (ndr_pull_fn_t) ndr_pull_OPENTRUSTDOM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(OPENTRUSTDOM, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_QUERYTRUSTDOM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct QUERYTRUSTDOM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(QUERYTRUSTDOM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_QUERYTRUSTDOM, mem_ctx,
- (ndr_push_fn_t) ndr_push_QUERYTRUSTDOM,
- (ndr_pull_fn_t) ndr_pull_QUERYTRUSTDOM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(QUERYTRUSTDOM, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_SETINFOTRUSTDOM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct SETINFOTRUSTDOM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(SETINFOTRUSTDOM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SETINFOTRUSTDOM, mem_ctx,
- (ndr_push_fn_t) ndr_push_SETINFOTRUSTDOM,
- (ndr_pull_fn_t) ndr_pull_SETINFOTRUSTDOM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(SETINFOTRUSTDOM, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_OPENSECRET(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct OPENSECRET *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(OPENSECRET, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_OPENSECRET, mem_ctx,
- (ndr_push_fn_t) ndr_push_OPENSECRET,
- (ndr_pull_fn_t) ndr_pull_OPENSECRET,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(OPENSECRET, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_SETSECRET(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct SETSECRET *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(SETSECRET, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SETSECRET, mem_ctx,
- (ndr_push_fn_t) ndr_push_SETSECRET,
- (ndr_pull_fn_t) ndr_pull_SETSECRET,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(SETSECRET, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_QUERYSECRET(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct QUERYSECRET *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(QUERYSECRET, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_QUERYSECRET, mem_ctx,
- (ndr_push_fn_t) ndr_push_QUERYSECRET,
- (ndr_pull_fn_t) ndr_pull_QUERYSECRET,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(QUERYSECRET, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_LOOKUPPRIVVALUE(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct LOOKUPPRIVVALUE *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(LOOKUPPRIVVALUE, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LOOKUPPRIVVALUE, mem_ctx,
- (ndr_push_fn_t) ndr_push_LOOKUPPRIVVALUE,
- (ndr_pull_fn_t) ndr_pull_LOOKUPPRIVVALUE,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(LOOKUPPRIVVALUE, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_LookupPrivName(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_LookupPrivName *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_LookupPrivName, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_LOOKUPPRIVNAME, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_LookupPrivName,
- (ndr_pull_fn_t) ndr_pull_lsa_LookupPrivName,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_LookupPrivName, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_PRIV_GET_DISPNAME(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct PRIV_GET_DISPNAME *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(PRIV_GET_DISPNAME, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_PRIV_GET_DISPNAME, mem_ctx,
- (ndr_push_fn_t) ndr_push_PRIV_GET_DISPNAME,
- (ndr_pull_fn_t) ndr_pull_PRIV_GET_DISPNAME,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(PRIV_GET_DISPNAME, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_DELETEOBJECT(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct DELETEOBJECT *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(DELETEOBJECT, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DELETEOBJECT, mem_ctx,
- (ndr_push_fn_t) ndr_push_DELETEOBJECT,
- (ndr_pull_fn_t) ndr_pull_DELETEOBJECT,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(DELETEOBJECT, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_ENUMACCTWITHRIGHT(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct ENUMACCTWITHRIGHT *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(ENUMACCTWITHRIGHT, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ENUMACCTWITHRIGHT, mem_ctx,
- (ndr_push_fn_t) ndr_push_ENUMACCTWITHRIGHT,
- (ndr_pull_fn_t) ndr_pull_ENUMACCTWITHRIGHT,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(ENUMACCTWITHRIGHT, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_EnumAccountRights(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_EnumAccountRights *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_EnumAccountRights, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_ENUMACCOUNTRIGHTS, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_EnumAccountRights,
- (ndr_pull_fn_t) ndr_pull_lsa_EnumAccountRights,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_EnumAccountRights, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_ADDACCTRIGHTS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct ADDACCTRIGHTS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(ADDACCTRIGHTS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_ADDACCTRIGHTS, mem_ctx,
- (ndr_push_fn_t) ndr_push_ADDACCTRIGHTS,
- (ndr_pull_fn_t) ndr_pull_ADDACCTRIGHTS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(ADDACCTRIGHTS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_REMOVEACCTRIGHTS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct REMOVEACCTRIGHTS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(REMOVEACCTRIGHTS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_REMOVEACCTRIGHTS, mem_ctx,
- (ndr_push_fn_t) ndr_push_REMOVEACCTRIGHTS,
- (ndr_pull_fn_t) ndr_pull_REMOVEACCTRIGHTS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(REMOVEACCTRIGHTS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_QUERYTRUSTDOMINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct QUERYTRUSTDOMINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(QUERYTRUSTDOMINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_QUERYTRUSTDOMINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_QUERYTRUSTDOMINFO,
- (ndr_pull_fn_t) ndr_pull_QUERYTRUSTDOMINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(QUERYTRUSTDOMINFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_SETTRUSTDOMINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct SETTRUSTDOMINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(SETTRUSTDOMINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SETTRUSTDOMINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_SETTRUSTDOMINFO,
- (ndr_pull_fn_t) ndr_pull_SETTRUSTDOMINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(SETTRUSTDOMINFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_DELETETRUSTDOM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct DELETETRUSTDOM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(DELETETRUSTDOM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DELETETRUSTDOM, mem_ctx,
- (ndr_push_fn_t) ndr_push_DELETETRUSTDOM,
- (ndr_pull_fn_t) ndr_pull_DELETETRUSTDOM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(DELETETRUSTDOM, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_STOREPRIVDATA(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct STOREPRIVDATA *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(STOREPRIVDATA, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_STOREPRIVDATA, mem_ctx,
- (ndr_push_fn_t) ndr_push_STOREPRIVDATA,
- (ndr_pull_fn_t) ndr_pull_STOREPRIVDATA,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(STOREPRIVDATA, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_RETRPRIVDATA(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct RETRPRIVDATA *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(RETRPRIVDATA, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_RETRPRIVDATA, mem_ctx,
- (ndr_push_fn_t) ndr_push_RETRPRIVDATA,
- (ndr_pull_fn_t) ndr_pull_RETRPRIVDATA,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(RETRPRIVDATA, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_lsa_OpenPolicy2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_OpenPolicy2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(lsa_OpenPolicy2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_LSA_OPENPOLICY2, mem_ctx,
- (ndr_push_fn_t) ndr_push_lsa_OpenPolicy2,
- (ndr_pull_fn_t) ndr_pull_lsa_OpenPolicy2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_UNK_GET_CONNUSER(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct UNK_GET_CONNUSER *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(UNK_GET_CONNUSER, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_UNK_GET_CONNUSER, mem_ctx,
- (ndr_push_fn_t) ndr_push_UNK_GET_CONNUSER,
- (ndr_pull_fn_t) ndr_pull_UNK_GET_CONNUSER,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(UNK_GET_CONNUSER, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_QUERYINFO2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct QUERYINFO2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(QUERYINFO2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_QUERYINFO2, mem_ctx,
- (ndr_push_fn_t) ndr_push_QUERYINFO2,
- (ndr_pull_fn_t) ndr_pull_QUERYINFO2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(QUERYINFO2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
diff --git a/source4/librpc/rpc/rpc_misc.c b/source4/librpc/rpc/rpc_misc.c
deleted file mode 100644
index 473a9b0aa1..0000000000
--- a/source4/librpc/rpc/rpc_misc.c
+++ /dev/null
@@ -1,4 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
diff --git a/source4/librpc/rpc/rpc_samr.c b/source4/librpc/rpc/rpc_samr.c
deleted file mode 100644
index 76dd26ea05..0000000000
--- a/source4/librpc/rpc/rpc_samr.c
+++ /dev/null
@@ -1,1432 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
-
-NTSTATUS dcerpc_samr_Connect(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_Connect *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_Connect, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CONNECT, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_Connect,
- (ndr_pull_fn_t) ndr_pull_samr_Connect,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_Connect, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_Close(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_Close *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_Close, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CLOSE, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_Close,
- (ndr_pull_fn_t) ndr_pull_samr_Close,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_Close, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_SetSecurity(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SetSecurity *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_SetSecurity, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SETSECURITY, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_SetSecurity,
- (ndr_pull_fn_t) ndr_pull_samr_SetSecurity,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_SetSecurity, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QuerySecurity(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QuerySecurity *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QuerySecurity, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERYSECURITY, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QuerySecurity,
- (ndr_pull_fn_t) ndr_pull_samr_QuerySecurity,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QuerySecurity, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_Shutdown(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_Shutdown *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_Shutdown, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SHUTDOWN, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_Shutdown,
- (ndr_pull_fn_t) ndr_pull_samr_Shutdown,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_Shutdown, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_LookupDomain(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_LookupDomain *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_LookupDomain, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_LOOKUPDOMAIN, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_LookupDomain,
- (ndr_pull_fn_t) ndr_pull_samr_LookupDomain,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_LookupDomain, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_EnumDomains(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_EnumDomains *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomains, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUMDOMAINS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_EnumDomains,
- (ndr_pull_fn_t) ndr_pull_samr_EnumDomains,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_EnumDomains, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_OpenDomain(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_OpenDomain *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_OpenDomain, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_OPENDOMAIN, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_OpenDomain,
- (ndr_pull_fn_t) ndr_pull_samr_OpenDomain,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_OpenDomain, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QueryDomainInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QueryDomainInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QueryDomainInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERYDOMAININFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QueryDomainInfo,
- (ndr_pull_fn_t) ndr_pull_samr_QueryDomainInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QueryDomainInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_SET_DOMAIN_INFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SET_DOMAIN_INFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_SET_DOMAIN_INFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SET_DOMAIN_INFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_SET_DOMAIN_INFO,
- (ndr_pull_fn_t) ndr_pull_samr_SET_DOMAIN_INFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_SET_DOMAIN_INFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_CREATE_DOM_GROUP(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CREATE_DOM_GROUP *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_CREATE_DOM_GROUP, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CREATE_DOM_GROUP, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_CREATE_DOM_GROUP,
- (ndr_pull_fn_t) ndr_pull_samr_CREATE_DOM_GROUP,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_CREATE_DOM_GROUP, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_EnumDomainGroups(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_EnumDomainGroups *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomainGroups, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUMDOMAINGROUPS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_EnumDomainGroups,
- (ndr_pull_fn_t) ndr_pull_samr_EnumDomainGroups,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_EnumDomainGroups, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_CreateUser(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CreateUser *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_CreateUser, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CREATEUSER, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_CreateUser,
- (ndr_pull_fn_t) ndr_pull_samr_CreateUser,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_CreateUser, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_EnumDomainUsers(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_EnumDomainUsers *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomainUsers, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUMDOMAINUSERS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_EnumDomainUsers,
- (ndr_pull_fn_t) ndr_pull_samr_EnumDomainUsers,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_EnumDomainUsers, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_CREATE_DOM_ALIAS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CREATE_DOM_ALIAS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_CREATE_DOM_ALIAS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CREATE_DOM_ALIAS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_CREATE_DOM_ALIAS,
- (ndr_pull_fn_t) ndr_pull_samr_CREATE_DOM_ALIAS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_CREATE_DOM_ALIAS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_EnumDomainAliases(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_EnumDomainAliases *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_EnumDomainAliases, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUMDOMAINALIASES, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_EnumDomainAliases,
- (ndr_pull_fn_t) ndr_pull_samr_EnumDomainAliases,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_EnumDomainAliases, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_GetAliasMembership(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GetAliasMembership *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_GetAliasMembership, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_GETALIASMEMBERSHIP, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_GetAliasMembership,
- (ndr_pull_fn_t) ndr_pull_samr_GetAliasMembership,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_GetAliasMembership, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_LookupNames(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_LookupNames *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_LookupNames, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_LOOKUPNAMES, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_LookupNames,
- (ndr_pull_fn_t) ndr_pull_samr_LookupNames,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_LookupNames, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_LookupRids(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_LookupRids *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_LookupRids, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_LOOKUPRIDS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_LookupRids,
- (ndr_pull_fn_t) ndr_pull_samr_LookupRids,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_LookupRids, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_OpenGroup(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_OpenGroup *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_OpenGroup, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_OPENGROUP, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_OpenGroup,
- (ndr_pull_fn_t) ndr_pull_samr_OpenGroup,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_OpenGroup, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QueryGroupInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QueryGroupInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QueryGroupInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERYGROUPINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QueryGroupInfo,
- (ndr_pull_fn_t) ndr_pull_samr_QueryGroupInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QueryGroupInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_SET_GROUPINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SET_GROUPINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_SET_GROUPINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SET_GROUPINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_SET_GROUPINFO,
- (ndr_pull_fn_t) ndr_pull_samr_SET_GROUPINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_SET_GROUPINFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_ADD_GROUPMEM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_ADD_GROUPMEM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_ADD_GROUPMEM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ADD_GROUPMEM, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_ADD_GROUPMEM,
- (ndr_pull_fn_t) ndr_pull_samr_ADD_GROUPMEM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_ADD_GROUPMEM, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_DELETE_DOM_GROUP(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_DELETE_DOM_GROUP *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_DELETE_DOM_GROUP, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_DELETE_DOM_GROUP, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_DELETE_DOM_GROUP,
- (ndr_pull_fn_t) ndr_pull_samr_DELETE_DOM_GROUP,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_DELETE_DOM_GROUP, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_DEL_GROUPMEM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_DEL_GROUPMEM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_DEL_GROUPMEM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_DEL_GROUPMEM, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_DEL_GROUPMEM,
- (ndr_pull_fn_t) ndr_pull_samr_DEL_GROUPMEM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_DEL_GROUPMEM, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QUERY_GROUPMEM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QUERY_GROUPMEM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QUERY_GROUPMEM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERY_GROUPMEM, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QUERY_GROUPMEM,
- (ndr_pull_fn_t) ndr_pull_samr_QUERY_GROUPMEM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QUERY_GROUPMEM, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_SET_MEMBER_ATTRIBUTES_OF_GROUP(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SET_MEMBER_ATTRIBUTES_OF_GROUP *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_SET_MEMBER_ATTRIBUTES_OF_GROUP, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SET_MEMBER_ATTRIBUTES_OF_GROUP, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_SET_MEMBER_ATTRIBUTES_OF_GROUP,
- (ndr_pull_fn_t) ndr_pull_samr_SET_MEMBER_ATTRIBUTES_OF_GROUP,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_SET_MEMBER_ATTRIBUTES_OF_GROUP, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_OpenAlias(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_OpenAlias *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_OpenAlias, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_OPENALIAS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_OpenAlias,
- (ndr_pull_fn_t) ndr_pull_samr_OpenAlias,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_OpenAlias, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QueryAliasInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QueryAliasInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QueryAliasInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERYALIASINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QueryAliasInfo,
- (ndr_pull_fn_t) ndr_pull_samr_QueryAliasInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QueryAliasInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_SET_ALIASINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SET_ALIASINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_SET_ALIASINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SET_ALIASINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_SET_ALIASINFO,
- (ndr_pull_fn_t) ndr_pull_samr_SET_ALIASINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_SET_ALIASINFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_DELETE_DOM_ALIAS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_DELETE_DOM_ALIAS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_DELETE_DOM_ALIAS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_DELETE_DOM_ALIAS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_DELETE_DOM_ALIAS,
- (ndr_pull_fn_t) ndr_pull_samr_DELETE_DOM_ALIAS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_DELETE_DOM_ALIAS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_ADD_ALIASMEM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_ADD_ALIASMEM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_ADD_ALIASMEM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ADD_ALIASMEM, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_ADD_ALIASMEM,
- (ndr_pull_fn_t) ndr_pull_samr_ADD_ALIASMEM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_ADD_ALIASMEM, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_DEL_ALIASMEM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_DEL_ALIASMEM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_DEL_ALIASMEM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_DEL_ALIASMEM, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_DEL_ALIASMEM,
- (ndr_pull_fn_t) ndr_pull_samr_DEL_ALIASMEM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_DEL_ALIASMEM, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_GET_MEMBERS_IN_ALIAS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GET_MEMBERS_IN_ALIAS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_GET_MEMBERS_IN_ALIAS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_GET_MEMBERS_IN_ALIAS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_GET_MEMBERS_IN_ALIAS,
- (ndr_pull_fn_t) ndr_pull_samr_GET_MEMBERS_IN_ALIAS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_GET_MEMBERS_IN_ALIAS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_OpenUser(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_OpenUser *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_OpenUser, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_OPENUSER, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_OpenUser,
- (ndr_pull_fn_t) ndr_pull_samr_OpenUser,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_OpenUser, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_DeleteUser(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_DeleteUser *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_DeleteUser, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_DELETEUSER, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_DeleteUser,
- (ndr_pull_fn_t) ndr_pull_samr_DeleteUser,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_DeleteUser, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QueryUserInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QueryUserInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QueryUserInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERYUSERINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QueryUserInfo,
- (ndr_pull_fn_t) ndr_pull_samr_QueryUserInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QueryUserInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_SetUserInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SetUserInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_SetUserInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SETUSERINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_SetUserInfo,
- (ndr_pull_fn_t) ndr_pull_samr_SetUserInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_SetUserInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_CHANGE_PASSWORD_USER(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CHANGE_PASSWORD_USER *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_CHANGE_PASSWORD_USER, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CHANGE_PASSWORD_USER, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_CHANGE_PASSWORD_USER,
- (ndr_pull_fn_t) ndr_pull_samr_CHANGE_PASSWORD_USER,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_CHANGE_PASSWORD_USER, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_GET_GROUPS_FOR_USER(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GET_GROUPS_FOR_USER *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_GET_GROUPS_FOR_USER, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_GET_GROUPS_FOR_USER, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_GET_GROUPS_FOR_USER,
- (ndr_pull_fn_t) ndr_pull_samr_GET_GROUPS_FOR_USER,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_GET_GROUPS_FOR_USER, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QUERY_DISPINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QUERY_DISPINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QUERY_DISPINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERY_DISPINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QUERY_DISPINFO,
- (ndr_pull_fn_t) ndr_pull_samr_QUERY_DISPINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QUERY_DISPINFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_GET_DISPLAY_ENUMERATION_INDEX(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GET_DISPLAY_ENUMERATION_INDEX *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_GET_DISPLAY_ENUMERATION_INDEX, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_GET_DISPLAY_ENUMERATION_INDEX, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_GET_DISPLAY_ENUMERATION_INDEX,
- (ndr_pull_fn_t) ndr_pull_samr_GET_DISPLAY_ENUMERATION_INDEX,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_GET_DISPLAY_ENUMERATION_INDEX, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_TEST_PRIVATE_FUNCTIONS_DOMAIN(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_TEST_PRIVATE_FUNCTIONS_DOMAIN *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_TEST_PRIVATE_FUNCTIONS_DOMAIN, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_TEST_PRIVATE_FUNCTIONS_DOMAIN, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_TEST_PRIVATE_FUNCTIONS_DOMAIN,
- (ndr_pull_fn_t) ndr_pull_samr_TEST_PRIVATE_FUNCTIONS_DOMAIN,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_TEST_PRIVATE_FUNCTIONS_DOMAIN, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_TEST_PRIVATE_FUNCTIONS_USER(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_TEST_PRIVATE_FUNCTIONS_USER *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_TEST_PRIVATE_FUNCTIONS_USER, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_TEST_PRIVATE_FUNCTIONS_USER, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_TEST_PRIVATE_FUNCTIONS_USER,
- (ndr_pull_fn_t) ndr_pull_samr_TEST_PRIVATE_FUNCTIONS_USER,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_TEST_PRIVATE_FUNCTIONS_USER, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_GET_USRDOM_PWINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GET_USRDOM_PWINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_GET_USRDOM_PWINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_GET_USRDOM_PWINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_GET_USRDOM_PWINFO,
- (ndr_pull_fn_t) ndr_pull_samr_GET_USRDOM_PWINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_GET_USRDOM_PWINFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_REMOVE_MEMBER_FROM_FOREIGN_DOMAIN(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_REMOVE_MEMBER_FROM_FOREIGN_DOMAIN *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_REMOVE_MEMBER_FROM_FOREIGN_DOMAIN, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_REMOVE_MEMBER_FROM_FOREIGN_DOMAIN, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_REMOVE_MEMBER_FROM_FOREIGN_DOMAIN,
- (ndr_pull_fn_t) ndr_pull_samr_REMOVE_MEMBER_FROM_FOREIGN_DOMAIN,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_REMOVE_MEMBER_FROM_FOREIGN_DOMAIN, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QUERY_INFORMATION_DOMAIN2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QUERY_INFORMATION_DOMAIN2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QUERY_INFORMATION_DOMAIN2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERY_INFORMATION_DOMAIN2, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QUERY_INFORMATION_DOMAIN2,
- (ndr_pull_fn_t) ndr_pull_samr_QUERY_INFORMATION_DOMAIN2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QUERY_INFORMATION_DOMAIN2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QUERY_INFORMATION_USER2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QUERY_INFORMATION_USER2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QUERY_INFORMATION_USER2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERY_INFORMATION_USER2, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QUERY_INFORMATION_USER2,
- (ndr_pull_fn_t) ndr_pull_samr_QUERY_INFORMATION_USER2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QUERY_INFORMATION_USER2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QUERY_DISPINFO2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QUERY_DISPINFO2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QUERY_DISPINFO2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERY_DISPINFO2, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QUERY_DISPINFO2,
- (ndr_pull_fn_t) ndr_pull_samr_QUERY_DISPINFO2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QUERY_DISPINFO2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_GET_DISPLAY_ENUMERATION_INDEX2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GET_DISPLAY_ENUMERATION_INDEX2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_GET_DISPLAY_ENUMERATION_INDEX2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_GET_DISPLAY_ENUMERATION_INDEX2, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_GET_DISPLAY_ENUMERATION_INDEX2,
- (ndr_pull_fn_t) ndr_pull_samr_GET_DISPLAY_ENUMERATION_INDEX2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_GET_DISPLAY_ENUMERATION_INDEX2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_CREATE_USER2_IN_DOMAIN(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CREATE_USER2_IN_DOMAIN *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_CREATE_USER2_IN_DOMAIN, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CREATE_USER2_IN_DOMAIN, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_CREATE_USER2_IN_DOMAIN,
- (ndr_pull_fn_t) ndr_pull_samr_CREATE_USER2_IN_DOMAIN,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_CREATE_USER2_IN_DOMAIN, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_QUERY_DISPINFO3(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QUERY_DISPINFO3 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_QUERY_DISPINFO3, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERY_DISPINFO3, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QUERY_DISPINFO3,
- (ndr_pull_fn_t) ndr_pull_samr_QUERY_DISPINFO3,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_QUERY_DISPINFO3, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_ADD_MULTIPLE_MEMBERS_TO_ALIAS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_ADD_MULTIPLE_MEMBERS_TO_ALIAS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_ADD_MULTIPLE_MEMBERS_TO_ALIAS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ADD_MULTIPLE_MEMBERS_TO_ALIAS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_ADD_MULTIPLE_MEMBERS_TO_ALIAS,
- (ndr_pull_fn_t) ndr_pull_samr_ADD_MULTIPLE_MEMBERS_TO_ALIAS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_ADD_MULTIPLE_MEMBERS_TO_ALIAS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_REMOVE_MULTIPLE_MEMBERS_FROM_ALIAS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_REMOVE_MULTIPLE_MEMBERS_FROM_ALIAS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_REMOVE_MULTIPLE_MEMBERS_FROM_ALIAS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_REMOVE_MULTIPLE_MEMBERS_FROM_ALIAS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_REMOVE_MULTIPLE_MEMBERS_FROM_ALIAS,
- (ndr_pull_fn_t) ndr_pull_samr_REMOVE_MULTIPLE_MEMBERS_FROM_ALIAS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_REMOVE_MULTIPLE_MEMBERS_FROM_ALIAS, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_OEM_CHANGE_PASSWORD_USER2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_OEM_CHANGE_PASSWORD_USER2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_OEM_CHANGE_PASSWORD_USER2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_OEM_CHANGE_PASSWORD_USER2, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_OEM_CHANGE_PASSWORD_USER2,
- (ndr_pull_fn_t) ndr_pull_samr_OEM_CHANGE_PASSWORD_USER2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_OEM_CHANGE_PASSWORD_USER2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_UNICODE_CHANGE_PASSWORD_USER2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_UNICODE_CHANGE_PASSWORD_USER2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_UNICODE_CHANGE_PASSWORD_USER2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_UNICODE_CHANGE_PASSWORD_USER2, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_UNICODE_CHANGE_PASSWORD_USER2,
- (ndr_pull_fn_t) ndr_pull_samr_UNICODE_CHANGE_PASSWORD_USER2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_UNICODE_CHANGE_PASSWORD_USER2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_GET_DOM_PWINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GET_DOM_PWINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_GET_DOM_PWINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_GET_DOM_PWINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_GET_DOM_PWINFO,
- (ndr_pull_fn_t) ndr_pull_samr_GET_DOM_PWINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_GET_DOM_PWINFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_CONNECT2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CONNECT2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_CONNECT2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CONNECT2, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_CONNECT2,
- (ndr_pull_fn_t) ndr_pull_samr_CONNECT2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_CONNECT2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_SET_USERINFO2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SET_USERINFO2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_SET_USERINFO2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SET_USERINFO2, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_SET_USERINFO2,
- (ndr_pull_fn_t) ndr_pull_samr_SET_USERINFO2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_SET_USERINFO2, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_SET_BOOT_KEY_INFORMATION(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SET_BOOT_KEY_INFORMATION *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_SET_BOOT_KEY_INFORMATION, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SET_BOOT_KEY_INFORMATION, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_SET_BOOT_KEY_INFORMATION,
- (ndr_pull_fn_t) ndr_pull_samr_SET_BOOT_KEY_INFORMATION,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_SET_BOOT_KEY_INFORMATION, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_GET_BOOT_KEY_INFORMATION(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GET_BOOT_KEY_INFORMATION *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_GET_BOOT_KEY_INFORMATION, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_GET_BOOT_KEY_INFORMATION, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_GET_BOOT_KEY_INFORMATION,
- (ndr_pull_fn_t) ndr_pull_samr_GET_BOOT_KEY_INFORMATION,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_GET_BOOT_KEY_INFORMATION, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_CONNECT3(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CONNECT3 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_CONNECT3, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CONNECT3, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_CONNECT3,
- (ndr_pull_fn_t) ndr_pull_samr_CONNECT3,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_CONNECT3, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_Connect4(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_Connect4 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_Connect4, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CONNECT4, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_Connect4,
- (ndr_pull_fn_t) ndr_pull_samr_Connect4,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_Connect4, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_UNICODE_CHANGE_PASSWORD_USER3(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_UNICODE_CHANGE_PASSWORD_USER3 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_UNICODE_CHANGE_PASSWORD_USER3, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_UNICODE_CHANGE_PASSWORD_USER3, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_UNICODE_CHANGE_PASSWORD_USER3,
- (ndr_pull_fn_t) ndr_pull_samr_UNICODE_CHANGE_PASSWORD_USER3,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_UNICODE_CHANGE_PASSWORD_USER3, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_CONNECT5(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CONNECT5 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_CONNECT5, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_CONNECT5, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_CONNECT5,
- (ndr_pull_fn_t) ndr_pull_samr_CONNECT5,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_CONNECT5, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_RID_TO_SID(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_RID_TO_SID *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_RID_TO_SID, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_RID_TO_SID, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_RID_TO_SID,
- (ndr_pull_fn_t) ndr_pull_samr_RID_TO_SID,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_RID_TO_SID, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_SET_DSRM_PASSWORD(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SET_DSRM_PASSWORD *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_SET_DSRM_PASSWORD, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_SET_DSRM_PASSWORD, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_SET_DSRM_PASSWORD,
- (ndr_pull_fn_t) ndr_pull_samr_SET_DSRM_PASSWORD,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_SET_DSRM_PASSWORD, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_samr_VALIDATE_PASSWORD(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_VALIDATE_PASSWORD *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_VALIDATE_PASSWORD, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SAMR_VALIDATE_PASSWORD, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_VALIDATE_PASSWORD,
- (ndr_pull_fn_t) ndr_pull_samr_VALIDATE_PASSWORD,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_VALIDATE_PASSWORD, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
diff --git a/source4/librpc/rpc/rpc_spoolss.c b/source4/librpc/rpc/rpc_spoolss.c
deleted file mode 100644
index 60645498ee..0000000000
--- a/source4/librpc/rpc/rpc_spoolss.c
+++ /dev/null
@@ -1,2014 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
-
-NTSTATUS dcerpc_spoolss_EnumPrinters(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_EnumPrinters *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinters, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_ENUMPRINTERS, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_EnumPrinters,
- (ndr_pull_fn_t) ndr_pull_spoolss_EnumPrinters,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinters, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_OpenPrinter(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_OpenPrinter *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_OpenPrinter, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_OPENPRINTER, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_OpenPrinter,
- (ndr_pull_fn_t) ndr_pull_spoolss_OpenPrinter,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_OpenPrinter, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_02(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_02 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_02, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_02, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_02,
- (ndr_pull_fn_t) ndr_pull_spoolss_02,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_02, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_03(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_03 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_03, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_03, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_03,
- (ndr_pull_fn_t) ndr_pull_spoolss_03,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_03, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_EnumJobs(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_EnumJobs *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumJobs, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_ENUMJOBS, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_EnumJobs,
- (ndr_pull_fn_t) ndr_pull_spoolss_EnumJobs,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumJobs, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_05(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_05 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_05, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_05, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_05,
- (ndr_pull_fn_t) ndr_pull_spoolss_05,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_05, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_06(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_06 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_06, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_06, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_06,
- (ndr_pull_fn_t) ndr_pull_spoolss_06,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_06, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_07(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_07 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_07, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_07, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_07,
- (ndr_pull_fn_t) ndr_pull_spoolss_07,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_07, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_GetPrinter(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_GetPrinter *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_GetPrinter, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_GETPRINTER, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_GetPrinter,
- (ndr_pull_fn_t) ndr_pull_spoolss_GetPrinter,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_GetPrinter, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_09(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_09 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_09, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_09, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_09,
- (ndr_pull_fn_t) ndr_pull_spoolss_09,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_09, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_0a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0a *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_0a, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0A, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_0a,
- (ndr_pull_fn_t) ndr_pull_spoolss_0a,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_0a, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_0b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0b *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_0b, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0B, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_0b,
- (ndr_pull_fn_t) ndr_pull_spoolss_0b,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_0b, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_0c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0c *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_0c, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0C, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_0c,
- (ndr_pull_fn_t) ndr_pull_spoolss_0c,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_0c, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_0d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0d *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_0d, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0D, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_0d,
- (ndr_pull_fn_t) ndr_pull_spoolss_0d,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_0d, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_0e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0e *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_0e, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0E, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_0e,
- (ndr_pull_fn_t) ndr_pull_spoolss_0e,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_0e, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_0f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0f *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_0f, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0F, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_0f,
- (ndr_pull_fn_t) ndr_pull_spoolss_0f,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_0f, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_10(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_10 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_10, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_10, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_10,
- (ndr_pull_fn_t) ndr_pull_spoolss_10,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_10, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_11(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_11 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_11, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_11, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_11,
- (ndr_pull_fn_t) ndr_pull_spoolss_11,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_11, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_StartPagePrinter(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_StartPagePrinter *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_StartPagePrinter, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_STARTPAGEPRINTER, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_StartPagePrinter,
- (ndr_pull_fn_t) ndr_pull_spoolss_StartPagePrinter,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_StartPagePrinter, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_13(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_13 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_13, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_13, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_13,
- (ndr_pull_fn_t) ndr_pull_spoolss_13,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_13, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_EndPagePrinter(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_EndPagePrinter *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_EndPagePrinter, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_ENDPAGEPRINTER, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_EndPagePrinter,
- (ndr_pull_fn_t) ndr_pull_spoolss_EndPagePrinter,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_EndPagePrinter, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_15(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_15 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_15, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_15, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_15,
- (ndr_pull_fn_t) ndr_pull_spoolss_15,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_15, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_16(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_16 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_16, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_16, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_16,
- (ndr_pull_fn_t) ndr_pull_spoolss_16,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_16, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_EndDocPrinter(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_EndDocPrinter *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_EndDocPrinter, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_ENDDOCPRINTER, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_EndDocPrinter,
- (ndr_pull_fn_t) ndr_pull_spoolss_EndDocPrinter,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_EndDocPrinter, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_18(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_18 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_18, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_18, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_18,
- (ndr_pull_fn_t) ndr_pull_spoolss_18,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_18, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_19(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_19 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_19, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_19, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_19,
- (ndr_pull_fn_t) ndr_pull_spoolss_19,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_19, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_1a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1a *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_1a, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1A, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_1a,
- (ndr_pull_fn_t) ndr_pull_spoolss_1a,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_1a, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_1b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1b *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_1b, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1B, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_1b,
- (ndr_pull_fn_t) ndr_pull_spoolss_1b,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_1b, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_1c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1c *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_1c, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1C, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_1c,
- (ndr_pull_fn_t) ndr_pull_spoolss_1c,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_1c, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_ClosePrinter(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_ClosePrinter *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_ClosePrinter, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_CLOSEPRINTER, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_ClosePrinter,
- (ndr_pull_fn_t) ndr_pull_spoolss_ClosePrinter,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_ClosePrinter, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_1e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1e *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_1e, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1E, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_1e,
- (ndr_pull_fn_t) ndr_pull_spoolss_1e,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_1e, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_1f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1f *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_1f, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1F, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_1f,
- (ndr_pull_fn_t) ndr_pull_spoolss_1f,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_1f, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_20(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_20 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_20, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_20, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_20,
- (ndr_pull_fn_t) ndr_pull_spoolss_20,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_20, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_21(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_21 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_21, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_21, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_21,
- (ndr_pull_fn_t) ndr_pull_spoolss_21,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_21, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_22(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_22 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_22, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_22, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_22,
- (ndr_pull_fn_t) ndr_pull_spoolss_22,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_22, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_23(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_23 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_23, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_23, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_23,
- (ndr_pull_fn_t) ndr_pull_spoolss_23,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_23, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_24(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_24 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_24, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_24, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_24,
- (ndr_pull_fn_t) ndr_pull_spoolss_24,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_24, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_25(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_25 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_25, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_25, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_25,
- (ndr_pull_fn_t) ndr_pull_spoolss_25,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_25, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_26(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_26 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_26, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_26, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_26,
- (ndr_pull_fn_t) ndr_pull_spoolss_26,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_26, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_27(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_27 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_27, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_27, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_27,
- (ndr_pull_fn_t) ndr_pull_spoolss_27,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_27, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_28(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_28 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_28, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_28, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_28,
- (ndr_pull_fn_t) ndr_pull_spoolss_28,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_28, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_29(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_29 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_29, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_29, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_29,
- (ndr_pull_fn_t) ndr_pull_spoolss_29,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_29, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_2a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2a *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_2a, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2A, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_2a,
- (ndr_pull_fn_t) ndr_pull_spoolss_2a,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_2a, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_2b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2b *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_2b, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2B, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_2b,
- (ndr_pull_fn_t) ndr_pull_spoolss_2b,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_2b, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_2c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2c *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_2c, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2C, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_2c,
- (ndr_pull_fn_t) ndr_pull_spoolss_2c,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_2c, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_2d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2d *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_2d, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2D, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_2d,
- (ndr_pull_fn_t) ndr_pull_spoolss_2d,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_2d, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_2e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2e *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_2e, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2E, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_2e,
- (ndr_pull_fn_t) ndr_pull_spoolss_2e,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_2e, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_2f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2f *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_2f, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2F, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_2f,
- (ndr_pull_fn_t) ndr_pull_spoolss_2f,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_2f, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_30(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_30 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_30, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_30, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_30,
- (ndr_pull_fn_t) ndr_pull_spoolss_30,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_30, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_31(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_31 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_31, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_31, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_31,
- (ndr_pull_fn_t) ndr_pull_spoolss_31,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_31, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_32(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_32 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_32, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_32, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_32,
- (ndr_pull_fn_t) ndr_pull_spoolss_32,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_32, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_33(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_33 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_33, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_33, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_33,
- (ndr_pull_fn_t) ndr_pull_spoolss_33,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_33, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_34(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_34 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_34, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_34, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_34,
- (ndr_pull_fn_t) ndr_pull_spoolss_34,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_34, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_35(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_35 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_35, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_35, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_35,
- (ndr_pull_fn_t) ndr_pull_spoolss_35,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_35, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_36(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_36 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_36, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_36, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_36,
- (ndr_pull_fn_t) ndr_pull_spoolss_36,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_36, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_37(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_37 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_37, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_37, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_37,
- (ndr_pull_fn_t) ndr_pull_spoolss_37,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_37, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_38(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_38 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_38, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_38, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_38,
- (ndr_pull_fn_t) ndr_pull_spoolss_38,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_38, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_39(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_39 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_39, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_39, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_39,
- (ndr_pull_fn_t) ndr_pull_spoolss_39,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_39, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_3a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3a *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_3a, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3A, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_3a,
- (ndr_pull_fn_t) ndr_pull_spoolss_3a,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_3a, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_3b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3b *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_3b, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3B, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_3b,
- (ndr_pull_fn_t) ndr_pull_spoolss_3b,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_3b, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_3c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3c *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_3c, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3C, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_3c,
- (ndr_pull_fn_t) ndr_pull_spoolss_3c,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_3c, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_3d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3d *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_3d, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3D, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_3d,
- (ndr_pull_fn_t) ndr_pull_spoolss_3d,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_3d, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_3e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3e *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_3e, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3E, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_3e,
- (ndr_pull_fn_t) ndr_pull_spoolss_3e,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_3e, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_3f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3f *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_3f, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3F, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_3f,
- (ndr_pull_fn_t) ndr_pull_spoolss_3f,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_3f, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_40(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_40 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_40, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_40, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_40,
- (ndr_pull_fn_t) ndr_pull_spoolss_40,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_40, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_41(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_41 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_41, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_41, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_41,
- (ndr_pull_fn_t) ndr_pull_spoolss_41,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_41, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_42(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_42 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_42, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_42, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_42,
- (ndr_pull_fn_t) ndr_pull_spoolss_42,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_42, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_43(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_43 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_43, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_43, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_43,
- (ndr_pull_fn_t) ndr_pull_spoolss_43,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_43, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_44(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_44 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_44, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_44, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_44,
- (ndr_pull_fn_t) ndr_pull_spoolss_44,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_44, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_OpenPrinterEx(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_OpenPrinterEx *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_OpenPrinterEx, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_OPENPRINTEREX, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_OpenPrinterEx,
- (ndr_pull_fn_t) ndr_pull_spoolss_OpenPrinterEx,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_OpenPrinterEx, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_46(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_46 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_46, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_46, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_46,
- (ndr_pull_fn_t) ndr_pull_spoolss_46,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_46, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_47(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_47 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_47, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_47, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_47,
- (ndr_pull_fn_t) ndr_pull_spoolss_47,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_47, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_EnumPrinterData(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_EnumPrinterData *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_EnumPrinterData, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_ENUMPRINTERDATA, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_EnumPrinterData,
- (ndr_pull_fn_t) ndr_pull_spoolss_EnumPrinterData,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_EnumPrinterData, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_49(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_49 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_49, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_49, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_49,
- (ndr_pull_fn_t) ndr_pull_spoolss_49,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_49, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_4a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4a *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_4a, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4A, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_4a,
- (ndr_pull_fn_t) ndr_pull_spoolss_4a,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_4a, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_4b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4b *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_4b, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4B, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_4b,
- (ndr_pull_fn_t) ndr_pull_spoolss_4b,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_4b, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_4c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4c *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_4c, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4C, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_4c,
- (ndr_pull_fn_t) ndr_pull_spoolss_4c,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_4c, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_4d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4d *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_4d, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4D, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_4d,
- (ndr_pull_fn_t) ndr_pull_spoolss_4d,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_4d, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_4e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4e *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_4e, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4E, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_4e,
- (ndr_pull_fn_t) ndr_pull_spoolss_4e,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_4e, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_4f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4f *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_4f, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4F, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_4f,
- (ndr_pull_fn_t) ndr_pull_spoolss_4f,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_4f, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_50(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_50 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_50, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_50, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_50,
- (ndr_pull_fn_t) ndr_pull_spoolss_50,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_50, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_51(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_51 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_51, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_51, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_51,
- (ndr_pull_fn_t) ndr_pull_spoolss_51,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_51, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_52(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_52 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_52, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_52, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_52,
- (ndr_pull_fn_t) ndr_pull_spoolss_52,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_52, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_53(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_53 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_53, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_53, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_53,
- (ndr_pull_fn_t) ndr_pull_spoolss_53,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_53, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_54(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_54 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_54, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_54, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_54,
- (ndr_pull_fn_t) ndr_pull_spoolss_54,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_54, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_55(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_55 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_55, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_55, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_55,
- (ndr_pull_fn_t) ndr_pull_spoolss_55,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_55, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_56(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_56 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_56, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_56, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_56,
- (ndr_pull_fn_t) ndr_pull_spoolss_56,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_56, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_57(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_57 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_57, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_57, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_57,
- (ndr_pull_fn_t) ndr_pull_spoolss_57,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_57, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_58(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_58 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_58, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_58, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_58,
- (ndr_pull_fn_t) ndr_pull_spoolss_58,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_58, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_59(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_59 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_59, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_59, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_59,
- (ndr_pull_fn_t) ndr_pull_spoolss_59,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_59, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_5a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5a *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_5a, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5A, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_5a,
- (ndr_pull_fn_t) ndr_pull_spoolss_5a,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_5a, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_5b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5b *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_5b, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5B, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_5b,
- (ndr_pull_fn_t) ndr_pull_spoolss_5b,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_5b, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_5c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5c *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_5c, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5C, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_5c,
- (ndr_pull_fn_t) ndr_pull_spoolss_5c,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_5c, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_5d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5d *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_5d, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5D, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_5d,
- (ndr_pull_fn_t) ndr_pull_spoolss_5d,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_5d, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_5e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5e *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_5e, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5E, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_5e,
- (ndr_pull_fn_t) ndr_pull_spoolss_5e,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_5e, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_spoolss_5f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5f *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(spoolss_5f, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5F, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_5f,
- (ndr_pull_fn_t) ndr_pull_spoolss_5f,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(spoolss_5f, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
diff --git a/source4/librpc/rpc/rpc_srvsvc.c b/source4/librpc/rpc/rpc_srvsvc.c
deleted file mode 100644
index d49dd2a91b..0000000000
--- a/source4/librpc/rpc/rpc_srvsvc.c
+++ /dev/null
@@ -1,858 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
-
-NTSTATUS dcerpc_srvsvc_00(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_00 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_00, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_00, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_00,
- (ndr_pull_fn_t) ndr_pull_srvsvc_00,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_00, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_01(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_01 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_01, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_01, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_01,
- (ndr_pull_fn_t) ndr_pull_srvsvc_01,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_01, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_02(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_02 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_02, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_02, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_02,
- (ndr_pull_fn_t) ndr_pull_srvsvc_02,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_02, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_03(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_03 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_03, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_03, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_03,
- (ndr_pull_fn_t) ndr_pull_srvsvc_03,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_03, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_04(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_04 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_04, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_04, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_04,
- (ndr_pull_fn_t) ndr_pull_srvsvc_04,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_04, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_05(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_05 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_05, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_05, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_05,
- (ndr_pull_fn_t) ndr_pull_srvsvc_05,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_05, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_06(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_06 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_06, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_06, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_06,
- (ndr_pull_fn_t) ndr_pull_srvsvc_06,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_06, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_07(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_07 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_07, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_07, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_07,
- (ndr_pull_fn_t) ndr_pull_srvsvc_07,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_07, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NetConnEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NetConnEnum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetConnEnum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NETCONNENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NetConnEnum,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NetConnEnum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetConnEnum, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NetFileEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NetFileEnum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetFileEnum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NETFILEENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NetFileEnum,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NetFileEnum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetFileEnum, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_0a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_0a *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_0a, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_0A, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_0a,
- (ndr_pull_fn_t) ndr_pull_srvsvc_0a,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_0a, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_FILE_CLOSE(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_FILE_CLOSE *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_FILE_CLOSE, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_FILE_CLOSE, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_FILE_CLOSE,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_FILE_CLOSE,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_FILE_CLOSE, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NetSessEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NetSessEnum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetSessEnum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NETSESSENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NetSessEnum,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NetSessEnum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetSessEnum, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_0d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_0d *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_0d, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_0D, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_0d,
- (ndr_pull_fn_t) ndr_pull_srvsvc_0d,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_0d, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_SHARE_ADD(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_SHARE_ADD *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_SHARE_ADD, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_SHARE_ADD, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_SHARE_ADD,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_SHARE_ADD,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_SHARE_ADD, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NetShareEnumAll(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NetShareEnumAll *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareEnumAll, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NETSHAREENUMALL, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NetShareEnumAll,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NetShareEnumAll,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareEnumAll, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_SHARE_GET_INFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_SHARE_GET_INFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_SHARE_GET_INFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_SHARE_GET_INFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_SHARE_GET_INFO,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_SHARE_GET_INFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_SHARE_GET_INFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_SHARE_SET_INFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_SHARE_SET_INFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_SHARE_SET_INFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_SHARE_SET_INFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_SHARE_SET_INFO,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_SHARE_SET_INFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_SHARE_SET_INFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_SHARE_DEL(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_SHARE_DEL *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_SHARE_DEL, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_SHARE_DEL, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_SHARE_DEL,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_SHARE_DEL,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_SHARE_DEL, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_SHARE_DEL_STICKY(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_SHARE_DEL_STICKY *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_SHARE_DEL_STICKY, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_SHARE_DEL_STICKY, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_SHARE_DEL_STICKY,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_SHARE_DEL_STICKY,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_SHARE_DEL_STICKY, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_14(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_14 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_14, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_14, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_14,
- (ndr_pull_fn_t) ndr_pull_srvsvc_14,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_14, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_SRV_GET_INFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_SRV_GET_INFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_SRV_GET_INFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_SRV_GET_INFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_SRV_GET_INFO,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_SRV_GET_INFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_SRV_GET_INFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_SRV_SET_INFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_SRV_SET_INFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_SRV_SET_INFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_SRV_SET_INFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_SRV_SET_INFO,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_SRV_SET_INFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_SRV_SET_INFO, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NetDiskEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NetDiskEnum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetDiskEnum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NETDISKENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NetDiskEnum,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NetDiskEnum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetDiskEnum, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_18(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_18 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_18, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_18, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_18,
- (ndr_pull_fn_t) ndr_pull_srvsvc_18,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_18, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_19(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_19 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_19, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_19, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_19,
- (ndr_pull_fn_t) ndr_pull_srvsvc_19,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_19, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NetTransportEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NetTransportEnum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetTransportEnum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NETTRANSPORTENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NetTransportEnum,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NetTransportEnum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetTransportEnum, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_1b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_1b *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_1b, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_1B, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_1b,
- (ndr_pull_fn_t) ndr_pull_srvsvc_1b,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_1b, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_REMOTE_TOD(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_REMOTE_TOD *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_REMOTE_TOD, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_REMOTE_TOD, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_REMOTE_TOD,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_REMOTE_TOD,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_REMOTE_TOD, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_1d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_1d *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_1d, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_1D, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_1d,
- (ndr_pull_fn_t) ndr_pull_srvsvc_1d,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_1d, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_1e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_1e *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_1e, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_1E, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_1e,
- (ndr_pull_fn_t) ndr_pull_srvsvc_1e,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_1e, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_1f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_1f *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_1f, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_1F, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_1f,
- (ndr_pull_fn_t) ndr_pull_srvsvc_1f,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_1f, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_20(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_20 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_20, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_20, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_20,
- (ndr_pull_fn_t) ndr_pull_srvsvc_20,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_20, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_NAME_VALIDATE(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_NAME_VALIDATE *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_NAME_VALIDATE, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_NAME_VALIDATE, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_NAME_VALIDATE,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_NAME_VALIDATE,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_NAME_VALIDATE, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_22(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_22 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_22, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_22, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_22,
- (ndr_pull_fn_t) ndr_pull_srvsvc_22,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_22, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_23(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_23 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_23, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_23, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_23,
- (ndr_pull_fn_t) ndr_pull_srvsvc_23,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_23, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NetShareEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NetShareEnum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NetShareEnum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NETSHAREENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NetShareEnum,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NetShareEnum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NetShareEnum, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_25(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_25 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_25, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_25, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_25,
- (ndr_pull_fn_t) ndr_pull_srvsvc_25,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_25, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_26(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_26 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_26, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_26, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_26,
- (ndr_pull_fn_t) ndr_pull_srvsvc_26,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_26, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_FILE_QUERY_SECDESC(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_FILE_QUERY_SECDESC *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_FILE_QUERY_SECDESC, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_FILE_QUERY_SECDESC, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_FILE_QUERY_SECDESC,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_FILE_QUERY_SECDESC,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_FILE_QUERY_SECDESC, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_srvsvc_NET_FILE_SET_SECDESC(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct srvsvc_NET_FILE_SET_SECDESC *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(srvsvc_NET_FILE_SET_SECDESC, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_SRVSVC_NET_FILE_SET_SECDESC, mem_ctx,
- (ndr_push_fn_t) ndr_push_srvsvc_NET_FILE_SET_SECDESC,
- (ndr_pull_fn_t) ndr_pull_srvsvc_NET_FILE_SET_SECDESC,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(srvsvc_NET_FILE_SET_SECDESC, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
diff --git a/source4/librpc/rpc/rpc_wkssvc.c b/source4/librpc/rpc/rpc_wkssvc.c
deleted file mode 100644
index d348dd7ca3..0000000000
--- a/source4/librpc/rpc/rpc_wkssvc.c
+++ /dev/null
@@ -1,624 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
-
-NTSTATUS dcerpc_wkssvc_QueryInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct wkssvc_QueryInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(wkssvc_QueryInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_QUERYINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_wkssvc_QueryInfo,
- (ndr_pull_fn_t) ndr_pull_wkssvc_QueryInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(wkssvc_QueryInfo, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_wkssvc_SetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct wkssvc_SetInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(wkssvc_SetInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_SETINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_wkssvc_SetInfo,
- (ndr_pull_fn_t) ndr_pull_wkssvc_SetInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(wkssvc_SetInfo, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRWKSTAUSERENUM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRWKSTAUSERENUM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTAUSERENUM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRWKSTAUSERENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRWKSTAUSERENUM,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRWKSTAUSERENUM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWKSTAUSERENUM, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRWKSTAUSERGETINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRWKSTAUSERGETINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTAUSERGETINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRWKSTAUSERGETINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRWKSTAUSERGETINFO,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRWKSTAUSERGETINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWKSTAUSERGETINFO, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRWKSTAUSERSETINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRWKSTAUSERSETINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTAUSERSETINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRWKSTAUSERSETINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRWKSTAUSERSETINFO,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRWKSTAUSERSETINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWKSTAUSERSETINFO, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_wkssvc_TransportEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct wkssvc_TransportEnum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(wkssvc_TransportEnum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_TRANSPORTENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_wkssvc_TransportEnum,
- (ndr_pull_fn_t) ndr_pull_wkssvc_TransportEnum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(wkssvc_TransportEnum, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRWKSTATRANSPORTADD(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRWKSTATRANSPORTADD *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTATRANSPORTADD, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRWKSTATRANSPORTADD, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRWKSTATRANSPORTADD,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRWKSTATRANSPORTADD,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWKSTATRANSPORTADD, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRWKSTATRANSPORTDEL(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRWKSTATRANSPORTDEL *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRWKSTATRANSPORTDEL, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRWKSTATRANSPORTDEL, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRWKSTATRANSPORTDEL,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRWKSTATRANSPORTDEL,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWKSTATRANSPORTDEL, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRUSEADD(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRUSEADD *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEADD, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRUSEADD, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRUSEADD,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRUSEADD,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUSEADD, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRUSEGETINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRUSEGETINFO *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEGETINFO, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRUSEGETINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRUSEGETINFO,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRUSEGETINFO,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUSEGETINFO, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRUSEDEL(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRUSEDEL *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEDEL, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRUSEDEL, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRUSEDEL,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRUSEDEL,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUSEDEL, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRUSEENUM(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRUSEENUM *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRUSEENUM, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRUSEENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRUSEENUM,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRUSEENUM,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUSEENUM, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRMESSAGEBUFFERSEND(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRMESSAGEBUFFERSEND *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRMESSAGEBUFFERSEND, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRMESSAGEBUFFERSEND, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRMESSAGEBUFFERSEND,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRMESSAGEBUFFERSEND,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRMESSAGEBUFFERSEND, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRWORKSTATIONSTATISTICSGET(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRWORKSTATIONSTATISTICSGET *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRWORKSTATIONSTATISTICSGET, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRWORKSTATIONSTATISTICSGET, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRWORKSTATIONSTATISTICSGET,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRWORKSTATIONSTATISTICSGET,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRWORKSTATIONSTATISTICSGET, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRLOGONDOMAINNAMEADD(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRLOGONDOMAINNAMEADD *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEADD, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRLOGONDOMAINNAMEADD, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRLOGONDOMAINNAMEADD,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRLOGONDOMAINNAMEADD,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEADD, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRLOGONDOMAINNAMEDEL(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRLOGONDOMAINNAMEDEL *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEDEL, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRLOGONDOMAINNAMEDEL, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRLOGONDOMAINNAMEDEL,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRLOGONDOMAINNAMEDEL,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRLOGONDOMAINNAMEDEL, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRJOINDOMAIN(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRJOINDOMAIN *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRJOINDOMAIN, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRJOINDOMAIN, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRJOINDOMAIN,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRJOINDOMAIN,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRJOINDOMAIN, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRUNJOINDOMAIN(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRUNJOINDOMAIN *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRUNJOINDOMAIN, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRUNJOINDOMAIN, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRUNJOINDOMAIN,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRUNJOINDOMAIN,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUNJOINDOMAIN, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRRENAMEMACHINEINDOMAIN(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRRENAMEMACHINEINDOMAIN *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRRENAMEMACHINEINDOMAIN, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRRENAMEMACHINEINDOMAIN, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRRENAMEMACHINEINDOMAIN,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRRENAMEMACHINEINDOMAIN,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRRENAMEMACHINEINDOMAIN, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRVALIDATENAME(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRVALIDATENAME *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRVALIDATENAME, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRVALIDATENAME, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRVALIDATENAME,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRVALIDATENAME,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRVALIDATENAME, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRGETJOININFORMATION(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRGETJOININFORMATION *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRGETJOININFORMATION, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRGETJOININFORMATION, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRGETJOININFORMATION,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRGETJOININFORMATION,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRGETJOININFORMATION, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRGETJOINABLEOUS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRGETJOINABLEOUS *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRGETJOINABLEOUS, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRGETJOINABLEOUS, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRGETJOINABLEOUS,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRGETJOINABLEOUS,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRGETJOINABLEOUS, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRJOINDOMAIN2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRJOINDOMAIN2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRJOINDOMAIN2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRJOINDOMAIN2, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRJOINDOMAIN2,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRJOINDOMAIN2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRJOINDOMAIN2, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRUNJOINDOMAIN2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRUNJOINDOMAIN2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRUNJOINDOMAIN2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRUNJOINDOMAIN2, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRUNJOINDOMAIN2,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRUNJOINDOMAIN2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRUNJOINDOMAIN2, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRRENAMEMACHINEINDOMAIN2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRRENAMEMACHINEINDOMAIN2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRRENAMEMACHINEINDOMAIN2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRRENAMEMACHINEINDOMAIN2, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRRENAMEMACHINEINDOMAIN2,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRRENAMEMACHINEINDOMAIN2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRRENAMEMACHINEINDOMAIN2, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRVALIDATENAME2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRVALIDATENAME2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRVALIDATENAME2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRVALIDATENAME2, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRVALIDATENAME2,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRVALIDATENAME2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRVALIDATENAME2, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRGETJOINABLEOUS2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRGETJOINABLEOUS2 *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRGETJOINABLEOUS2, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRGETJOINABLEOUS2, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRGETJOINABLEOUS2,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRGETJOINABLEOUS2,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRGETJOINABLEOUS2, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRADDALTERNATECOMPUTERNAME(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRADDALTERNATECOMPUTERNAME *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRADDALTERNATECOMPUTERNAME, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRADDALTERNATECOMPUTERNAME, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRADDALTERNATECOMPUTERNAME,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRADDALTERNATECOMPUTERNAME,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRADDALTERNATECOMPUTERNAME, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRSETPRIMARYCOMPUTERNAME(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRSETPRIMARYCOMPUTERNAME *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRSETPRIMARYCOMPUTERNAME, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRSETPRIMARYCOMPUTERNAME, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRSETPRIMARYCOMPUTERNAME,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRSETPRIMARYCOMPUTERNAME,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRSETPRIMARYCOMPUTERNAME, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_WKSSVC_NETRENUMERATECOMPUTERNAMES(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct WKSSVC_NETRENUMERATECOMPUTERNAMES *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(WKSSVC_NETRENUMERATECOMPUTERNAMES, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_WKSSVC_NETRENUMERATECOMPUTERNAMES, mem_ctx,
- (ndr_push_fn_t) ndr_push_WKSSVC_NETRENUMERATECOMPUTERNAMES,
- (ndr_pull_fn_t) ndr_pull_WKSSVC_NETRENUMERATECOMPUTERNAMES,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(WKSSVC_NETRENUMERATECOMPUTERNAMES, r);
- }
-
- return status;
-}