summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-05-03 17:22:18 +0200
committerAndrew Tridgell <tridge@samba.org>2010-05-04 13:47:07 +0200
commit5bff08d9a9660ba955c3ead669458a68b923d41a (patch)
treeb4085a4cde771c1f1bc1c8c038df009a9b5697af /source3/librpc/gen_ndr
parent09eb1e3e458a5060fe28958867375abc292577fa (diff)
downloadsamba-5bff08d9a9660ba955c3ead669458a68b923d41a.tar.gz
samba-5bff08d9a9660ba955c3ead669458a68b923d41a.tar.bz2
samba-5bff08d9a9660ba955c3ead669458a68b923d41a.zip
s3-idl: removed gen_ndr files from source3/ as well
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r--source3/librpc/gen_ndr/README1
-rw-r--r--source3/librpc/gen_ndr/cli_wbint.c3455
-rw-r--r--source3/librpc/gen_ndr/cli_wbint.h299
-rw-r--r--source3/librpc/gen_ndr/libnet_join.h83
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h2160
-rw-r--r--source3/librpc/gen_ndr/messaging.h150
-rw-r--r--source3/librpc/gen_ndr/ndr_libnet_join.c121
-rw-r--r--source3/librpc/gen_ndr/ndr_libnet_join.h16
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c8010
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.h710
-rw-r--r--source3/librpc/gen_ndr/ndr_messaging.c277
-rw-r--r--source3/librpc/gen_ndr/ndr_messaging.h22
-rw-r--r--source3/librpc/gen_ndr/ndr_notify.c321
-rw-r--r--source3/librpc/gen_ndr/ndr_notify.h23
-rw-r--r--source3/librpc/gen_ndr/ndr_perfcount.c505
-rw-r--r--source3/librpc/gen_ndr/ndr_perfcount.h26
-rw-r--r--source3/librpc/gen_ndr/ndr_secrets.c79
-rw-r--r--source3/librpc/gen_ndr/ndr_secrets.h13
-rw-r--r--source3/librpc/gen_ndr/ndr_wbint.c2676
-rw-r--r--source3/librpc/gen_ndr/ndr_wbint.h108
-rw-r--r--source3/librpc/gen_ndr/notify.h44
-rw-r--r--source3/librpc/gen_ndr/perfcount.h129
-rw-r--r--source3/librpc/gen_ndr/secrets.h19
-rw-r--r--source3/librpc/gen_ndr/srv_wbint.c2224
-rw-r--r--source3/librpc/gen_ndr/srv_wbint.h55
-rw-r--r--source3/librpc/gen_ndr/wbint.h354
26 files changed, 1 insertions, 21879 deletions
diff --git a/source3/librpc/gen_ndr/README b/source3/librpc/gen_ndr/README
new file mode 100644
index 0000000000..0c1fd160a5
--- /dev/null
+++ b/source3/librpc/gen_ndr/README
@@ -0,0 +1 @@
+This contains the generated files from PIDL for the IDL files in ../idl/*.idl
diff --git a/source3/librpc/gen_ndr/cli_wbint.c b/source3/librpc/gen_ndr/cli_wbint.c
deleted file mode 100644
index 592b27b50d..0000000000
--- a/source3/librpc/gen_ndr/cli_wbint.c
+++ /dev/null
@@ -1,3455 +0,0 @@
-/*
- * Unix SMB/CIFS implementation.
- * client auto-generated by pidl. DO NOT MODIFY!
- */
-
-#include "includes.h"
-#include "librpc/gen_ndr/cli_wbint.h"
-
-struct rpccli_wbint_Ping_state {
- struct wbint_Ping orig;
- struct wbint_Ping tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_Ping_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_Ping_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- uint32_t _in_data /* [in] */,
- uint32_t *_out_data /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_Ping_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_Ping_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.in_data = _in_data;
-
- /* Out parameters */
- state->orig.out.out_data = _out_data;
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_Ping_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_PING,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_Ping_done, req);
- return req;
-}
-
-static void rpccli_wbint_Ping_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_Ping_state *state = tevent_req_data(
- req, struct rpccli_wbint_Ping_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.out_data = *state->tmp.out.out_data;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_Ping_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx)
-{
- struct rpccli_wbint_Ping_state *state = tevent_req_data(
- req, struct rpccli_wbint_Ping_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_Ping(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- uint32_t in_data /* [in] */,
- uint32_t *out_data /* [out] [ref] */)
-{
- struct wbint_Ping r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.in_data = in_data;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_PING,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *out_data = *r.out.out_data;
-
- /* Return result */
- return NT_STATUS_OK;
-}
-
-struct rpccli_wbint_LookupSid_state {
- struct wbint_LookupSid orig;
- struct wbint_LookupSid tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_LookupSid_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_LookupSid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- enum lsa_SidType *_type /* [out] [ref] */,
- const char **_domain /* [out] [ref,charset(UTF8)] */,
- const char **_name /* [out] [ref,charset(UTF8)] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_LookupSid_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_LookupSid_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.sid = _sid;
-
- /* Out parameters */
- state->orig.out.type = _type;
- state->orig.out.domain = _domain;
- state->orig.out.name = _name;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_LookupSid_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPSID,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_LookupSid_done, req);
- return req;
-}
-
-static void rpccli_wbint_LookupSid_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_LookupSid_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupSid_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.type = *state->tmp.out.type;
- *state->orig.out.domain = *state->tmp.out.domain;
- *state->orig.out.name = *state->tmp.out.name;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_LookupSid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_LookupSid_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupSid_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_LookupSid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- enum lsa_SidType *type /* [out] [ref] */,
- const char **domain /* [out] [ref,charset(UTF8)] */,
- const char **name /* [out] [ref,charset(UTF8)] */)
-{
- struct wbint_LookupSid r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.sid = sid;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPSID,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *type = *r.out.type;
- *domain = *r.out.domain;
- *name = *r.out.name;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_LookupName_state {
- struct wbint_LookupName orig;
- struct wbint_LookupName tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_LookupName_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_LookupName_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_domain /* [in] [ref,charset(UTF8)] */,
- const char *_name /* [in] [ref,charset(UTF8)] */,
- uint32_t _flags /* [in] */,
- enum lsa_SidType *_type /* [out] [ref] */,
- struct dom_sid *_sid /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_LookupName_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_LookupName_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.domain = _domain;
- state->orig.in.name = _name;
- state->orig.in.flags = _flags;
-
- /* Out parameters */
- state->orig.out.type = _type;
- state->orig.out.sid = _sid;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_LookupName_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPNAME,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_LookupName_done, req);
- return req;
-}
-
-static void rpccli_wbint_LookupName_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_LookupName_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupName_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.type = *state->tmp.out.type;
- *state->orig.out.sid = *state->tmp.out.sid;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_LookupName_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_LookupName_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupName_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_LookupName(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *domain /* [in] [ref,charset(UTF8)] */,
- const char *name /* [in] [ref,charset(UTF8)] */,
- uint32_t flags /* [in] */,
- enum lsa_SidType *type /* [out] [ref] */,
- struct dom_sid *sid /* [out] [ref] */)
-{
- struct wbint_LookupName r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.domain = domain;
- r.in.name = name;
- r.in.flags = flags;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPNAME,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *type = *r.out.type;
- *sid = *r.out.sid;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_Sid2Uid_state {
- struct wbint_Sid2Uid orig;
- struct wbint_Sid2Uid tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_Sid2Uid_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_Sid2Uid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_dom_name /* [in] [unique,charset(UTF8)] */,
- struct dom_sid *_sid /* [in] [ref] */,
- uint64_t *_uid /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_Sid2Uid_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_Sid2Uid_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.dom_name = _dom_name;
- state->orig.in.sid = _sid;
-
- /* Out parameters */
- state->orig.out.uid = _uid;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_Sid2Uid_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_SID2UID,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_Sid2Uid_done, req);
- return req;
-}
-
-static void rpccli_wbint_Sid2Uid_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_Sid2Uid_state *state = tevent_req_data(
- req, struct rpccli_wbint_Sid2Uid_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.uid = *state->tmp.out.uid;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_Sid2Uid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_Sid2Uid_state *state = tevent_req_data(
- req, struct rpccli_wbint_Sid2Uid_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_Sid2Uid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *dom_name /* [in] [unique,charset(UTF8)] */,
- struct dom_sid *sid /* [in] [ref] */,
- uint64_t *uid /* [out] [ref] */)
-{
- struct wbint_Sid2Uid r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.dom_name = dom_name;
- r.in.sid = sid;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_SID2UID,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *uid = *r.out.uid;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_Sid2Gid_state {
- struct wbint_Sid2Gid orig;
- struct wbint_Sid2Gid tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_Sid2Gid_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_Sid2Gid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_dom_name /* [in] [unique,charset(UTF8)] */,
- struct dom_sid *_sid /* [in] [ref] */,
- uint64_t *_gid /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_Sid2Gid_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_Sid2Gid_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.dom_name = _dom_name;
- state->orig.in.sid = _sid;
-
- /* Out parameters */
- state->orig.out.gid = _gid;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_Sid2Gid_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_SID2GID,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_Sid2Gid_done, req);
- return req;
-}
-
-static void rpccli_wbint_Sid2Gid_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_Sid2Gid_state *state = tevent_req_data(
- req, struct rpccli_wbint_Sid2Gid_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.gid = *state->tmp.out.gid;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_Sid2Gid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_Sid2Gid_state *state = tevent_req_data(
- req, struct rpccli_wbint_Sid2Gid_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_Sid2Gid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *dom_name /* [in] [unique,charset(UTF8)] */,
- struct dom_sid *sid /* [in] [ref] */,
- uint64_t *gid /* [out] [ref] */)
-{
- struct wbint_Sid2Gid r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.dom_name = dom_name;
- r.in.sid = sid;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_SID2GID,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *gid = *r.out.gid;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_Uid2Sid_state {
- struct wbint_Uid2Sid orig;
- struct wbint_Uid2Sid tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_Uid2Sid_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_Uid2Sid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_dom_name /* [in] [unique,charset(UTF8)] */,
- uint64_t _uid /* [in] */,
- struct dom_sid *_sid /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_Uid2Sid_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_Uid2Sid_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.dom_name = _dom_name;
- state->orig.in.uid = _uid;
-
- /* Out parameters */
- state->orig.out.sid = _sid;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_Uid2Sid_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_UID2SID,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_Uid2Sid_done, req);
- return req;
-}
-
-static void rpccli_wbint_Uid2Sid_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_Uid2Sid_state *state = tevent_req_data(
- req, struct rpccli_wbint_Uid2Sid_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.sid = *state->tmp.out.sid;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_Uid2Sid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_Uid2Sid_state *state = tevent_req_data(
- req, struct rpccli_wbint_Uid2Sid_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_Uid2Sid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *dom_name /* [in] [unique,charset(UTF8)] */,
- uint64_t uid /* [in] */,
- struct dom_sid *sid /* [out] [ref] */)
-{
- struct wbint_Uid2Sid r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.dom_name = dom_name;
- r.in.uid = uid;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_UID2SID,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *sid = *r.out.sid;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_Gid2Sid_state {
- struct wbint_Gid2Sid orig;
- struct wbint_Gid2Sid tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_Gid2Sid_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_Gid2Sid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_dom_name /* [in] [unique,charset(UTF8)] */,
- uint64_t _gid /* [in] */,
- struct dom_sid *_sid /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_Gid2Sid_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_Gid2Sid_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.dom_name = _dom_name;
- state->orig.in.gid = _gid;
-
- /* Out parameters */
- state->orig.out.sid = _sid;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_Gid2Sid_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_GID2SID,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_Gid2Sid_done, req);
- return req;
-}
-
-static void rpccli_wbint_Gid2Sid_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_Gid2Sid_state *state = tevent_req_data(
- req, struct rpccli_wbint_Gid2Sid_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.sid = *state->tmp.out.sid;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_Gid2Sid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_Gid2Sid_state *state = tevent_req_data(
- req, struct rpccli_wbint_Gid2Sid_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_Gid2Sid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *dom_name /* [in] [unique,charset(UTF8)] */,
- uint64_t gid /* [in] */,
- struct dom_sid *sid /* [out] [ref] */)
-{
- struct wbint_Gid2Sid r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.dom_name = dom_name;
- r.in.gid = gid;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_GID2SID,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *sid = *r.out.sid;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_AllocateUid_state {
- struct wbint_AllocateUid orig;
- struct wbint_AllocateUid tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_AllocateUid_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_AllocateUid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- uint64_t *_uid /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_AllocateUid_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_AllocateUid_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
-
- /* Out parameters */
- state->orig.out.uid = _uid;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_AllocateUid_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_ALLOCATEUID,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_AllocateUid_done, req);
- return req;
-}
-
-static void rpccli_wbint_AllocateUid_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_AllocateUid_state *state = tevent_req_data(
- req, struct rpccli_wbint_AllocateUid_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.uid = *state->tmp.out.uid;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_AllocateUid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_AllocateUid_state *state = tevent_req_data(
- req, struct rpccli_wbint_AllocateUid_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_AllocateUid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- uint64_t *uid /* [out] [ref] */)
-{
- struct wbint_AllocateUid r;
- NTSTATUS status;
-
- /* In parameters */
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_ALLOCATEUID,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *uid = *r.out.uid;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_AllocateGid_state {
- struct wbint_AllocateGid orig;
- struct wbint_AllocateGid tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_AllocateGid_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_AllocateGid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- uint64_t *_gid /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_AllocateGid_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_AllocateGid_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
-
- /* Out parameters */
- state->orig.out.gid = _gid;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_AllocateGid_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_ALLOCATEGID,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_AllocateGid_done, req);
- return req;
-}
-
-static void rpccli_wbint_AllocateGid_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_AllocateGid_state *state = tevent_req_data(
- req, struct rpccli_wbint_AllocateGid_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.gid = *state->tmp.out.gid;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_AllocateGid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_AllocateGid_state *state = tevent_req_data(
- req, struct rpccli_wbint_AllocateGid_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_AllocateGid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- uint64_t *gid /* [out] [ref] */)
-{
- struct wbint_AllocateGid r;
- NTSTATUS status;
-
- /* In parameters */
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_ALLOCATEGID,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *gid = *r.out.gid;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_QueryUser_state {
- struct wbint_QueryUser orig;
- struct wbint_QueryUser tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_QueryUser_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_QueryUser_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- struct wbint_userinfo *_info /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_QueryUser_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_QueryUser_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.sid = _sid;
-
- /* Out parameters */
- state->orig.out.info = _info;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_QueryUser_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_QUERYUSER,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_QueryUser_done, req);
- return req;
-}
-
-static void rpccli_wbint_QueryUser_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_QueryUser_state *state = tevent_req_data(
- req, struct rpccli_wbint_QueryUser_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.info = *state->tmp.out.info;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_QueryUser_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_QueryUser_state *state = tevent_req_data(
- req, struct rpccli_wbint_QueryUser_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_QueryUser(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- struct wbint_userinfo *info /* [out] [ref] */)
-{
- struct wbint_QueryUser r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.sid = sid;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_QUERYUSER,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *info = *r.out.info;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_LookupUserAliases_state {
- struct wbint_LookupUserAliases orig;
- struct wbint_LookupUserAliases tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_LookupUserAliases_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_LookupUserAliases_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct wbint_SidArray *_sids /* [in] [ref] */,
- struct wbint_RidArray *_rids /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_LookupUserAliases_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_LookupUserAliases_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.sids = _sids;
-
- /* Out parameters */
- state->orig.out.rids = _rids;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_LookupUserAliases_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPUSERALIASES,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_LookupUserAliases_done, req);
- return req;
-}
-
-static void rpccli_wbint_LookupUserAliases_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_LookupUserAliases_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupUserAliases_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.rids = *state->tmp.out.rids;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_LookupUserAliases_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_LookupUserAliases_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupUserAliases_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_LookupUserAliases(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct wbint_SidArray *sids /* [in] [ref] */,
- struct wbint_RidArray *rids /* [out] [ref] */)
-{
- struct wbint_LookupUserAliases r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.sids = sids;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPUSERALIASES,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *rids = *r.out.rids;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_LookupUserGroups_state {
- struct wbint_LookupUserGroups orig;
- struct wbint_LookupUserGroups tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_LookupUserGroups_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_LookupUserGroups_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- struct wbint_SidArray *_sids /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_LookupUserGroups_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_LookupUserGroups_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.sid = _sid;
-
- /* Out parameters */
- state->orig.out.sids = _sids;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_LookupUserGroups_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPUSERGROUPS,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_LookupUserGroups_done, req);
- return req;
-}
-
-static void rpccli_wbint_LookupUserGroups_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_LookupUserGroups_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupUserGroups_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.sids = *state->tmp.out.sids;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_LookupUserGroups_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_LookupUserGroups_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupUserGroups_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_LookupUserGroups(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- struct wbint_SidArray *sids /* [out] [ref] */)
-{
- struct wbint_LookupUserGroups r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.sid = sid;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPUSERGROUPS,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *sids = *r.out.sids;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_QuerySequenceNumber_state {
- struct wbint_QuerySequenceNumber orig;
- struct wbint_QuerySequenceNumber tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_QuerySequenceNumber_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_QuerySequenceNumber_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- uint32_t *_sequence /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_QuerySequenceNumber_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_QuerySequenceNumber_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
-
- /* Out parameters */
- state->orig.out.sequence = _sequence;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_QuerySequenceNumber_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_QUERYSEQUENCENUMBER,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_QuerySequenceNumber_done, req);
- return req;
-}
-
-static void rpccli_wbint_QuerySequenceNumber_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_QuerySequenceNumber_state *state = tevent_req_data(
- req, struct rpccli_wbint_QuerySequenceNumber_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.sequence = *state->tmp.out.sequence;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_QuerySequenceNumber_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_QuerySequenceNumber_state *state = tevent_req_data(
- req, struct rpccli_wbint_QuerySequenceNumber_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_QuerySequenceNumber(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- uint32_t *sequence /* [out] [ref] */)
-{
- struct wbint_QuerySequenceNumber r;
- NTSTATUS status;
-
- /* In parameters */
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_QUERYSEQUENCENUMBER,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *sequence = *r.out.sequence;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_LookupGroupMembers_state {
- struct wbint_LookupGroupMembers orig;
- struct wbint_LookupGroupMembers tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_LookupGroupMembers_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_LookupGroupMembers_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- enum lsa_SidType _type /* [in] */,
- struct wbint_Principals *_members /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_LookupGroupMembers_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_LookupGroupMembers_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.sid = _sid;
- state->orig.in.type = _type;
-
- /* Out parameters */
- state->orig.out.members = _members;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_LookupGroupMembers_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPGROUPMEMBERS,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_LookupGroupMembers_done, req);
- return req;
-}
-
-static void rpccli_wbint_LookupGroupMembers_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_LookupGroupMembers_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupGroupMembers_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.members = *state->tmp.out.members;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_LookupGroupMembers_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_LookupGroupMembers_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupGroupMembers_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_LookupGroupMembers(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- enum lsa_SidType type /* [in] */,
- struct wbint_Principals *members /* [out] [ref] */)
-{
- struct wbint_LookupGroupMembers r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.sid = sid;
- r.in.type = type;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPGROUPMEMBERS,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *members = *r.out.members;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_QueryUserList_state {
- struct wbint_QueryUserList orig;
- struct wbint_QueryUserList tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_QueryUserList_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_QueryUserList_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct wbint_userinfos *_users /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_QueryUserList_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_QueryUserList_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
-
- /* Out parameters */
- state->orig.out.users = _users;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_QueryUserList_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_QUERYUSERLIST,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_QueryUserList_done, req);
- return req;
-}
-
-static void rpccli_wbint_QueryUserList_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_QueryUserList_state *state = tevent_req_data(
- req, struct rpccli_wbint_QueryUserList_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.users = *state->tmp.out.users;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_QueryUserList_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_QueryUserList_state *state = tevent_req_data(
- req, struct rpccli_wbint_QueryUserList_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_QueryUserList(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct wbint_userinfos *users /* [out] [ref] */)
-{
- struct wbint_QueryUserList r;
- NTSTATUS status;
-
- /* In parameters */
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_QUERYUSERLIST,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *users = *r.out.users;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_QueryGroupList_state {
- struct wbint_QueryGroupList orig;
- struct wbint_QueryGroupList tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_QueryGroupList_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_QueryGroupList_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct wbint_Principals *_groups /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_QueryGroupList_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_QueryGroupList_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
-
- /* Out parameters */
- state->orig.out.groups = _groups;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_QueryGroupList_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_QUERYGROUPLIST,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_QueryGroupList_done, req);
- return req;
-}
-
-static void rpccli_wbint_QueryGroupList_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_QueryGroupList_state *state = tevent_req_data(
- req, struct rpccli_wbint_QueryGroupList_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.groups = *state->tmp.out.groups;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_QueryGroupList_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_QueryGroupList_state *state = tevent_req_data(
- req, struct rpccli_wbint_QueryGroupList_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_QueryGroupList(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct wbint_Principals *groups /* [out] [ref] */)
-{
- struct wbint_QueryGroupList r;
- NTSTATUS status;
-
- /* In parameters */
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_QUERYGROUPLIST,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *groups = *r.out.groups;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_DsGetDcName_state {
- struct wbint_DsGetDcName orig;
- struct wbint_DsGetDcName tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_DsGetDcName_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_DsGetDcName_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_domain_name /* [in] [ref,charset(UTF8)] */,
- struct GUID *_domain_guid /* [in] [unique] */,
- const char *_site_name /* [in] [unique,charset(UTF8)] */,
- uint32_t _flags /* [in] */,
- struct netr_DsRGetDCNameInfo **_dc_info /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_DsGetDcName_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_DsGetDcName_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.domain_name = _domain_name;
- state->orig.in.domain_guid = _domain_guid;
- state->orig.in.site_name = _site_name;
- state->orig.in.flags = _flags;
-
- /* Out parameters */
- state->orig.out.dc_info = _dc_info;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_DsGetDcName_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_DSGETDCNAME,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_DsGetDcName_done, req);
- return req;
-}
-
-static void rpccli_wbint_DsGetDcName_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_DsGetDcName_state *state = tevent_req_data(
- req, struct rpccli_wbint_DsGetDcName_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.dc_info = *state->tmp.out.dc_info;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_DsGetDcName_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_DsGetDcName_state *state = tevent_req_data(
- req, struct rpccli_wbint_DsGetDcName_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_DsGetDcName(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *domain_name /* [in] [ref,charset(UTF8)] */,
- struct GUID *domain_guid /* [in] [unique] */,
- const char *site_name /* [in] [unique,charset(UTF8)] */,
- uint32_t flags /* [in] */,
- struct netr_DsRGetDCNameInfo **dc_info /* [out] [ref] */)
-{
- struct wbint_DsGetDcName r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.domain_name = domain_name;
- r.in.domain_guid = domain_guid;
- r.in.site_name = site_name;
- r.in.flags = flags;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_DSGETDCNAME,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *dc_info = *r.out.dc_info;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_LookupRids_state {
- struct wbint_LookupRids orig;
- struct wbint_LookupRids tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_LookupRids_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_LookupRids_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct wbint_RidArray *_rids /* [in] [ref] */,
- struct wbint_Principals *_names /* [out] [ref] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_LookupRids_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_LookupRids_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.rids = _rids;
-
- /* Out parameters */
- state->orig.out.names = _names;
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- state->out_mem_ctx = talloc_named_const(state, 0,
- "rpccli_wbint_LookupRids_out_memory");
- if (tevent_req_nomem(state->out_mem_ctx, req)) {
- return tevent_req_post(req, ev);
- }
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPRIDS,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_LookupRids_done, req);
- return req;
-}
-
-static void rpccli_wbint_LookupRids_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_LookupRids_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupRids_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
- *state->orig.out.names = *state->tmp.out.names;
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_LookupRids_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_LookupRids_state *state = tevent_req_data(
- req, struct rpccli_wbint_LookupRids_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct wbint_RidArray *rids /* [in] [ref] */,
- struct wbint_Principals *names /* [out] [ref] */)
-{
- struct wbint_LookupRids r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.rids = rids;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_LOOKUPRIDS,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
- *names = *r.out.names;
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_CheckMachineAccount_state {
- struct wbint_CheckMachineAccount orig;
- struct wbint_CheckMachineAccount tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_CheckMachineAccount_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_CheckMachineAccount_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli)
-{
- struct tevent_req *req;
- struct rpccli_wbint_CheckMachineAccount_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_CheckMachineAccount_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
-
- /* Out parameters */
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_CHECKMACHINEACCOUNT,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_CheckMachineAccount_done, req);
- return req;
-}
-
-static void rpccli_wbint_CheckMachineAccount_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_CheckMachineAccount_state *state = tevent_req_data(
- req, struct rpccli_wbint_CheckMachineAccount_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_CheckMachineAccount_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_CheckMachineAccount_state *state = tevent_req_data(
- req, struct rpccli_wbint_CheckMachineAccount_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_CheckMachineAccount(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx)
-{
- struct wbint_CheckMachineAccount r;
- NTSTATUS status;
-
- /* In parameters */
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_CHECKMACHINEACCOUNT,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_ChangeMachineAccount_state {
- struct wbint_ChangeMachineAccount orig;
- struct wbint_ChangeMachineAccount tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_ChangeMachineAccount_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_ChangeMachineAccount_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli)
-{
- struct tevent_req *req;
- struct rpccli_wbint_ChangeMachineAccount_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_ChangeMachineAccount_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
-
- /* Out parameters */
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_CHANGEMACHINEACCOUNT,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_ChangeMachineAccount_done, req);
- return req;
-}
-
-static void rpccli_wbint_ChangeMachineAccount_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_ChangeMachineAccount_state *state = tevent_req_data(
- req, struct rpccli_wbint_ChangeMachineAccount_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_ChangeMachineAccount_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_ChangeMachineAccount_state *state = tevent_req_data(
- req, struct rpccli_wbint_ChangeMachineAccount_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_ChangeMachineAccount(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx)
-{
- struct wbint_ChangeMachineAccount r;
- NTSTATUS status;
-
- /* In parameters */
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_CHANGEMACHINEACCOUNT,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_PingDc_state {
- struct wbint_PingDc orig;
- struct wbint_PingDc tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_PingDc_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_PingDc_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli)
-{
- struct tevent_req *req;
- struct rpccli_wbint_PingDc_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_PingDc_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
-
- /* Out parameters */
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_PINGDC,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_PingDc_done, req);
- return req;
-}
-
-static void rpccli_wbint_PingDc_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_PingDc_state *state = tevent_req_data(
- req, struct rpccli_wbint_PingDc_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_PingDc_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_PingDc_state *state = tevent_req_data(
- req, struct rpccli_wbint_PingDc_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_PingDc(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx)
-{
- struct wbint_PingDc r;
- NTSTATUS status;
-
- /* In parameters */
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_PINGDC,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_SetMapping_state {
- struct wbint_SetMapping orig;
- struct wbint_SetMapping tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_SetMapping_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_SetMapping_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- enum wbint_IdType _type /* [in] */,
- uint64_t _id /* [in] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_SetMapping_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_SetMapping_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.sid = _sid;
- state->orig.in.type = _type;
- state->orig.in.id = _id;
-
- /* Out parameters */
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_SETMAPPING,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_SetMapping_done, req);
- return req;
-}
-
-static void rpccli_wbint_SetMapping_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_SetMapping_state *state = tevent_req_data(
- req, struct rpccli_wbint_SetMapping_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_SetMapping_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_SetMapping_state *state = tevent_req_data(
- req, struct rpccli_wbint_SetMapping_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_SetMapping(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- enum wbint_IdType type /* [in] */,
- uint64_t id /* [in] */)
-{
- struct wbint_SetMapping r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.sid = sid;
- r.in.type = type;
- r.in.id = id;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_SETMAPPING,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_RemoveMapping_state {
- struct wbint_RemoveMapping orig;
- struct wbint_RemoveMapping tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_RemoveMapping_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_RemoveMapping_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- enum wbint_IdType _type /* [in] */,
- uint64_t _id /* [in] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_RemoveMapping_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_RemoveMapping_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.sid = _sid;
- state->orig.in.type = _type;
- state->orig.in.id = _id;
-
- /* Out parameters */
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_REMOVEMAPPING,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_RemoveMapping_done, req);
- return req;
-}
-
-static void rpccli_wbint_RemoveMapping_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_RemoveMapping_state *state = tevent_req_data(
- req, struct rpccli_wbint_RemoveMapping_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_RemoveMapping_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_RemoveMapping_state *state = tevent_req_data(
- req, struct rpccli_wbint_RemoveMapping_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_RemoveMapping(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- enum wbint_IdType type /* [in] */,
- uint64_t id /* [in] */)
-{
- struct wbint_RemoveMapping r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.sid = sid;
- r.in.type = type;
- r.in.id = id;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_REMOVEMAPPING,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
-
- /* Return result */
- return r.out.result;
-}
-
-struct rpccli_wbint_SetHWM_state {
- struct wbint_SetHWM orig;
- struct wbint_SetHWM tmp;
- TALLOC_CTX *out_mem_ctx;
- NTSTATUS (*dispatch_recv)(struct tevent_req *req, TALLOC_CTX *mem_ctx);
-};
-
-static void rpccli_wbint_SetHWM_done(struct tevent_req *subreq);
-
-struct tevent_req *rpccli_wbint_SetHWM_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- enum wbint_IdType _type /* [in] */,
- uint64_t _id /* [in] */)
-{
- struct tevent_req *req;
- struct rpccli_wbint_SetHWM_state *state;
- struct tevent_req *subreq;
-
- req = tevent_req_create(mem_ctx, &state,
- struct rpccli_wbint_SetHWM_state);
- if (req == NULL) {
- return NULL;
- }
- state->out_mem_ctx = NULL;
- state->dispatch_recv = cli->dispatch_recv;
-
- /* In parameters */
- state->orig.in.type = _type;
- state->orig.in.id = _id;
-
- /* Out parameters */
-
- /* Result */
- ZERO_STRUCT(state->orig.out.result);
-
- /* make a temporary copy, that we pass to the dispatch function */
- state->tmp = state->orig;
-
- subreq = cli->dispatch_send(state, ev, cli,
- &ndr_table_wbint,
- NDR_WBINT_SETHWM,
- &state->tmp);
- if (tevent_req_nomem(subreq, req)) {
- return tevent_req_post(req, ev);
- }
- tevent_req_set_callback(subreq, rpccli_wbint_SetHWM_done, req);
- return req;
-}
-
-static void rpccli_wbint_SetHWM_done(struct tevent_req *subreq)
-{
- struct tevent_req *req = tevent_req_callback_data(
- subreq, struct tevent_req);
- struct rpccli_wbint_SetHWM_state *state = tevent_req_data(
- req, struct rpccli_wbint_SetHWM_state);
- NTSTATUS status;
- TALLOC_CTX *mem_ctx;
-
- if (state->out_mem_ctx) {
- mem_ctx = state->out_mem_ctx;
- } else {
- mem_ctx = state;
- }
-
- status = state->dispatch_recv(subreq, mem_ctx);
- TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
- return;
- }
-
- /* Copy out parameters */
-
- /* Copy result */
- state->orig.out.result = state->tmp.out.result;
-
- /* Reset temporary structure */
- ZERO_STRUCT(state->tmp);
-
- tevent_req_done(req);
-}
-
-NTSTATUS rpccli_wbint_SetHWM_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result)
-{
- struct rpccli_wbint_SetHWM_state *state = tevent_req_data(
- req, struct rpccli_wbint_SetHWM_state);
- NTSTATUS status;
-
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
- }
-
- /* Steal possbile out parameters to the callers context */
- talloc_steal(mem_ctx, state->out_mem_ctx);
-
- /* Return result */
- *result = state->orig.out.result;
-
- tevent_req_received(req);
- return NT_STATUS_OK;
-}
-
-NTSTATUS rpccli_wbint_SetHWM(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- enum wbint_IdType type /* [in] */,
- uint64_t id /* [in] */)
-{
- struct wbint_SetHWM r;
- NTSTATUS status;
-
- /* In parameters */
- r.in.type = type;
- r.in.id = id;
-
- status = cli->dispatch(cli,
- mem_ctx,
- &ndr_table_wbint,
- NDR_WBINT_SETHWM,
- &r);
-
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- if (NT_STATUS_IS_ERR(status)) {
- return status;
- }
-
- /* Return variables */
-
- /* Return result */
- return r.out.result;
-}
-
diff --git a/source3/librpc/gen_ndr/cli_wbint.h b/source3/librpc/gen_ndr/cli_wbint.h
deleted file mode 100644
index 4528d43efc..0000000000
--- a/source3/librpc/gen_ndr/cli_wbint.h
+++ /dev/null
@@ -1,299 +0,0 @@
-#include "librpc/gen_ndr/ndr_wbint.h"
-#ifndef __CLI_WBINT__
-#define __CLI_WBINT__
-struct tevent_req *rpccli_wbint_Ping_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- uint32_t _in_data /* [in] */,
- uint32_t *_out_data /* [out] [ref] */);
-NTSTATUS rpccli_wbint_Ping_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx);
-NTSTATUS rpccli_wbint_Ping(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- uint32_t in_data /* [in] */,
- uint32_t *out_data /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_LookupSid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- enum lsa_SidType *_type /* [out] [ref] */,
- const char **_domain /* [out] [ref,charset(UTF8)] */,
- const char **_name /* [out] [ref,charset(UTF8)] */);
-NTSTATUS rpccli_wbint_LookupSid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_LookupSid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- enum lsa_SidType *type /* [out] [ref] */,
- const char **domain /* [out] [ref,charset(UTF8)] */,
- const char **name /* [out] [ref,charset(UTF8)] */);
-struct tevent_req *rpccli_wbint_LookupName_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_domain /* [in] [ref,charset(UTF8)] */,
- const char *_name /* [in] [ref,charset(UTF8)] */,
- uint32_t _flags /* [in] */,
- enum lsa_SidType *_type /* [out] [ref] */,
- struct dom_sid *_sid /* [out] [ref] */);
-NTSTATUS rpccli_wbint_LookupName_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_LookupName(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *domain /* [in] [ref,charset(UTF8)] */,
- const char *name /* [in] [ref,charset(UTF8)] */,
- uint32_t flags /* [in] */,
- enum lsa_SidType *type /* [out] [ref] */,
- struct dom_sid *sid /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_Sid2Uid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_dom_name /* [in] [unique,charset(UTF8)] */,
- struct dom_sid *_sid /* [in] [ref] */,
- uint64_t *_uid /* [out] [ref] */);
-NTSTATUS rpccli_wbint_Sid2Uid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_Sid2Uid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *dom_name /* [in] [unique,charset(UTF8)] */,
- struct dom_sid *sid /* [in] [ref] */,
- uint64_t *uid /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_Sid2Gid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_dom_name /* [in] [unique,charset(UTF8)] */,
- struct dom_sid *_sid /* [in] [ref] */,
- uint64_t *_gid /* [out] [ref] */);
-NTSTATUS rpccli_wbint_Sid2Gid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_Sid2Gid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *dom_name /* [in] [unique,charset(UTF8)] */,
- struct dom_sid *sid /* [in] [ref] */,
- uint64_t *gid /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_Uid2Sid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_dom_name /* [in] [unique,charset(UTF8)] */,
- uint64_t _uid /* [in] */,
- struct dom_sid *_sid /* [out] [ref] */);
-NTSTATUS rpccli_wbint_Uid2Sid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_Uid2Sid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *dom_name /* [in] [unique,charset(UTF8)] */,
- uint64_t uid /* [in] */,
- struct dom_sid *sid /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_Gid2Sid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_dom_name /* [in] [unique,charset(UTF8)] */,
- uint64_t _gid /* [in] */,
- struct dom_sid *_sid /* [out] [ref] */);
-NTSTATUS rpccli_wbint_Gid2Sid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_Gid2Sid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *dom_name /* [in] [unique,charset(UTF8)] */,
- uint64_t gid /* [in] */,
- struct dom_sid *sid /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_AllocateUid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- uint64_t *_uid /* [out] [ref] */);
-NTSTATUS rpccli_wbint_AllocateUid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_AllocateUid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- uint64_t *uid /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_AllocateGid_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- uint64_t *_gid /* [out] [ref] */);
-NTSTATUS rpccli_wbint_AllocateGid_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_AllocateGid(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- uint64_t *gid /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_QueryUser_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- struct wbint_userinfo *_info /* [out] [ref] */);
-NTSTATUS rpccli_wbint_QueryUser_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_QueryUser(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- struct wbint_userinfo *info /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_LookupUserAliases_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct wbint_SidArray *_sids /* [in] [ref] */,
- struct wbint_RidArray *_rids /* [out] [ref] */);
-NTSTATUS rpccli_wbint_LookupUserAliases_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_LookupUserAliases(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct wbint_SidArray *sids /* [in] [ref] */,
- struct wbint_RidArray *rids /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_LookupUserGroups_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- struct wbint_SidArray *_sids /* [out] [ref] */);
-NTSTATUS rpccli_wbint_LookupUserGroups_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_LookupUserGroups(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- struct wbint_SidArray *sids /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_QuerySequenceNumber_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- uint32_t *_sequence /* [out] [ref] */);
-NTSTATUS rpccli_wbint_QuerySequenceNumber_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_QuerySequenceNumber(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- uint32_t *sequence /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_LookupGroupMembers_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- enum lsa_SidType _type /* [in] */,
- struct wbint_Principals *_members /* [out] [ref] */);
-NTSTATUS rpccli_wbint_LookupGroupMembers_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_LookupGroupMembers(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- enum lsa_SidType type /* [in] */,
- struct wbint_Principals *members /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_QueryUserList_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct wbint_userinfos *_users /* [out] [ref] */);
-NTSTATUS rpccli_wbint_QueryUserList_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_QueryUserList(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct wbint_userinfos *users /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_QueryGroupList_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct wbint_Principals *_groups /* [out] [ref] */);
-NTSTATUS rpccli_wbint_QueryGroupList_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_QueryGroupList(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct wbint_Principals *groups /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_DsGetDcName_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- const char *_domain_name /* [in] [ref,charset(UTF8)] */,
- struct GUID *_domain_guid /* [in] [unique] */,
- const char *_site_name /* [in] [unique,charset(UTF8)] */,
- uint32_t _flags /* [in] */,
- struct netr_DsRGetDCNameInfo **_dc_info /* [out] [ref] */);
-NTSTATUS rpccli_wbint_DsGetDcName_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_DsGetDcName(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- const char *domain_name /* [in] [ref,charset(UTF8)] */,
- struct GUID *domain_guid /* [in] [unique] */,
- const char *site_name /* [in] [unique,charset(UTF8)] */,
- uint32_t flags /* [in] */,
- struct netr_DsRGetDCNameInfo **dc_info /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_LookupRids_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct wbint_RidArray *_rids /* [in] [ref] */,
- struct wbint_Principals *_names /* [out] [ref] */);
-NTSTATUS rpccli_wbint_LookupRids_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct wbint_RidArray *rids /* [in] [ref] */,
- struct wbint_Principals *names /* [out] [ref] */);
-struct tevent_req *rpccli_wbint_CheckMachineAccount_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli);
-NTSTATUS rpccli_wbint_CheckMachineAccount_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_CheckMachineAccount(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx);
-struct tevent_req *rpccli_wbint_ChangeMachineAccount_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli);
-NTSTATUS rpccli_wbint_ChangeMachineAccount_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_ChangeMachineAccount(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx);
-struct tevent_req *rpccli_wbint_PingDc_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli);
-NTSTATUS rpccli_wbint_PingDc_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_PingDc(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx);
-struct tevent_req *rpccli_wbint_SetMapping_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- enum wbint_IdType _type /* [in] */,
- uint64_t _id /* [in] */);
-NTSTATUS rpccli_wbint_SetMapping_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_SetMapping(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- enum wbint_IdType type /* [in] */,
- uint64_t id /* [in] */);
-struct tevent_req *rpccli_wbint_RemoveMapping_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- struct dom_sid *_sid /* [in] [ref] */,
- enum wbint_IdType _type /* [in] */,
- uint64_t _id /* [in] */);
-NTSTATUS rpccli_wbint_RemoveMapping_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_RemoveMapping(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- struct dom_sid *sid /* [in] [ref] */,
- enum wbint_IdType type /* [in] */,
- uint64_t id /* [in] */);
-struct tevent_req *rpccli_wbint_SetHWM_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct rpc_pipe_client *cli,
- enum wbint_IdType _type /* [in] */,
- uint64_t _id /* [in] */);
-NTSTATUS rpccli_wbint_SetHWM_recv(struct tevent_req *req,
- TALLOC_CTX *mem_ctx,
- NTSTATUS *result);
-NTSTATUS rpccli_wbint_SetHWM(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- enum wbint_IdType type /* [in] */,
- uint64_t id /* [in] */);
-#endif /* __CLI_WBINT__ */
diff --git a/source3/librpc/gen_ndr/libnet_join.h b/source3/librpc/gen_ndr/libnet_join.h
deleted file mode 100644
index cf915cbf18..0000000000
--- a/source3/librpc/gen_ndr/libnet_join.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* header auto-generated by pidl */
-
-#include <stdint.h>
-
-#include "libcli/util/ntstatus.h"
-
-#include "librpc/gen_ndr/wkssvc.h"
-#include "librpc/gen_ndr/security.h"
-#ifndef _HEADER_libnetjoin
-#define _HEADER_libnetjoin
-
-
-struct libnet_JoinCtx {
- struct {
- const char * dc_name;
- const char * machine_name;
- const char * domain_name;/* [ref] */
- const char * account_ou;
- const char * admin_account;
- const char * admin_password;
- const char * machine_password;
- uint32_t join_flags;
- const char * os_version;
- const char * os_name;
- uint8_t create_upn;
- const char * upn;
- uint8_t modify_config;
- struct ads_struct *ads;/* [ref] */
- uint8_t debug;
- uint8_t use_kerberos;
- enum netr_SchannelType secure_channel_type;
- struct messaging_context *msg_ctx;/* [noprint,ref] */
- } in;
-
- struct {
- const char * account_name;
- const char * netbios_domain_name;
- const char * dns_domain_name;
- const char * forest_name;
- const char * dn;
- struct dom_sid *domain_sid;/* [ref] */
- uint8_t modified_config;
- const char * error_string;
- uint8_t domain_is_ad;
- WERROR result;
- } out;
-
-};
-
-
-struct libnet_UnjoinCtx {
- struct {
- const char * dc_name;
- const char * machine_name;
- const char * domain_name;
- const char * account_ou;
- const char * admin_account;
- const char * admin_password;
- const char * machine_password;
- uint32_t unjoin_flags;
- uint8_t delete_machine_account;
- uint8_t modify_config;
- struct dom_sid *domain_sid;/* [ref] */
- struct ads_struct *ads;/* [ref] */
- uint8_t debug;
- uint8_t use_kerberos;
- struct messaging_context *msg_ctx;/* [noprint,ref] */
- } in;
-
- struct {
- const char * netbios_domain_name;
- const char * dns_domain_name;
- const char * forest_name;
- uint8_t modified_config;
- const char * error_string;
- uint8_t disabled_machine_account;
- uint8_t deleted_machine_account;
- WERROR result;
- } out;
-
-};
-
-#endif /* _HEADER_libnetjoin */
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
deleted file mode 100644
index 83acb3aa50..0000000000
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ /dev/null
@@ -1,2160 +0,0 @@
-/* header auto-generated by pidl */
-
-#include <stdint.h>
-
-#include "libcli/util/ntstatus.h"
-
-#define LIBNETAPI_LOCAL_SERVER(x) (!x || is_myname_or_ipaddr(x))
-#ifndef MAXSUBAUTHS
-#define MAXSUBAUTHS 15 /* max sub authorities in a SID */
-#endif
-#ifndef _HEADER_libnetapi
-#define _HEADER_libnetapi
-
-#define ERROR_MORE_DATA ( 234L )
-#define USER_PRIV_GUEST ( 0 )
-#define USER_PRIV_USER ( 1 )
-#define USER_PRIV_ADMIN ( 2 )
-#define AF_OP_PRINT ( 0x1 )
-#define AF_OP_COMM ( 0x2 )
-#define AF_OP_SERVER ( 0x4 )
-#define AF_OP_ACCOUNTS ( 0x8 )
-#define AF_SETTABLE_BITS ( (AF_OP_PRINT|AF_OP_COMM|AF_OP_SERVER|AF_OP_ACCOUNTS) )
-#define USER_MAXSTORAGE_UNLIMITED ( (uint32_t)-1L )
-#define ENCRYPTED_PWLEN ( 16 )
-#define FILTER_TEMP_DUPLICATE_ACCOUNT ( 0x0001 )
-#define FILTER_NORMAL_ACCOUNT ( 0x0002 )
-#define FILTER_INTERDOMAIN_TRUST_ACCOUNT ( 0x0008 )
-#define FILTER_WORKSTATION_TRUST_ACCOUNT ( 0x0010 )
-#define FILTER_SERVER_TRUST_ACCOUNT ( 0x0020 )
-#define LG_INCLUDE_INDIRECT ( 0x0001 )
-#define TIMEQ_FOREVER ( (uint32_t)-1L )
-#define CSC_MASK ( 0x30 )
-enum NET_API_STATUS
-#ifndef USE_UINT_ENUMS
- {
- NERR_Success=(int)(0)
-}
-#else
- { __donnot_use_enum_NET_API_STATUS=0x7FFFFFFF}
-#define NERR_Success ( 0 )
-#endif
-;
-
-struct domsid {
- uint8_t sid_rev_num;
- uint8_t num_auths;
- uint8_t id_auth[6];
- uint32_t *sub_auths;
-};
-
-/* bitmap NetJoinFlags */
-#define NETSETUP_JOIN_DOMAIN ( 0x00000001 )
-#define NETSETUP_ACCT_CREATE ( 0x00000002 )
-#define NETSETUP_ACCT_DELETE ( 0x00000004 )
-#define NETSETUP_WIN9X_UPGRADE ( 0x00000010 )
-#define NETSETUP_DOMAIN_JOIN_IF_JOINED ( 0x00000020 )
-#define NETSETUP_JOIN_UNSECURE ( 0x00000040 )
-#define NETSETUP_MACHINE_PWD_PASSED ( 0x00000080 )
-#define NETSETUP_DEFER_SPN_SET ( 0x00000100 )
-#define NETSETUP_JOIN_DC_ACCOUNT ( 0x00000200 )
-#define NETSETUP_JOIN_WITH_NEW_NAME ( 0x00000400 )
-#define NETSETUP_INSTALL_INVOCATION ( 0x00040000 )
-#define NETSETUP_IGNORE_UNSUPPORTED_FLAGS ( 0x10000000 )
-
-enum NETSETUP_JOIN_STATUS
-#ifndef USE_UINT_ENUMS
- {
- NetSetupUnknownStatus=(int)(0),
- NetSetupUnjoined=(int)(1),
- NetSetupWorkgroupName=(int)(2),
- NetSetupDomainName=(int)(3)
-}
-#else
- { __donnot_use_enum_NETSETUP_JOIN_STATUS=0x7FFFFFFF}
-#define NetSetupUnknownStatus ( 0 )
-#define NetSetupUnjoined ( 1 )
-#define NetSetupWorkgroupName ( 2 )
-#define NetSetupDomainName ( 3 )
-#endif
-;
-
-struct SERVER_INFO_100 {
- uint32_t sv100_platform_id;
- const char * sv100_name;
-};
-
-struct SERVER_INFO_101 {
- uint32_t sv101_platform_id;
- const char * sv101_name;
- uint32_t sv101_version_major;
- uint32_t sv101_version_minor;
- uint32_t sv101_type;
- const char * sv101_comment;
-};
-
-struct SERVER_INFO_102 {
- uint32_t sv102_platform_id;
- const char * sv102_name;
- uint32_t sv102_version_major;
- uint32_t sv102_version_minor;
- uint32_t sv102_type;
- const char * sv102_comment;
- uint32_t sv102_users;
- uint32_t sv102_disc;
- uint8_t sv102_hidden;
- uint32_t sv102_announce;
- uint32_t sv102_anndelta;
- uint32_t sv102_licenses;
- const char * sv102_userpath;
-};
-
-struct SERVER_INFO_402 {
- uint32_t sv402_ulist_mtime;
- uint32_t sv402_glist_mtime;
- uint32_t sv402_alist_mtime;
- const char * sv402_alerts;
- uint32_t sv402_security;
- uint32_t sv402_numadmin;
- uint32_t sv402_lanmask;
- const char * sv402_guestacct;
- uint32_t sv402_chdevs;
- uint32_t sv402_chdevq;
- uint32_t sv402_chdevjobs;
- uint32_t sv402_connections;
- uint32_t sv402_shares;
- uint32_t sv402_openfiles;
- uint32_t sv402_sessopens;
- uint32_t sv402_sessvcs;
- uint32_t sv402_sessreqs;
- uint32_t sv402_opensearch;
- uint32_t sv402_activelocks;
- uint32_t sv402_numreqbuf;
- uint32_t sv402_sizreqbuf;
- uint32_t sv402_numbigbuf;
- uint32_t sv402_numfiletasks;
- uint32_t sv402_alertsched;
- uint32_t sv402_erroralert;
- uint32_t sv402_logonalert;
- uint32_t sv402_accessalert;
- uint32_t sv402_diskalert;
- uint32_t sv402_netioalert;
- uint32_t sv402_maxauditsz;
- const char * sv402_srvheuristics;
-};
-
-struct SERVER_INFO_403 {
- uint32_t sv403_ulist_mtime;
- uint32_t sv403_glist_mtime;
- uint32_t sv403_alist_mtime;
- const char * sv403_alerts;
- uint32_t sv403_security;
- uint32_t sv403_numadmin;
- uint32_t sv403_lanmask;
- const char * sv403_guestacct;
- uint32_t sv403_chdevs;
- uint32_t sv403_chdevq;
- uint32_t sv403_chdevjobs;
- uint32_t sv403_connections;
- uint32_t sv403_shares;
- uint32_t sv403_openfiles;
- uint32_t sv403_sessopens;
- uint32_t sv403_sessvcs;
- uint32_t sv403_sessreqs;
- uint32_t sv403_opensearch;
- uint32_t sv403_activelocks;
- uint32_t sv403_numreqbuf;
- uint32_t sv403_sizreqbuf;
- uint32_t sv403_numbigbuf;
- uint32_t sv403_numfiletasks;
- uint32_t sv403_alertsched;
- uint32_t sv403_erroralert;
- uint32_t sv403_logonalert;
- uint32_t sv403_accessalert;
- uint32_t sv403_diskalert;
- uint32_t sv403_netioalert;
- uint32_t sv403_maxauditsz;
- const char * sv403_srvheuristics;
- uint32_t sv403_auditedevents;
- uint32_t sv403_autoprofile;
- const char * sv403_autopath;
-};
-
-struct SERVER_INFO_502 {
- uint32_t sv502_sessopens;
- uint32_t sv502_sessvcs;
- uint32_t sv502_opensearch;
- uint32_t sv502_sizreqbuf;
- uint32_t sv502_initworkitems;
- uint32_t sv502_maxworkitems;
- uint32_t sv502_rawworkitems;
- uint32_t sv502_irpstacksize;
- uint32_t sv502_maxrawbuflen;
- uint32_t sv502_sessusers;
- uint32_t sv502_sessconns;
- uint32_t sv502_maxpagedmemoryusage;
- uint32_t sv502_maxnonpagedmemoryusage;
- uint8_t sv502_enablesoftcompat;
- uint8_t sv502_enableforcedlogoff;
- uint8_t sv502_timesource;
- uint8_t sv502_acceptdownlevelapis;
- uint8_t sv502_lmannounce;
-};
-
-struct SERVER_INFO_503 {
- uint32_t sv503_sessopens;
- uint32_t sv503_sessvcs;
- uint32_t sv503_opensearch;
- uint32_t sv503_sizreqbuf;
- uint32_t sv503_initworkitems;
- uint32_t sv503_maxworkitems;
- uint32_t sv503_rawworkitems;
- uint32_t sv503_irpstacksize;
- uint32_t sv503_maxrawbuflen;
- uint32_t sv503_sessusers;
- uint32_t sv503_sessconns;
- uint32_t sv503_maxpagedmemoryusage;
- uint32_t sv503_maxnonpagedmemoryusage;
- uint8_t sv503_enablesoftcompat;
- uint8_t sv503_enableforcedlogoff;
- uint8_t sv503_timesource;
- uint8_t sv503_acceptdownlevelapis;
- uint8_t sv503_lmannounce;
- const char * sv503_domain;
- uint32_t sv503_maxcopyreadlen;
- uint32_t sv503_maxcopywritelen;
- uint32_t sv503_minkeepsearch;
- uint32_t sv503_maxkeepsearch;
- uint32_t sv503_minkeepcomplsearch;
- uint32_t sv503_maxkeepcomplsearch;
- uint32_t sv503_threadcountadd;
- uint32_t sv503_numblockthreads;
- uint32_t sv503_scavtimeout;
- uint32_t sv503_minrcvqueue;
- uint32_t sv503_minfreeworkitems;
- uint32_t sv503_xactmemsize;
- uint32_t sv503_threadpriority;
- uint32_t sv503_maxmpxct;
- uint32_t sv503_oplockbreakwait;
- uint32_t sv503_oplockbreakresponsewait;
- uint8_t sv503_enableoplocks;
- uint8_t sv503_enableoplockforceclose;
- uint8_t sv503_enablefcbopens;
- uint8_t sv503_enableraw;
- uint8_t sv503_enablesharednetdrives;
- uint32_t sv503_minfreeconnections;
- uint32_t sv503_maxfreeconnections;
-};
-
-struct SERVER_INFO_599 {
- uint32_t sv599_sessopens;
- uint32_t sv599_sessvcs;
- uint32_t sv599_opensearch;
- uint32_t sv599_sizreqbuf;
- uint32_t sv599_initworkitems;
- uint32_t sv599_maxworkitems;
- uint32_t sv599_rawworkitems;
- uint32_t sv599_irpstacksize;
- uint32_t sv599_maxrawbuflen;
- uint32_t sv599_sessusers;
- uint32_t sv599_sessconns;
- uint32_t sv599_maxpagedmemoryusage;
- uint32_t sv599_maxnonpagedmemoryusage;
- uint8_t sv599_enablesoftcompat;
- uint8_t sv599_enableforcedlogoff;
- uint8_t sv599_timesource;
- uint8_t sv599_acceptdownlevelapis;
- uint8_t sv599_lmannounce;
- const char * sv599_domain;
- uint32_t sv599_maxcopyreadlen;
- uint32_t sv599_maxcopywritelen;
- uint32_t sv599_minkeepsearch;
- uint32_t sv599_maxkeepsearch;
- uint32_t sv599_minkeepcomplsearch;
- uint32_t sv599_maxkeepcomplsearch;
- uint32_t sv599_threadcountadd;
- uint32_t sv599_numblockthreads;
- uint32_t sv599_scavtimeout;
- uint32_t sv599_minrcvqueue;
- uint32_t sv599_minfreeworkitems;
- uint32_t sv599_xactmemsize;
- uint32_t sv599_threadpriority;
- uint32_t sv599_maxmpxct;
- uint32_t sv599_oplockbreakwait;
- uint32_t sv599_oplockbreakresponsewait;
- uint8_t sv599_enableoplocks;
- uint8_t sv599_enableoplockforceclose;
- uint8_t sv599_enablefcbopens;
- uint8_t sv599_enableraw;
- uint8_t sv599_enablesharednetdrives;
- uint32_t sv599_minfreeconnections;
- uint32_t sv599_maxfreeconnections;
- uint32_t sv599_initsesstable;
- uint32_t sv599_initconntable;
- uint32_t sv599_initfiletable;
- uint32_t sv599_initsearchtable;
- uint32_t sv599_alertschedule;
- uint32_t sv599_errorthreshold;
- uint32_t sv599_networkerrorthreshold;
- uint32_t sv599_diskspacethreshold;
- uint32_t sv599_reserved;
- uint32_t sv599_maxlinkdelay;
- uint32_t sv599_minlinkthroughput;
- uint32_t sv599_linkinfovalidtime;
- uint32_t sv599_scavqosinfoupdatetime;
- uint32_t sv599_maxworkitemidletime;
-};
-
-struct SERVER_INFO_598 {
- uint32_t sv598_maxrawworkitems;
- uint32_t sv598_maxthreadsperqueue;
- uint32_t sv598_producttype;
- uint32_t sv598_serversize;
- uint32_t sv598_connectionlessautodisc;
- uint32_t sv598_sharingviolationretries;
- uint32_t sv598_sharingviolationdelay;
- uint32_t sv598_maxglobalopensearch;
- uint32_t sv598_removeduplicatesearches;
- uint32_t sv598_lockviolationoffset;
- uint32_t sv598_lockviolationdelay;
- uint32_t sv598_mdlreadswitchover;
- uint32_t sv598_cachedopenlimit;
- uint32_t sv598_otherqueueaffinity;
- uint8_t sv598_restrictnullsessaccess;
- uint8_t sv598_enablewfw311directipx;
- uint32_t sv598_queuesamplesecs;
- uint32_t sv598_balancecount;
- uint32_t sv598_preferredaffinity;
- uint32_t sv598_maxfreerfcbs;
- uint32_t sv598_maxfreemfcbs;
- uint32_t sv598_maxfreelfcbs;
- uint32_t sv598_maxfreepagedpoolchunks;
- uint32_t sv598_minpagedpoolchunksize;
- uint32_t sv598_maxpagedpoolchunksize;
- uint8_t sv598_sendsfrompreferredprocessor;
- uint32_t sv598_cacheddirectorylimit;
- uint32_t sv598_maxcopylength;
- uint8_t sv598_enablecompression;
- uint8_t sv598_autosharewks;
- uint8_t sv598_autoshareserver;
- uint8_t sv598_enablesecuritysignature;
- uint8_t sv598_requiresecuritysignature;
- uint32_t sv598_minclientbuffersize;
- struct GUID sv598_serverguid;
- uint32_t sv598_ConnectionNoSessionsTimeout;
- uint32_t sv598_IdleThreadTimeOut;
- uint8_t sv598_enableW9xsecuritysignature;
- uint8_t sv598_enforcekerberosreauthentication;
- uint8_t sv598_disabledos;
- uint32_t sv598_lowdiskspaceminimum;
- uint8_t sv598_disablestrictnamechecking;
-};
-
-struct SERVER_INFO_1005 {
- const char * sv1005_comment;
-};
-
-struct SERVER_INFO_1107 {
- uint32_t sv1107_users;
-};
-
-struct SERVER_INFO_1010 {
- int32_t sv1010_disc;
-};
-
-struct SERVER_INFO_1016 {
- uint8_t sv1016_hidden;
-};
-
-struct SERVER_INFO_1017 {
- uint32_t sv1017_announce;
-};
-
-struct SERVER_INFO_1018 {
- uint32_t sv1018_anndelta;
-};
-
-struct SERVER_INFO_1501 {
- uint32_t sv1501_sessopens;
-};
-
-struct SERVER_INFO_1502 {
- uint32_t sv1502_sessvcs;
-};
-
-struct SERVER_INFO_1503 {
- uint32_t sv1503_opensearch;
-};
-
-struct SERVER_INFO_1506 {
- uint32_t sv1506_maxworkitems;
-};
-
-struct SERVER_INFO_1509 {
- uint32_t sv1509_maxrawbuflen;
-};
-
-struct SERVER_INFO_1510 {
- uint32_t sv1510_sessusers;
-};
-
-struct SERVER_INFO_1511 {
- uint32_t sv1511_sessconns;
-};
-
-struct SERVER_INFO_1512 {
- uint32_t sv1512_maxnonpagedmemoryusage;
-};
-
-struct SERVER_INFO_1513 {
- uint32_t sv1513_maxpagedmemoryusage;
-};
-
-struct SERVER_INFO_1514 {
- uint8_t sv1514_enablesoftcompat;
-};
-
-struct SERVER_INFO_1515 {
- uint8_t sv1515_enableforcedlogoff;
-};
-
-struct SERVER_INFO_1516 {
- uint8_t sv1516_timesource;
-};
-
-struct SERVER_INFO_1518 {
- uint8_t sv1518_lmannounce;
-};
-
-struct SERVER_INFO_1520 {
- uint32_t sv1520_maxcopyreadlen;
-};
-
-struct SERVER_INFO_1521 {
- uint32_t sv1521_maxcopywritelen;
-};
-
-struct SERVER_INFO_1522 {
- uint32_t sv1522_minkeepsearch;
-};
-
-struct SERVER_INFO_1523 {
- uint32_t sv1523_maxkeepsearch;
-};
-
-struct SERVER_INFO_1524 {
- uint32_t sv1524_minkeepcomplsearch;
-};
-
-struct SERVER_INFO_1525 {
- uint32_t sv1525_maxkeepcomplsearch;
-};
-
-struct SERVER_INFO_1528 {
- uint32_t sv1528_scavtimeout;
-};
-
-struct SERVER_INFO_1529 {
- uint32_t sv1529_minrcvqueue;
-};
-
-struct SERVER_INFO_1530 {
- uint32_t sv1530_minfreeworkitems;
-};
-
-struct SERVER_INFO_1533 {
- uint32_t sv1533_maxmpxct;
-};
-
-struct SERVER_INFO_1534 {
- uint32_t sv1534_oplockbreakwait;
-};
-
-struct SERVER_INFO_1535 {
- uint32_t sv1535_oplockbreakresponsewait;
-};
-
-struct SERVER_INFO_1536 {
- uint8_t sv1536_enableoplocks;
-};
-
-struct SERVER_INFO_1537 {
- uint8_t sv1537_enableoplockforceclose;
-};
-
-struct SERVER_INFO_1538 {
- uint8_t sv1538_enablefcbopens;
-};
-
-struct SERVER_INFO_1539 {
- uint8_t sv1539_enableraw;
-};
-
-struct SERVER_INFO_1540 {
- uint8_t sv1540_enablesharednetdrives;
-};
-
-struct SERVER_INFO_1541 {
- uint8_t sv1541_minfreeconnections;
-};
-
-struct SERVER_INFO_1542 {
- uint8_t sv1542_maxfreeconnections;
-};
-
-struct SERVER_INFO_1543 {
- uint32_t sv1543_initsesstable;
-};
-
-struct SERVER_INFO_1544 {
- uint32_t sv1544_initconntable;
-};
-
-struct SERVER_INFO_1545 {
- uint32_t sv1545_initfiletable;
-};
-
-struct SERVER_INFO_1546 {
- uint32_t sv1546_initsearchtable;
-};
-
-struct SERVER_INFO_1547 {
- uint32_t sv1547_alertschedule;
-};
-
-struct SERVER_INFO_1548 {
- uint32_t sv1548_errorthreshold;
-};
-
-struct SERVER_INFO_1549 {
- uint32_t sv1549_networkerrorthreshold;
-};
-
-struct SERVER_INFO_1550 {
- uint32_t sv1550_diskspacethreshold;
-};
-
-struct SERVER_INFO_1552 {
- uint32_t sv1552_maxlinkdelay;
-};
-
-struct SERVER_INFO_1553 {
- uint32_t sv1553_minlinkthroughput;
-};
-
-struct SERVER_INFO_1554 {
- uint32_t sv1554_linkinfovalidtime;
-};
-
-struct SERVER_INFO_1555 {
- uint32_t sv1555_scavqosinfoupdatetime;
-};
-
-struct SERVER_INFO_1556 {
- uint32_t sv1556_maxworkitemidletime;
-};
-
-struct SERVER_INFO_1557 {
- uint32_t sv1557_maxrawworkitems;
-};
-
-struct SERVER_INFO_1560 {
- uint32_t sv1560_producttype;
-};
-
-struct SERVER_INFO_1561 {
- uint32_t sv1561_serversize;
-};
-
-struct SERVER_INFO_1562 {
- uint32_t sv1562_connectionlessautodisc;
-};
-
-struct SERVER_INFO_1563 {
- uint32_t sv1563_sharingviolationretries;
-};
-
-struct SERVER_INFO_1564 {
- uint32_t sv1564_sharingviolationdelay;
-};
-
-struct SERVER_INFO_1565 {
- uint32_t sv1565_maxglobalopensearch;
-};
-
-struct SERVER_INFO_1566 {
- uint8_t sv1566_removeduplicatesearches;
-};
-
-struct SERVER_INFO_1567 {
- uint32_t sv1567_lockviolationretries;
-};
-
-struct SERVER_INFO_1568 {
- uint32_t sv1568_lockviolationoffset;
-};
-
-struct SERVER_INFO_1569 {
- uint32_t sv1569_lockviolationdelay;
-};
-
-struct SERVER_INFO_1570 {
- uint32_t sv1570_mdlreadswitchover;
-};
-
-struct SERVER_INFO_1571 {
- uint32_t sv1571_cachedopenlimit;
-};
-
-struct SERVER_INFO_1572 {
- uint32_t sv1572_criticalthreads;
-};
-
-struct SERVER_INFO_1573 {
- uint32_t sv1573_restrictnullsessaccess;
-};
-
-struct SERVER_INFO_1574 {
- uint32_t sv1574_enablewfw311directipx;
-};
-
-struct SERVER_INFO_1575 {
- uint32_t sv1575_otherqueueaffinity;
-};
-
-struct SERVER_INFO_1576 {
- uint32_t sv1576_queuesamplesecs;
-};
-
-struct SERVER_INFO_1577 {
- uint32_t sv1577_balancecount;
-};
-
-struct SERVER_INFO_1578 {
- uint32_t sv1578_preferredaffinity;
-};
-
-struct SERVER_INFO_1579 {
- uint32_t sv1579_maxfreerfcbs;
-};
-
-struct SERVER_INFO_1580 {
- uint32_t sv1580_maxfreemfcbs;
-};
-
-struct SERVER_INFO_1581 {
- uint32_t sv1581_maxfreemlcbs;
-};
-
-struct SERVER_INFO_1582 {
- uint32_t sv1582_maxfreepagedpoolchunks;
-};
-
-struct SERVER_INFO_1583 {
- uint32_t sv1583_minpagedpoolchunksize;
-};
-
-struct SERVER_INFO_1584 {
- uint32_t sv1584_maxpagedpoolchunksize;
-};
-
-struct SERVER_INFO_1585 {
- uint8_t sv1585_sendsfrompreferredprocessor;
-};
-
-struct SERVER_INFO_1586 {
- uint32_t sv1586_maxthreadsperqueue;
-};
-
-struct SERVER_INFO_1587 {
- uint32_t sv1587_cacheddirectorylimit;
-};
-
-struct SERVER_INFO_1588 {
- uint32_t sv1588_maxcopylength;
-};
-
-struct SERVER_INFO_1590 {
- uint32_t sv1590_enablecompression;
-};
-
-struct SERVER_INFO_1591 {
- uint32_t sv1591_autosharewks;
-};
-
-struct SERVER_INFO_1592 {
- uint32_t sv1592_autosharewks;
-};
-
-struct SERVER_INFO_1593 {
- uint32_t sv1593_enablesecuritysignature;
-};
-
-struct SERVER_INFO_1594 {
- uint32_t sv1594_requiresecuritysignature;
-};
-
-struct SERVER_INFO_1595 {
- uint32_t sv1595_minclientbuffersize;
-};
-
-struct SERVER_INFO_1596 {
- uint32_t sv1596_ConnectionNoSessionsTimeout;
-};
-
-struct SERVER_INFO_1597 {
- uint32_t sv1597_IdleThreadTimeOut;
-};
-
-struct SERVER_INFO_1598 {
- uint32_t sv1598_enableW9xsecuritysignature;
-};
-
-struct SERVER_INFO_1599 {
- uint8_t sv1598_enforcekerberosreauthentication;
-};
-
-struct SERVER_INFO_1600 {
- uint8_t sv1598_disabledos;
-};
-
-struct SERVER_INFO_1601 {
- uint32_t sv1598_lowdiskspaceminimum;
-};
-
-struct SERVER_INFO_1602 {
- uint8_t sv_1598_disablestrictnamechecking;
-};
-
-struct DOMAIN_CONTROLLER_INFO {
- const char * domain_controller_name;
- const char * domain_controller_address;
- uint32_t domain_controller_address_type;
- struct GUID domain_guid;
- const char * domain_name;
- const char * dns_forest_name;
- uint32_t flags;
- const char * dc_site_name;
- const char * client_site_name;
-};
-
-struct USER_INFO_0 {
- const char * usri0_name;
-};
-
-struct USER_INFO_1 {
- const char * usri1_name;
- const char * usri1_password;
- uint32_t usri1_password_age;
- uint32_t usri1_priv;
- const char * usri1_home_dir;
- const char * usri1_comment;
- uint32_t usri1_flags;
- const char * usri1_script_path;
-};
-
-struct USER_INFO_2 {
- const char * usri2_name;
- const char * usri2_password;
- uint32_t usri2_password_age;
- uint32_t usri2_priv;
- const char * usri2_home_dir;
- const char * usri2_comment;
- uint32_t usri2_flags;
- const char * usri2_script_path;
- uint32_t usri2_auth_flags;
- const char * usri2_full_name;
- const char * usri2_usr_comment;
- const char * usri2_parms;
- const char * usri2_workstations;
- uint32_t usri2_last_logon;
- uint32_t usri2_last_logoff;
- uint32_t usri2_acct_expires;
- uint32_t usri2_max_storage;
- uint32_t usri2_units_per_week;
- uint8_t *usri2_logon_hours;/* [unique] */
- uint32_t usri2_bad_pw_count;
- uint32_t usri2_num_logons;
- const char * usri2_logon_server;
- uint32_t usri2_country_code;
- uint32_t usri2_code_page;
-};
-
-struct USER_INFO_3 {
- const char * usri3_name;
- uint32_t usri3_password_age;
- uint32_t usri3_priv;
- const char * usri3_home_dir;
- const char * usri3_comment;
- uint32_t usri3_flags;
- const char * usri3_script_path;
- uint32_t usri3_auth_flags;
- const char * usri3_full_name;
- const char * usri3_usr_comment;
- const char * usri3_parms;
- const char * usri3_workstations;
- uint32_t usri3_last_logon;
- uint32_t usri3_last_logoff;
- uint32_t usri3_acct_expires;
- uint32_t usri3_max_storage;
- uint32_t usri3_units_per_week;
- uint8_t *usri3_logon_hours;/* [unique] */
- uint32_t usri3_bad_pw_count;
- uint32_t usri3_num_logons;
- const char * usri3_logon_server;
- uint32_t usri3_country_code;
- uint32_t usri3_code_page;
- uint32_t usri3_user_id;
- uint32_t usri3_primary_group_id;
- const char * usri3_profile;
- const char * usri3_home_dir_drive;
- uint32_t usri3_password_expired;
-};
-
-struct USER_INFO_4 {
- const char * usri4_name;
- const char * usri4_password;
- uint32_t usri4_password_age;
- uint32_t usri4_priv;
- const char * usri4_home_dir;
- const char * usri4_comment;
- uint32_t usri4_flags;
- const char * usri4_script_path;
- uint32_t usri4_auth_flags;
- const char * usri4_full_name;
- const char * usri4_usr_comment;
- const char * usri4_parms;
- const char * usri4_workstations;
- uint32_t usri4_last_logon;
- uint32_t usri4_last_logoff;
- uint32_t usri4_acct_expires;
- uint32_t usri4_max_storage;
- uint32_t usri4_units_per_week;
- uint8_t *usri4_logon_hours;/* [unique] */
- uint32_t usri4_bad_pw_count;
- uint32_t usri4_num_logons;
- const char * usri4_logon_server;
- uint32_t usri4_country_code;
- uint32_t usri4_code_page;
- struct domsid *usri4_user_sid;/* [unique] */
- uint32_t usri4_primary_group_id;
- const char * usri4_profile;
- const char * usri4_home_dir_drive;
- uint32_t usri4_password_expired;
-};
-
-struct USER_INFO_10 {
- const char * usri10_name;
- const char * usri10_comment;
- const char * usri10_usr_comment;
- const char * usri10_full_name;
-};
-
-struct USER_INFO_11 {
- const char * usri11_name;
- const char * usri11_comment;
- const char * usri11_usr_comment;
- const char * usri11_full_name;
- uint32_t usri11_priv;
- uint32_t usri11_auth_flags;
- uint32_t usri11_password_age;
- const char * usri11_home_dir;
- const char * usri11_parms;
- uint32_t usri11_last_logon;
- uint32_t usri11_last_logoff;
- uint32_t usri11_bad_pw_count;
- uint32_t usri11_num_logons;
- const char * usri11_logon_server;
- uint32_t usri11_country_code;
- const char * usri11_workstations;
- uint32_t usri11_max_storage;
- uint32_t usri11_units_per_week;
- uint8_t *usri11_logon_hours;/* [unique] */
- uint32_t usri11_code_page;
-};
-
-struct USER_INFO_20 {
- const char * usri20_name;
- const char * usri20_full_name;
- const char * usri20_comment;
- uint32_t usri20_flags;
- uint32_t usri20_user_id;
-};
-
-struct USER_INFO_21 {
- uint8_t *usri21_password;
-};
-
-struct USER_INFO_22 {
- const char * usri22_name;
- uint8_t *usri22_password;
- uint32_t usri22_password_age;
- uint32_t usri22_priv;
- const char * usri22_home_dir;
- const char * usri22_comment;
- uint32_t usri22_flags;
- uint32_t usri22_script_path;
- uint32_t usri22_auth_flags;
- const char * usri22_full_name;
- const char * usri22_usr_comment;
- const char * usri22_parms;
- const char * usri22_workstations;
- uint32_t usri22_last_logon;
- uint32_t usri22_last_logoff;
- uint32_t usri22_acct_expires;
- uint32_t usri22_max_storage;
- uint32_t usri22_units_per_week;
- uint8_t *usri22_logon_hours;/* [unique] */
- uint32_t usri22_bad_pw_count;
- uint32_t usri22_num_logons;
- const char * usri22_logon_server;
- uint32_t usri22_country_code;
- uint32_t usri22_code_page;
-};
-
-struct USER_INFO_23 {
- const char * usri23_name;
- const char * usri23_full_name;
- const char * usri23_comment;
- uint32_t usri23_flags;
- struct domsid *usri23_user_sid;/* [unique] */
-};
-
-struct USER_INFO_1003 {
- const char * usri1003_password;
-};
-
-struct USER_INFO_1005 {
- uint32_t usri1005_priv;
-};
-
-struct USER_INFO_1006 {
- const char * usri1006_home_dir;
-};
-
-struct USER_INFO_1007 {
- const char * usri1007_comment;
-};
-
-struct USER_INFO_1008 {
- uint32_t usri1008_flags;
-};
-
-struct USER_INFO_1009 {
- const char * usri1009_script_path;
-};
-
-struct USER_INFO_1010 {
- uint32_t usri1010_auth_flags;
-};
-
-struct USER_INFO_1011 {
- const char * usri1011_full_name;
-};
-
-struct USER_INFO_1012 {
- const char * usri1012_usr_comment;
-};
-
-struct USER_INFO_1013 {
- const char * usri1013_parms;
-};
-
-struct USER_INFO_1014 {
- const char * usri1014_workstations;
-};
-
-struct USER_INFO_1017 {
- uint32_t usri1017_acct_expires;
-};
-
-struct USER_INFO_1018 {
- uint32_t usri1018_max_storage;
-};
-
-struct USER_INFO_1020 {
- uint32_t usri1020_units_per_week;
- uint8_t *usri1020_logon_hours;/* [unique] */
-};
-
-struct USER_INFO_1023 {
- const char * usri1023_logon_server;
-};
-
-struct USER_INFO_1024 {
- uint32_t usri1024_country_code;
-};
-
-struct USER_INFO_1025 {
- uint32_t usri1025_code_page;
-};
-
-struct USER_INFO_1051 {
- uint32_t usri1051_primary_group_id;
-};
-
-struct USER_INFO_1052 {
- const char * usri1052_profile;
-};
-
-struct USER_INFO_1053 {
- const char * usri1053_home_dir_drive;
-};
-
-struct USER_INFO_X {
- const char * usriX_name;
- const char * usriX_password;
- uint32_t usriX_password_age;
- uint32_t usriX_priv;
- const char * usriX_home_dir;
- const char * usriX_comment;
- uint32_t usriX_flags;
- const char * usriX_script_path;
- uint32_t usriX_auth_flags;
- const char * usriX_full_name;
- const char * usriX_usr_comment;
- const char * usriX_parms;
- const char * usriX_workstations;
- uint32_t usriX_last_logon;
- uint32_t usriX_last_logoff;
- uint32_t usriX_acct_expires;
- uint32_t usriX_max_storage;
- uint32_t usriX_units_per_week;
- uint8_t *usriX_logon_hours;/* [unique] */
- uint32_t usriX_bad_pw_count;
- uint32_t usriX_num_logons;
- const char * usriX_logon_server;
- uint32_t usriX_country_code;
- uint32_t usriX_code_page;
- const char * usriX_profile;
- const char * usriX_home_dir_drive;
- uint32_t usriX_user_id;
- uint32_t usriX_primary_group_id;
- uint32_t usriX_password_expired;
-};
-
-struct GROUP_USERS_INFO_0 {
- const char * grui0_name;
-};
-
-struct GROUP_USERS_INFO_1 {
- const char * grui1_name;
- uint32_t grui1_attributes;
-};
-
-struct LOCALGROUP_USERS_INFO_0 {
- const char * lgrui0_name;
-};
-
-struct USER_MODALS_INFO_0 {
- uint32_t usrmod0_min_passwd_len;
- uint32_t usrmod0_max_passwd_age;
- uint32_t usrmod0_min_passwd_age;
- uint32_t usrmod0_force_logoff;
- uint32_t usrmod0_password_hist_len;
-};
-
-struct USER_MODALS_INFO_1 {
- uint32_t usrmod1_role;
- const char * usrmod1_primary;
-};
-
-struct USER_MODALS_INFO_2 {
- const char * usrmod2_domain_name;
- struct domsid *usrmod2_domain_id;/* [unique] */
-};
-
-struct USER_MODALS_INFO_3 {
- uint32_t usrmod3_lockout_duration;
- uint32_t usrmod3_lockout_observation_window;
- uint32_t usrmod3_lockout_threshold;
-};
-
-struct USER_MODALS_INFO_1001 {
- uint32_t usrmod1001_min_passwd_len;
-};
-
-struct USER_MODALS_INFO_1002 {
- uint32_t usrmod1002_max_passwd_age;
-};
-
-struct USER_MODALS_INFO_1003 {
- uint32_t usrmod1003_min_passwd_age;
-};
-
-struct USER_MODALS_INFO_1004 {
- uint32_t usrmod1004_force_logoff;
-};
-
-struct USER_MODALS_INFO_1005 {
- uint32_t usrmod1005_password_hist_len;
-};
-
-struct USER_MODALS_INFO_1006 {
- uint32_t usrmod1006_role;
-};
-
-struct USER_MODALS_INFO_1007 {
- const char * usrmod1007_primary;
-};
-
-struct NET_DISPLAY_USER {
- const char * usri1_name;
- const char * usri1_comment;
- uint32_t usri1_flags;
- const char * usri1_full_name;
- uint32_t usri1_user_id;
- uint32_t usri1_next_index;
-};
-
-struct NET_DISPLAY_MACHINE {
- const char * usri2_name;
- const char * usri2_comment;
- uint32_t usri2_flags;
- uint32_t usri2_user_id;
- uint32_t usri2_next_index;
-};
-
-struct NET_DISPLAY_GROUP {
- const char * grpi3_name;
- const char * grpi3_comment;
- uint32_t grpi3_group_id;
- uint32_t grpi3_attributes;
- uint32_t grpi3_next_index;
-};
-
-struct GROUP_INFO_0 {
- const char * grpi0_name;
-};
-
-struct GROUP_INFO_1 {
- const char * grpi1_name;
- const char * grpi1_comment;
-};
-
-struct GROUP_INFO_2 {
- const char * grpi2_name;
- const char * grpi2_comment;
- uint32_t grpi2_group_id;
- uint32_t grpi2_attributes;
-};
-
-struct GROUP_INFO_3 {
- const char * grpi3_name;
- const char * grpi3_comment;
- struct domsid *grpi3_group_sid;/* [unique] */
- uint32_t grpi3_attributes;
-};
-
-struct GROUP_INFO_1002 {
- const char * grpi1002_comment;
-};
-
-struct GROUP_INFO_1005 {
- uint32_t grpi1005_attributes;
-};
-
-struct LOCALGROUP_INFO_0 {
- const char * lgrpi0_name;
-};
-
-struct LOCALGROUP_INFO_1 {
- const char * lgrpi1_name;
- const char * lgrpi1_comment;
-};
-
-struct LOCALGROUP_INFO_1002 {
- const char * lgrpi1002_comment;
-};
-
-enum SID_NAME_USE
-#ifndef USE_UINT_ENUMS
- {
- SidTypeUser=(int)(1),
- SidTypeGroup=(int)(2),
- SidTypeDomain=(int)(3),
- SidTypeAlias=(int)(4),
- SidTypeWellKnownGroup=(int)(5),
- SidTypeDeletedAccount=(int)(6),
- SidTypeInvalid=(int)(7),
- SidTypeUnknown=(int)(8),
- SidTypeComputer=(int)(9),
- SidTypeLabel=(int)(10)
-}
-#else
- { __donnot_use_enum_SID_NAME_USE=0x7FFFFFFF}
-#define SidTypeUser ( 1 )
-#define SidTypeGroup ( 2 )
-#define SidTypeDomain ( 3 )
-#define SidTypeAlias ( 4 )
-#define SidTypeWellKnownGroup ( 5 )
-#define SidTypeDeletedAccount ( 6 )
-#define SidTypeInvalid ( 7 )
-#define SidTypeUnknown ( 8 )
-#define SidTypeComputer ( 9 )
-#define SidTypeLabel ( 10 )
-#endif
-;
-
-struct LOCALGROUP_MEMBERS_INFO_0 {
- struct domsid *lgrmi0_sid;/* [unique] */
-};
-
-struct LOCALGROUP_MEMBERS_INFO_1 {
- struct domsid *lgrmi1_sid;/* [unique] */
- enum SID_NAME_USE lgrmi1_sidusage;
- const char * lgrmi1_name;
-};
-
-struct LOCALGROUP_MEMBERS_INFO_2 {
- struct domsid *lgrmi2_sid;/* [unique] */
- enum SID_NAME_USE lgrmi2_sidusage;
- const char * lgrmi2_domainandname;
-};
-
-struct LOCALGROUP_MEMBERS_INFO_3 {
- const char * lgrmi3_domainandname;
-};
-
-struct TIME_OF_DAY_INFO {
- uint32_t tod_elapsedt;
- uint32_t tod_msecs;
- uint32_t tod_hours;
- uint32_t tod_mins;
- uint32_t tod_secs;
- uint32_t tod_hunds;
- int32_t tod_timezone;
- uint32_t tod_tinterval;
- uint32_t tod_day;
- uint32_t tod_month;
- uint32_t tod_year;
- uint32_t tod_weekday;
-};
-
-struct SHARE_INFO_0 {
- const char * shi0_netname;
-};
-
-struct SHARE_INFO_1 {
- const char * shi1_netname;
- uint32_t shi1_type;
- const char * shi1_remark;
-};
-
-struct SHARE_INFO_2 {
- const char * shi2_netname;
- uint32_t shi2_type;
- const char * shi2_remark;
- uint32_t shi2_permissions;
- uint32_t shi2_max_uses;
- uint32_t shi2_current_uses;
- const char * shi2_path;
- const char * shi2_passwd;
-};
-
-struct SHARE_INFO_501 {
- const char * shi501_netname;
- uint32_t shi501_type;
- const char * shi501_remark;
- uint32_t shi501_flags;
-};
-
-struct SHARE_INFO_1004 {
- const char * shi1004_remark;
-};
-
-/* bitmap SHARE_INFO_1005_FLAGS */
-#define SHI1005_FLAGS_DFS ( 0x01 )
-#define SHI1005_FLAGS_DFS_ROOT ( 0x02 )
-#define CSC_CACHE_MANUAL_REINT ( 0x00 )
-#define CSC_CACHE_AUTO_REINT ( 0x10 )
-#define CSC_CACHE_VDO ( 0x20 )
-#define CSC_CACHE_NONE ( 0x30 )
-#define SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS ( 0x0100 )
-#define SHI1005_FLAGS_FORCE_SHARED_DELETE ( 0x0200 )
-#define SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING ( 0x0400 )
-#define SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM ( 0x0800 )
-
-struct SHARE_INFO_1005 {
- uint32_t shi1005_flags;
-};
-
-struct SHARE_INFO_1006 {
- uint32_t shi1006_max_uses;
-};
-
-struct FILE_INFO_2 {
- uint32_t fi2_id;
-};
-
-struct FILE_INFO_3 {
- uint32_t fi3_id;
- uint32_t fi3_permissions;
- uint32_t fi3_num_locks;
- const char * fi3_pathname;
- const char * fi3_username;
-};
-
-struct NETLOGON_INFO_1 {
- uint32_t netlog1_flags;
- enum NET_API_STATUS netlog1_pdc_connection_status;
-};
-
-struct NETLOGON_INFO_2 {
- uint32_t netlog2_flags;
- enum NET_API_STATUS netlog2_pdc_connection_status;
- const char * netlog2_trusted_dc_name;
- enum NET_API_STATUS netlog2_tc_connection_status;
-};
-
-struct NETLOGON_INFO_3 {
- uint32_t netlog1_flags;
- uint32_t netlog3_logon_attempts;
- uint32_t netlog3_reserved1;
- uint32_t netlog3_reserved2;
- uint32_t netlog3_reserved3;
- uint32_t netlog3_reserved4;
- uint32_t netlog3_reserved5;
-};
-
-struct NETLOGON_INFO_4 {
- const char * netlog4_trusted_dc_name;
- const char * netlog4_trusted_domain_name;
-};
-
-
-struct NetJoinDomain {
- struct {
- const char * server;/* [unique] */
- const char * domain;/* [ref] */
- const char * account_ou;/* [unique] */
- const char * account;/* [unique] */
- const char * password;/* [unique] */
- uint32_t join_flags;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUnjoinDomain {
- struct {
- const char * server_name;/* [unique] */
- const char * account;/* [unique] */
- const char * password;/* [unique] */
- uint32_t unjoin_flags;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGetJoinInformation {
- struct {
- const char * server_name;/* [unique] */
- } in;
-
- struct {
- const char * *name_buffer;/* [ref] */
- uint16_t *name_type;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGetJoinableOUs {
- struct {
- const char * server_name;/* [unique] */
- const char * domain;/* [ref] */
- const char * account;/* [unique] */
- const char * password;/* [unique] */
- } in;
-
- struct {
- uint32_t *ou_count;/* [ref] */
- const char * **ous;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetRenameMachineInDomain {
- struct {
- const char * server_name;
- const char * new_machine_name;
- const char * account;
- const char * password;
- uint32_t rename_options;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetServerGetInfo {
- struct {
- const char * server_name;/* [unique] */
- uint32_t level;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetServerSetInfo {
- struct {
- const char * server_name;/* [unique] */
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_error;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGetDCName {
- struct {
- const char * server_name;/* [unique] */
- const char * domain_name;/* [unique] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGetAnyDCName {
- struct {
- const char * server_name;/* [unique] */
- const char * domain_name;/* [unique] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct DsGetDcName {
- struct {
- const char * server_name;/* [unique] */
- const char * domain_name;/* [ref] */
- struct GUID *domain_guid;/* [unique] */
- const char * site_name;/* [unique] */
- uint32_t flags;
- } in;
-
- struct {
- struct DOMAIN_CONTROLLER_INFO **dc_info;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserAdd {
- struct {
- const char * server_name;/* [unique] */
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_error;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserDel {
- struct {
- const char * server_name;/* [unique] */
- const char * user_name;/* [ref] */
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserEnum {
- struct {
- const char * server_name;/* [unique] */
- uint32_t level;
- uint32_t filter;
- uint32_t prefmaxlen;
- uint32_t *resume_handle;/* [ref] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- uint32_t *entries_read;/* [ref] */
- uint32_t *total_entries;/* [ref] */
- uint32_t *resume_handle;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserChangePassword {
- struct {
- const char * domain_name;
- const char * user_name;
- const char * old_password;
- const char * new_password;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserGetInfo {
- struct {
- const char * server_name;
- const char * user_name;
- uint32_t level;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserSetInfo {
- struct {
- const char * server_name;
- const char * user_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_err;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserGetGroups {
- struct {
- const char * server_name;
- const char * user_name;
- uint32_t level;
- uint32_t prefmaxlen;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- uint32_t *entries_read;/* [ref] */
- uint32_t *total_entries;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserSetGroups {
- struct {
- const char * server_name;
- const char * user_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- uint32_t num_entries;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserGetLocalGroups {
- struct {
- const char * server_name;
- const char * user_name;
- uint32_t level;
- uint32_t flags;
- uint32_t prefmaxlen;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- uint32_t *entries_read;/* [ref] */
- uint32_t *total_entries;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserModalsGet {
- struct {
- const char * server_name;
- uint32_t level;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetUserModalsSet {
- struct {
- const char * server_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_err;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetQueryDisplayInformation {
- struct {
- const char * server_name;/* [unique] */
- uint32_t level;
- uint32_t idx;
- uint32_t entries_requested;
- uint32_t prefmaxlen;
- } in;
-
- struct {
- uint32_t *entries_read;/* [ref] */
- void **buffer;/* [noprint,ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGroupAdd {
- struct {
- const char * server_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_err;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGroupDel {
- struct {
- const char * server_name;
- const char * group_name;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGroupEnum {
- struct {
- const char * server_name;
- uint32_t level;
- uint32_t prefmaxlen;
- uint32_t *resume_handle;/* [ref] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- uint32_t *entries_read;/* [ref] */
- uint32_t *total_entries;/* [ref] */
- uint32_t *resume_handle;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGroupSetInfo {
- struct {
- const char * server_name;
- const char * group_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_err;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGroupGetInfo {
- struct {
- const char * server_name;
- const char * group_name;
- uint32_t level;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGroupAddUser {
- struct {
- const char * server_name;
- const char * group_name;
- const char * user_name;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGroupDelUser {
- struct {
- const char * server_name;
- const char * group_name;
- const char * user_name;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGroupGetUsers {
- struct {
- const char * server_name;
- const char * group_name;
- uint32_t level;
- uint32_t prefmaxlen;
- uint32_t *resume_handle;/* [ref] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- uint32_t *entries_read;/* [ref] */
- uint32_t *total_entries;/* [ref] */
- uint32_t *resume_handle;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetGroupSetUsers {
- struct {
- const char * server_name;
- const char * group_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- uint32_t num_entries;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetLocalGroupAdd {
- struct {
- const char * server_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_err;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetLocalGroupDel {
- struct {
- const char * server_name;
- const char * group_name;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetLocalGroupGetInfo {
- struct {
- const char * server_name;
- const char * group_name;
- uint32_t level;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetLocalGroupSetInfo {
- struct {
- const char * server_name;
- const char * group_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_err;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetLocalGroupEnum {
- struct {
- const char * server_name;
- uint32_t level;
- uint32_t prefmaxlen;
- uint32_t *resume_handle;/* [ref] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- uint32_t *entries_read;/* [ref] */
- uint32_t *total_entries;/* [ref] */
- uint32_t *resume_handle;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetLocalGroupAddMembers {
- struct {
- const char * server_name;
- const char * group_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- uint32_t total_entries;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetLocalGroupDelMembers {
- struct {
- const char * server_name;
- const char * group_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- uint32_t total_entries;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetLocalGroupGetMembers {
- struct {
- const char * server_name;
- const char * local_group_name;
- uint32_t level;
- uint32_t prefmaxlen;
- uint32_t *resume_handle;/* [ref] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- uint32_t *entries_read;/* [ref] */
- uint32_t *total_entries;/* [ref] */
- uint32_t *resume_handle;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetLocalGroupSetMembers {
- struct {
- const char * server_name;
- const char * group_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- uint32_t total_entries;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetRemoteTOD {
- struct {
- const char * server_name;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetShareAdd {
- struct {
- const char * server_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_err;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetShareDel {
- struct {
- const char * server_name;
- const char * net_name;
- uint32_t reserved;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetShareEnum {
- struct {
- const char * server_name;
- uint32_t level;
- uint32_t prefmaxlen;
- uint32_t *resume_handle;/* [ref] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- uint32_t *entries_read;/* [ref] */
- uint32_t *total_entries;/* [ref] */
- uint32_t *resume_handle;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetShareGetInfo {
- struct {
- const char * server_name;
- const char * net_name;
- uint32_t level;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetShareSetInfo {
- struct {
- const char * server_name;
- const char * net_name;
- uint32_t level;
- uint8_t *buffer;/* [ref] */
- } in;
-
- struct {
- uint32_t *parm_err;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetFileClose {
- struct {
- const char * server_name;
- uint32_t fileid;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetFileGetInfo {
- struct {
- const char * server_name;
- uint32_t fileid;
- uint32_t level;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetFileEnum {
- struct {
- const char * server_name;
- const char * base_path;
- const char * user_name;
- uint32_t level;
- uint32_t prefmaxlen;
- uint32_t *resume_handle;/* [ref] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- uint32_t *entries_read;/* [ref] */
- uint32_t *total_entries;/* [ref] */
- uint32_t *resume_handle;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetShutdownInit {
- struct {
- const char * server_name;
- const char * message;
- uint32_t timeout;
- uint8_t force_apps;
- uint8_t do_reboot;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct NetShutdownAbort {
- struct {
- const char * server_name;
- } in;
-
- struct {
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct I_NetLogonControl {
- struct {
- const char * server_name;
- uint32_t function_code;
- uint32_t query_level;
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-
-struct I_NetLogonControl2 {
- struct {
- const char * server_name;
- uint32_t function_code;
- uint32_t query_level;
- uint8_t *data;/* [ref] */
- } in;
-
- struct {
- uint8_t **buffer;/* [ref] */
- enum NET_API_STATUS result;
- } out;
-
-};
-
-#endif /* _HEADER_libnetapi */
diff --git a/source3/librpc/gen_ndr/messaging.h b/source3/librpc/gen_ndr/messaging.h
deleted file mode 100644
index 1312c845d4..0000000000
--- a/source3/librpc/gen_ndr/messaging.h
+++ /dev/null
@@ -1,150 +0,0 @@
-/* header auto-generated by pidl */
-
-#include <stdint.h>
-
-#include "libcli/util/ntstatus.h"
-
-#ifndef _HEADER_messaging
-#define _HEADER_messaging
-
-#define MSG_TYPE_MASK ( 0xFFFF )
-enum messaging_type
-#ifndef USE_UINT_ENUMS
- {
- MSG_DEBUG=(int)(0x0001),
- MSG_PING=(int)(0x0002),
- MSG_PONG=(int)(0x0003),
- MSG_PROFILE=(int)(0x0004),
- MSG_REQ_DEBUGLEVEL=(int)(0x0005),
- MSG_DEBUGLEVEL=(int)(0x0006),
- MSG_REQ_PROFILELEVEL=(int)(0x0007),
- MSG_PROFILELEVEL=(int)(0x0008),
- MSG_REQ_POOL_USAGE=(int)(0x0009),
- MSG_POOL_USAGE=(int)(0x000A),
- MSG_REQ_DMALLOC_MARK=(int)(0x000B),
- MSG_REQ_DMALLOC_LOG_CHANGED=(int)(0x000C),
- MSG_SHUTDOWN=(int)(0x000D),
- MSG_FORCE_ELECTION=(int)(0x0101),
- MSG_WINS_NEW_ENTRY=(int)(0x0102),
- MSG_SEND_PACKET=(int)(0x0103),
- MSG_PRINTER_NOTIFY=(int)(0x2001),
- MSG_PRINTER_NOTIFY2=(int)(0x0202),
- MSG_PRINTER_DRVUPGRADE=(int)(0x0203),
- MSG_PRINTERDATA_INIT_RESET=(int)(0x0204),
- MSG_PRINTER_UPDATE=(int)(0x0205),
- MSG_PRINTER_MOD=(int)(0x0206),
- MSG_SMB_CONF_UPDATED=(int)(0x0301),
- MSG_SMB_FORCE_TDIS=(int)(0x0302),
- MSG_SMB_SAM_SYNC=(int)(0x0303),
- MSG_SMB_SAM_REPL=(int)(0x0304),
- MSG_SMB_UNLOCK=(int)(0x0305),
- MSG_SMB_BREAK_REQUEST=(int)(0x0306),
- MSG_SMB_BREAK_RESPONSE=(int)(0x0307),
- MSG_SMB_ASYNC_LEVEL2_BREAK=(int)(0x0308),
- MSG_SMB_OPEN_RETRY=(int)(0x0309),
- MSG_SMB_KERNEL_BREAK=(int)(0x030A),
- MSG_SMB_FILE_RENAME=(int)(0x030B),
- MSG_SMB_INJECT_FAULT=(int)(0x030C),
- MSG_SMB_BLOCKING_LOCK_CANCEL=(int)(0x030D),
- MSG_SMB_NOTIFY=(int)(0x030E),
- MSG_SMB_STAT_CACHE_DELETE=(int)(0x030F),
- MSG_PVFS_NOTIFY=(int)(0x0310),
- MSG_SMB_BRL_VALIDATE=(int)(0x0311),
- MSG_SMB_RELEASE_IP=(int)(0x0312),
- MSG_SMB_CLOSE_FILE=(int)(0x0313),
- MSG_WINBIND_FINISHED=(int)(0x0401),
- MSG_WINBIND_FORGET_STATE=(int)(0x0402),
- MSG_WINBIND_ONLINE=(int)(0x0403),
- MSG_WINBIND_OFFLINE=(int)(0x0404),
- MSG_WINBIND_ONLINESTATUS=(int)(0x0405),
- MSG_WINBIND_TRY_TO_GO_ONLINE=(int)(0x0406),
- MSG_WINBIND_FAILED_TO_GO_ONLINE=(int)(0x0407),
- MSG_WINBIND_VALIDATE_CACHE=(int)(0x0408),
- MSG_WINBIND_DUMP_DOMAIN_LIST=(int)(0x0409),
- MSG_DUMP_EVENT_LIST=(int)(0x0500),
- MSG_DBWRAP_TDB2_CHANGES=(int)(4001),
- MSG_DBWRAP_G_LOCK_RETRY=(int)(4002)
-}
-#else
- { __donnot_use_enum_messaging_type=0x7FFFFFFF}
-#define MSG_DEBUG ( 0x0001 )
-#define MSG_PING ( 0x0002 )
-#define MSG_PONG ( 0x0003 )
-#define MSG_PROFILE ( 0x0004 )
-#define MSG_REQ_DEBUGLEVEL ( 0x0005 )
-#define MSG_DEBUGLEVEL ( 0x0006 )
-#define MSG_REQ_PROFILELEVEL ( 0x0007 )
-#define MSG_PROFILELEVEL ( 0x0008 )
-#define MSG_REQ_POOL_USAGE ( 0x0009 )
-#define MSG_POOL_USAGE ( 0x000A )
-#define MSG_REQ_DMALLOC_MARK ( 0x000B )
-#define MSG_REQ_DMALLOC_LOG_CHANGED ( 0x000C )
-#define MSG_SHUTDOWN ( 0x000D )
-#define MSG_FORCE_ELECTION ( 0x0101 )
-#define MSG_WINS_NEW_ENTRY ( 0x0102 )
-#define MSG_SEND_PACKET ( 0x0103 )
-#define MSG_PRINTER_NOTIFY ( 0x2001 )
-#define MSG_PRINTER_NOTIFY2 ( 0x0202 )
-#define MSG_PRINTER_DRVUPGRADE ( 0x0203 )
-#define MSG_PRINTERDATA_INIT_RESET ( 0x0204 )
-#define MSG_PRINTER_UPDATE ( 0x0205 )
-#define MSG_PRINTER_MOD ( 0x0206 )
-#define MSG_SMB_CONF_UPDATED ( 0x0301 )
-#define MSG_SMB_FORCE_TDIS ( 0x0302 )
-#define MSG_SMB_SAM_SYNC ( 0x0303 )
-#define MSG_SMB_SAM_REPL ( 0x0304 )
-#define MSG_SMB_UNLOCK ( 0x0305 )
-#define MSG_SMB_BREAK_REQUEST ( 0x0306 )
-#define MSG_SMB_BREAK_RESPONSE ( 0x0307 )
-#define MSG_SMB_ASYNC_LEVEL2_BREAK ( 0x0308 )
-#define MSG_SMB_OPEN_RETRY ( 0x0309 )
-#define MSG_SMB_KERNEL_BREAK ( 0x030A )
-#define MSG_SMB_FILE_RENAME ( 0x030B )
-#define MSG_SMB_INJECT_FAULT ( 0x030C )
-#define MSG_SMB_BLOCKING_LOCK_CANCEL ( 0x030D )
-#define MSG_SMB_NOTIFY ( 0x030E )
-#define MSG_SMB_STAT_CACHE_DELETE ( 0x030F )
-#define MSG_PVFS_NOTIFY ( 0x0310 )
-#define MSG_SMB_BRL_VALIDATE ( 0x0311 )
-#define MSG_SMB_RELEASE_IP ( 0x0312 )
-#define MSG_SMB_CLOSE_FILE ( 0x0313 )
-#define MSG_WINBIND_FINISHED ( 0x0401 )
-#define MSG_WINBIND_FORGET_STATE ( 0x0402 )
-#define MSG_WINBIND_ONLINE ( 0x0403 )
-#define MSG_WINBIND_OFFLINE ( 0x0404 )
-#define MSG_WINBIND_ONLINESTATUS ( 0x0405 )
-#define MSG_WINBIND_TRY_TO_GO_ONLINE ( 0x0406 )
-#define MSG_WINBIND_FAILED_TO_GO_ONLINE ( 0x0407 )
-#define MSG_WINBIND_VALIDATE_CACHE ( 0x0408 )
-#define MSG_WINBIND_DUMP_DOMAIN_LIST ( 0x0409 )
-#define MSG_DUMP_EVENT_LIST ( 0x0500 )
-#define MSG_DBWRAP_TDB2_CHANGES ( 4001 )
-#define MSG_DBWRAP_G_LOCK_RETRY ( 4002 )
-#endif
-;
-
-struct messaging_rec {
- uint32_t msg_version;
- enum messaging_type msg_type;
- struct server_id dest;
- struct server_id src;
- DATA_BLOB buf;
-}/* [public] */;
-
-struct messaging_array {
- uint32_t num_messages;
- struct messaging_rec *messages;
-}/* [public] */;
-
-struct dbwrap_tdb2_changes {
- const char *magic_string;/* [value("TDB2"),charset(DOS)] */
- uint32_t magic_version;/* [value] */
- const char *name;/* [charset(UTF8)] */
- uint32_t old_seqnum;
- uint32_t new_seqnum;
- uint32_t num_changes;
- uint32_t num_keys;
- DATA_BLOB *keys;
-}/* [public] */;
-
-#endif /* _HEADER_messaging */
diff --git a/source3/librpc/gen_ndr/ndr_libnet_join.c b/source3/librpc/gen_ndr/ndr_libnet_join.c
deleted file mode 100644
index ba31ea6365..0000000000
--- a/source3/librpc/gen_ndr/ndr_libnet_join.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* parser auto-generated by pidl */
-
-#include "includes.h"
-#include "librpc/gen_ndr/ndr_libnet_join.h"
-
-#include "librpc/gen_ndr/ndr_wkssvc.h"
-#include "librpc/gen_ndr/ndr_security.h"
-_PUBLIC_ void ndr_print_libnet_JoinCtx(struct ndr_print *ndr, const char *name, int flags, const struct libnet_JoinCtx *r)
-{
- ndr_print_struct(ndr, name, "libnet_JoinCtx");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "libnet_JoinCtx");
- ndr->depth++;
- ndr_print_string(ndr, "dc_name", r->in.dc_name);
- ndr_print_string(ndr, "machine_name", r->in.machine_name);
- ndr_print_ptr(ndr, "domain_name", r->in.domain_name);
- ndr->depth++;
- ndr_print_string(ndr, "domain_name", r->in.domain_name);
- ndr->depth--;
- ndr_print_string(ndr, "account_ou", r->in.account_ou);
- ndr_print_string(ndr, "admin_account", r->in.admin_account);
-#ifdef DEBUG_PASSWORD
- ndr_print_string(ndr, "admin_password", r->in.admin_password);
- ndr_print_string(ndr, "machine_password", r->in.machine_password);
-#else
- ndr_print_ptr(ndr, "admin_password", r->in.admin_password);
- ndr_print_ptr(ndr, "machine_password", r->in.machine_password);
-#endif
- ndr_print_wkssvc_joinflags(ndr, "join_flags", r->in.join_flags);
- ndr_print_string(ndr, "os_version", r->in.os_version);
- ndr_print_string(ndr, "os_name", r->in.os_name);
- ndr_print_uint8(ndr, "create_upn", r->in.create_upn);
- ndr_print_string(ndr, "upn", r->in.upn);
- ndr_print_uint8(ndr, "modify_config", r->in.modify_config);
- ndr_print_ptr(ndr, "ads", r->in.ads);
- ndr->depth++;
- ndr_print_ads_struct(ndr, "ads", r->in.ads);
- ndr->depth--;
- ndr_print_uint8(ndr, "debug", r->in.debug);
- ndr_print_uint8(ndr, "use_kerberos", r->in.use_kerberos);
- ndr_print_netr_SchannelType(ndr, "secure_channel_type", r->in.secure_channel_type);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "libnet_JoinCtx");
- ndr->depth++;
- ndr_print_string(ndr, "account_name", r->out.account_name);
- ndr_print_string(ndr, "netbios_domain_name", r->out.netbios_domain_name);
- ndr_print_string(ndr, "dns_domain_name", r->out.dns_domain_name);
- ndr_print_string(ndr, "forest_name", r->out.forest_name);
- ndr_print_string(ndr, "dn", r->out.dn);
- ndr_print_ptr(ndr, "domain_sid", r->out.domain_sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "domain_sid", r->out.domain_sid);
- ndr->depth--;
- ndr_print_uint8(ndr, "modified_config", r->out.modified_config);
- ndr_print_string(ndr, "error_string", r->out.error_string);
- ndr_print_uint8(ndr, "domain_is_ad", r->out.domain_is_ad);
- ndr_print_WERROR(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_libnet_UnjoinCtx(struct ndr_print *ndr, const char *name, int flags, const struct libnet_UnjoinCtx *r)
-{
- ndr_print_struct(ndr, name, "libnet_UnjoinCtx");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "libnet_UnjoinCtx");
- ndr->depth++;
- ndr_print_string(ndr, "dc_name", r->in.dc_name);
- ndr_print_string(ndr, "machine_name", r->in.machine_name);
- ndr_print_string(ndr, "domain_name", r->in.domain_name);
- ndr_print_string(ndr, "account_ou", r->in.account_ou);
- ndr_print_string(ndr, "admin_account", r->in.admin_account);
-#ifdef DEBUG_PASSWORD
- ndr_print_string(ndr, "admin_password", r->in.admin_password);
- ndr_print_string(ndr, "machine_password", r->in.machine_password);
-#else
- ndr_print_ptr(ndr, "admin_password", r->in.admin_password);
- ndr_print_ptr(ndr, "machine_password", r->in.machine_password);
-#endif
- ndr_print_wkssvc_joinflags(ndr, "unjoin_flags", r->in.unjoin_flags);
- ndr_print_uint8(ndr, "delete_machine_account", r->in.delete_machine_account);
- ndr_print_uint8(ndr, "modify_config", r->in.modify_config);
- ndr_print_ptr(ndr, "domain_sid", r->in.domain_sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "domain_sid", r->in.domain_sid);
- ndr->depth--;
- ndr_print_ptr(ndr, "ads", r->in.ads);
- ndr->depth++;
- ndr_print_ads_struct(ndr, "ads", r->in.ads);
- ndr->depth--;
- ndr_print_uint8(ndr, "debug", r->in.debug);
- ndr_print_uint8(ndr, "use_kerberos", r->in.use_kerberos);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "libnet_UnjoinCtx");
- ndr->depth++;
- ndr_print_string(ndr, "netbios_domain_name", r->out.netbios_domain_name);
- ndr_print_string(ndr, "dns_domain_name", r->out.dns_domain_name);
- ndr_print_string(ndr, "forest_name", r->out.forest_name);
- ndr_print_uint8(ndr, "modified_config", r->out.modified_config);
- ndr_print_string(ndr, "error_string", r->out.error_string);
- ndr_print_uint8(ndr, "disabled_machine_account", r->out.disabled_machine_account);
- ndr_print_uint8(ndr, "deleted_machine_account", r->out.deleted_machine_account);
- ndr_print_WERROR(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
diff --git a/source3/librpc/gen_ndr/ndr_libnet_join.h b/source3/librpc/gen_ndr/ndr_libnet_join.h
deleted file mode 100644
index 14c8a863aa..0000000000
--- a/source3/librpc/gen_ndr/ndr_libnet_join.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* header auto-generated by pidl */
-
-#include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/libnet_join.h"
-
-#ifndef _HEADER_NDR_libnetjoin
-#define _HEADER_NDR_libnetjoin
-
-#define NDR_LIBNETJOIN_CALL_COUNT (0)
-enum ndr_err_code ndr_push_libnet_JoinCtx(struct ndr_push *ndr, int flags, const struct libnet_JoinCtx *r);
-enum ndr_err_code ndr_pull_libnet_JoinCtx(struct ndr_pull *ndr, int flags, struct libnet_JoinCtx *r);
-void ndr_print_libnet_JoinCtx(struct ndr_print *ndr, const char *name, int flags, const struct libnet_JoinCtx *r);
-enum ndr_err_code ndr_push_libnet_UnjoinCtx(struct ndr_push *ndr, int flags, const struct libnet_UnjoinCtx *r);
-enum ndr_err_code ndr_pull_libnet_UnjoinCtx(struct ndr_pull *ndr, int flags, struct libnet_UnjoinCtx *r);
-void ndr_print_libnet_UnjoinCtx(struct ndr_print *ndr, const char *name, int flags, const struct libnet_UnjoinCtx *r);
-#endif /* _HEADER_NDR_libnetjoin */
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c
deleted file mode 100644
index 2dfca23e28..0000000000
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ /dev/null
@@ -1,8010 +0,0 @@
-/* parser auto-generated by pidl */
-
-#include "includes.h"
-#include "librpc/gen_ndr/ndr_libnetapi.h"
-
-_PUBLIC_ enum ndr_err_code ndr_push_NET_API_STATUS(struct ndr_push *ndr, int ndr_flags, enum NET_API_STATUS r)
-{
- NDR_CHECK(ndr_push_enum_uint32(ndr, NDR_SCALARS, r));
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_NET_API_STATUS(struct ndr_pull *ndr, int ndr_flags, enum NET_API_STATUS *r)
-{
- uint32_t v;
- NDR_CHECK(ndr_pull_enum_uint32(ndr, NDR_SCALARS, &v));
- *r = v;
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_NET_API_STATUS(struct ndr_print *ndr, const char *name, enum NET_API_STATUS r)
-{
- const char *val = NULL;
-
- switch (r) {
- case NERR_Success: val = "NERR_Success"; break;
- }
- ndr_print_enum(ndr, name, "ENUM", val, r);
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_domsid(struct ndr_push *ndr, int ndr_flags, const struct domsid *r)
-{
- uint32_t cntr_sub_auths_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sid_rev_num));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->num_auths));
- NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->id_auth, 6));
- for (cntr_sub_auths_0 = 0; cntr_sub_auths_0 < MAXSUBAUTHS; cntr_sub_auths_0++) {
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sub_auths[cntr_sub_auths_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_domsid(struct ndr_pull *ndr, int ndr_flags, struct domsid *r)
-{
- uint32_t cntr_sub_auths_0;
- TALLOC_CTX *_mem_save_sub_auths_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sid_rev_num));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->num_auths));
- NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->id_auth, 6));
- NDR_PULL_ALLOC_N(ndr, r->sub_auths, MAXSUBAUTHS);
- _mem_save_sub_auths_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->sub_auths, 0);
- for (cntr_sub_auths_0 = 0; cntr_sub_auths_0 < MAXSUBAUTHS; cntr_sub_auths_0++) {
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sub_auths[cntr_sub_auths_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sub_auths_0, 0);
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_domsid(struct ndr_print *ndr, const char *name, const struct domsid *r)
-{
- uint32_t cntr_sub_auths_0;
- ndr_print_struct(ndr, name, "domsid");
- ndr->depth++;
- ndr_print_uint8(ndr, "sid_rev_num", r->sid_rev_num);
- ndr_print_uint8(ndr, "num_auths", r->num_auths);
- ndr_print_array_uint8(ndr, "id_auth", r->id_auth, 6);
- ndr->print(ndr, "%s: ARRAY(%d)", "sub_auths", (int)MAXSUBAUTHS);
- ndr->depth++;
- for (cntr_sub_auths_0=0;cntr_sub_auths_0<MAXSUBAUTHS;cntr_sub_auths_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_sub_auths_0) != -1) {
- ndr_print_uint32(ndr, "sub_auths", r->sub_auths[cntr_sub_auths_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_NetJoinFlags(struct ndr_push *ndr, int ndr_flags, uint32_t r)
-{
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r));
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_NetJoinFlags(struct ndr_pull *ndr, int ndr_flags, uint32_t *r)
-{
- uint32_t v;
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &v));
- *r = v;
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_NetJoinFlags(struct ndr_print *ndr, const char *name, uint32_t r)
-{
- ndr_print_uint32(ndr, name, r);
- ndr->depth++;
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_JOIN_DOMAIN", NETSETUP_JOIN_DOMAIN, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_ACCT_CREATE", NETSETUP_ACCT_CREATE, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_ACCT_DELETE", NETSETUP_ACCT_DELETE, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_WIN9X_UPGRADE", NETSETUP_WIN9X_UPGRADE, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_DOMAIN_JOIN_IF_JOINED", NETSETUP_DOMAIN_JOIN_IF_JOINED, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_JOIN_UNSECURE", NETSETUP_JOIN_UNSECURE, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_MACHINE_PWD_PASSED", NETSETUP_MACHINE_PWD_PASSED, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_DEFER_SPN_SET", NETSETUP_DEFER_SPN_SET, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_JOIN_DC_ACCOUNT", NETSETUP_JOIN_DC_ACCOUNT, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_JOIN_WITH_NEW_NAME", NETSETUP_JOIN_WITH_NEW_NAME, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_INSTALL_INVOCATION", NETSETUP_INSTALL_INVOCATION, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "NETSETUP_IGNORE_UNSUPPORTED_FLAGS", NETSETUP_IGNORE_UNSUPPORTED_FLAGS, r);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_100(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_100 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv100_platform_id));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv100_name));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_100(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_100 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv100_platform_id));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv100_name));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_100(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_100 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_100");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv100_platform_id", r->sv100_platform_id);
- ndr_print_string(ndr, "sv100_name", r->sv100_name);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_101(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_101 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv101_platform_id));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv101_name));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv101_version_major));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv101_version_minor));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv101_type));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv101_comment));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_101(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_101 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv101_platform_id));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv101_name));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv101_version_major));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv101_version_minor));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv101_type));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv101_comment));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_101(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_101 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_101");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv101_platform_id", r->sv101_platform_id);
- ndr_print_string(ndr, "sv101_name", r->sv101_name);
- ndr_print_uint32(ndr, "sv101_version_major", r->sv101_version_major);
- ndr_print_uint32(ndr, "sv101_version_minor", r->sv101_version_minor);
- ndr_print_uint32(ndr, "sv101_type", r->sv101_type);
- ndr_print_string(ndr, "sv101_comment", r->sv101_comment);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_102(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_102 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv102_platform_id));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv102_name));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv102_version_major));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv102_version_minor));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv102_type));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv102_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv102_users));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv102_disc));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv102_hidden));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv102_announce));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv102_anndelta));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv102_licenses));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv102_userpath));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_102(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_102 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv102_platform_id));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv102_name));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv102_version_major));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv102_version_minor));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv102_type));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv102_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv102_users));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv102_disc));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv102_hidden));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv102_announce));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv102_anndelta));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv102_licenses));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv102_userpath));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_102(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_102 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_102");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv102_platform_id", r->sv102_platform_id);
- ndr_print_string(ndr, "sv102_name", r->sv102_name);
- ndr_print_uint32(ndr, "sv102_version_major", r->sv102_version_major);
- ndr_print_uint32(ndr, "sv102_version_minor", r->sv102_version_minor);
- ndr_print_uint32(ndr, "sv102_type", r->sv102_type);
- ndr_print_string(ndr, "sv102_comment", r->sv102_comment);
- ndr_print_uint32(ndr, "sv102_users", r->sv102_users);
- ndr_print_uint32(ndr, "sv102_disc", r->sv102_disc);
- ndr_print_uint8(ndr, "sv102_hidden", r->sv102_hidden);
- ndr_print_uint32(ndr, "sv102_announce", r->sv102_announce);
- ndr_print_uint32(ndr, "sv102_anndelta", r->sv102_anndelta);
- ndr_print_uint32(ndr, "sv102_licenses", r->sv102_licenses);
- ndr_print_string(ndr, "sv102_userpath", r->sv102_userpath);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_402(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_402 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_ulist_mtime));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_glist_mtime));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_alist_mtime));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv402_alerts));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_security));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_numadmin));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_lanmask));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv402_guestacct));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_chdevs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_chdevq));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_chdevjobs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_connections));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_shares));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_openfiles));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_sessopens));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_sessvcs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_sessreqs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_opensearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_activelocks));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_numreqbuf));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_sizreqbuf));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_numbigbuf));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_numfiletasks));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_alertsched));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_erroralert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_logonalert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_accessalert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_diskalert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_netioalert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv402_maxauditsz));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv402_srvheuristics));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_402(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_402 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_ulist_mtime));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_glist_mtime));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_alist_mtime));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv402_alerts));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_security));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_numadmin));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_lanmask));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv402_guestacct));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_chdevs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_chdevq));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_chdevjobs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_connections));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_shares));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_openfiles));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_sessopens));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_sessvcs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_sessreqs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_opensearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_activelocks));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_numreqbuf));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_sizreqbuf));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_numbigbuf));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_numfiletasks));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_alertsched));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_erroralert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_logonalert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_accessalert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_diskalert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_netioalert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv402_maxauditsz));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv402_srvheuristics));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_402(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_402 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_402");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv402_ulist_mtime", r->sv402_ulist_mtime);
- ndr_print_uint32(ndr, "sv402_glist_mtime", r->sv402_glist_mtime);
- ndr_print_uint32(ndr, "sv402_alist_mtime", r->sv402_alist_mtime);
- ndr_print_string(ndr, "sv402_alerts", r->sv402_alerts);
- ndr_print_uint32(ndr, "sv402_security", r->sv402_security);
- ndr_print_uint32(ndr, "sv402_numadmin", r->sv402_numadmin);
- ndr_print_uint32(ndr, "sv402_lanmask", r->sv402_lanmask);
- ndr_print_string(ndr, "sv402_guestacct", r->sv402_guestacct);
- ndr_print_uint32(ndr, "sv402_chdevs", r->sv402_chdevs);
- ndr_print_uint32(ndr, "sv402_chdevq", r->sv402_chdevq);
- ndr_print_uint32(ndr, "sv402_chdevjobs", r->sv402_chdevjobs);
- ndr_print_uint32(ndr, "sv402_connections", r->sv402_connections);
- ndr_print_uint32(ndr, "sv402_shares", r->sv402_shares);
- ndr_print_uint32(ndr, "sv402_openfiles", r->sv402_openfiles);
- ndr_print_uint32(ndr, "sv402_sessopens", r->sv402_sessopens);
- ndr_print_uint32(ndr, "sv402_sessvcs", r->sv402_sessvcs);
- ndr_print_uint32(ndr, "sv402_sessreqs", r->sv402_sessreqs);
- ndr_print_uint32(ndr, "sv402_opensearch", r->sv402_opensearch);
- ndr_print_uint32(ndr, "sv402_activelocks", r->sv402_activelocks);
- ndr_print_uint32(ndr, "sv402_numreqbuf", r->sv402_numreqbuf);
- ndr_print_uint32(ndr, "sv402_sizreqbuf", r->sv402_sizreqbuf);
- ndr_print_uint32(ndr, "sv402_numbigbuf", r->sv402_numbigbuf);
- ndr_print_uint32(ndr, "sv402_numfiletasks", r->sv402_numfiletasks);
- ndr_print_uint32(ndr, "sv402_alertsched", r->sv402_alertsched);
- ndr_print_uint32(ndr, "sv402_erroralert", r->sv402_erroralert);
- ndr_print_uint32(ndr, "sv402_logonalert", r->sv402_logonalert);
- ndr_print_uint32(ndr, "sv402_accessalert", r->sv402_accessalert);
- ndr_print_uint32(ndr, "sv402_diskalert", r->sv402_diskalert);
- ndr_print_uint32(ndr, "sv402_netioalert", r->sv402_netioalert);
- ndr_print_uint32(ndr, "sv402_maxauditsz", r->sv402_maxauditsz);
- ndr_print_string(ndr, "sv402_srvheuristics", r->sv402_srvheuristics);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_403(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_403 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_ulist_mtime));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_glist_mtime));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_alist_mtime));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv403_alerts));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_security));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_numadmin));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_lanmask));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv403_guestacct));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_chdevs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_chdevq));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_chdevjobs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_connections));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_shares));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_openfiles));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_sessopens));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_sessvcs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_sessreqs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_opensearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_activelocks));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_numreqbuf));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_sizreqbuf));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_numbigbuf));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_numfiletasks));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_alertsched));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_erroralert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_logonalert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_accessalert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_diskalert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_netioalert));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_maxauditsz));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv403_srvheuristics));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_auditedevents));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv403_autoprofile));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv403_autopath));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_403(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_403 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_ulist_mtime));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_glist_mtime));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_alist_mtime));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv403_alerts));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_security));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_numadmin));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_lanmask));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv403_guestacct));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_chdevs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_chdevq));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_chdevjobs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_connections));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_shares));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_openfiles));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_sessopens));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_sessvcs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_sessreqs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_opensearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_activelocks));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_numreqbuf));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_sizreqbuf));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_numbigbuf));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_numfiletasks));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_alertsched));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_erroralert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_logonalert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_accessalert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_diskalert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_netioalert));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_maxauditsz));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv403_srvheuristics));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_auditedevents));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv403_autoprofile));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv403_autopath));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_403(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_403 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_403");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv403_ulist_mtime", r->sv403_ulist_mtime);
- ndr_print_uint32(ndr, "sv403_glist_mtime", r->sv403_glist_mtime);
- ndr_print_uint32(ndr, "sv403_alist_mtime", r->sv403_alist_mtime);
- ndr_print_string(ndr, "sv403_alerts", r->sv403_alerts);
- ndr_print_uint32(ndr, "sv403_security", r->sv403_security);
- ndr_print_uint32(ndr, "sv403_numadmin", r->sv403_numadmin);
- ndr_print_uint32(ndr, "sv403_lanmask", r->sv403_lanmask);
- ndr_print_string(ndr, "sv403_guestacct", r->sv403_guestacct);
- ndr_print_uint32(ndr, "sv403_chdevs", r->sv403_chdevs);
- ndr_print_uint32(ndr, "sv403_chdevq", r->sv403_chdevq);
- ndr_print_uint32(ndr, "sv403_chdevjobs", r->sv403_chdevjobs);
- ndr_print_uint32(ndr, "sv403_connections", r->sv403_connections);
- ndr_print_uint32(ndr, "sv403_shares", r->sv403_shares);
- ndr_print_uint32(ndr, "sv403_openfiles", r->sv403_openfiles);
- ndr_print_uint32(ndr, "sv403_sessopens", r->sv403_sessopens);
- ndr_print_uint32(ndr, "sv403_sessvcs", r->sv403_sessvcs);
- ndr_print_uint32(ndr, "sv403_sessreqs", r->sv403_sessreqs);
- ndr_print_uint32(ndr, "sv403_opensearch", r->sv403_opensearch);
- ndr_print_uint32(ndr, "sv403_activelocks", r->sv403_activelocks);
- ndr_print_uint32(ndr, "sv403_numreqbuf", r->sv403_numreqbuf);
- ndr_print_uint32(ndr, "sv403_sizreqbuf", r->sv403_sizreqbuf);
- ndr_print_uint32(ndr, "sv403_numbigbuf", r->sv403_numbigbuf);
- ndr_print_uint32(ndr, "sv403_numfiletasks", r->sv403_numfiletasks);
- ndr_print_uint32(ndr, "sv403_alertsched", r->sv403_alertsched);
- ndr_print_uint32(ndr, "sv403_erroralert", r->sv403_erroralert);
- ndr_print_uint32(ndr, "sv403_logonalert", r->sv403_logonalert);
- ndr_print_uint32(ndr, "sv403_accessalert", r->sv403_accessalert);
- ndr_print_uint32(ndr, "sv403_diskalert", r->sv403_diskalert);
- ndr_print_uint32(ndr, "sv403_netioalert", r->sv403_netioalert);
- ndr_print_uint32(ndr, "sv403_maxauditsz", r->sv403_maxauditsz);
- ndr_print_string(ndr, "sv403_srvheuristics", r->sv403_srvheuristics);
- ndr_print_uint32(ndr, "sv403_auditedevents", r->sv403_auditedevents);
- ndr_print_uint32(ndr, "sv403_autoprofile", r->sv403_autoprofile);
- ndr_print_string(ndr, "sv403_autopath", r->sv403_autopath);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_502(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_502 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_sessopens));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_sessvcs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_opensearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_sizreqbuf));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_initworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_maxworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_rawworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_irpstacksize));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_maxrawbuflen));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_sessusers));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_sessconns));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_maxpagedmemoryusage));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv502_maxnonpagedmemoryusage));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv502_enablesoftcompat));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv502_enableforcedlogoff));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv502_timesource));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv502_acceptdownlevelapis));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv502_lmannounce));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_502(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_502 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_sessopens));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_sessvcs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_opensearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_sizreqbuf));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_initworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_maxworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_rawworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_irpstacksize));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_maxrawbuflen));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_sessusers));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_sessconns));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_maxpagedmemoryusage));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv502_maxnonpagedmemoryusage));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv502_enablesoftcompat));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv502_enableforcedlogoff));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv502_timesource));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv502_acceptdownlevelapis));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv502_lmannounce));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_502(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_502 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_502");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv502_sessopens", r->sv502_sessopens);
- ndr_print_uint32(ndr, "sv502_sessvcs", r->sv502_sessvcs);
- ndr_print_uint32(ndr, "sv502_opensearch", r->sv502_opensearch);
- ndr_print_uint32(ndr, "sv502_sizreqbuf", r->sv502_sizreqbuf);
- ndr_print_uint32(ndr, "sv502_initworkitems", r->sv502_initworkitems);
- ndr_print_uint32(ndr, "sv502_maxworkitems", r->sv502_maxworkitems);
- ndr_print_uint32(ndr, "sv502_rawworkitems", r->sv502_rawworkitems);
- ndr_print_uint32(ndr, "sv502_irpstacksize", r->sv502_irpstacksize);
- ndr_print_uint32(ndr, "sv502_maxrawbuflen", r->sv502_maxrawbuflen);
- ndr_print_uint32(ndr, "sv502_sessusers", r->sv502_sessusers);
- ndr_print_uint32(ndr, "sv502_sessconns", r->sv502_sessconns);
- ndr_print_uint32(ndr, "sv502_maxpagedmemoryusage", r->sv502_maxpagedmemoryusage);
- ndr_print_uint32(ndr, "sv502_maxnonpagedmemoryusage", r->sv502_maxnonpagedmemoryusage);
- ndr_print_uint8(ndr, "sv502_enablesoftcompat", r->sv502_enablesoftcompat);
- ndr_print_uint8(ndr, "sv502_enableforcedlogoff", r->sv502_enableforcedlogoff);
- ndr_print_uint8(ndr, "sv502_timesource", r->sv502_timesource);
- ndr_print_uint8(ndr, "sv502_acceptdownlevelapis", r->sv502_acceptdownlevelapis);
- ndr_print_uint8(ndr, "sv502_lmannounce", r->sv502_lmannounce);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_503(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_503 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_sessopens));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_sessvcs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_opensearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_sizreqbuf));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_initworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_rawworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_irpstacksize));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxrawbuflen));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_sessusers));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_sessconns));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxpagedmemoryusage));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxnonpagedmemoryusage));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_enablesoftcompat));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_enableforcedlogoff));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_timesource));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_acceptdownlevelapis));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_lmannounce));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv503_domain));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxcopyreadlen));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxcopywritelen));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_minkeepsearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxkeepsearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_minkeepcomplsearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxkeepcomplsearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_threadcountadd));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_numblockthreads));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_scavtimeout));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_minrcvqueue));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_minfreeworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_xactmemsize));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_threadpriority));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxmpxct));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_oplockbreakwait));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_oplockbreakresponsewait));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_enableoplocks));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_enableoplockforceclose));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_enablefcbopens));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_enableraw));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv503_enablesharednetdrives));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_minfreeconnections));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv503_maxfreeconnections));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_503(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_503 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_sessopens));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_sessvcs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_opensearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_sizreqbuf));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_initworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_rawworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_irpstacksize));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxrawbuflen));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_sessusers));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_sessconns));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxpagedmemoryusage));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxnonpagedmemoryusage));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_enablesoftcompat));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_enableforcedlogoff));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_timesource));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_acceptdownlevelapis));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_lmannounce));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv503_domain));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxcopyreadlen));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxcopywritelen));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_minkeepsearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxkeepsearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_minkeepcomplsearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxkeepcomplsearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_threadcountadd));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_numblockthreads));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_scavtimeout));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_minrcvqueue));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_minfreeworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_xactmemsize));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_threadpriority));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxmpxct));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_oplockbreakwait));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_oplockbreakresponsewait));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_enableoplocks));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_enableoplockforceclose));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_enablefcbopens));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_enableraw));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv503_enablesharednetdrives));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_minfreeconnections));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv503_maxfreeconnections));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_503(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_503 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_503");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv503_sessopens", r->sv503_sessopens);
- ndr_print_uint32(ndr, "sv503_sessvcs", r->sv503_sessvcs);
- ndr_print_uint32(ndr, "sv503_opensearch", r->sv503_opensearch);
- ndr_print_uint32(ndr, "sv503_sizreqbuf", r->sv503_sizreqbuf);
- ndr_print_uint32(ndr, "sv503_initworkitems", r->sv503_initworkitems);
- ndr_print_uint32(ndr, "sv503_maxworkitems", r->sv503_maxworkitems);
- ndr_print_uint32(ndr, "sv503_rawworkitems", r->sv503_rawworkitems);
- ndr_print_uint32(ndr, "sv503_irpstacksize", r->sv503_irpstacksize);
- ndr_print_uint32(ndr, "sv503_maxrawbuflen", r->sv503_maxrawbuflen);
- ndr_print_uint32(ndr, "sv503_sessusers", r->sv503_sessusers);
- ndr_print_uint32(ndr, "sv503_sessconns", r->sv503_sessconns);
- ndr_print_uint32(ndr, "sv503_maxpagedmemoryusage", r->sv503_maxpagedmemoryusage);
- ndr_print_uint32(ndr, "sv503_maxnonpagedmemoryusage", r->sv503_maxnonpagedmemoryusage);
- ndr_print_uint8(ndr, "sv503_enablesoftcompat", r->sv503_enablesoftcompat);
- ndr_print_uint8(ndr, "sv503_enableforcedlogoff", r->sv503_enableforcedlogoff);
- ndr_print_uint8(ndr, "sv503_timesource", r->sv503_timesource);
- ndr_print_uint8(ndr, "sv503_acceptdownlevelapis", r->sv503_acceptdownlevelapis);
- ndr_print_uint8(ndr, "sv503_lmannounce", r->sv503_lmannounce);
- ndr_print_string(ndr, "sv503_domain", r->sv503_domain);
- ndr_print_uint32(ndr, "sv503_maxcopyreadlen", r->sv503_maxcopyreadlen);
- ndr_print_uint32(ndr, "sv503_maxcopywritelen", r->sv503_maxcopywritelen);
- ndr_print_uint32(ndr, "sv503_minkeepsearch", r->sv503_minkeepsearch);
- ndr_print_uint32(ndr, "sv503_maxkeepsearch", r->sv503_maxkeepsearch);
- ndr_print_uint32(ndr, "sv503_minkeepcomplsearch", r->sv503_minkeepcomplsearch);
- ndr_print_uint32(ndr, "sv503_maxkeepcomplsearch", r->sv503_maxkeepcomplsearch);
- ndr_print_uint32(ndr, "sv503_threadcountadd", r->sv503_threadcountadd);
- ndr_print_uint32(ndr, "sv503_numblockthreads", r->sv503_numblockthreads);
- ndr_print_uint32(ndr, "sv503_scavtimeout", r->sv503_scavtimeout);
- ndr_print_uint32(ndr, "sv503_minrcvqueue", r->sv503_minrcvqueue);
- ndr_print_uint32(ndr, "sv503_minfreeworkitems", r->sv503_minfreeworkitems);
- ndr_print_uint32(ndr, "sv503_xactmemsize", r->sv503_xactmemsize);
- ndr_print_uint32(ndr, "sv503_threadpriority", r->sv503_threadpriority);
- ndr_print_uint32(ndr, "sv503_maxmpxct", r->sv503_maxmpxct);
- ndr_print_uint32(ndr, "sv503_oplockbreakwait", r->sv503_oplockbreakwait);
- ndr_print_uint32(ndr, "sv503_oplockbreakresponsewait", r->sv503_oplockbreakresponsewait);
- ndr_print_uint8(ndr, "sv503_enableoplocks", r->sv503_enableoplocks);
- ndr_print_uint8(ndr, "sv503_enableoplockforceclose", r->sv503_enableoplockforceclose);
- ndr_print_uint8(ndr, "sv503_enablefcbopens", r->sv503_enablefcbopens);
- ndr_print_uint8(ndr, "sv503_enableraw", r->sv503_enableraw);
- ndr_print_uint8(ndr, "sv503_enablesharednetdrives", r->sv503_enablesharednetdrives);
- ndr_print_uint32(ndr, "sv503_minfreeconnections", r->sv503_minfreeconnections);
- ndr_print_uint32(ndr, "sv503_maxfreeconnections", r->sv503_maxfreeconnections);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_599(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_599 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_sessopens));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_sessvcs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_opensearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_sizreqbuf));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_initworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_rawworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_irpstacksize));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxrawbuflen));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_sessusers));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_sessconns));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxpagedmemoryusage));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxnonpagedmemoryusage));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_enablesoftcompat));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_enableforcedlogoff));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_timesource));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_acceptdownlevelapis));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_lmannounce));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv599_domain));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxcopyreadlen));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxcopywritelen));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_minkeepsearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxkeepsearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_minkeepcomplsearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxkeepcomplsearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_threadcountadd));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_numblockthreads));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_scavtimeout));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_minrcvqueue));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_minfreeworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_xactmemsize));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_threadpriority));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxmpxct));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_oplockbreakwait));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_oplockbreakresponsewait));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_enableoplocks));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_enableoplockforceclose));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_enablefcbopens));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_enableraw));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv599_enablesharednetdrives));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_minfreeconnections));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxfreeconnections));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_initsesstable));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_initconntable));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_initfiletable));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_initsearchtable));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_alertschedule));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_errorthreshold));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_networkerrorthreshold));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_diskspacethreshold));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_reserved));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxlinkdelay));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_minlinkthroughput));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_linkinfovalidtime));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_scavqosinfoupdatetime));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv599_maxworkitemidletime));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_599(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_599 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_sessopens));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_sessvcs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_opensearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_sizreqbuf));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_initworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_rawworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_irpstacksize));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxrawbuflen));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_sessusers));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_sessconns));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxpagedmemoryusage));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxnonpagedmemoryusage));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_enablesoftcompat));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_enableforcedlogoff));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_timesource));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_acceptdownlevelapis));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_lmannounce));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv599_domain));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxcopyreadlen));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxcopywritelen));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_minkeepsearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxkeepsearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_minkeepcomplsearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxkeepcomplsearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_threadcountadd));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_numblockthreads));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_scavtimeout));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_minrcvqueue));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_minfreeworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_xactmemsize));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_threadpriority));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxmpxct));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_oplockbreakwait));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_oplockbreakresponsewait));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_enableoplocks));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_enableoplockforceclose));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_enablefcbopens));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_enableraw));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv599_enablesharednetdrives));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_minfreeconnections));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxfreeconnections));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_initsesstable));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_initconntable));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_initfiletable));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_initsearchtable));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_alertschedule));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_errorthreshold));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_networkerrorthreshold));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_diskspacethreshold));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_reserved));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxlinkdelay));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_minlinkthroughput));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_linkinfovalidtime));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_scavqosinfoupdatetime));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv599_maxworkitemidletime));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_599(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_599 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_599");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv599_sessopens", r->sv599_sessopens);
- ndr_print_uint32(ndr, "sv599_sessvcs", r->sv599_sessvcs);
- ndr_print_uint32(ndr, "sv599_opensearch", r->sv599_opensearch);
- ndr_print_uint32(ndr, "sv599_sizreqbuf", r->sv599_sizreqbuf);
- ndr_print_uint32(ndr, "sv599_initworkitems", r->sv599_initworkitems);
- ndr_print_uint32(ndr, "sv599_maxworkitems", r->sv599_maxworkitems);
- ndr_print_uint32(ndr, "sv599_rawworkitems", r->sv599_rawworkitems);
- ndr_print_uint32(ndr, "sv599_irpstacksize", r->sv599_irpstacksize);
- ndr_print_uint32(ndr, "sv599_maxrawbuflen", r->sv599_maxrawbuflen);
- ndr_print_uint32(ndr, "sv599_sessusers", r->sv599_sessusers);
- ndr_print_uint32(ndr, "sv599_sessconns", r->sv599_sessconns);
- ndr_print_uint32(ndr, "sv599_maxpagedmemoryusage", r->sv599_maxpagedmemoryusage);
- ndr_print_uint32(ndr, "sv599_maxnonpagedmemoryusage", r->sv599_maxnonpagedmemoryusage);
- ndr_print_uint8(ndr, "sv599_enablesoftcompat", r->sv599_enablesoftcompat);
- ndr_print_uint8(ndr, "sv599_enableforcedlogoff", r->sv599_enableforcedlogoff);
- ndr_print_uint8(ndr, "sv599_timesource", r->sv599_timesource);
- ndr_print_uint8(ndr, "sv599_acceptdownlevelapis", r->sv599_acceptdownlevelapis);
- ndr_print_uint8(ndr, "sv599_lmannounce", r->sv599_lmannounce);
- ndr_print_string(ndr, "sv599_domain", r->sv599_domain);
- ndr_print_uint32(ndr, "sv599_maxcopyreadlen", r->sv599_maxcopyreadlen);
- ndr_print_uint32(ndr, "sv599_maxcopywritelen", r->sv599_maxcopywritelen);
- ndr_print_uint32(ndr, "sv599_minkeepsearch", r->sv599_minkeepsearch);
- ndr_print_uint32(ndr, "sv599_maxkeepsearch", r->sv599_maxkeepsearch);
- ndr_print_uint32(ndr, "sv599_minkeepcomplsearch", r->sv599_minkeepcomplsearch);
- ndr_print_uint32(ndr, "sv599_maxkeepcomplsearch", r->sv599_maxkeepcomplsearch);
- ndr_print_uint32(ndr, "sv599_threadcountadd", r->sv599_threadcountadd);
- ndr_print_uint32(ndr, "sv599_numblockthreads", r->sv599_numblockthreads);
- ndr_print_uint32(ndr, "sv599_scavtimeout", r->sv599_scavtimeout);
- ndr_print_uint32(ndr, "sv599_minrcvqueue", r->sv599_minrcvqueue);
- ndr_print_uint32(ndr, "sv599_minfreeworkitems", r->sv599_minfreeworkitems);
- ndr_print_uint32(ndr, "sv599_xactmemsize", r->sv599_xactmemsize);
- ndr_print_uint32(ndr, "sv599_threadpriority", r->sv599_threadpriority);
- ndr_print_uint32(ndr, "sv599_maxmpxct", r->sv599_maxmpxct);
- ndr_print_uint32(ndr, "sv599_oplockbreakwait", r->sv599_oplockbreakwait);
- ndr_print_uint32(ndr, "sv599_oplockbreakresponsewait", r->sv599_oplockbreakresponsewait);
- ndr_print_uint8(ndr, "sv599_enableoplocks", r->sv599_enableoplocks);
- ndr_print_uint8(ndr, "sv599_enableoplockforceclose", r->sv599_enableoplockforceclose);
- ndr_print_uint8(ndr, "sv599_enablefcbopens", r->sv599_enablefcbopens);
- ndr_print_uint8(ndr, "sv599_enableraw", r->sv599_enableraw);
- ndr_print_uint8(ndr, "sv599_enablesharednetdrives", r->sv599_enablesharednetdrives);
- ndr_print_uint32(ndr, "sv599_minfreeconnections", r->sv599_minfreeconnections);
- ndr_print_uint32(ndr, "sv599_maxfreeconnections", r->sv599_maxfreeconnections);
- ndr_print_uint32(ndr, "sv599_initsesstable", r->sv599_initsesstable);
- ndr_print_uint32(ndr, "sv599_initconntable", r->sv599_initconntable);
- ndr_print_uint32(ndr, "sv599_initfiletable", r->sv599_initfiletable);
- ndr_print_uint32(ndr, "sv599_initsearchtable", r->sv599_initsearchtable);
- ndr_print_uint32(ndr, "sv599_alertschedule", r->sv599_alertschedule);
- ndr_print_uint32(ndr, "sv599_errorthreshold", r->sv599_errorthreshold);
- ndr_print_uint32(ndr, "sv599_networkerrorthreshold", r->sv599_networkerrorthreshold);
- ndr_print_uint32(ndr, "sv599_diskspacethreshold", r->sv599_diskspacethreshold);
- ndr_print_uint32(ndr, "sv599_reserved", r->sv599_reserved);
- ndr_print_uint32(ndr, "sv599_maxlinkdelay", r->sv599_maxlinkdelay);
- ndr_print_uint32(ndr, "sv599_minlinkthroughput", r->sv599_minlinkthroughput);
- ndr_print_uint32(ndr, "sv599_linkinfovalidtime", r->sv599_linkinfovalidtime);
- ndr_print_uint32(ndr, "sv599_scavqosinfoupdatetime", r->sv599_scavqosinfoupdatetime);
- ndr_print_uint32(ndr, "sv599_maxworkitemidletime", r->sv599_maxworkitemidletime);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_598(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_598 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_maxrawworkitems));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_maxthreadsperqueue));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_producttype));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_serversize));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_connectionlessautodisc));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_sharingviolationretries));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_sharingviolationdelay));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_maxglobalopensearch));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_removeduplicatesearches));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_lockviolationoffset));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_lockviolationdelay));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_mdlreadswitchover));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_cachedopenlimit));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_otherqueueaffinity));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_restrictnullsessaccess));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_enablewfw311directipx));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_queuesamplesecs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_balancecount));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_preferredaffinity));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_maxfreerfcbs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_maxfreemfcbs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_maxfreelfcbs));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_maxfreepagedpoolchunks));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_minpagedpoolchunksize));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_maxpagedpoolchunksize));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_sendsfrompreferredprocessor));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_cacheddirectorylimit));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_maxcopylength));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_enablecompression));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_autosharewks));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_autoshareserver));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_enablesecuritysignature));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_requiresecuritysignature));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_minclientbuffersize));
- NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->sv598_serverguid));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_ConnectionNoSessionsTimeout));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_IdleThreadTimeOut));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_enableW9xsecuritysignature));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_enforcekerberosreauthentication));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_disabledos));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv598_lowdiskspaceminimum));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv598_disablestrictnamechecking));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_push_GUID(ndr, NDR_BUFFERS, &r->sv598_serverguid));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_598(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_598 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_maxrawworkitems));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_maxthreadsperqueue));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_producttype));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_serversize));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_connectionlessautodisc));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_sharingviolationretries));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_sharingviolationdelay));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_maxglobalopensearch));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_removeduplicatesearches));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_lockviolationoffset));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_lockviolationdelay));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_mdlreadswitchover));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_cachedopenlimit));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_otherqueueaffinity));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_restrictnullsessaccess));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_enablewfw311directipx));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_queuesamplesecs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_balancecount));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_preferredaffinity));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_maxfreerfcbs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_maxfreemfcbs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_maxfreelfcbs));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_maxfreepagedpoolchunks));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_minpagedpoolchunksize));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_maxpagedpoolchunksize));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_sendsfrompreferredprocessor));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_cacheddirectorylimit));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_maxcopylength));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_enablecompression));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_autosharewks));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_autoshareserver));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_enablesecuritysignature));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_requiresecuritysignature));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_minclientbuffersize));
- NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->sv598_serverguid));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_ConnectionNoSessionsTimeout));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_IdleThreadTimeOut));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_enableW9xsecuritysignature));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_enforcekerberosreauthentication));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_disabledos));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv598_lowdiskspaceminimum));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv598_disablestrictnamechecking));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_pull_GUID(ndr, NDR_BUFFERS, &r->sv598_serverguid));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_598(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_598 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_598");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv598_maxrawworkitems", r->sv598_maxrawworkitems);
- ndr_print_uint32(ndr, "sv598_maxthreadsperqueue", r->sv598_maxthreadsperqueue);
- ndr_print_uint32(ndr, "sv598_producttype", r->sv598_producttype);
- ndr_print_uint32(ndr, "sv598_serversize", r->sv598_serversize);
- ndr_print_uint32(ndr, "sv598_connectionlessautodisc", r->sv598_connectionlessautodisc);
- ndr_print_uint32(ndr, "sv598_sharingviolationretries", r->sv598_sharingviolationretries);
- ndr_print_uint32(ndr, "sv598_sharingviolationdelay", r->sv598_sharingviolationdelay);
- ndr_print_uint32(ndr, "sv598_maxglobalopensearch", r->sv598_maxglobalopensearch);
- ndr_print_uint32(ndr, "sv598_removeduplicatesearches", r->sv598_removeduplicatesearches);
- ndr_print_uint32(ndr, "sv598_lockviolationoffset", r->sv598_lockviolationoffset);
- ndr_print_uint32(ndr, "sv598_lockviolationdelay", r->sv598_lockviolationdelay);
- ndr_print_uint32(ndr, "sv598_mdlreadswitchover", r->sv598_mdlreadswitchover);
- ndr_print_uint32(ndr, "sv598_cachedopenlimit", r->sv598_cachedopenlimit);
- ndr_print_uint32(ndr, "sv598_otherqueueaffinity", r->sv598_otherqueueaffinity);
- ndr_print_uint8(ndr, "sv598_restrictnullsessaccess", r->sv598_restrictnullsessaccess);
- ndr_print_uint8(ndr, "sv598_enablewfw311directipx", r->sv598_enablewfw311directipx);
- ndr_print_uint32(ndr, "sv598_queuesamplesecs", r->sv598_queuesamplesecs);
- ndr_print_uint32(ndr, "sv598_balancecount", r->sv598_balancecount);
- ndr_print_uint32(ndr, "sv598_preferredaffinity", r->sv598_preferredaffinity);
- ndr_print_uint32(ndr, "sv598_maxfreerfcbs", r->sv598_maxfreerfcbs);
- ndr_print_uint32(ndr, "sv598_maxfreemfcbs", r->sv598_maxfreemfcbs);
- ndr_print_uint32(ndr, "sv598_maxfreelfcbs", r->sv598_maxfreelfcbs);
- ndr_print_uint32(ndr, "sv598_maxfreepagedpoolchunks", r->sv598_maxfreepagedpoolchunks);
- ndr_print_uint32(ndr, "sv598_minpagedpoolchunksize", r->sv598_minpagedpoolchunksize);
- ndr_print_uint32(ndr, "sv598_maxpagedpoolchunksize", r->sv598_maxpagedpoolchunksize);
- ndr_print_uint8(ndr, "sv598_sendsfrompreferredprocessor", r->sv598_sendsfrompreferredprocessor);
- ndr_print_uint32(ndr, "sv598_cacheddirectorylimit", r->sv598_cacheddirectorylimit);
- ndr_print_uint32(ndr, "sv598_maxcopylength", r->sv598_maxcopylength);
- ndr_print_uint8(ndr, "sv598_enablecompression", r->sv598_enablecompression);
- ndr_print_uint8(ndr, "sv598_autosharewks", r->sv598_autosharewks);
- ndr_print_uint8(ndr, "sv598_autoshareserver", r->sv598_autoshareserver);
- ndr_print_uint8(ndr, "sv598_enablesecuritysignature", r->sv598_enablesecuritysignature);
- ndr_print_uint8(ndr, "sv598_requiresecuritysignature", r->sv598_requiresecuritysignature);
- ndr_print_uint32(ndr, "sv598_minclientbuffersize", r->sv598_minclientbuffersize);
- ndr_print_GUID(ndr, "sv598_serverguid", &r->sv598_serverguid);
- ndr_print_uint32(ndr, "sv598_ConnectionNoSessionsTimeout", r->sv598_ConnectionNoSessionsTimeout);
- ndr_print_uint32(ndr, "sv598_IdleThreadTimeOut", r->sv598_IdleThreadTimeOut);
- ndr_print_uint8(ndr, "sv598_enableW9xsecuritysignature", r->sv598_enableW9xsecuritysignature);
- ndr_print_uint8(ndr, "sv598_enforcekerberosreauthentication", r->sv598_enforcekerberosreauthentication);
- ndr_print_uint8(ndr, "sv598_disabledos", r->sv598_disabledos);
- ndr_print_uint32(ndr, "sv598_lowdiskspaceminimum", r->sv598_lowdiskspaceminimum);
- ndr_print_uint8(ndr, "sv598_disablestrictnamechecking", r->sv598_disablestrictnamechecking);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1005(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1005 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->sv1005_comment));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1005(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1005 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->sv1005_comment));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1005(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1005 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1005");
- ndr->depth++;
- ndr_print_string(ndr, "sv1005_comment", r->sv1005_comment);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1107(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1107 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1107_users));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1107(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1107 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1107_users));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1107(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1107 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1107");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1107_users", r->sv1107_users);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1010(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1010 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->sv1010_disc));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1010(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1010 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->sv1010_disc));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1010(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1010 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1010");
- ndr->depth++;
- ndr_print_int32(ndr, "sv1010_disc", r->sv1010_disc);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1016(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1016 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1016_hidden));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1016(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1016 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1016_hidden));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1016(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1016 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1016");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1016_hidden", r->sv1016_hidden);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1017(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1017 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1017_announce));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1017(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1017 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1017_announce));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1017(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1017 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1017");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1017_announce", r->sv1017_announce);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1018(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1018 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1018_anndelta));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1018(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1018 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1018_anndelta));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1018(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1018 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1018");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1018_anndelta", r->sv1018_anndelta);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1501(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1501 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1501_sessopens));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1501(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1501 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1501_sessopens));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1501(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1501 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1501");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1501_sessopens", r->sv1501_sessopens);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1502(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1502 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1502_sessvcs));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1502(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1502 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1502_sessvcs));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1502(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1502 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1502");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1502_sessvcs", r->sv1502_sessvcs);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1503(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1503 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1503_opensearch));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1503(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1503 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1503_opensearch));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1503(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1503 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1503");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1503_opensearch", r->sv1503_opensearch);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1506(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1506 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1506_maxworkitems));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1506(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1506 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1506_maxworkitems));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1506(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1506 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1506");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1506_maxworkitems", r->sv1506_maxworkitems);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1509(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1509 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1509_maxrawbuflen));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1509(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1509 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1509_maxrawbuflen));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1509(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1509 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1509");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1509_maxrawbuflen", r->sv1509_maxrawbuflen);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1510(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1510 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1510_sessusers));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1510(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1510 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1510_sessusers));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1510(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1510 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1510");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1510_sessusers", r->sv1510_sessusers);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1511(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1511 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1511_sessconns));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1511(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1511 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1511_sessconns));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1511(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1511 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1511");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1511_sessconns", r->sv1511_sessconns);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1512(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1512 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1512_maxnonpagedmemoryusage));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1512(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1512 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1512_maxnonpagedmemoryusage));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1512(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1512 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1512");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1512_maxnonpagedmemoryusage", r->sv1512_maxnonpagedmemoryusage);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1513(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1513 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1513_maxpagedmemoryusage));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1513(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1513 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1513_maxpagedmemoryusage));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1513(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1513 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1513");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1513_maxpagedmemoryusage", r->sv1513_maxpagedmemoryusage);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1514(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1514 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1514_enablesoftcompat));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1514(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1514 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1514_enablesoftcompat));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1514(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1514 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1514");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1514_enablesoftcompat", r->sv1514_enablesoftcompat);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1515(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1515 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1515_enableforcedlogoff));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1515(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1515 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1515_enableforcedlogoff));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1515(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1515 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1515");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1515_enableforcedlogoff", r->sv1515_enableforcedlogoff);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1516(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1516 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1516_timesource));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1516(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1516 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1516_timesource));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1516(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1516 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1516");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1516_timesource", r->sv1516_timesource);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1518(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1518 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1518_lmannounce));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1518(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1518 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1518_lmannounce));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1518(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1518 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1518");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1518_lmannounce", r->sv1518_lmannounce);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1520(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1520 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1520_maxcopyreadlen));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1520(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1520 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1520_maxcopyreadlen));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1520(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1520 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1520");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1520_maxcopyreadlen", r->sv1520_maxcopyreadlen);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1521(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1521 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1521_maxcopywritelen));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1521(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1521 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1521_maxcopywritelen));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1521(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1521 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1521");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1521_maxcopywritelen", r->sv1521_maxcopywritelen);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1522(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1522 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1522_minkeepsearch));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1522(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1522 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1522_minkeepsearch));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1522(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1522 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1522");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1522_minkeepsearch", r->sv1522_minkeepsearch);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1523(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1523 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1523_maxkeepsearch));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1523(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1523 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1523_maxkeepsearch));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1523(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1523 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1523");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1523_maxkeepsearch", r->sv1523_maxkeepsearch);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1524(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1524 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1524_minkeepcomplsearch));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1524(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1524 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1524_minkeepcomplsearch));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1524(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1524 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1524");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1524_minkeepcomplsearch", r->sv1524_minkeepcomplsearch);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1525(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1525 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1525_maxkeepcomplsearch));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1525(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1525 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1525_maxkeepcomplsearch));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1525(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1525 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1525");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1525_maxkeepcomplsearch", r->sv1525_maxkeepcomplsearch);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1528(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1528 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1528_scavtimeout));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1528(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1528 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1528_scavtimeout));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1528(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1528 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1528");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1528_scavtimeout", r->sv1528_scavtimeout);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1529(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1529 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1529_minrcvqueue));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1529(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1529 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1529_minrcvqueue));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1529(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1529 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1529");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1529_minrcvqueue", r->sv1529_minrcvqueue);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1530(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1530 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1530_minfreeworkitems));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1530(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1530 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1530_minfreeworkitems));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1530(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1530 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1530");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1530_minfreeworkitems", r->sv1530_minfreeworkitems);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1533(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1533 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1533_maxmpxct));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1533(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1533 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1533_maxmpxct));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1533(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1533 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1533");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1533_maxmpxct", r->sv1533_maxmpxct);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1534(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1534 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1534_oplockbreakwait));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1534(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1534 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1534_oplockbreakwait));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1534(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1534 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1534");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1534_oplockbreakwait", r->sv1534_oplockbreakwait);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1535(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1535 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1535_oplockbreakresponsewait));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1535(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1535 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1535_oplockbreakresponsewait));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1535(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1535 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1535");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1535_oplockbreakresponsewait", r->sv1535_oplockbreakresponsewait);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1536(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1536 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1536_enableoplocks));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1536(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1536 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1536_enableoplocks));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1536(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1536 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1536");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1536_enableoplocks", r->sv1536_enableoplocks);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1537(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1537 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1537_enableoplockforceclose));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1537(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1537 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1537_enableoplockforceclose));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1537(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1537 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1537");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1537_enableoplockforceclose", r->sv1537_enableoplockforceclose);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1538(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1538 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1538_enablefcbopens));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1538(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1538 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1538_enablefcbopens));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1538(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1538 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1538");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1538_enablefcbopens", r->sv1538_enablefcbopens);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1539(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1539 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1539_enableraw));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1539(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1539 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1539_enableraw));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1539(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1539 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1539");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1539_enableraw", r->sv1539_enableraw);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1540(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1540 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1540_enablesharednetdrives));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1540(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1540 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1540_enablesharednetdrives));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1540(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1540 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1540");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1540_enablesharednetdrives", r->sv1540_enablesharednetdrives);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1541(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1541 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1541_minfreeconnections));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1541(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1541 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1541_minfreeconnections));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1541(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1541 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1541");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1541_minfreeconnections", r->sv1541_minfreeconnections);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1542(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1542 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1542_maxfreeconnections));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1542(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1542 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1542_maxfreeconnections));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1542(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1542 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1542");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1542_maxfreeconnections", r->sv1542_maxfreeconnections);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1543(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1543 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1543_initsesstable));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1543(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1543 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1543_initsesstable));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1543(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1543 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1543");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1543_initsesstable", r->sv1543_initsesstable);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1544(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1544 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1544_initconntable));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1544(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1544 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1544_initconntable));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1544(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1544 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1544");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1544_initconntable", r->sv1544_initconntable);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1545(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1545 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1545_initfiletable));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1545(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1545 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1545_initfiletable));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1545(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1545 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1545");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1545_initfiletable", r->sv1545_initfiletable);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1546(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1546 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1546_initsearchtable));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1546(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1546 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1546_initsearchtable));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1546(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1546 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1546");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1546_initsearchtable", r->sv1546_initsearchtable);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1547(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1547 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1547_alertschedule));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1547(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1547 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1547_alertschedule));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1547(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1547 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1547");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1547_alertschedule", r->sv1547_alertschedule);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1548(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1548 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1548_errorthreshold));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1548(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1548 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1548_errorthreshold));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1548(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1548 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1548");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1548_errorthreshold", r->sv1548_errorthreshold);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1549(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1549 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1549_networkerrorthreshold));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1549(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1549 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1549_networkerrorthreshold));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1549(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1549 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1549");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1549_networkerrorthreshold", r->sv1549_networkerrorthreshold);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1550(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1550 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1550_diskspacethreshold));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1550(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1550 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1550_diskspacethreshold));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1550(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1550 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1550");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1550_diskspacethreshold", r->sv1550_diskspacethreshold);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1552(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1552 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1552_maxlinkdelay));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1552(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1552 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1552_maxlinkdelay));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1552(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1552 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1552");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1552_maxlinkdelay", r->sv1552_maxlinkdelay);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1553(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1553 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1553_minlinkthroughput));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1553(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1553 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1553_minlinkthroughput));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1553(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1553 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1553");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1553_minlinkthroughput", r->sv1553_minlinkthroughput);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1554(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1554 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1554_linkinfovalidtime));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1554(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1554 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1554_linkinfovalidtime));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1554(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1554 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1554");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1554_linkinfovalidtime", r->sv1554_linkinfovalidtime);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1555(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1555 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1555_scavqosinfoupdatetime));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1555(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1555 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1555_scavqosinfoupdatetime));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1555(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1555 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1555");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1555_scavqosinfoupdatetime", r->sv1555_scavqosinfoupdatetime);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1556(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1556 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1556_maxworkitemidletime));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1556(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1556 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1556_maxworkitemidletime));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1556(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1556 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1556");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1556_maxworkitemidletime", r->sv1556_maxworkitemidletime);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1557(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1557 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1557_maxrawworkitems));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1557(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1557 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1557_maxrawworkitems));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1557(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1557 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1557");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1557_maxrawworkitems", r->sv1557_maxrawworkitems);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1560(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1560 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1560_producttype));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1560(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1560 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1560_producttype));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1560(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1560 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1560");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1560_producttype", r->sv1560_producttype);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1561(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1561 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1561_serversize));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1561(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1561 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1561_serversize));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1561(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1561 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1561");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1561_serversize", r->sv1561_serversize);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1562(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1562 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1562_connectionlessautodisc));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1562(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1562 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1562_connectionlessautodisc));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1562(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1562 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1562");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1562_connectionlessautodisc", r->sv1562_connectionlessautodisc);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1563(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1563 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1563_sharingviolationretries));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1563(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1563 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1563_sharingviolationretries));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1563(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1563 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1563");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1563_sharingviolationretries", r->sv1563_sharingviolationretries);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1564(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1564 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1564_sharingviolationdelay));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1564(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1564 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1564_sharingviolationdelay));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1564(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1564 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1564");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1564_sharingviolationdelay", r->sv1564_sharingviolationdelay);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1565(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1565 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1565_maxglobalopensearch));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1565(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1565 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1565_maxglobalopensearch));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1565(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1565 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1565");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1565_maxglobalopensearch", r->sv1565_maxglobalopensearch);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1566(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1566 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1566_removeduplicatesearches));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1566(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1566 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1566_removeduplicatesearches));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1566(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1566 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1566");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1566_removeduplicatesearches", r->sv1566_removeduplicatesearches);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1567(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1567 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1567_lockviolationretries));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1567(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1567 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1567_lockviolationretries));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1567(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1567 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1567");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1567_lockviolationretries", r->sv1567_lockviolationretries);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1568(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1568 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1568_lockviolationoffset));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1568(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1568 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1568_lockviolationoffset));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1568(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1568 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1568");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1568_lockviolationoffset", r->sv1568_lockviolationoffset);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1569(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1569 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1569_lockviolationdelay));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1569(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1569 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1569_lockviolationdelay));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1569(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1569 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1569");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1569_lockviolationdelay", r->sv1569_lockviolationdelay);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1570(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1570 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1570_mdlreadswitchover));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1570(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1570 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1570_mdlreadswitchover));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1570(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1570 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1570");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1570_mdlreadswitchover", r->sv1570_mdlreadswitchover);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1571(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1571 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1571_cachedopenlimit));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1571(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1571 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1571_cachedopenlimit));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1571(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1571 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1571");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1571_cachedopenlimit", r->sv1571_cachedopenlimit);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1572(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1572 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1572_criticalthreads));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1572(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1572 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1572_criticalthreads));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1572(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1572 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1572");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1572_criticalthreads", r->sv1572_criticalthreads);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1573(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1573 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1573_restrictnullsessaccess));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1573(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1573 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1573_restrictnullsessaccess));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1573(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1573 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1573");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1573_restrictnullsessaccess", r->sv1573_restrictnullsessaccess);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1574(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1574 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1574_enablewfw311directipx));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1574(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1574 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1574_enablewfw311directipx));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1574(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1574 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1574");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1574_enablewfw311directipx", r->sv1574_enablewfw311directipx);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1575(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1575 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1575_otherqueueaffinity));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1575(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1575 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1575_otherqueueaffinity));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1575(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1575 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1575");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1575_otherqueueaffinity", r->sv1575_otherqueueaffinity);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1576(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1576 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1576_queuesamplesecs));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1576(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1576 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1576_queuesamplesecs));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1576(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1576 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1576");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1576_queuesamplesecs", r->sv1576_queuesamplesecs);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1577(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1577 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1577_balancecount));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1577(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1577 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1577_balancecount));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1577(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1577 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1577");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1577_balancecount", r->sv1577_balancecount);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1578(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1578 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1578_preferredaffinity));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1578(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1578 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1578_preferredaffinity));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1578(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1578 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1578");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1578_preferredaffinity", r->sv1578_preferredaffinity);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1579(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1579 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1579_maxfreerfcbs));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1579(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1579 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1579_maxfreerfcbs));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1579(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1579 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1579");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1579_maxfreerfcbs", r->sv1579_maxfreerfcbs);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1580(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1580 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1580_maxfreemfcbs));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1580(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1580 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1580_maxfreemfcbs));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1580(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1580 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1580");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1580_maxfreemfcbs", r->sv1580_maxfreemfcbs);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1581(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1581 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1581_maxfreemlcbs));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1581(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1581 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1581_maxfreemlcbs));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1581(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1581 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1581");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1581_maxfreemlcbs", r->sv1581_maxfreemlcbs);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1582(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1582 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1582_maxfreepagedpoolchunks));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1582(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1582 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1582_maxfreepagedpoolchunks));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1582(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1582 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1582");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1582_maxfreepagedpoolchunks", r->sv1582_maxfreepagedpoolchunks);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1583(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1583 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1583_minpagedpoolchunksize));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1583(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1583 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1583_minpagedpoolchunksize));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1583(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1583 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1583");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1583_minpagedpoolchunksize", r->sv1583_minpagedpoolchunksize);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1584(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1584 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1584_maxpagedpoolchunksize));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1584(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1584 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1584_maxpagedpoolchunksize));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1584(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1584 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1584");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1584_maxpagedpoolchunksize", r->sv1584_maxpagedpoolchunksize);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1585(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1585 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1585_sendsfrompreferredprocessor));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1585(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1585 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1585_sendsfrompreferredprocessor));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1585(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1585 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1585");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1585_sendsfrompreferredprocessor", r->sv1585_sendsfrompreferredprocessor);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1586(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1586 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1586_maxthreadsperqueue));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1586(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1586 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1586_maxthreadsperqueue));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1586(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1586 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1586");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1586_maxthreadsperqueue", r->sv1586_maxthreadsperqueue);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1587(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1587 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1587_cacheddirectorylimit));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1587(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1587 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1587_cacheddirectorylimit));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1587(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1587 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1587");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1587_cacheddirectorylimit", r->sv1587_cacheddirectorylimit);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1588(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1588 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1588_maxcopylength));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1588(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1588 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1588_maxcopylength));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1588(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1588 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1588");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1588_maxcopylength", r->sv1588_maxcopylength);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1590(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1590 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1590_enablecompression));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1590(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1590 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1590_enablecompression));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1590(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1590 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1590");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1590_enablecompression", r->sv1590_enablecompression);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1591(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1591 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1591_autosharewks));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1591(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1591 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1591_autosharewks));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1591(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1591 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1591");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1591_autosharewks", r->sv1591_autosharewks);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1592(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1592 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1592_autosharewks));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1592(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1592 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1592_autosharewks));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1592(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1592 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1592");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1592_autosharewks", r->sv1592_autosharewks);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1593(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1593 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1593_enablesecuritysignature));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1593(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1593 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1593_enablesecuritysignature));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1593(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1593 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1593");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1593_enablesecuritysignature", r->sv1593_enablesecuritysignature);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1594(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1594 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1594_requiresecuritysignature));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1594(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1594 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1594_requiresecuritysignature));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1594(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1594 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1594");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1594_requiresecuritysignature", r->sv1594_requiresecuritysignature);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1595(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1595 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1595_minclientbuffersize));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1595(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1595 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1595_minclientbuffersize));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1595(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1595 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1595");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1595_minclientbuffersize", r->sv1595_minclientbuffersize);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1596(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1596 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1596_ConnectionNoSessionsTimeout));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1596(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1596 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1596_ConnectionNoSessionsTimeout));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1596(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1596 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1596");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1596_ConnectionNoSessionsTimeout", r->sv1596_ConnectionNoSessionsTimeout);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1597(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1597 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1597_IdleThreadTimeOut));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1597(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1597 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1597_IdleThreadTimeOut));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1597(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1597 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1597");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1597_IdleThreadTimeOut", r->sv1597_IdleThreadTimeOut);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1598(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1598 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1598_enableW9xsecuritysignature));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1598(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1598 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1598_enableW9xsecuritysignature));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1598(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1598 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1598");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1598_enableW9xsecuritysignature", r->sv1598_enableW9xsecuritysignature);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1599(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1599 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1598_enforcekerberosreauthentication));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1599(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1599 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1598_enforcekerberosreauthentication));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1599(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1599 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1599");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1598_enforcekerberosreauthentication", r->sv1598_enforcekerberosreauthentication);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1600(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1600 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv1598_disabledos));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1600(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1600 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv1598_disabledos));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1600(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1600 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1600");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv1598_disabledos", r->sv1598_disabledos);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1601(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1601 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sv1598_lowdiskspaceminimum));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1601(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1601 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sv1598_lowdiskspaceminimum));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1601(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1601 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1601");
- ndr->depth++;
- ndr_print_uint32(ndr, "sv1598_lowdiskspaceminimum", r->sv1598_lowdiskspaceminimum);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SERVER_INFO_1602(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1602 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->sv_1598_disablestrictnamechecking));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SERVER_INFO_1602(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1602 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sv_1598_disablestrictnamechecking));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SERVER_INFO_1602(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1602 *r)
-{
- ndr_print_struct(ndr, name, "SERVER_INFO_1602");
- ndr->depth++;
- ndr_print_uint8(ndr, "sv_1598_disablestrictnamechecking", r->sv_1598_disablestrictnamechecking);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_DOMAIN_CONTROLLER_INFO(struct ndr_push *ndr, int ndr_flags, const struct DOMAIN_CONTROLLER_INFO *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->domain_controller_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->domain_controller_address));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->domain_controller_address_type));
- NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->domain_guid));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->domain_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->dns_forest_name));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->dc_site_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->client_site_name));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_push_GUID(ndr, NDR_BUFFERS, &r->domain_guid));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_DOMAIN_CONTROLLER_INFO(struct ndr_pull *ndr, int ndr_flags, struct DOMAIN_CONTROLLER_INFO *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->domain_controller_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->domain_controller_address));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->domain_controller_address_type));
- NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->domain_guid));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->domain_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->dns_forest_name));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->dc_site_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->client_site_name));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_pull_GUID(ndr, NDR_BUFFERS, &r->domain_guid));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_DOMAIN_CONTROLLER_INFO(struct ndr_print *ndr, const char *name, const struct DOMAIN_CONTROLLER_INFO *r)
-{
- ndr_print_struct(ndr, name, "DOMAIN_CONTROLLER_INFO");
- ndr->depth++;
- ndr_print_string(ndr, "domain_controller_name", r->domain_controller_name);
- ndr_print_string(ndr, "domain_controller_address", r->domain_controller_address);
- ndr_print_uint32(ndr, "domain_controller_address_type", r->domain_controller_address_type);
- ndr_print_GUID(ndr, "domain_guid", &r->domain_guid);
- ndr_print_string(ndr, "domain_name", r->domain_name);
- ndr_print_string(ndr, "dns_forest_name", r->dns_forest_name);
- ndr_print_uint32(ndr, "flags", r->flags);
- ndr_print_string(ndr, "dc_site_name", r->dc_site_name);
- ndr_print_string(ndr, "client_site_name", r->client_site_name);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_0(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_0 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri0_name));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_0(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_0 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri0_name));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_0(struct ndr_print *ndr, const char *name, const struct USER_INFO_0 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_0");
- ndr->depth++;
- ndr_print_string(ndr, "usri0_name", r->usri0_name);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1_password));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1_password_age));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1_priv));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1_home_dir));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1_script_path));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1_password));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1_password_age));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1_priv));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1_home_dir));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1_script_path));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1(struct ndr_print *ndr, const char *name, const struct USER_INFO_1 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1");
- ndr->depth++;
- ndr_print_string(ndr, "usri1_name", r->usri1_name);
- ndr_print_string(ndr, "usri1_password", r->usri1_password);
- ndr_print_uint32(ndr, "usri1_password_age", r->usri1_password_age);
- ndr_print_uint32(ndr, "usri1_priv", r->usri1_priv);
- ndr_print_string(ndr, "usri1_home_dir", r->usri1_home_dir);
- ndr_print_string(ndr, "usri1_comment", r->usri1_comment);
- ndr_print_uint32(ndr, "usri1_flags", r->usri1_flags);
- ndr_print_string(ndr, "usri1_script_path", r->usri1_script_path);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_2(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_2 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_password));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_password_age));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_priv));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_home_dir));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_script_path));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_auth_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_full_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_usr_comment));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_parms));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_workstations));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_last_logon));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_last_logoff));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_acct_expires));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_max_storage));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_units_per_week));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->usri2_logon_hours));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_bad_pw_count));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_num_logons));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_logon_server));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_country_code));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_code_page));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri2_logon_hours) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->usri2_logon_hours));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_2(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_2 *r)
-{
- uint32_t _ptr_usri2_logon_hours;
- TALLOC_CTX *_mem_save_usri2_logon_hours_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_password));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_password_age));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_priv));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_home_dir));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_script_path));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_auth_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_full_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_usr_comment));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_parms));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_workstations));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_last_logon));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_last_logoff));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_acct_expires));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_max_storage));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_units_per_week));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_usri2_logon_hours));
- if (_ptr_usri2_logon_hours) {
- NDR_PULL_ALLOC(ndr, r->usri2_logon_hours);
- } else {
- r->usri2_logon_hours = NULL;
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_bad_pw_count));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_num_logons));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_logon_server));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_country_code));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_code_page));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri2_logon_hours) {
- _mem_save_usri2_logon_hours_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->usri2_logon_hours, 0);
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, r->usri2_logon_hours));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usri2_logon_hours_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_2(struct ndr_print *ndr, const char *name, const struct USER_INFO_2 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_2");
- ndr->depth++;
- ndr_print_string(ndr, "usri2_name", r->usri2_name);
- ndr_print_string(ndr, "usri2_password", r->usri2_password);
- ndr_print_uint32(ndr, "usri2_password_age", r->usri2_password_age);
- ndr_print_uint32(ndr, "usri2_priv", r->usri2_priv);
- ndr_print_string(ndr, "usri2_home_dir", r->usri2_home_dir);
- ndr_print_string(ndr, "usri2_comment", r->usri2_comment);
- ndr_print_uint32(ndr, "usri2_flags", r->usri2_flags);
- ndr_print_string(ndr, "usri2_script_path", r->usri2_script_path);
- ndr_print_uint32(ndr, "usri2_auth_flags", r->usri2_auth_flags);
- ndr_print_string(ndr, "usri2_full_name", r->usri2_full_name);
- ndr_print_string(ndr, "usri2_usr_comment", r->usri2_usr_comment);
- ndr_print_string(ndr, "usri2_parms", r->usri2_parms);
- ndr_print_string(ndr, "usri2_workstations", r->usri2_workstations);
- ndr_print_uint32(ndr, "usri2_last_logon", r->usri2_last_logon);
- ndr_print_uint32(ndr, "usri2_last_logoff", r->usri2_last_logoff);
- ndr_print_uint32(ndr, "usri2_acct_expires", r->usri2_acct_expires);
- ndr_print_uint32(ndr, "usri2_max_storage", r->usri2_max_storage);
- ndr_print_uint32(ndr, "usri2_units_per_week", r->usri2_units_per_week);
- ndr_print_ptr(ndr, "usri2_logon_hours", r->usri2_logon_hours);
- ndr->depth++;
- if (r->usri2_logon_hours) {
- ndr_print_uint8(ndr, "usri2_logon_hours", *r->usri2_logon_hours);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "usri2_bad_pw_count", r->usri2_bad_pw_count);
- ndr_print_uint32(ndr, "usri2_num_logons", r->usri2_num_logons);
- ndr_print_string(ndr, "usri2_logon_server", r->usri2_logon_server);
- ndr_print_uint32(ndr, "usri2_country_code", r->usri2_country_code);
- ndr_print_uint32(ndr, "usri2_code_page", r->usri2_code_page);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_3(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_3 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_name));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_password_age));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_priv));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_home_dir));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_script_path));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_auth_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_full_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_usr_comment));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_parms));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_workstations));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_last_logon));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_last_logoff));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_acct_expires));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_max_storage));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_units_per_week));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->usri3_logon_hours));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_bad_pw_count));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_num_logons));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_logon_server));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_country_code));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_code_page));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_user_id));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_primary_group_id));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_profile));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri3_home_dir_drive));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri3_password_expired));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri3_logon_hours) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->usri3_logon_hours));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_3(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_3 *r)
-{
- uint32_t _ptr_usri3_logon_hours;
- TALLOC_CTX *_mem_save_usri3_logon_hours_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_name));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_password_age));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_priv));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_home_dir));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_script_path));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_auth_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_full_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_usr_comment));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_parms));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_workstations));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_last_logon));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_last_logoff));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_acct_expires));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_max_storage));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_units_per_week));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_usri3_logon_hours));
- if (_ptr_usri3_logon_hours) {
- NDR_PULL_ALLOC(ndr, r->usri3_logon_hours);
- } else {
- r->usri3_logon_hours = NULL;
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_bad_pw_count));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_num_logons));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_logon_server));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_country_code));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_code_page));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_user_id));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_primary_group_id));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_profile));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri3_home_dir_drive));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri3_password_expired));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri3_logon_hours) {
- _mem_save_usri3_logon_hours_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->usri3_logon_hours, 0);
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, r->usri3_logon_hours));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usri3_logon_hours_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_3(struct ndr_print *ndr, const char *name, const struct USER_INFO_3 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_3");
- ndr->depth++;
- ndr_print_string(ndr, "usri3_name", r->usri3_name);
- ndr_print_uint32(ndr, "usri3_password_age", r->usri3_password_age);
- ndr_print_uint32(ndr, "usri3_priv", r->usri3_priv);
- ndr_print_string(ndr, "usri3_home_dir", r->usri3_home_dir);
- ndr_print_string(ndr, "usri3_comment", r->usri3_comment);
- ndr_print_uint32(ndr, "usri3_flags", r->usri3_flags);
- ndr_print_string(ndr, "usri3_script_path", r->usri3_script_path);
- ndr_print_uint32(ndr, "usri3_auth_flags", r->usri3_auth_flags);
- ndr_print_string(ndr, "usri3_full_name", r->usri3_full_name);
- ndr_print_string(ndr, "usri3_usr_comment", r->usri3_usr_comment);
- ndr_print_string(ndr, "usri3_parms", r->usri3_parms);
- ndr_print_string(ndr, "usri3_workstations", r->usri3_workstations);
- ndr_print_uint32(ndr, "usri3_last_logon", r->usri3_last_logon);
- ndr_print_uint32(ndr, "usri3_last_logoff", r->usri3_last_logoff);
- ndr_print_uint32(ndr, "usri3_acct_expires", r->usri3_acct_expires);
- ndr_print_uint32(ndr, "usri3_max_storage", r->usri3_max_storage);
- ndr_print_uint32(ndr, "usri3_units_per_week", r->usri3_units_per_week);
- ndr_print_ptr(ndr, "usri3_logon_hours", r->usri3_logon_hours);
- ndr->depth++;
- if (r->usri3_logon_hours) {
- ndr_print_uint8(ndr, "usri3_logon_hours", *r->usri3_logon_hours);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "usri3_bad_pw_count", r->usri3_bad_pw_count);
- ndr_print_uint32(ndr, "usri3_num_logons", r->usri3_num_logons);
- ndr_print_string(ndr, "usri3_logon_server", r->usri3_logon_server);
- ndr_print_uint32(ndr, "usri3_country_code", r->usri3_country_code);
- ndr_print_uint32(ndr, "usri3_code_page", r->usri3_code_page);
- ndr_print_uint32(ndr, "usri3_user_id", r->usri3_user_id);
- ndr_print_uint32(ndr, "usri3_primary_group_id", r->usri3_primary_group_id);
- ndr_print_string(ndr, "usri3_profile", r->usri3_profile);
- ndr_print_string(ndr, "usri3_home_dir_drive", r->usri3_home_dir_drive);
- ndr_print_uint32(ndr, "usri3_password_expired", r->usri3_password_expired);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_4(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_4 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_password));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_password_age));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_priv));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_home_dir));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_script_path));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_auth_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_full_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_usr_comment));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_parms));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_workstations));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_last_logon));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_last_logoff));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_acct_expires));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_max_storage));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_units_per_week));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->usri4_logon_hours));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_bad_pw_count));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_num_logons));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_logon_server));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_country_code));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_code_page));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->usri4_user_sid));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_primary_group_id));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_profile));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri4_home_dir_drive));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri4_password_expired));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri4_logon_hours) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->usri4_logon_hours));
- }
- if (r->usri4_user_sid) {
- NDR_CHECK(ndr_push_domsid(ndr, NDR_SCALARS, r->usri4_user_sid));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_4(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_4 *r)
-{
- uint32_t _ptr_usri4_logon_hours;
- TALLOC_CTX *_mem_save_usri4_logon_hours_0;
- uint32_t _ptr_usri4_user_sid;
- TALLOC_CTX *_mem_save_usri4_user_sid_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_password));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_password_age));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_priv));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_home_dir));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_script_path));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_auth_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_full_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_usr_comment));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_parms));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_workstations));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_last_logon));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_last_logoff));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_acct_expires));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_max_storage));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_units_per_week));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_usri4_logon_hours));
- if (_ptr_usri4_logon_hours) {
- NDR_PULL_ALLOC(ndr, r->usri4_logon_hours);
- } else {
- r->usri4_logon_hours = NULL;
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_bad_pw_count));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_num_logons));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_logon_server));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_country_code));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_code_page));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_usri4_user_sid));
- if (_ptr_usri4_user_sid) {
- NDR_PULL_ALLOC(ndr, r->usri4_user_sid);
- } else {
- r->usri4_user_sid = NULL;
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_primary_group_id));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_profile));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri4_home_dir_drive));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri4_password_expired));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri4_logon_hours) {
- _mem_save_usri4_logon_hours_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->usri4_logon_hours, 0);
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, r->usri4_logon_hours));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usri4_logon_hours_0, 0);
- }
- if (r->usri4_user_sid) {
- _mem_save_usri4_user_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->usri4_user_sid, 0);
- NDR_CHECK(ndr_pull_domsid(ndr, NDR_SCALARS, r->usri4_user_sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usri4_user_sid_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_4(struct ndr_print *ndr, const char *name, const struct USER_INFO_4 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_4");
- ndr->depth++;
- ndr_print_string(ndr, "usri4_name", r->usri4_name);
- ndr_print_string(ndr, "usri4_password", r->usri4_password);
- ndr_print_uint32(ndr, "usri4_password_age", r->usri4_password_age);
- ndr_print_uint32(ndr, "usri4_priv", r->usri4_priv);
- ndr_print_string(ndr, "usri4_home_dir", r->usri4_home_dir);
- ndr_print_string(ndr, "usri4_comment", r->usri4_comment);
- ndr_print_uint32(ndr, "usri4_flags", r->usri4_flags);
- ndr_print_string(ndr, "usri4_script_path", r->usri4_script_path);
- ndr_print_uint32(ndr, "usri4_auth_flags", r->usri4_auth_flags);
- ndr_print_string(ndr, "usri4_full_name", r->usri4_full_name);
- ndr_print_string(ndr, "usri4_usr_comment", r->usri4_usr_comment);
- ndr_print_string(ndr, "usri4_parms", r->usri4_parms);
- ndr_print_string(ndr, "usri4_workstations", r->usri4_workstations);
- ndr_print_uint32(ndr, "usri4_last_logon", r->usri4_last_logon);
- ndr_print_uint32(ndr, "usri4_last_logoff", r->usri4_last_logoff);
- ndr_print_uint32(ndr, "usri4_acct_expires", r->usri4_acct_expires);
- ndr_print_uint32(ndr, "usri4_max_storage", r->usri4_max_storage);
- ndr_print_uint32(ndr, "usri4_units_per_week", r->usri4_units_per_week);
- ndr_print_ptr(ndr, "usri4_logon_hours", r->usri4_logon_hours);
- ndr->depth++;
- if (r->usri4_logon_hours) {
- ndr_print_uint8(ndr, "usri4_logon_hours", *r->usri4_logon_hours);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "usri4_bad_pw_count", r->usri4_bad_pw_count);
- ndr_print_uint32(ndr, "usri4_num_logons", r->usri4_num_logons);
- ndr_print_string(ndr, "usri4_logon_server", r->usri4_logon_server);
- ndr_print_uint32(ndr, "usri4_country_code", r->usri4_country_code);
- ndr_print_uint32(ndr, "usri4_code_page", r->usri4_code_page);
- ndr_print_ptr(ndr, "usri4_user_sid", r->usri4_user_sid);
- ndr->depth++;
- if (r->usri4_user_sid) {
- ndr_print_domsid(ndr, "usri4_user_sid", r->usri4_user_sid);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "usri4_primary_group_id", r->usri4_primary_group_id);
- ndr_print_string(ndr, "usri4_profile", r->usri4_profile);
- ndr_print_string(ndr, "usri4_home_dir_drive", r->usri4_home_dir_drive);
- ndr_print_uint32(ndr, "usri4_password_expired", r->usri4_password_expired);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_10(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_10 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri10_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri10_comment));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri10_usr_comment));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri10_full_name));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_10(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_10 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri10_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri10_comment));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri10_usr_comment));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri10_full_name));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_10(struct ndr_print *ndr, const char *name, const struct USER_INFO_10 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_10");
- ndr->depth++;
- ndr_print_string(ndr, "usri10_name", r->usri10_name);
- ndr_print_string(ndr, "usri10_comment", r->usri10_comment);
- ndr_print_string(ndr, "usri10_usr_comment", r->usri10_usr_comment);
- ndr_print_string(ndr, "usri10_full_name", r->usri10_full_name);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_11(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_11 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri11_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri11_comment));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri11_usr_comment));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri11_full_name));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_priv));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_auth_flags));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_password_age));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri11_home_dir));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri11_parms));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_last_logon));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_last_logoff));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_bad_pw_count));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_num_logons));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri11_logon_server));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_country_code));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri11_workstations));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_max_storage));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_units_per_week));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->usri11_logon_hours));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri11_code_page));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri11_logon_hours) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->usri11_logon_hours));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_11(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_11 *r)
-{
- uint32_t _ptr_usri11_logon_hours;
- TALLOC_CTX *_mem_save_usri11_logon_hours_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri11_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri11_comment));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri11_usr_comment));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri11_full_name));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_priv));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_auth_flags));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_password_age));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri11_home_dir));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri11_parms));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_last_logon));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_last_logoff));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_bad_pw_count));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_num_logons));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri11_logon_server));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_country_code));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri11_workstations));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_max_storage));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_units_per_week));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_usri11_logon_hours));
- if (_ptr_usri11_logon_hours) {
- NDR_PULL_ALLOC(ndr, r->usri11_logon_hours);
- } else {
- r->usri11_logon_hours = NULL;
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri11_code_page));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri11_logon_hours) {
- _mem_save_usri11_logon_hours_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->usri11_logon_hours, 0);
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, r->usri11_logon_hours));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usri11_logon_hours_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_11(struct ndr_print *ndr, const char *name, const struct USER_INFO_11 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_11");
- ndr->depth++;
- ndr_print_string(ndr, "usri11_name", r->usri11_name);
- ndr_print_string(ndr, "usri11_comment", r->usri11_comment);
- ndr_print_string(ndr, "usri11_usr_comment", r->usri11_usr_comment);
- ndr_print_string(ndr, "usri11_full_name", r->usri11_full_name);
- ndr_print_uint32(ndr, "usri11_priv", r->usri11_priv);
- ndr_print_uint32(ndr, "usri11_auth_flags", r->usri11_auth_flags);
- ndr_print_uint32(ndr, "usri11_password_age", r->usri11_password_age);
- ndr_print_string(ndr, "usri11_home_dir", r->usri11_home_dir);
- ndr_print_string(ndr, "usri11_parms", r->usri11_parms);
- ndr_print_uint32(ndr, "usri11_last_logon", r->usri11_last_logon);
- ndr_print_uint32(ndr, "usri11_last_logoff", r->usri11_last_logoff);
- ndr_print_uint32(ndr, "usri11_bad_pw_count", r->usri11_bad_pw_count);
- ndr_print_uint32(ndr, "usri11_num_logons", r->usri11_num_logons);
- ndr_print_string(ndr, "usri11_logon_server", r->usri11_logon_server);
- ndr_print_uint32(ndr, "usri11_country_code", r->usri11_country_code);
- ndr_print_string(ndr, "usri11_workstations", r->usri11_workstations);
- ndr_print_uint32(ndr, "usri11_max_storage", r->usri11_max_storage);
- ndr_print_uint32(ndr, "usri11_units_per_week", r->usri11_units_per_week);
- ndr_print_ptr(ndr, "usri11_logon_hours", r->usri11_logon_hours);
- ndr->depth++;
- if (r->usri11_logon_hours) {
- ndr_print_uint8(ndr, "usri11_logon_hours", *r->usri11_logon_hours);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "usri11_code_page", r->usri11_code_page);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_20(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_20 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri20_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri20_full_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri20_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri20_flags));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri20_user_id));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_20(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_20 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri20_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri20_full_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri20_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri20_flags));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri20_user_id));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_20(struct ndr_print *ndr, const char *name, const struct USER_INFO_20 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_20");
- ndr->depth++;
- ndr_print_string(ndr, "usri20_name", r->usri20_name);
- ndr_print_string(ndr, "usri20_full_name", r->usri20_full_name);
- ndr_print_string(ndr, "usri20_comment", r->usri20_comment);
- ndr_print_uint32(ndr, "usri20_flags", r->usri20_flags);
- ndr_print_uint32(ndr, "usri20_user_id", r->usri20_user_id);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_21(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_21 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 1));
- NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->usri21_password, ENCRYPTED_PWLEN));
- NDR_CHECK(ndr_push_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_21(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_21 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 1));
- NDR_PULL_ALLOC_N(ndr, r->usri21_password, ENCRYPTED_PWLEN);
- NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->usri21_password, ENCRYPTED_PWLEN));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_21(struct ndr_print *ndr, const char *name, const struct USER_INFO_21 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_21");
- ndr->depth++;
- ndr_print_array_uint8(ndr, "usri21_password", r->usri21_password, ENCRYPTED_PWLEN);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_22(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_22 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri22_name));
- NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->usri22_password, ENCRYPTED_PWLEN));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_password_age));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_priv));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri22_home_dir));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri22_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_flags));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_script_path));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_auth_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri22_full_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri22_usr_comment));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri22_parms));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri22_workstations));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_last_logon));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_last_logoff));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_acct_expires));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_max_storage));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_units_per_week));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->usri22_logon_hours));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_bad_pw_count));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_num_logons));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri22_logon_server));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_country_code));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri22_code_page));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri22_logon_hours) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->usri22_logon_hours));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_22(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_22 *r)
-{
- uint32_t _ptr_usri22_logon_hours;
- TALLOC_CTX *_mem_save_usri22_logon_hours_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri22_name));
- NDR_PULL_ALLOC_N(ndr, r->usri22_password, ENCRYPTED_PWLEN);
- NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->usri22_password, ENCRYPTED_PWLEN));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_password_age));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_priv));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri22_home_dir));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri22_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_flags));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_script_path));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_auth_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri22_full_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri22_usr_comment));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri22_parms));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri22_workstations));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_last_logon));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_last_logoff));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_acct_expires));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_max_storage));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_units_per_week));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_usri22_logon_hours));
- if (_ptr_usri22_logon_hours) {
- NDR_PULL_ALLOC(ndr, r->usri22_logon_hours);
- } else {
- r->usri22_logon_hours = NULL;
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_bad_pw_count));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_num_logons));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri22_logon_server));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_country_code));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_code_page));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri22_logon_hours) {
- _mem_save_usri22_logon_hours_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->usri22_logon_hours, 0);
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, r->usri22_logon_hours));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usri22_logon_hours_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_22(struct ndr_print *ndr, const char *name, const struct USER_INFO_22 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_22");
- ndr->depth++;
- ndr_print_string(ndr, "usri22_name", r->usri22_name);
- ndr_print_array_uint8(ndr, "usri22_password", r->usri22_password, ENCRYPTED_PWLEN);
- ndr_print_uint32(ndr, "usri22_password_age", r->usri22_password_age);
- ndr_print_uint32(ndr, "usri22_priv", r->usri22_priv);
- ndr_print_string(ndr, "usri22_home_dir", r->usri22_home_dir);
- ndr_print_string(ndr, "usri22_comment", r->usri22_comment);
- ndr_print_uint32(ndr, "usri22_flags", r->usri22_flags);
- ndr_print_uint32(ndr, "usri22_script_path", r->usri22_script_path);
- ndr_print_uint32(ndr, "usri22_auth_flags", r->usri22_auth_flags);
- ndr_print_string(ndr, "usri22_full_name", r->usri22_full_name);
- ndr_print_string(ndr, "usri22_usr_comment", r->usri22_usr_comment);
- ndr_print_string(ndr, "usri22_parms", r->usri22_parms);
- ndr_print_string(ndr, "usri22_workstations", r->usri22_workstations);
- ndr_print_uint32(ndr, "usri22_last_logon", r->usri22_last_logon);
- ndr_print_uint32(ndr, "usri22_last_logoff", r->usri22_last_logoff);
- ndr_print_uint32(ndr, "usri22_acct_expires", r->usri22_acct_expires);
- ndr_print_uint32(ndr, "usri22_max_storage", r->usri22_max_storage);
- ndr_print_uint32(ndr, "usri22_units_per_week", r->usri22_units_per_week);
- ndr_print_ptr(ndr, "usri22_logon_hours", r->usri22_logon_hours);
- ndr->depth++;
- if (r->usri22_logon_hours) {
- ndr_print_uint8(ndr, "usri22_logon_hours", *r->usri22_logon_hours);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "usri22_bad_pw_count", r->usri22_bad_pw_count);
- ndr_print_uint32(ndr, "usri22_num_logons", r->usri22_num_logons);
- ndr_print_string(ndr, "usri22_logon_server", r->usri22_logon_server);
- ndr_print_uint32(ndr, "usri22_country_code", r->usri22_country_code);
- ndr_print_uint32(ndr, "usri22_code_page", r->usri22_code_page);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_23(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_23 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri23_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri23_full_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri23_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri23_flags));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->usri23_user_sid));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri23_user_sid) {
- NDR_CHECK(ndr_push_domsid(ndr, NDR_SCALARS, r->usri23_user_sid));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_23(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_23 *r)
-{
- uint32_t _ptr_usri23_user_sid;
- TALLOC_CTX *_mem_save_usri23_user_sid_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri23_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri23_full_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri23_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri23_flags));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_usri23_user_sid));
- if (_ptr_usri23_user_sid) {
- NDR_PULL_ALLOC(ndr, r->usri23_user_sid);
- } else {
- r->usri23_user_sid = NULL;
- }
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri23_user_sid) {
- _mem_save_usri23_user_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->usri23_user_sid, 0);
- NDR_CHECK(ndr_pull_domsid(ndr, NDR_SCALARS, r->usri23_user_sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usri23_user_sid_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_23(struct ndr_print *ndr, const char *name, const struct USER_INFO_23 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_23");
- ndr->depth++;
- ndr_print_string(ndr, "usri23_name", r->usri23_name);
- ndr_print_string(ndr, "usri23_full_name", r->usri23_full_name);
- ndr_print_string(ndr, "usri23_comment", r->usri23_comment);
- ndr_print_uint32(ndr, "usri23_flags", r->usri23_flags);
- ndr_print_ptr(ndr, "usri23_user_sid", r->usri23_user_sid);
- ndr->depth++;
- if (r->usri23_user_sid) {
- ndr_print_domsid(ndr, "usri23_user_sid", r->usri23_user_sid);
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1003(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1003 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1003_password));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1003(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1003 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1003_password));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1003(struct ndr_print *ndr, const char *name, const struct USER_INFO_1003 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1003");
- ndr->depth++;
- ndr_print_string(ndr, "usri1003_password", r->usri1003_password);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1005(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1005 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1005_priv));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1005(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1005 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1005_priv));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1005(struct ndr_print *ndr, const char *name, const struct USER_INFO_1005 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1005");
- ndr->depth++;
- ndr_print_uint32(ndr, "usri1005_priv", r->usri1005_priv);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1006(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1006 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1006_home_dir));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1006(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1006 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1006_home_dir));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1006(struct ndr_print *ndr, const char *name, const struct USER_INFO_1006 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1006");
- ndr->depth++;
- ndr_print_string(ndr, "usri1006_home_dir", r->usri1006_home_dir);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1007(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1007 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1007_comment));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1007(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1007 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1007_comment));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1007(struct ndr_print *ndr, const char *name, const struct USER_INFO_1007 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1007");
- ndr->depth++;
- ndr_print_string(ndr, "usri1007_comment", r->usri1007_comment);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1008(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1008 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1008_flags));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1008(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1008 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1008_flags));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1008(struct ndr_print *ndr, const char *name, const struct USER_INFO_1008 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1008");
- ndr->depth++;
- ndr_print_uint32(ndr, "usri1008_flags", r->usri1008_flags);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1009(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1009 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1009_script_path));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1009(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1009 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1009_script_path));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1009(struct ndr_print *ndr, const char *name, const struct USER_INFO_1009 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1009");
- ndr->depth++;
- ndr_print_string(ndr, "usri1009_script_path", r->usri1009_script_path);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1010(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1010 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1010_auth_flags));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1010(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1010 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1010_auth_flags));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1010(struct ndr_print *ndr, const char *name, const struct USER_INFO_1010 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1010");
- ndr->depth++;
- ndr_print_uint32(ndr, "usri1010_auth_flags", r->usri1010_auth_flags);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1011(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1011 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1011_full_name));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1011(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1011 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1011_full_name));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1011(struct ndr_print *ndr, const char *name, const struct USER_INFO_1011 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1011");
- ndr->depth++;
- ndr_print_string(ndr, "usri1011_full_name", r->usri1011_full_name);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1012(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1012 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1012_usr_comment));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1012(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1012 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1012_usr_comment));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1012(struct ndr_print *ndr, const char *name, const struct USER_INFO_1012 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1012");
- ndr->depth++;
- ndr_print_string(ndr, "usri1012_usr_comment", r->usri1012_usr_comment);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1013(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1013 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1013_parms));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1013(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1013 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1013_parms));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1013(struct ndr_print *ndr, const char *name, const struct USER_INFO_1013 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1013");
- ndr->depth++;
- ndr_print_string(ndr, "usri1013_parms", r->usri1013_parms);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1014(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1014 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1014_workstations));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1014(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1014 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1014_workstations));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1014(struct ndr_print *ndr, const char *name, const struct USER_INFO_1014 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1014");
- ndr->depth++;
- ndr_print_string(ndr, "usri1014_workstations", r->usri1014_workstations);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1017(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1017 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1017_acct_expires));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1017(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1017 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1017_acct_expires));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1017(struct ndr_print *ndr, const char *name, const struct USER_INFO_1017 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1017");
- ndr->depth++;
- ndr_print_uint32(ndr, "usri1017_acct_expires", r->usri1017_acct_expires);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1018(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1018 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1018_max_storage));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1018(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1018 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1018_max_storage));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1018(struct ndr_print *ndr, const char *name, const struct USER_INFO_1018 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1018");
- ndr->depth++;
- ndr_print_uint32(ndr, "usri1018_max_storage", r->usri1018_max_storage);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1020(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1020 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1020_units_per_week));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->usri1020_logon_hours));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri1020_logon_hours) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->usri1020_logon_hours));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1020(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1020 *r)
-{
- uint32_t _ptr_usri1020_logon_hours;
- TALLOC_CTX *_mem_save_usri1020_logon_hours_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1020_units_per_week));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_usri1020_logon_hours));
- if (_ptr_usri1020_logon_hours) {
- NDR_PULL_ALLOC(ndr, r->usri1020_logon_hours);
- } else {
- r->usri1020_logon_hours = NULL;
- }
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usri1020_logon_hours) {
- _mem_save_usri1020_logon_hours_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->usri1020_logon_hours, 0);
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, r->usri1020_logon_hours));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usri1020_logon_hours_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1020(struct ndr_print *ndr, const char *name, const struct USER_INFO_1020 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1020");
- ndr->depth++;
- ndr_print_uint32(ndr, "usri1020_units_per_week", r->usri1020_units_per_week);
- ndr_print_ptr(ndr, "usri1020_logon_hours", r->usri1020_logon_hours);
- ndr->depth++;
- if (r->usri1020_logon_hours) {
- ndr_print_uint8(ndr, "usri1020_logon_hours", *r->usri1020_logon_hours);
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1023(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1023 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1023_logon_server));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1023(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1023 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1023_logon_server));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1023(struct ndr_print *ndr, const char *name, const struct USER_INFO_1023 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1023");
- ndr->depth++;
- ndr_print_string(ndr, "usri1023_logon_server", r->usri1023_logon_server);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1024(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1024 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1024_country_code));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1024(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1024 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1024_country_code));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1024(struct ndr_print *ndr, const char *name, const struct USER_INFO_1024 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1024");
- ndr->depth++;
- ndr_print_uint32(ndr, "usri1024_country_code", r->usri1024_country_code);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1025(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1025 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1025_code_page));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1025(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1025 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1025_code_page));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1025(struct ndr_print *ndr, const char *name, const struct USER_INFO_1025 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1025");
- ndr->depth++;
- ndr_print_uint32(ndr, "usri1025_code_page", r->usri1025_code_page);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1051(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1051 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1051_primary_group_id));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1051(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1051 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1051_primary_group_id));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1051(struct ndr_print *ndr, const char *name, const struct USER_INFO_1051 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1051");
- ndr->depth++;
- ndr_print_uint32(ndr, "usri1051_primary_group_id", r->usri1051_primary_group_id);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1052(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1052 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1052_profile));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1052(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1052 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1052_profile));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1052(struct ndr_print *ndr, const char *name, const struct USER_INFO_1052 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1052");
- ndr->depth++;
- ndr_print_string(ndr, "usri1052_profile", r->usri1052_profile);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_1053(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1053 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1053_home_dir_drive));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_1053(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1053 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1053_home_dir_drive));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_1053(struct ndr_print *ndr, const char *name, const struct USER_INFO_1053 *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_1053");
- ndr->depth++;
- ndr_print_string(ndr, "usri1053_home_dir_drive", r->usri1053_home_dir_drive);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_X(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_X *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_password));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_password_age));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_priv));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_home_dir));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_script_path));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_auth_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_full_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_usr_comment));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_parms));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_workstations));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_last_logon));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_last_logoff));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_acct_expires));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_max_storage));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_units_per_week));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->usriX_logon_hours));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_bad_pw_count));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_num_logons));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_logon_server));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_country_code));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_code_page));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_profile));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usriX_home_dir_drive));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_user_id));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_primary_group_id));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usriX_password_expired));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usriX_logon_hours) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->usriX_logon_hours));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_X(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_X *r)
-{
- uint32_t _ptr_usriX_logon_hours;
- TALLOC_CTX *_mem_save_usriX_logon_hours_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_password));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_password_age));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_priv));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_home_dir));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_script_path));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_auth_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_full_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_usr_comment));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_parms));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_workstations));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_last_logon));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_last_logoff));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_acct_expires));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_max_storage));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_units_per_week));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_usriX_logon_hours));
- if (_ptr_usriX_logon_hours) {
- NDR_PULL_ALLOC(ndr, r->usriX_logon_hours);
- } else {
- r->usriX_logon_hours = NULL;
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_bad_pw_count));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_num_logons));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_logon_server));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_country_code));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_code_page));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_profile));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usriX_home_dir_drive));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_user_id));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_primary_group_id));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usriX_password_expired));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->usriX_logon_hours) {
- _mem_save_usriX_logon_hours_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->usriX_logon_hours, 0);
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, r->usriX_logon_hours));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usriX_logon_hours_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_USER_INFO_X(struct ndr_print *ndr, const char *name, const struct USER_INFO_X *r)
-{
- ndr_print_struct(ndr, name, "USER_INFO_X");
- ndr->depth++;
- ndr_print_string(ndr, "usriX_name", r->usriX_name);
- ndr_print_string(ndr, "usriX_password", r->usriX_password);
- ndr_print_uint32(ndr, "usriX_password_age", r->usriX_password_age);
- ndr_print_uint32(ndr, "usriX_priv", r->usriX_priv);
- ndr_print_string(ndr, "usriX_home_dir", r->usriX_home_dir);
- ndr_print_string(ndr, "usriX_comment", r->usriX_comment);
- ndr_print_uint32(ndr, "usriX_flags", r->usriX_flags);
- ndr_print_string(ndr, "usriX_script_path", r->usriX_script_path);
- ndr_print_uint32(ndr, "usriX_auth_flags", r->usriX_auth_flags);
- ndr_print_string(ndr, "usriX_full_name", r->usriX_full_name);
- ndr_print_string(ndr, "usriX_usr_comment", r->usriX_usr_comment);
- ndr_print_string(ndr, "usriX_parms", r->usriX_parms);
- ndr_print_string(ndr, "usriX_workstations", r->usriX_workstations);
- ndr_print_uint32(ndr, "usriX_last_logon", r->usriX_last_logon);
- ndr_print_uint32(ndr, "usriX_last_logoff", r->usriX_last_logoff);
- ndr_print_uint32(ndr, "usriX_acct_expires", r->usriX_acct_expires);
- ndr_print_uint32(ndr, "usriX_max_storage", r->usriX_max_storage);
- ndr_print_uint32(ndr, "usriX_units_per_week", r->usriX_units_per_week);
- ndr_print_ptr(ndr, "usriX_logon_hours", r->usriX_logon_hours);
- ndr->depth++;
- if (r->usriX_logon_hours) {
- ndr_print_uint8(ndr, "usriX_logon_hours", *r->usriX_logon_hours);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "usriX_bad_pw_count", r->usriX_bad_pw_count);
- ndr_print_uint32(ndr, "usriX_num_logons", r->usriX_num_logons);
- ndr_print_string(ndr, "usriX_logon_server", r->usriX_logon_server);
- ndr_print_uint32(ndr, "usriX_country_code", r->usriX_country_code);
- ndr_print_uint32(ndr, "usriX_code_page", r->usriX_code_page);
- ndr_print_string(ndr, "usriX_profile", r->usriX_profile);
- ndr_print_string(ndr, "usriX_home_dir_drive", r->usriX_home_dir_drive);
- ndr_print_uint32(ndr, "usriX_user_id", r->usriX_user_id);
- ndr_print_uint32(ndr, "usriX_primary_group_id", r->usriX_primary_group_id);
- ndr_print_uint32(ndr, "usriX_password_expired", r->usriX_password_expired);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_GROUP_USERS_INFO_0(struct ndr_push *ndr, int ndr_flags, const struct GROUP_USERS_INFO_0 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->grui0_name));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_GROUP_USERS_INFO_0(struct ndr_pull *ndr, int ndr_flags, struct GROUP_USERS_INFO_0 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->grui0_name));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_GROUP_USERS_INFO_0(struct ndr_print *ndr, const char *name, const struct GROUP_USERS_INFO_0 *r)
-{
- ndr_print_struct(ndr, name, "GROUP_USERS_INFO_0");
- ndr->depth++;
- ndr_print_string(ndr, "grui0_name", r->grui0_name);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_GROUP_USERS_INFO_1(struct ndr_push *ndr, int ndr_flags, const struct GROUP_USERS_INFO_1 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->grui1_name));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->grui1_attributes));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_GROUP_USERS_INFO_1(struct ndr_pull *ndr, int ndr_flags, struct GROUP_USERS_INFO_1 *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->grui1_name));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->grui1_attributes));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_GROUP_USERS_INFO_1(struct ndr_print *ndr, const char *name, const struct GROUP_USERS_INFO_1 *r)
-{
- ndr_print_struct(ndr, name, "GROUP_USERS_INFO_1");
- ndr->depth++;
- ndr_print_string(ndr, "grui1_name", r->grui1_name);
- ndr_print_uint32(ndr, "grui1_attributes", r->grui1_attributes);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_NET_DISPLAY_USER(struct ndr_push *ndr, int ndr_flags, const struct NET_DISPLAY_USER *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1_flags));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri1_full_name));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1_user_id));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri1_next_index));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_NET_DISPLAY_USER(struct ndr_pull *ndr, int ndr_flags, struct NET_DISPLAY_USER *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1_flags));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri1_full_name));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1_user_id));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri1_next_index));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_NET_DISPLAY_USER(struct ndr_print *ndr, const char *name, const struct NET_DISPLAY_USER *r)
-{
- ndr_print_struct(ndr, name, "NET_DISPLAY_USER");
- ndr->depth++;
- ndr_print_string(ndr, "usri1_name", r->usri1_name);
- ndr_print_string(ndr, "usri1_comment", r->usri1_comment);
- ndr_print_uint32(ndr, "usri1_flags", r->usri1_flags);
- ndr_print_string(ndr, "usri1_full_name", r->usri1_full_name);
- ndr_print_uint32(ndr, "usri1_user_id", r->usri1_user_id);
- ndr_print_uint32(ndr, "usri1_next_index", r->usri1_next_index);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_NET_DISPLAY_MACHINE(struct ndr_push *ndr, int ndr_flags, const struct NET_DISPLAY_MACHINE *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->usri2_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_flags));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_user_id));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->usri2_next_index));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_NET_DISPLAY_MACHINE(struct ndr_pull *ndr, int ndr_flags, struct NET_DISPLAY_MACHINE *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri2_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_flags));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_user_id));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri2_next_index));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_NET_DISPLAY_MACHINE(struct ndr_print *ndr, const char *name, const struct NET_DISPLAY_MACHINE *r)
-{
- ndr_print_struct(ndr, name, "NET_DISPLAY_MACHINE");
- ndr->depth++;
- ndr_print_string(ndr, "usri2_name", r->usri2_name);
- ndr_print_string(ndr, "usri2_comment", r->usri2_comment);
- ndr_print_uint32(ndr, "usri2_flags", r->usri2_flags);
- ndr_print_uint32(ndr, "usri2_user_id", r->usri2_user_id);
- ndr_print_uint32(ndr, "usri2_next_index", r->usri2_next_index);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_NET_DISPLAY_GROUP(struct ndr_push *ndr, int ndr_flags, const struct NET_DISPLAY_GROUP *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->grpi3_name));
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->grpi3_comment));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->grpi3_group_id));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->grpi3_attributes));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->grpi3_next_index));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_NET_DISPLAY_GROUP(struct ndr_pull *ndr, int ndr_flags, struct NET_DISPLAY_GROUP *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->grpi3_name));
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->grpi3_comment));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->grpi3_group_id));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->grpi3_attributes));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->grpi3_next_index));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_NET_DISPLAY_GROUP(struct ndr_print *ndr, const char *name, const struct NET_DISPLAY_GROUP *r)
-{
- ndr_print_struct(ndr, name, "NET_DISPLAY_GROUP");
- ndr->depth++;
- ndr_print_string(ndr, "grpi3_name", r->grpi3_name);
- ndr_print_string(ndr, "grpi3_comment", r->grpi3_comment);
- ndr_print_uint32(ndr, "grpi3_group_id", r->grpi3_group_id);
- ndr_print_uint32(ndr, "grpi3_attributes", r->grpi3_attributes);
- ndr_print_uint32(ndr, "grpi3_next_index", r->grpi3_next_index);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_SHARE_INFO_1005_FLAGS(struct ndr_push *ndr, int ndr_flags, uint32_t r)
-{
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r));
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_SHARE_INFO_1005_FLAGS(struct ndr_pull *ndr, int ndr_flags, uint32_t *r)
-{
- uint32_t v;
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &v));
- *r = v;
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SHARE_INFO_1005_FLAGS(struct ndr_print *ndr, const char *name, uint32_t r)
-{
- ndr_print_uint32(ndr, name, r);
- ndr->depth++;
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "SHI1005_FLAGS_DFS", SHI1005_FLAGS_DFS, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "SHI1005_FLAGS_DFS_ROOT", SHI1005_FLAGS_DFS_ROOT, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "CSC_CACHE_MANUAL_REINT", CSC_CACHE_MANUAL_REINT, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "CSC_CACHE_AUTO_REINT", CSC_CACHE_AUTO_REINT, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "CSC_CACHE_VDO", CSC_CACHE_VDO, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "CSC_CACHE_NONE", CSC_CACHE_NONE, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS", SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "SHI1005_FLAGS_FORCE_SHARED_DELETE", SHI1005_FLAGS_FORCE_SHARED_DELETE, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING", SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING, r);
- ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM", SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM, r);
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetJoinDomain(struct ndr_print *ndr, const char *name, int flags, const struct NetJoinDomain *r)
-{
- ndr_print_struct(ndr, name, "NetJoinDomain");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetJoinDomain");
- ndr->depth++;
- ndr_print_ptr(ndr, "server", r->in.server);
- ndr->depth++;
- if (r->in.server) {
- ndr_print_string(ndr, "server", r->in.server);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "domain", r->in.domain);
- ndr->depth++;
- ndr_print_string(ndr, "domain", r->in.domain);
- ndr->depth--;
- ndr_print_ptr(ndr, "account_ou", r->in.account_ou);
- ndr->depth++;
- if (r->in.account_ou) {
- ndr_print_string(ndr, "account_ou", r->in.account_ou);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "account", r->in.account);
- ndr->depth++;
- if (r->in.account) {
- ndr_print_string(ndr, "account", r->in.account);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "password", r->in.password);
- ndr->depth++;
- if (r->in.password) {
- ndr_print_string(ndr, "password", r->in.password);
- }
- ndr->depth--;
- ndr_print_NetJoinFlags(ndr, "join_flags", r->in.join_flags);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetJoinDomain");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUnjoinDomain(struct ndr_print *ndr, const char *name, int flags, const struct NetUnjoinDomain *r)
-{
- ndr_print_struct(ndr, name, "NetUnjoinDomain");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUnjoinDomain");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "account", r->in.account);
- ndr->depth++;
- if (r->in.account) {
- ndr_print_string(ndr, "account", r->in.account);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "password", r->in.password);
- ndr->depth++;
- if (r->in.password) {
- ndr_print_string(ndr, "password", r->in.password);
- }
- ndr->depth--;
- ndr_print_NetJoinFlags(ndr, "unjoin_flags", r->in.unjoin_flags);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUnjoinDomain");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGetJoinInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetGetJoinInformation *r)
-{
- ndr_print_struct(ndr, name, "NetGetJoinInformation");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGetJoinInformation");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGetJoinInformation");
- ndr->depth++;
- ndr_print_ptr(ndr, "name_buffer", r->out.name_buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "name_buffer", *r->out.name_buffer);
- ndr->depth++;
- if (*r->out.name_buffer) {
- ndr_print_string(ndr, "name_buffer", *r->out.name_buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "name_type", r->out.name_type);
- ndr->depth++;
- ndr_print_uint16(ndr, "name_type", *r->out.name_type);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGetJoinableOUs(struct ndr_print *ndr, const char *name, int flags, const struct NetGetJoinableOUs *r)
-{
- ndr_print_struct(ndr, name, "NetGetJoinableOUs");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGetJoinableOUs");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "domain", r->in.domain);
- ndr->depth++;
- ndr_print_string(ndr, "domain", r->in.domain);
- ndr->depth--;
- ndr_print_ptr(ndr, "account", r->in.account);
- ndr->depth++;
- if (r->in.account) {
- ndr_print_string(ndr, "account", r->in.account);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "password", r->in.password);
- ndr->depth++;
- if (r->in.password) {
- ndr_print_string(ndr, "password", r->in.password);
- }
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGetJoinableOUs");
- ndr->depth++;
- ndr_print_ptr(ndr, "ou_count", r->out.ou_count);
- ndr->depth++;
- ndr_print_uint32(ndr, "ou_count", *r->out.ou_count);
- ndr->depth--;
- ndr_print_ptr(ndr, "ous", r->out.ous);
- ndr->depth++;
- ndr_print_ptr(ndr, "ous", *r->out.ous);
- ndr->depth++;
- if (*r->out.ous) {
- ndr_print_ptr(ndr, "ous", **r->out.ous);
- ndr->depth++;
- if (**r->out.ous) {
- ndr_print_string(ndr, "ous", **r->out.ous);
- }
- ndr->depth--;
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetRenameMachineInDomain(struct ndr_print *ndr, const char *name, int flags, const struct NetRenameMachineInDomain *r)
-{
- ndr_print_struct(ndr, name, "NetRenameMachineInDomain");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetRenameMachineInDomain");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "new_machine_name", r->in.new_machine_name);
- ndr_print_string(ndr, "account", r->in.account);
- ndr_print_string(ndr, "password", r->in.password);
- ndr_print_uint32(ndr, "rename_options", r->in.rename_options);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetRenameMachineInDomain");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetServerGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetServerGetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetServerGetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetServerGetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetServerGetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetServerSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetServerSetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetServerSetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetServerSetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetServerSetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_error", r->out.parm_error);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_error", *r->out.parm_error);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGetDCName(struct ndr_print *ndr, const char *name, int flags, const struct NetGetDCName *r)
-{
- ndr_print_struct(ndr, name, "NetGetDCName");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGetDCName");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "domain_name", r->in.domain_name);
- ndr->depth++;
- if (r->in.domain_name) {
- ndr_print_string(ndr, "domain_name", r->in.domain_name);
- }
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGetDCName");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGetAnyDCName(struct ndr_print *ndr, const char *name, int flags, const struct NetGetAnyDCName *r)
-{
- ndr_print_struct(ndr, name, "NetGetAnyDCName");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGetAnyDCName");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "domain_name", r->in.domain_name);
- ndr->depth++;
- if (r->in.domain_name) {
- ndr_print_string(ndr, "domain_name", r->in.domain_name);
- }
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGetAnyDCName");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_DsGetDcName(struct ndr_print *ndr, const char *name, int flags, const struct DsGetDcName *r)
-{
- ndr_print_struct(ndr, name, "DsGetDcName");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "DsGetDcName");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "domain_name", r->in.domain_name);
- ndr->depth++;
- ndr_print_string(ndr, "domain_name", r->in.domain_name);
- ndr->depth--;
- ndr_print_ptr(ndr, "domain_guid", r->in.domain_guid);
- ndr->depth++;
- if (r->in.domain_guid) {
- ndr_print_GUID(ndr, "domain_guid", r->in.domain_guid);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "site_name", r->in.site_name);
- ndr->depth++;
- if (r->in.site_name) {
- ndr_print_string(ndr, "site_name", r->in.site_name);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "flags", r->in.flags);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "DsGetDcName");
- ndr->depth++;
- ndr_print_ptr(ndr, "dc_info", r->out.dc_info);
- ndr->depth++;
- ndr_print_ptr(ndr, "dc_info", *r->out.dc_info);
- ndr->depth++;
- if (*r->out.dc_info) {
- ndr_print_DOMAIN_CONTROLLER_INFO(ndr, "dc_info", *r->out.dc_info);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetUserAdd *r)
-{
- ndr_print_struct(ndr, name, "NetUserAdd");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserAdd");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserAdd");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_error", r->out.parm_error);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_error", *r->out.parm_error);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserDel(struct ndr_print *ndr, const char *name, int flags, const struct NetUserDel *r)
-{
- ndr_print_struct(ndr, name, "NetUserDel");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserDel");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "user_name", r->in.user_name);
- ndr->depth++;
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserDel");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetUserEnum *r)
-{
- ndr_print_struct(ndr, name, "NetUserEnum");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserEnum");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "filter", r->in.filter);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr_print_ptr(ndr, "resume_handle", r->in.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->in.resume_handle);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserEnum");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
- ndr->depth++;
- ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
- ndr->depth--;
- ndr_print_ptr(ndr, "resume_handle", r->out.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->out.resume_handle);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserChangePassword(struct ndr_print *ndr, const char *name, int flags, const struct NetUserChangePassword *r)
-{
- ndr_print_struct(ndr, name, "NetUserChangePassword");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserChangePassword");
- ndr->depth++;
- ndr_print_string(ndr, "domain_name", r->in.domain_name);
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr_print_string(ndr, "old_password", r->in.old_password);
- ndr_print_string(ndr, "new_password", r->in.new_password);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserChangePassword");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetUserGetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserGetInfo");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserGetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetUserSetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserSetInfo");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserSetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserGetGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetGroups *r)
-{
- ndr_print_struct(ndr, name, "NetUserGetGroups");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserGetGroups");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserGetGroups");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
- ndr->depth++;
- ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserSetGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetGroups *r)
-{
- ndr_print_struct(ndr, name, "NetUserSetGroups");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserSetGroups");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr_print_uint32(ndr, "num_entries", r->in.num_entries);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserSetGroups");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserGetLocalGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetLocalGroups *r)
-{
- ndr_print_struct(ndr, name, "NetUserGetLocalGroups");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserGetLocalGroups");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "flags", r->in.flags);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserGetLocalGroups");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
- ndr->depth++;
- ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserModalsGet(struct ndr_print *ndr, const char *name, int flags, const struct NetUserModalsGet *r)
-{
- ndr_print_struct(ndr, name, "NetUserModalsGet");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserModalsGet");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserModalsGet");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetUserModalsSet(struct ndr_print *ndr, const char *name, int flags, const struct NetUserModalsSet *r)
-{
- ndr_print_struct(ndr, name, "NetUserModalsSet");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetUserModalsSet");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetUserModalsSet");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetQueryDisplayInformation *r)
-{
- ndr_print_struct(ndr, name, "NetQueryDisplayInformation");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetQueryDisplayInformation");
- ndr->depth++;
- ndr_print_ptr(ndr, "server_name", r->in.server_name);
- ndr->depth++;
- if (r->in.server_name) {
- ndr_print_string(ndr, "server_name", r->in.server_name);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "idx", r->in.idx);
- ndr_print_uint32(ndr, "entries_requested", r->in.entries_requested);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetQueryDisplayInformation");
- ndr->depth++;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGroupAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupAdd *r)
-{
- ndr_print_struct(ndr, name, "NetGroupAdd");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGroupAdd");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGroupAdd");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDel *r)
-{
- ndr_print_struct(ndr, name, "NetGroupDel");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGroupDel");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGroupDel");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupEnum *r)
-{
- ndr_print_struct(ndr, name, "NetGroupEnum");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGroupEnum");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr_print_ptr(ndr, "resume_handle", r->in.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->in.resume_handle);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGroupEnum");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
- ndr->depth++;
- ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
- ndr->depth--;
- ndr_print_ptr(ndr, "resume_handle", r->out.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->out.resume_handle);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetGroupSetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGroupSetInfo");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGroupSetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupGetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetGroupGetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGroupGetInfo");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGroupGetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGroupAddUser(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupAddUser *r)
-{
- ndr_print_struct(ndr, name, "NetGroupAddUser");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGroupAddUser");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGroupAddUser");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGroupDelUser(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDelUser *r)
-{
- ndr_print_struct(ndr, name, "NetGroupDelUser");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGroupDelUser");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGroupDelUser");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGroupGetUsers(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupGetUsers *r)
-{
- ndr_print_struct(ndr, name, "NetGroupGetUsers");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGroupGetUsers");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr_print_ptr(ndr, "resume_handle", r->in.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->in.resume_handle);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGroupGetUsers");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
- ndr->depth++;
- ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
- ndr->depth--;
- ndr_print_ptr(ndr, "resume_handle", r->out.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->out.resume_handle);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetGroupSetUsers(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetUsers *r)
-{
- ndr_print_struct(ndr, name, "NetGroupSetUsers");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetGroupSetUsers");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr_print_uint32(ndr, "num_entries", r->in.num_entries);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetGroupSetUsers");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetLocalGroupAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupAdd *r)
-{
- ndr_print_struct(ndr, name, "NetLocalGroupAdd");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetLocalGroupAdd");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetLocalGroupAdd");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetLocalGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupDel *r)
-{
- ndr_print_struct(ndr, name, "NetLocalGroupDel");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetLocalGroupDel");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetLocalGroupDel");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetLocalGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupGetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetLocalGroupGetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetLocalGroupGetInfo");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetLocalGroupGetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetLocalGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupSetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetLocalGroupSetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetLocalGroupSetInfo");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetLocalGroupSetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetLocalGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupEnum *r)
-{
- ndr_print_struct(ndr, name, "NetLocalGroupEnum");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetLocalGroupEnum");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr_print_ptr(ndr, "resume_handle", r->in.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->in.resume_handle);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetLocalGroupEnum");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
- ndr->depth++;
- ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
- ndr->depth--;
- ndr_print_ptr(ndr, "resume_handle", r->out.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->out.resume_handle);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetLocalGroupAddMembers(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupAddMembers *r)
-{
- ndr_print_struct(ndr, name, "NetLocalGroupAddMembers");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetLocalGroupAddMembers");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr_print_uint32(ndr, "total_entries", r->in.total_entries);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetLocalGroupAddMembers");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetLocalGroupDelMembers(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupDelMembers *r)
-{
- ndr_print_struct(ndr, name, "NetLocalGroupDelMembers");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetLocalGroupDelMembers");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr_print_uint32(ndr, "total_entries", r->in.total_entries);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetLocalGroupDelMembers");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetLocalGroupGetMembers(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupGetMembers *r)
-{
- ndr_print_struct(ndr, name, "NetLocalGroupGetMembers");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetLocalGroupGetMembers");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "local_group_name", r->in.local_group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr_print_ptr(ndr, "resume_handle", r->in.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->in.resume_handle);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetLocalGroupGetMembers");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
- ndr->depth++;
- ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
- ndr->depth--;
- ndr_print_ptr(ndr, "resume_handle", r->out.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->out.resume_handle);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetLocalGroupSetMembers(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupSetMembers *r)
-{
- ndr_print_struct(ndr, name, "NetLocalGroupSetMembers");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetLocalGroupSetMembers");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "group_name", r->in.group_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr_print_uint32(ndr, "total_entries", r->in.total_entries);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetLocalGroupSetMembers");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetRemoteTOD(struct ndr_print *ndr, const char *name, int flags, const struct NetRemoteTOD *r)
-{
- ndr_print_struct(ndr, name, "NetRemoteTOD");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetRemoteTOD");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetRemoteTOD");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetShareAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetShareAdd *r)
-{
- ndr_print_struct(ndr, name, "NetShareAdd");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetShareAdd");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetShareAdd");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetShareDel(struct ndr_print *ndr, const char *name, int flags, const struct NetShareDel *r)
-{
- ndr_print_struct(ndr, name, "NetShareDel");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetShareDel");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "net_name", r->in.net_name);
- ndr_print_uint32(ndr, "reserved", r->in.reserved);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetShareDel");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetShareEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetShareEnum *r)
-{
- ndr_print_struct(ndr, name, "NetShareEnum");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetShareEnum");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr_print_ptr(ndr, "resume_handle", r->in.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->in.resume_handle);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetShareEnum");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
- ndr->depth++;
- ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
- ndr->depth--;
- ndr_print_ptr(ndr, "resume_handle", r->out.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->out.resume_handle);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetShareGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetShareGetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetShareGetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetShareGetInfo");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "net_name", r->in.net_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetShareGetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetShareSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetShareSetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetShareSetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetShareSetInfo");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "net_name", r->in.net_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_ptr(ndr, "buffer", r->in.buffer);
- ndr->depth++;
- ndr_print_uint8(ndr, "buffer", *r->in.buffer);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetShareSetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
- ndr->depth++;
- ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetFileClose(struct ndr_print *ndr, const char *name, int flags, const struct NetFileClose *r)
-{
- ndr_print_struct(ndr, name, "NetFileClose");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetFileClose");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "fileid", r->in.fileid);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetFileClose");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetFileGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetFileGetInfo *r)
-{
- ndr_print_struct(ndr, name, "NetFileGetInfo");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetFileGetInfo");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "fileid", r->in.fileid);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetFileGetInfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetFileEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetFileEnum *r)
-{
- ndr_print_struct(ndr, name, "NetFileEnum");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetFileEnum");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "base_path", r->in.base_path);
- ndr_print_string(ndr, "user_name", r->in.user_name);
- ndr_print_uint32(ndr, "level", r->in.level);
- ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
- ndr_print_ptr(ndr, "resume_handle", r->in.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->in.resume_handle);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetFileEnum");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
- ndr->depth++;
- ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
- ndr->depth--;
- ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
- ndr->depth++;
- ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
- ndr->depth--;
- ndr_print_ptr(ndr, "resume_handle", r->out.resume_handle);
- ndr->depth++;
- ndr_print_uint32(ndr, "resume_handle", *r->out.resume_handle);
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetShutdownInit(struct ndr_print *ndr, const char *name, int flags, const struct NetShutdownInit *r)
-{
- ndr_print_struct(ndr, name, "NetShutdownInit");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetShutdownInit");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_string(ndr, "message", r->in.message);
- ndr_print_uint32(ndr, "timeout", r->in.timeout);
- ndr_print_uint8(ndr, "force_apps", r->in.force_apps);
- ndr_print_uint8(ndr, "do_reboot", r->in.do_reboot);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetShutdownInit");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_NetShutdownAbort(struct ndr_print *ndr, const char *name, int flags, const struct NetShutdownAbort *r)
-{
- ndr_print_struct(ndr, name, "NetShutdownAbort");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "NetShutdownAbort");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "NetShutdownAbort");
- ndr->depth++;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_I_NetLogonControl(struct ndr_print *ndr, const char *name, int flags, const struct I_NetLogonControl *r)
-{
- ndr_print_struct(ndr, name, "I_NetLogonControl");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "I_NetLogonControl");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "function_code", r->in.function_code);
- ndr_print_uint32(ndr, "query_level", r->in.query_level);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "I_NetLogonControl");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-_PUBLIC_ void ndr_print_I_NetLogonControl2(struct ndr_print *ndr, const char *name, int flags, const struct I_NetLogonControl2 *r)
-{
- ndr_print_struct(ndr, name, "I_NetLogonControl2");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "I_NetLogonControl2");
- ndr->depth++;
- ndr_print_string(ndr, "server_name", r->in.server_name);
- ndr_print_uint32(ndr, "function_code", r->in.function_code);
- ndr_print_uint32(ndr, "query_level", r->in.query_level);
- ndr_print_ptr(ndr, "data", r->in.data);
- ndr->depth++;
- ndr_print_uint8(ndr, "data", *r->in.data);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "I_NetLogonControl2");
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", r->out.buffer);
- ndr->depth++;
- ndr_print_ptr(ndr, "buffer", *r->out.buffer);
- ndr->depth++;
- if (*r->out.buffer) {
- ndr_print_uint8(ndr, "buffer", **r->out.buffer);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h
deleted file mode 100644
index e7825f2edf..0000000000
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ /dev/null
@@ -1,710 +0,0 @@
-/* header auto-generated by pidl */
-
-#include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/libnetapi.h"
-
-#ifndef _HEADER_NDR_libnetapi
-#define _HEADER_NDR_libnetapi
-
-#define NDR_NETJOINDOMAIN (0x00)
-
-#define NDR_NETUNJOINDOMAIN (0x01)
-
-#define NDR_NETGETJOININFORMATION (0x02)
-
-#define NDR_NETGETJOINABLEOUS (0x03)
-
-#define NDR_NETRENAMEMACHINEINDOMAIN (0x04)
-
-#define NDR_NETSERVERGETINFO (0x05)
-
-#define NDR_NETSERVERSETINFO (0x06)
-
-#define NDR_NETGETDCNAME (0x07)
-
-#define NDR_NETGETANYDCNAME (0x08)
-
-#define NDR_DSGETDCNAME (0x09)
-
-#define NDR_NETUSERADD (0x0a)
-
-#define NDR_NETUSERDEL (0x0b)
-
-#define NDR_NETUSERENUM (0x0c)
-
-#define NDR_NETUSERCHANGEPASSWORD (0x0d)
-
-#define NDR_NETUSERGETINFO (0x0e)
-
-#define NDR_NETUSERSETINFO (0x0f)
-
-#define NDR_NETUSERGETGROUPS (0x10)
-
-#define NDR_NETUSERSETGROUPS (0x11)
-
-#define NDR_NETUSERGETLOCALGROUPS (0x12)
-
-#define NDR_NETUSERMODALSGET (0x13)
-
-#define NDR_NETUSERMODALSSET (0x14)
-
-#define NDR_NETQUERYDISPLAYINFORMATION (0x15)
-
-#define NDR_NETGROUPADD (0x16)
-
-#define NDR_NETGROUPDEL (0x17)
-
-#define NDR_NETGROUPENUM (0x18)
-
-#define NDR_NETGROUPSETINFO (0x19)
-
-#define NDR_NETGROUPGETINFO (0x1a)
-
-#define NDR_NETGROUPADDUSER (0x1b)
-
-#define NDR_NETGROUPDELUSER (0x1c)
-
-#define NDR_NETGROUPGETUSERS (0x1d)
-
-#define NDR_NETGROUPSETUSERS (0x1e)
-
-#define NDR_NETLOCALGROUPADD (0x1f)
-
-#define NDR_NETLOCALGROUPDEL (0x20)
-
-#define NDR_NETLOCALGROUPGETINFO (0x21)
-
-#define NDR_NETLOCALGROUPSETINFO (0x22)
-
-#define NDR_NETLOCALGROUPENUM (0x23)
-
-#define NDR_NETLOCALGROUPADDMEMBERS (0x24)
-
-#define NDR_NETLOCALGROUPDELMEMBERS (0x25)
-
-#define NDR_NETLOCALGROUPGETMEMBERS (0x26)
-
-#define NDR_NETLOCALGROUPSETMEMBERS (0x27)
-
-#define NDR_NETREMOTETOD (0x28)
-
-#define NDR_NETSHAREADD (0x29)
-
-#define NDR_NETSHAREDEL (0x2a)
-
-#define NDR_NETSHAREENUM (0x2b)
-
-#define NDR_NETSHAREGETINFO (0x2c)
-
-#define NDR_NETSHARESETINFO (0x2d)
-
-#define NDR_NETFILECLOSE (0x2e)
-
-#define NDR_NETFILEGETINFO (0x2f)
-
-#define NDR_NETFILEENUM (0x30)
-
-#define NDR_NETSHUTDOWNINIT (0x31)
-
-#define NDR_NETSHUTDOWNABORT (0x32)
-
-#define NDR_I_NETLOGONCONTROL (0x33)
-
-#define NDR_I_NETLOGONCONTROL2 (0x34)
-
-#define NDR_LIBNETAPI_CALL_COUNT (53)
-enum ndr_err_code ndr_push_NET_API_STATUS(struct ndr_push *ndr, int ndr_flags, enum NET_API_STATUS r);
-enum ndr_err_code ndr_pull_NET_API_STATUS(struct ndr_pull *ndr, int ndr_flags, enum NET_API_STATUS *r);
-void ndr_print_NET_API_STATUS(struct ndr_print *ndr, const char *name, enum NET_API_STATUS r);
-enum ndr_err_code ndr_push_domsid(struct ndr_push *ndr, int ndr_flags, const struct domsid *r);
-enum ndr_err_code ndr_pull_domsid(struct ndr_pull *ndr, int ndr_flags, struct domsid *r);
-void ndr_print_domsid(struct ndr_print *ndr, const char *name, const struct domsid *r);
-enum ndr_err_code ndr_push_NetJoinFlags(struct ndr_push *ndr, int ndr_flags, uint32_t r);
-enum ndr_err_code ndr_pull_NetJoinFlags(struct ndr_pull *ndr, int ndr_flags, uint32_t *r);
-void ndr_print_NetJoinFlags(struct ndr_print *ndr, const char *name, uint32_t r);
-enum ndr_err_code ndr_push_SERVER_INFO_100(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_100 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_100(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_100 *r);
-void ndr_print_SERVER_INFO_100(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_100 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_101(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_101 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_101(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_101 *r);
-void ndr_print_SERVER_INFO_101(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_101 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_102(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_102 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_102(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_102 *r);
-void ndr_print_SERVER_INFO_102(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_102 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_402(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_402 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_402(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_402 *r);
-void ndr_print_SERVER_INFO_402(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_402 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_403(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_403 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_403(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_403 *r);
-void ndr_print_SERVER_INFO_403(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_403 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_502(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_502 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_502(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_502 *r);
-void ndr_print_SERVER_INFO_502(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_502 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_503(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_503 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_503(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_503 *r);
-void ndr_print_SERVER_INFO_503(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_503 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_599(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_599 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_599(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_599 *r);
-void ndr_print_SERVER_INFO_599(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_599 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_598(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_598 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_598(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_598 *r);
-void ndr_print_SERVER_INFO_598(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_598 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1005(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1005 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1005(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1005 *r);
-void ndr_print_SERVER_INFO_1005(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1005 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1107(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1107 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1107(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1107 *r);
-void ndr_print_SERVER_INFO_1107(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1107 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1010(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1010 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1010(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1010 *r);
-void ndr_print_SERVER_INFO_1010(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1010 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1016(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1016 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1016(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1016 *r);
-void ndr_print_SERVER_INFO_1016(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1016 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1017(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1017 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1017(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1017 *r);
-void ndr_print_SERVER_INFO_1017(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1017 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1018(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1018 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1018(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1018 *r);
-void ndr_print_SERVER_INFO_1018(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1018 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1501(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1501 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1501(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1501 *r);
-void ndr_print_SERVER_INFO_1501(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1501 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1502(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1502 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1502(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1502 *r);
-void ndr_print_SERVER_INFO_1502(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1502 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1503(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1503 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1503(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1503 *r);
-void ndr_print_SERVER_INFO_1503(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1503 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1506(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1506 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1506(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1506 *r);
-void ndr_print_SERVER_INFO_1506(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1506 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1509(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1509 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1509(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1509 *r);
-void ndr_print_SERVER_INFO_1509(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1509 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1510(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1510 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1510(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1510 *r);
-void ndr_print_SERVER_INFO_1510(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1510 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1511(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1511 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1511(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1511 *r);
-void ndr_print_SERVER_INFO_1511(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1511 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1512(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1512 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1512(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1512 *r);
-void ndr_print_SERVER_INFO_1512(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1512 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1513(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1513 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1513(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1513 *r);
-void ndr_print_SERVER_INFO_1513(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1513 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1514(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1514 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1514(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1514 *r);
-void ndr_print_SERVER_INFO_1514(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1514 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1515(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1515 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1515(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1515 *r);
-void ndr_print_SERVER_INFO_1515(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1515 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1516(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1516 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1516(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1516 *r);
-void ndr_print_SERVER_INFO_1516(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1516 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1518(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1518 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1518(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1518 *r);
-void ndr_print_SERVER_INFO_1518(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1518 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1520(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1520 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1520(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1520 *r);
-void ndr_print_SERVER_INFO_1520(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1520 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1521(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1521 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1521(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1521 *r);
-void ndr_print_SERVER_INFO_1521(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1521 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1522(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1522 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1522(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1522 *r);
-void ndr_print_SERVER_INFO_1522(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1522 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1523(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1523 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1523(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1523 *r);
-void ndr_print_SERVER_INFO_1523(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1523 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1524(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1524 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1524(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1524 *r);
-void ndr_print_SERVER_INFO_1524(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1524 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1525(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1525 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1525(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1525 *r);
-void ndr_print_SERVER_INFO_1525(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1525 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1528(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1528 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1528(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1528 *r);
-void ndr_print_SERVER_INFO_1528(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1528 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1529(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1529 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1529(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1529 *r);
-void ndr_print_SERVER_INFO_1529(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1529 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1530(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1530 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1530(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1530 *r);
-void ndr_print_SERVER_INFO_1530(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1530 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1533(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1533 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1533(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1533 *r);
-void ndr_print_SERVER_INFO_1533(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1533 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1534(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1534 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1534(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1534 *r);
-void ndr_print_SERVER_INFO_1534(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1534 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1535(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1535 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1535(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1535 *r);
-void ndr_print_SERVER_INFO_1535(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1535 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1536(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1536 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1536(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1536 *r);
-void ndr_print_SERVER_INFO_1536(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1536 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1537(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1537 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1537(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1537 *r);
-void ndr_print_SERVER_INFO_1537(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1537 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1538(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1538 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1538(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1538 *r);
-void ndr_print_SERVER_INFO_1538(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1538 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1539(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1539 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1539(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1539 *r);
-void ndr_print_SERVER_INFO_1539(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1539 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1540(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1540 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1540(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1540 *r);
-void ndr_print_SERVER_INFO_1540(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1540 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1541(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1541 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1541(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1541 *r);
-void ndr_print_SERVER_INFO_1541(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1541 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1542(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1542 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1542(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1542 *r);
-void ndr_print_SERVER_INFO_1542(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1542 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1543(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1543 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1543(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1543 *r);
-void ndr_print_SERVER_INFO_1543(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1543 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1544(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1544 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1544(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1544 *r);
-void ndr_print_SERVER_INFO_1544(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1544 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1545(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1545 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1545(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1545 *r);
-void ndr_print_SERVER_INFO_1545(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1545 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1546(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1546 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1546(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1546 *r);
-void ndr_print_SERVER_INFO_1546(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1546 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1547(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1547 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1547(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1547 *r);
-void ndr_print_SERVER_INFO_1547(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1547 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1548(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1548 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1548(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1548 *r);
-void ndr_print_SERVER_INFO_1548(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1548 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1549(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1549 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1549(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1549 *r);
-void ndr_print_SERVER_INFO_1549(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1549 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1550(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1550 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1550(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1550 *r);
-void ndr_print_SERVER_INFO_1550(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1550 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1552(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1552 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1552(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1552 *r);
-void ndr_print_SERVER_INFO_1552(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1552 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1553(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1553 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1553(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1553 *r);
-void ndr_print_SERVER_INFO_1553(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1553 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1554(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1554 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1554(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1554 *r);
-void ndr_print_SERVER_INFO_1554(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1554 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1555(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1555 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1555(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1555 *r);
-void ndr_print_SERVER_INFO_1555(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1555 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1556(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1556 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1556(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1556 *r);
-void ndr_print_SERVER_INFO_1556(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1556 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1557(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1557 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1557(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1557 *r);
-void ndr_print_SERVER_INFO_1557(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1557 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1560(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1560 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1560(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1560 *r);
-void ndr_print_SERVER_INFO_1560(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1560 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1561(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1561 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1561(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1561 *r);
-void ndr_print_SERVER_INFO_1561(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1561 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1562(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1562 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1562(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1562 *r);
-void ndr_print_SERVER_INFO_1562(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1562 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1563(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1563 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1563(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1563 *r);
-void ndr_print_SERVER_INFO_1563(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1563 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1564(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1564 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1564(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1564 *r);
-void ndr_print_SERVER_INFO_1564(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1564 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1565(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1565 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1565(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1565 *r);
-void ndr_print_SERVER_INFO_1565(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1565 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1566(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1566 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1566(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1566 *r);
-void ndr_print_SERVER_INFO_1566(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1566 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1567(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1567 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1567(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1567 *r);
-void ndr_print_SERVER_INFO_1567(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1567 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1568(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1568 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1568(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1568 *r);
-void ndr_print_SERVER_INFO_1568(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1568 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1569(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1569 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1569(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1569 *r);
-void ndr_print_SERVER_INFO_1569(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1569 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1570(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1570 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1570(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1570 *r);
-void ndr_print_SERVER_INFO_1570(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1570 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1571(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1571 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1571(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1571 *r);
-void ndr_print_SERVER_INFO_1571(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1571 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1572(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1572 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1572(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1572 *r);
-void ndr_print_SERVER_INFO_1572(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1572 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1573(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1573 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1573(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1573 *r);
-void ndr_print_SERVER_INFO_1573(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1573 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1574(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1574 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1574(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1574 *r);
-void ndr_print_SERVER_INFO_1574(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1574 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1575(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1575 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1575(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1575 *r);
-void ndr_print_SERVER_INFO_1575(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1575 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1576(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1576 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1576(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1576 *r);
-void ndr_print_SERVER_INFO_1576(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1576 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1577(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1577 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1577(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1577 *r);
-void ndr_print_SERVER_INFO_1577(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1577 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1578(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1578 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1578(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1578 *r);
-void ndr_print_SERVER_INFO_1578(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1578 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1579(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1579 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1579(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1579 *r);
-void ndr_print_SERVER_INFO_1579(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1579 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1580(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1580 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1580(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1580 *r);
-void ndr_print_SERVER_INFO_1580(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1580 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1581(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1581 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1581(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1581 *r);
-void ndr_print_SERVER_INFO_1581(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1581 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1582(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1582 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1582(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1582 *r);
-void ndr_print_SERVER_INFO_1582(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1582 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1583(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1583 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1583(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1583 *r);
-void ndr_print_SERVER_INFO_1583(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1583 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1584(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1584 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1584(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1584 *r);
-void ndr_print_SERVER_INFO_1584(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1584 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1585(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1585 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1585(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1585 *r);
-void ndr_print_SERVER_INFO_1585(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1585 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1586(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1586 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1586(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1586 *r);
-void ndr_print_SERVER_INFO_1586(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1586 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1587(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1587 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1587(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1587 *r);
-void ndr_print_SERVER_INFO_1587(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1587 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1588(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1588 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1588(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1588 *r);
-void ndr_print_SERVER_INFO_1588(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1588 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1590(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1590 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1590(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1590 *r);
-void ndr_print_SERVER_INFO_1590(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1590 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1591(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1591 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1591(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1591 *r);
-void ndr_print_SERVER_INFO_1591(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1591 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1592(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1592 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1592(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1592 *r);
-void ndr_print_SERVER_INFO_1592(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1592 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1593(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1593 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1593(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1593 *r);
-void ndr_print_SERVER_INFO_1593(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1593 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1594(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1594 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1594(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1594 *r);
-void ndr_print_SERVER_INFO_1594(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1594 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1595(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1595 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1595(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1595 *r);
-void ndr_print_SERVER_INFO_1595(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1595 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1596(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1596 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1596(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1596 *r);
-void ndr_print_SERVER_INFO_1596(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1596 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1597(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1597 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1597(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1597 *r);
-void ndr_print_SERVER_INFO_1597(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1597 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1598(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1598 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1598(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1598 *r);
-void ndr_print_SERVER_INFO_1598(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1598 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1599(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1599 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1599(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1599 *r);
-void ndr_print_SERVER_INFO_1599(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1599 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1600(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1600 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1600(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1600 *r);
-void ndr_print_SERVER_INFO_1600(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1600 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1601(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1601 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1601(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1601 *r);
-void ndr_print_SERVER_INFO_1601(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1601 *r);
-enum ndr_err_code ndr_push_SERVER_INFO_1602(struct ndr_push *ndr, int ndr_flags, const struct SERVER_INFO_1602 *r);
-enum ndr_err_code ndr_pull_SERVER_INFO_1602(struct ndr_pull *ndr, int ndr_flags, struct SERVER_INFO_1602 *r);
-void ndr_print_SERVER_INFO_1602(struct ndr_print *ndr, const char *name, const struct SERVER_INFO_1602 *r);
-enum ndr_err_code ndr_push_DOMAIN_CONTROLLER_INFO(struct ndr_push *ndr, int ndr_flags, const struct DOMAIN_CONTROLLER_INFO *r);
-enum ndr_err_code ndr_pull_DOMAIN_CONTROLLER_INFO(struct ndr_pull *ndr, int ndr_flags, struct DOMAIN_CONTROLLER_INFO *r);
-void ndr_print_DOMAIN_CONTROLLER_INFO(struct ndr_print *ndr, const char *name, const struct DOMAIN_CONTROLLER_INFO *r);
-enum ndr_err_code ndr_push_USER_INFO_0(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_0 *r);
-enum ndr_err_code ndr_pull_USER_INFO_0(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_0 *r);
-void ndr_print_USER_INFO_0(struct ndr_print *ndr, const char *name, const struct USER_INFO_0 *r);
-enum ndr_err_code ndr_push_USER_INFO_1(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1 *r);
-void ndr_print_USER_INFO_1(struct ndr_print *ndr, const char *name, const struct USER_INFO_1 *r);
-enum ndr_err_code ndr_push_USER_INFO_2(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_2 *r);
-enum ndr_err_code ndr_pull_USER_INFO_2(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_2 *r);
-void ndr_print_USER_INFO_2(struct ndr_print *ndr, const char *name, const struct USER_INFO_2 *r);
-enum ndr_err_code ndr_push_USER_INFO_3(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_3 *r);
-enum ndr_err_code ndr_pull_USER_INFO_3(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_3 *r);
-void ndr_print_USER_INFO_3(struct ndr_print *ndr, const char *name, const struct USER_INFO_3 *r);
-enum ndr_err_code ndr_push_USER_INFO_4(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_4 *r);
-enum ndr_err_code ndr_pull_USER_INFO_4(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_4 *r);
-void ndr_print_USER_INFO_4(struct ndr_print *ndr, const char *name, const struct USER_INFO_4 *r);
-enum ndr_err_code ndr_push_USER_INFO_10(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_10 *r);
-enum ndr_err_code ndr_pull_USER_INFO_10(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_10 *r);
-void ndr_print_USER_INFO_10(struct ndr_print *ndr, const char *name, const struct USER_INFO_10 *r);
-enum ndr_err_code ndr_push_USER_INFO_11(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_11 *r);
-enum ndr_err_code ndr_pull_USER_INFO_11(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_11 *r);
-void ndr_print_USER_INFO_11(struct ndr_print *ndr, const char *name, const struct USER_INFO_11 *r);
-enum ndr_err_code ndr_push_USER_INFO_20(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_20 *r);
-enum ndr_err_code ndr_pull_USER_INFO_20(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_20 *r);
-void ndr_print_USER_INFO_20(struct ndr_print *ndr, const char *name, const struct USER_INFO_20 *r);
-enum ndr_err_code ndr_push_USER_INFO_21(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_21 *r);
-enum ndr_err_code ndr_pull_USER_INFO_21(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_21 *r);
-void ndr_print_USER_INFO_21(struct ndr_print *ndr, const char *name, const struct USER_INFO_21 *r);
-enum ndr_err_code ndr_push_USER_INFO_22(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_22 *r);
-enum ndr_err_code ndr_pull_USER_INFO_22(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_22 *r);
-void ndr_print_USER_INFO_22(struct ndr_print *ndr, const char *name, const struct USER_INFO_22 *r);
-enum ndr_err_code ndr_push_USER_INFO_23(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_23 *r);
-enum ndr_err_code ndr_pull_USER_INFO_23(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_23 *r);
-void ndr_print_USER_INFO_23(struct ndr_print *ndr, const char *name, const struct USER_INFO_23 *r);
-enum ndr_err_code ndr_push_USER_INFO_1003(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1003 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1003(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1003 *r);
-void ndr_print_USER_INFO_1003(struct ndr_print *ndr, const char *name, const struct USER_INFO_1003 *r);
-enum ndr_err_code ndr_push_USER_INFO_1005(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1005 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1005(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1005 *r);
-void ndr_print_USER_INFO_1005(struct ndr_print *ndr, const char *name, const struct USER_INFO_1005 *r);
-enum ndr_err_code ndr_push_USER_INFO_1006(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1006 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1006(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1006 *r);
-void ndr_print_USER_INFO_1006(struct ndr_print *ndr, const char *name, const struct USER_INFO_1006 *r);
-enum ndr_err_code ndr_push_USER_INFO_1007(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1007 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1007(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1007 *r);
-void ndr_print_USER_INFO_1007(struct ndr_print *ndr, const char *name, const struct USER_INFO_1007 *r);
-enum ndr_err_code ndr_push_USER_INFO_1008(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1008 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1008(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1008 *r);
-void ndr_print_USER_INFO_1008(struct ndr_print *ndr, const char *name, const struct USER_INFO_1008 *r);
-enum ndr_err_code ndr_push_USER_INFO_1009(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1009 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1009(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1009 *r);
-void ndr_print_USER_INFO_1009(struct ndr_print *ndr, const char *name, const struct USER_INFO_1009 *r);
-enum ndr_err_code ndr_push_USER_INFO_1010(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1010 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1010(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1010 *r);
-void ndr_print_USER_INFO_1010(struct ndr_print *ndr, const char *name, const struct USER_INFO_1010 *r);
-enum ndr_err_code ndr_push_USER_INFO_1011(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1011 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1011(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1011 *r);
-void ndr_print_USER_INFO_1011(struct ndr_print *ndr, const char *name, const struct USER_INFO_1011 *r);
-enum ndr_err_code ndr_push_USER_INFO_1012(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1012 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1012(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1012 *r);
-void ndr_print_USER_INFO_1012(struct ndr_print *ndr, const char *name, const struct USER_INFO_1012 *r);
-enum ndr_err_code ndr_push_USER_INFO_1013(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1013 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1013(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1013 *r);
-void ndr_print_USER_INFO_1013(struct ndr_print *ndr, const char *name, const struct USER_INFO_1013 *r);
-enum ndr_err_code ndr_push_USER_INFO_1014(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1014 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1014(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1014 *r);
-void ndr_print_USER_INFO_1014(struct ndr_print *ndr, const char *name, const struct USER_INFO_1014 *r);
-enum ndr_err_code ndr_push_USER_INFO_1017(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1017 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1017(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1017 *r);
-void ndr_print_USER_INFO_1017(struct ndr_print *ndr, const char *name, const struct USER_INFO_1017 *r);
-enum ndr_err_code ndr_push_USER_INFO_1018(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1018 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1018(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1018 *r);
-void ndr_print_USER_INFO_1018(struct ndr_print *ndr, const char *name, const struct USER_INFO_1018 *r);
-enum ndr_err_code ndr_push_USER_INFO_1020(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1020 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1020(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1020 *r);
-void ndr_print_USER_INFO_1020(struct ndr_print *ndr, const char *name, const struct USER_INFO_1020 *r);
-enum ndr_err_code ndr_push_USER_INFO_1023(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1023 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1023(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1023 *r);
-void ndr_print_USER_INFO_1023(struct ndr_print *ndr, const char *name, const struct USER_INFO_1023 *r);
-enum ndr_err_code ndr_push_USER_INFO_1024(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1024 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1024(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1024 *r);
-void ndr_print_USER_INFO_1024(struct ndr_print *ndr, const char *name, const struct USER_INFO_1024 *r);
-enum ndr_err_code ndr_push_USER_INFO_1025(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1025 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1025(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1025 *r);
-void ndr_print_USER_INFO_1025(struct ndr_print *ndr, const char *name, const struct USER_INFO_1025 *r);
-enum ndr_err_code ndr_push_USER_INFO_1051(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1051 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1051(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1051 *r);
-void ndr_print_USER_INFO_1051(struct ndr_print *ndr, const char *name, const struct USER_INFO_1051 *r);
-enum ndr_err_code ndr_push_USER_INFO_1052(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1052 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1052(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1052 *r);
-void ndr_print_USER_INFO_1052(struct ndr_print *ndr, const char *name, const struct USER_INFO_1052 *r);
-enum ndr_err_code ndr_push_USER_INFO_1053(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_1053 *r);
-enum ndr_err_code ndr_pull_USER_INFO_1053(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_1053 *r);
-void ndr_print_USER_INFO_1053(struct ndr_print *ndr, const char *name, const struct USER_INFO_1053 *r);
-enum ndr_err_code ndr_push_USER_INFO_X(struct ndr_push *ndr, int ndr_flags, const struct USER_INFO_X *r);
-enum ndr_err_code ndr_pull_USER_INFO_X(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_X *r);
-void ndr_print_USER_INFO_X(struct ndr_print *ndr, const char *name, const struct USER_INFO_X *r);
-enum ndr_err_code ndr_push_GROUP_USERS_INFO_0(struct ndr_push *ndr, int ndr_flags, const struct GROUP_USERS_INFO_0 *r);
-enum ndr_err_code ndr_pull_GROUP_USERS_INFO_0(struct ndr_pull *ndr, int ndr_flags, struct GROUP_USERS_INFO_0 *r);
-void ndr_print_GROUP_USERS_INFO_0(struct ndr_print *ndr, const char *name, const struct GROUP_USERS_INFO_0 *r);
-enum ndr_err_code ndr_push_GROUP_USERS_INFO_1(struct ndr_push *ndr, int ndr_flags, const struct GROUP_USERS_INFO_1 *r);
-enum ndr_err_code ndr_pull_GROUP_USERS_INFO_1(struct ndr_pull *ndr, int ndr_flags, struct GROUP_USERS_INFO_1 *r);
-void ndr_print_GROUP_USERS_INFO_1(struct ndr_print *ndr, const char *name, const struct GROUP_USERS_INFO_1 *r);
-enum ndr_err_code ndr_push_NET_DISPLAY_USER(struct ndr_push *ndr, int ndr_flags, const struct NET_DISPLAY_USER *r);
-enum ndr_err_code ndr_pull_NET_DISPLAY_USER(struct ndr_pull *ndr, int ndr_flags, struct NET_DISPLAY_USER *r);
-void ndr_print_NET_DISPLAY_USER(struct ndr_print *ndr, const char *name, const struct NET_DISPLAY_USER *r);
-enum ndr_err_code ndr_push_NET_DISPLAY_MACHINE(struct ndr_push *ndr, int ndr_flags, const struct NET_DISPLAY_MACHINE *r);
-enum ndr_err_code ndr_pull_NET_DISPLAY_MACHINE(struct ndr_pull *ndr, int ndr_flags, struct NET_DISPLAY_MACHINE *r);
-void ndr_print_NET_DISPLAY_MACHINE(struct ndr_print *ndr, const char *name, const struct NET_DISPLAY_MACHINE *r);
-enum ndr_err_code ndr_push_NET_DISPLAY_GROUP(struct ndr_push *ndr, int ndr_flags, const struct NET_DISPLAY_GROUP *r);
-enum ndr_err_code ndr_pull_NET_DISPLAY_GROUP(struct ndr_pull *ndr, int ndr_flags, struct NET_DISPLAY_GROUP *r);
-void ndr_print_NET_DISPLAY_GROUP(struct ndr_print *ndr, const char *name, const struct NET_DISPLAY_GROUP *r);
-enum ndr_err_code ndr_push_SHARE_INFO_1005_FLAGS(struct ndr_push *ndr, int ndr_flags, uint32_t r);
-enum ndr_err_code ndr_pull_SHARE_INFO_1005_FLAGS(struct ndr_pull *ndr, int ndr_flags, uint32_t *r);
-void ndr_print_SHARE_INFO_1005_FLAGS(struct ndr_print *ndr, const char *name, uint32_t r);
-enum ndr_err_code ndr_push_NetJoinDomain(struct ndr_push *ndr, int flags, const struct NetJoinDomain *r);
-enum ndr_err_code ndr_pull_NetJoinDomain(struct ndr_pull *ndr, int flags, struct NetJoinDomain *r);
-void ndr_print_NetJoinDomain(struct ndr_print *ndr, const char *name, int flags, const struct NetJoinDomain *r);
-enum ndr_err_code ndr_push_NetUnjoinDomain(struct ndr_push *ndr, int flags, const struct NetUnjoinDomain *r);
-enum ndr_err_code ndr_pull_NetUnjoinDomain(struct ndr_pull *ndr, int flags, struct NetUnjoinDomain *r);
-void ndr_print_NetUnjoinDomain(struct ndr_print *ndr, const char *name, int flags, const struct NetUnjoinDomain *r);
-enum ndr_err_code ndr_push_NetGetJoinInformation(struct ndr_push *ndr, int flags, const struct NetGetJoinInformation *r);
-enum ndr_err_code ndr_pull_NetGetJoinInformation(struct ndr_pull *ndr, int flags, struct NetGetJoinInformation *r);
-void ndr_print_NetGetJoinInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetGetJoinInformation *r);
-enum ndr_err_code ndr_push_NetGetJoinableOUs(struct ndr_push *ndr, int flags, const struct NetGetJoinableOUs *r);
-enum ndr_err_code ndr_pull_NetGetJoinableOUs(struct ndr_pull *ndr, int flags, struct NetGetJoinableOUs *r);
-void ndr_print_NetGetJoinableOUs(struct ndr_print *ndr, const char *name, int flags, const struct NetGetJoinableOUs *r);
-enum ndr_err_code ndr_push_NetRenameMachineInDomain(struct ndr_push *ndr, int flags, const struct NetRenameMachineInDomain *r);
-enum ndr_err_code ndr_pull_NetRenameMachineInDomain(struct ndr_pull *ndr, int flags, struct NetRenameMachineInDomain *r);
-void ndr_print_NetRenameMachineInDomain(struct ndr_print *ndr, const char *name, int flags, const struct NetRenameMachineInDomain *r);
-enum ndr_err_code ndr_push_NetServerGetInfo(struct ndr_push *ndr, int flags, const struct NetServerGetInfo *r);
-enum ndr_err_code ndr_pull_NetServerGetInfo(struct ndr_pull *ndr, int flags, struct NetServerGetInfo *r);
-void ndr_print_NetServerGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetServerGetInfo *r);
-enum ndr_err_code ndr_push_NetServerSetInfo(struct ndr_push *ndr, int flags, const struct NetServerSetInfo *r);
-enum ndr_err_code ndr_pull_NetServerSetInfo(struct ndr_pull *ndr, int flags, struct NetServerSetInfo *r);
-void ndr_print_NetServerSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetServerSetInfo *r);
-enum ndr_err_code ndr_push_NetGetDCName(struct ndr_push *ndr, int flags, const struct NetGetDCName *r);
-enum ndr_err_code ndr_pull_NetGetDCName(struct ndr_pull *ndr, int flags, struct NetGetDCName *r);
-void ndr_print_NetGetDCName(struct ndr_print *ndr, const char *name, int flags, const struct NetGetDCName *r);
-enum ndr_err_code ndr_push_NetGetAnyDCName(struct ndr_push *ndr, int flags, const struct NetGetAnyDCName *r);
-enum ndr_err_code ndr_pull_NetGetAnyDCName(struct ndr_pull *ndr, int flags, struct NetGetAnyDCName *r);
-void ndr_print_NetGetAnyDCName(struct ndr_print *ndr, const char *name, int flags, const struct NetGetAnyDCName *r);
-enum ndr_err_code ndr_push_DsGetDcName(struct ndr_push *ndr, int flags, const struct DsGetDcName *r);
-enum ndr_err_code ndr_pull_DsGetDcName(struct ndr_pull *ndr, int flags, struct DsGetDcName *r);
-void ndr_print_DsGetDcName(struct ndr_print *ndr, const char *name, int flags, const struct DsGetDcName *r);
-enum ndr_err_code ndr_push_NetUserAdd(struct ndr_push *ndr, int flags, const struct NetUserAdd *r);
-enum ndr_err_code ndr_pull_NetUserAdd(struct ndr_pull *ndr, int flags, struct NetUserAdd *r);
-void ndr_print_NetUserAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetUserAdd *r);
-enum ndr_err_code ndr_push_NetUserDel(struct ndr_push *ndr, int flags, const struct NetUserDel *r);
-enum ndr_err_code ndr_pull_NetUserDel(struct ndr_pull *ndr, int flags, struct NetUserDel *r);
-void ndr_print_NetUserDel(struct ndr_print *ndr, const char *name, int flags, const struct NetUserDel *r);
-enum ndr_err_code ndr_push_NetUserEnum(struct ndr_push *ndr, int flags, const struct NetUserEnum *r);
-enum ndr_err_code ndr_pull_NetUserEnum(struct ndr_pull *ndr, int flags, struct NetUserEnum *r);
-void ndr_print_NetUserEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetUserEnum *r);
-enum ndr_err_code ndr_push_NetUserChangePassword(struct ndr_push *ndr, int flags, const struct NetUserChangePassword *r);
-enum ndr_err_code ndr_pull_NetUserChangePassword(struct ndr_pull *ndr, int flags, struct NetUserChangePassword *r);
-void ndr_print_NetUserChangePassword(struct ndr_print *ndr, const char *name, int flags, const struct NetUserChangePassword *r);
-enum ndr_err_code ndr_push_NetUserGetInfo(struct ndr_push *ndr, int flags, const struct NetUserGetInfo *r);
-enum ndr_err_code ndr_pull_NetUserGetInfo(struct ndr_pull *ndr, int flags, struct NetUserGetInfo *r);
-void ndr_print_NetUserGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetInfo *r);
-enum ndr_err_code ndr_push_NetUserSetInfo(struct ndr_push *ndr, int flags, const struct NetUserSetInfo *r);
-enum ndr_err_code ndr_pull_NetUserSetInfo(struct ndr_pull *ndr, int flags, struct NetUserSetInfo *r);
-void ndr_print_NetUserSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetInfo *r);
-enum ndr_err_code ndr_push_NetUserGetGroups(struct ndr_push *ndr, int flags, const struct NetUserGetGroups *r);
-enum ndr_err_code ndr_pull_NetUserGetGroups(struct ndr_pull *ndr, int flags, struct NetUserGetGroups *r);
-void ndr_print_NetUserGetGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetGroups *r);
-enum ndr_err_code ndr_push_NetUserSetGroups(struct ndr_push *ndr, int flags, const struct NetUserSetGroups *r);
-enum ndr_err_code ndr_pull_NetUserSetGroups(struct ndr_pull *ndr, int flags, struct NetUserSetGroups *r);
-void ndr_print_NetUserSetGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetGroups *r);
-enum ndr_err_code ndr_push_NetUserGetLocalGroups(struct ndr_push *ndr, int flags, const struct NetUserGetLocalGroups *r);
-enum ndr_err_code ndr_pull_NetUserGetLocalGroups(struct ndr_pull *ndr, int flags, struct NetUserGetLocalGroups *r);
-void ndr_print_NetUserGetLocalGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetLocalGroups *r);
-enum ndr_err_code ndr_push_NetUserModalsGet(struct ndr_push *ndr, int flags, const struct NetUserModalsGet *r);
-enum ndr_err_code ndr_pull_NetUserModalsGet(struct ndr_pull *ndr, int flags, struct NetUserModalsGet *r);
-void ndr_print_NetUserModalsGet(struct ndr_print *ndr, const char *name, int flags, const struct NetUserModalsGet *r);
-enum ndr_err_code ndr_push_NetUserModalsSet(struct ndr_push *ndr, int flags, const struct NetUserModalsSet *r);
-enum ndr_err_code ndr_pull_NetUserModalsSet(struct ndr_pull *ndr, int flags, struct NetUserModalsSet *r);
-void ndr_print_NetUserModalsSet(struct ndr_print *ndr, const char *name, int flags, const struct NetUserModalsSet *r);
-enum ndr_err_code ndr_push_NetQueryDisplayInformation(struct ndr_push *ndr, int flags, const struct NetQueryDisplayInformation *r);
-enum ndr_err_code ndr_pull_NetQueryDisplayInformation(struct ndr_pull *ndr, int flags, struct NetQueryDisplayInformation *r);
-void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetQueryDisplayInformation *r);
-enum ndr_err_code ndr_push_NetGroupAdd(struct ndr_push *ndr, int flags, const struct NetGroupAdd *r);
-enum ndr_err_code ndr_pull_NetGroupAdd(struct ndr_pull *ndr, int flags, struct NetGroupAdd *r);
-void ndr_print_NetGroupAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupAdd *r);
-enum ndr_err_code ndr_push_NetGroupDel(struct ndr_push *ndr, int flags, const struct NetGroupDel *r);
-enum ndr_err_code ndr_pull_NetGroupDel(struct ndr_pull *ndr, int flags, struct NetGroupDel *r);
-void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDel *r);
-enum ndr_err_code ndr_push_NetGroupEnum(struct ndr_push *ndr, int flags, const struct NetGroupEnum *r);
-enum ndr_err_code ndr_pull_NetGroupEnum(struct ndr_pull *ndr, int flags, struct NetGroupEnum *r);
-void ndr_print_NetGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupEnum *r);
-enum ndr_err_code ndr_push_NetGroupSetInfo(struct ndr_push *ndr, int flags, const struct NetGroupSetInfo *r);
-enum ndr_err_code ndr_pull_NetGroupSetInfo(struct ndr_pull *ndr, int flags, struct NetGroupSetInfo *r);
-void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetInfo *r);
-enum ndr_err_code ndr_push_NetGroupGetInfo(struct ndr_push *ndr, int flags, const struct NetGroupGetInfo *r);
-enum ndr_err_code ndr_pull_NetGroupGetInfo(struct ndr_pull *ndr, int flags, struct NetGroupGetInfo *r);
-void ndr_print_NetGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupGetInfo *r);
-enum ndr_err_code ndr_push_NetGroupAddUser(struct ndr_push *ndr, int flags, const struct NetGroupAddUser *r);
-enum ndr_err_code ndr_pull_NetGroupAddUser(struct ndr_pull *ndr, int flags, struct NetGroupAddUser *r);
-void ndr_print_NetGroupAddUser(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupAddUser *r);
-enum ndr_err_code ndr_push_NetGroupDelUser(struct ndr_push *ndr, int flags, const struct NetGroupDelUser *r);
-enum ndr_err_code ndr_pull_NetGroupDelUser(struct ndr_pull *ndr, int flags, struct NetGroupDelUser *r);
-void ndr_print_NetGroupDelUser(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDelUser *r);
-enum ndr_err_code ndr_push_NetGroupGetUsers(struct ndr_push *ndr, int flags, const struct NetGroupGetUsers *r);
-enum ndr_err_code ndr_pull_NetGroupGetUsers(struct ndr_pull *ndr, int flags, struct NetGroupGetUsers *r);
-void ndr_print_NetGroupGetUsers(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupGetUsers *r);
-enum ndr_err_code ndr_push_NetGroupSetUsers(struct ndr_push *ndr, int flags, const struct NetGroupSetUsers *r);
-enum ndr_err_code ndr_pull_NetGroupSetUsers(struct ndr_pull *ndr, int flags, struct NetGroupSetUsers *r);
-void ndr_print_NetGroupSetUsers(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetUsers *r);
-enum ndr_err_code ndr_push_NetLocalGroupAdd(struct ndr_push *ndr, int flags, const struct NetLocalGroupAdd *r);
-enum ndr_err_code ndr_pull_NetLocalGroupAdd(struct ndr_pull *ndr, int flags, struct NetLocalGroupAdd *r);
-void ndr_print_NetLocalGroupAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupAdd *r);
-enum ndr_err_code ndr_push_NetLocalGroupDel(struct ndr_push *ndr, int flags, const struct NetLocalGroupDel *r);
-enum ndr_err_code ndr_pull_NetLocalGroupDel(struct ndr_pull *ndr, int flags, struct NetLocalGroupDel *r);
-void ndr_print_NetLocalGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupDel *r);
-enum ndr_err_code ndr_push_NetLocalGroupGetInfo(struct ndr_push *ndr, int flags, const struct NetLocalGroupGetInfo *r);
-enum ndr_err_code ndr_pull_NetLocalGroupGetInfo(struct ndr_pull *ndr, int flags, struct NetLocalGroupGetInfo *r);
-void ndr_print_NetLocalGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupGetInfo *r);
-enum ndr_err_code ndr_push_NetLocalGroupSetInfo(struct ndr_push *ndr, int flags, const struct NetLocalGroupSetInfo *r);
-enum ndr_err_code ndr_pull_NetLocalGroupSetInfo(struct ndr_pull *ndr, int flags, struct NetLocalGroupSetInfo *r);
-void ndr_print_NetLocalGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupSetInfo *r);
-enum ndr_err_code ndr_push_NetLocalGroupEnum(struct ndr_push *ndr, int flags, const struct NetLocalGroupEnum *r);
-enum ndr_err_code ndr_pull_NetLocalGroupEnum(struct ndr_pull *ndr, int flags, struct NetLocalGroupEnum *r);
-void ndr_print_NetLocalGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupEnum *r);
-enum ndr_err_code ndr_push_NetLocalGroupAddMembers(struct ndr_push *ndr, int flags, const struct NetLocalGroupAddMembers *r);
-enum ndr_err_code ndr_pull_NetLocalGroupAddMembers(struct ndr_pull *ndr, int flags, struct NetLocalGroupAddMembers *r);
-void ndr_print_NetLocalGroupAddMembers(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupAddMembers *r);
-enum ndr_err_code ndr_push_NetLocalGroupDelMembers(struct ndr_push *ndr, int flags, const struct NetLocalGroupDelMembers *r);
-enum ndr_err_code ndr_pull_NetLocalGroupDelMembers(struct ndr_pull *ndr, int flags, struct NetLocalGroupDelMembers *r);
-void ndr_print_NetLocalGroupDelMembers(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupDelMembers *r);
-enum ndr_err_code ndr_push_NetLocalGroupGetMembers(struct ndr_push *ndr, int flags, const struct NetLocalGroupGetMembers *r);
-enum ndr_err_code ndr_pull_NetLocalGroupGetMembers(struct ndr_pull *ndr, int flags, struct NetLocalGroupGetMembers *r);
-void ndr_print_NetLocalGroupGetMembers(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupGetMembers *r);
-enum ndr_err_code ndr_push_NetLocalGroupSetMembers(struct ndr_push *ndr, int flags, const struct NetLocalGroupSetMembers *r);
-enum ndr_err_code ndr_pull_NetLocalGroupSetMembers(struct ndr_pull *ndr, int flags, struct NetLocalGroupSetMembers *r);
-void ndr_print_NetLocalGroupSetMembers(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupSetMembers *r);
-enum ndr_err_code ndr_push_NetRemoteTOD(struct ndr_push *ndr, int flags, const struct NetRemoteTOD *r);
-enum ndr_err_code ndr_pull_NetRemoteTOD(struct ndr_pull *ndr, int flags, struct NetRemoteTOD *r);
-void ndr_print_NetRemoteTOD(struct ndr_print *ndr, const char *name, int flags, const struct NetRemoteTOD *r);
-enum ndr_err_code ndr_push_NetShareAdd(struct ndr_push *ndr, int flags, const struct NetShareAdd *r);
-enum ndr_err_code ndr_pull_NetShareAdd(struct ndr_pull *ndr, int flags, struct NetShareAdd *r);
-void ndr_print_NetShareAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetShareAdd *r);
-enum ndr_err_code ndr_push_NetShareDel(struct ndr_push *ndr, int flags, const struct NetShareDel *r);
-enum ndr_err_code ndr_pull_NetShareDel(struct ndr_pull *ndr, int flags, struct NetShareDel *r);
-void ndr_print_NetShareDel(struct ndr_print *ndr, const char *name, int flags, const struct NetShareDel *r);
-enum ndr_err_code ndr_push_NetShareEnum(struct ndr_push *ndr, int flags, const struct NetShareEnum *r);
-enum ndr_err_code ndr_pull_NetShareEnum(struct ndr_pull *ndr, int flags, struct NetShareEnum *r);
-void ndr_print_NetShareEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetShareEnum *r);
-enum ndr_err_code ndr_push_NetShareGetInfo(struct ndr_push *ndr, int flags, const struct NetShareGetInfo *r);
-enum ndr_err_code ndr_pull_NetShareGetInfo(struct ndr_pull *ndr, int flags, struct NetShareGetInfo *r);
-void ndr_print_NetShareGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetShareGetInfo *r);
-enum ndr_err_code ndr_push_NetShareSetInfo(struct ndr_push *ndr, int flags, const struct NetShareSetInfo *r);
-enum ndr_err_code ndr_pull_NetShareSetInfo(struct ndr_pull *ndr, int flags, struct NetShareSetInfo *r);
-void ndr_print_NetShareSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetShareSetInfo *r);
-enum ndr_err_code ndr_push_NetFileClose(struct ndr_push *ndr, int flags, const struct NetFileClose *r);
-enum ndr_err_code ndr_pull_NetFileClose(struct ndr_pull *ndr, int flags, struct NetFileClose *r);
-void ndr_print_NetFileClose(struct ndr_print *ndr, const char *name, int flags, const struct NetFileClose *r);
-enum ndr_err_code ndr_push_NetFileGetInfo(struct ndr_push *ndr, int flags, const struct NetFileGetInfo *r);
-enum ndr_err_code ndr_pull_NetFileGetInfo(struct ndr_pull *ndr, int flags, struct NetFileGetInfo *r);
-void ndr_print_NetFileGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetFileGetInfo *r);
-enum ndr_err_code ndr_push_NetFileEnum(struct ndr_push *ndr, int flags, const struct NetFileEnum *r);
-enum ndr_err_code ndr_pull_NetFileEnum(struct ndr_pull *ndr, int flags, struct NetFileEnum *r);
-void ndr_print_NetFileEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetFileEnum *r);
-enum ndr_err_code ndr_push_NetShutdownInit(struct ndr_push *ndr, int flags, const struct NetShutdownInit *r);
-enum ndr_err_code ndr_pull_NetShutdownInit(struct ndr_pull *ndr, int flags, struct NetShutdownInit *r);
-void ndr_print_NetShutdownInit(struct ndr_print *ndr, const char *name, int flags, const struct NetShutdownInit *r);
-enum ndr_err_code ndr_push_NetShutdownAbort(struct ndr_push *ndr, int flags, const struct NetShutdownAbort *r);
-enum ndr_err_code ndr_pull_NetShutdownAbort(struct ndr_pull *ndr, int flags, struct NetShutdownAbort *r);
-void ndr_print_NetShutdownAbort(struct ndr_print *ndr, const char *name, int flags, const struct NetShutdownAbort *r);
-enum ndr_err_code ndr_push_I_NetLogonControl(struct ndr_push *ndr, int flags, const struct I_NetLogonControl *r);
-enum ndr_err_code ndr_pull_I_NetLogonControl(struct ndr_pull *ndr, int flags, struct I_NetLogonControl *r);
-void ndr_print_I_NetLogonControl(struct ndr_print *ndr, const char *name, int flags, const struct I_NetLogonControl *r);
-enum ndr_err_code ndr_push_I_NetLogonControl2(struct ndr_push *ndr, int flags, const struct I_NetLogonControl2 *r);
-enum ndr_err_code ndr_pull_I_NetLogonControl2(struct ndr_pull *ndr, int flags, struct I_NetLogonControl2 *r);
-void ndr_print_I_NetLogonControl2(struct ndr_print *ndr, const char *name, int flags, const struct I_NetLogonControl2 *r);
-#endif /* _HEADER_NDR_libnetapi */
diff --git a/source3/librpc/gen_ndr/ndr_messaging.c b/source3/librpc/gen_ndr/ndr_messaging.c
deleted file mode 100644
index 1452630539..0000000000
--- a/source3/librpc/gen_ndr/ndr_messaging.c
+++ /dev/null
@@ -1,277 +0,0 @@
-/* parser auto-generated by pidl */
-
-#include "includes.h"
-#include "librpc/gen_ndr/ndr_messaging.h"
-
-_PUBLIC_ enum ndr_err_code ndr_push_messaging_type(struct ndr_push *ndr, int ndr_flags, enum messaging_type r)
-{
- NDR_CHECK(ndr_push_enum_uint32(ndr, NDR_SCALARS, r));
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_messaging_type(struct ndr_pull *ndr, int ndr_flags, enum messaging_type *r)
-{
- uint32_t v;
- NDR_CHECK(ndr_pull_enum_uint32(ndr, NDR_SCALARS, &v));
- *r = v;
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_messaging_type(struct ndr_print *ndr, const char *name, enum messaging_type r)
-{
- const char *val = NULL;
-
- switch (r) {
- case MSG_DEBUG: val = "MSG_DEBUG"; break;
- case MSG_PING: val = "MSG_PING"; break;
- case MSG_PONG: val = "MSG_PONG"; break;
- case MSG_PROFILE: val = "MSG_PROFILE"; break;
- case MSG_REQ_DEBUGLEVEL: val = "MSG_REQ_DEBUGLEVEL"; break;
- case MSG_DEBUGLEVEL: val = "MSG_DEBUGLEVEL"; break;
- case MSG_REQ_PROFILELEVEL: val = "MSG_REQ_PROFILELEVEL"; break;
- case MSG_PROFILELEVEL: val = "MSG_PROFILELEVEL"; break;
- case MSG_REQ_POOL_USAGE: val = "MSG_REQ_POOL_USAGE"; break;
- case MSG_POOL_USAGE: val = "MSG_POOL_USAGE"; break;
- case MSG_REQ_DMALLOC_MARK: val = "MSG_REQ_DMALLOC_MARK"; break;
- case MSG_REQ_DMALLOC_LOG_CHANGED: val = "MSG_REQ_DMALLOC_LOG_CHANGED"; break;
- case MSG_SHUTDOWN: val = "MSG_SHUTDOWN"; break;
- case MSG_FORCE_ELECTION: val = "MSG_FORCE_ELECTION"; break;
- case MSG_WINS_NEW_ENTRY: val = "MSG_WINS_NEW_ENTRY"; break;
- case MSG_SEND_PACKET: val = "MSG_SEND_PACKET"; break;
- case MSG_PRINTER_NOTIFY: val = "MSG_PRINTER_NOTIFY"; break;
- case MSG_PRINTER_NOTIFY2: val = "MSG_PRINTER_NOTIFY2"; break;
- case MSG_PRINTER_DRVUPGRADE: val = "MSG_PRINTER_DRVUPGRADE"; break;
- case MSG_PRINTERDATA_INIT_RESET: val = "MSG_PRINTERDATA_INIT_RESET"; break;
- case MSG_PRINTER_UPDATE: val = "MSG_PRINTER_UPDATE"; break;
- case MSG_PRINTER_MOD: val = "MSG_PRINTER_MOD"; break;
- case MSG_SMB_CONF_UPDATED: val = "MSG_SMB_CONF_UPDATED"; break;
- case MSG_SMB_FORCE_TDIS: val = "MSG_SMB_FORCE_TDIS"; break;
- case MSG_SMB_SAM_SYNC: val = "MSG_SMB_SAM_SYNC"; break;
- case MSG_SMB_SAM_REPL: val = "MSG_SMB_SAM_REPL"; break;
- case MSG_SMB_UNLOCK: val = "MSG_SMB_UNLOCK"; break;
- case MSG_SMB_BREAK_REQUEST: val = "MSG_SMB_BREAK_REQUEST"; break;
- case MSG_SMB_BREAK_RESPONSE: val = "MSG_SMB_BREAK_RESPONSE"; break;
- case MSG_SMB_ASYNC_LEVEL2_BREAK: val = "MSG_SMB_ASYNC_LEVEL2_BREAK"; break;
- case MSG_SMB_OPEN_RETRY: val = "MSG_SMB_OPEN_RETRY"; break;
- case MSG_SMB_KERNEL_BREAK: val = "MSG_SMB_KERNEL_BREAK"; break;
- case MSG_SMB_FILE_RENAME: val = "MSG_SMB_FILE_RENAME"; break;
- case MSG_SMB_INJECT_FAULT: val = "MSG_SMB_INJECT_FAULT"; break;
- case MSG_SMB_BLOCKING_LOCK_CANCEL: val = "MSG_SMB_BLOCKING_LOCK_CANCEL"; break;
- case MSG_SMB_NOTIFY: val = "MSG_SMB_NOTIFY"; break;
- case MSG_SMB_STAT_CACHE_DELETE: val = "MSG_SMB_STAT_CACHE_DELETE"; break;
- case MSG_PVFS_NOTIFY: val = "MSG_PVFS_NOTIFY"; break;
- case MSG_SMB_BRL_VALIDATE: val = "MSG_SMB_BRL_VALIDATE"; break;
- case MSG_SMB_RELEASE_IP: val = "MSG_SMB_RELEASE_IP"; break;
- case MSG_SMB_CLOSE_FILE: val = "MSG_SMB_CLOSE_FILE"; break;
- case MSG_WINBIND_FINISHED: val = "MSG_WINBIND_FINISHED"; break;
- case MSG_WINBIND_FORGET_STATE: val = "MSG_WINBIND_FORGET_STATE"; break;
- case MSG_WINBIND_ONLINE: val = "MSG_WINBIND_ONLINE"; break;
- case MSG_WINBIND_OFFLINE: val = "MSG_WINBIND_OFFLINE"; break;
- case MSG_WINBIND_ONLINESTATUS: val = "MSG_WINBIND_ONLINESTATUS"; break;
- case MSG_WINBIND_TRY_TO_GO_ONLINE: val = "MSG_WINBIND_TRY_TO_GO_ONLINE"; break;
- case MSG_WINBIND_FAILED_TO_GO_ONLINE: val = "MSG_WINBIND_FAILED_TO_GO_ONLINE"; break;
- case MSG_WINBIND_VALIDATE_CACHE: val = "MSG_WINBIND_VALIDATE_CACHE"; break;
- case MSG_WINBIND_DUMP_DOMAIN_LIST: val = "MSG_WINBIND_DUMP_DOMAIN_LIST"; break;
- case MSG_DUMP_EVENT_LIST: val = "MSG_DUMP_EVENT_LIST"; break;
- case MSG_DBWRAP_TDB2_CHANGES: val = "MSG_DBWRAP_TDB2_CHANGES"; break;
- case MSG_DBWRAP_G_LOCK_RETRY: val = "MSG_DBWRAP_G_LOCK_RETRY"; break;
- }
- ndr_print_enum(ndr, name, "ENUM", val, r);
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_messaging_rec(struct ndr_push *ndr, int ndr_flags, const struct messaging_rec *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->msg_version));
- NDR_CHECK(ndr_push_messaging_type(ndr, NDR_SCALARS, r->msg_type));
- NDR_CHECK(ndr_push_server_id(ndr, NDR_SCALARS, &r->dest));
- NDR_CHECK(ndr_push_server_id(ndr, NDR_SCALARS, &r->src));
- NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->buf));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_push_server_id(ndr, NDR_BUFFERS, &r->dest));
- NDR_CHECK(ndr_push_server_id(ndr, NDR_BUFFERS, &r->src));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_messaging_rec(struct ndr_pull *ndr, int ndr_flags, struct messaging_rec *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->msg_version));
- NDR_CHECK(ndr_pull_messaging_type(ndr, NDR_SCALARS, &r->msg_type));
- NDR_CHECK(ndr_pull_server_id(ndr, NDR_SCALARS, &r->dest));
- NDR_CHECK(ndr_pull_server_id(ndr, NDR_SCALARS, &r->src));
- NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->buf));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_pull_server_id(ndr, NDR_BUFFERS, &r->dest));
- NDR_CHECK(ndr_pull_server_id(ndr, NDR_BUFFERS, &r->src));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_messaging_rec(struct ndr_print *ndr, const char *name, const struct messaging_rec *r)
-{
- ndr_print_struct(ndr, name, "messaging_rec");
- ndr->depth++;
- ndr_print_uint32(ndr, "msg_version", r->msg_version);
- ndr_print_messaging_type(ndr, "msg_type", r->msg_type);
- ndr_print_server_id(ndr, "dest", &r->dest);
- ndr_print_server_id(ndr, "src", &r->src);
- ndr_print_DATA_BLOB(ndr, "buf", r->buf);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_messaging_array(struct ndr_push *ndr, int ndr_flags, const struct messaging_array *r)
-{
- uint32_t cntr_messages_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_messages));
- for (cntr_messages_0 = 0; cntr_messages_0 < r->num_messages; cntr_messages_0++) {
- NDR_CHECK(ndr_push_messaging_rec(ndr, NDR_SCALARS, &r->messages[cntr_messages_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- for (cntr_messages_0 = 0; cntr_messages_0 < r->num_messages; cntr_messages_0++) {
- NDR_CHECK(ndr_push_messaging_rec(ndr, NDR_BUFFERS, &r->messages[cntr_messages_0]));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_messaging_array(struct ndr_pull *ndr, int ndr_flags, struct messaging_array *r)
-{
- uint32_t cntr_messages_0;
- TALLOC_CTX *_mem_save_messages_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_messages));
- NDR_PULL_ALLOC_N(ndr, r->messages, r->num_messages);
- _mem_save_messages_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->messages, 0);
- for (cntr_messages_0 = 0; cntr_messages_0 < r->num_messages; cntr_messages_0++) {
- NDR_CHECK(ndr_pull_messaging_rec(ndr, NDR_SCALARS, &r->messages[cntr_messages_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_messages_0, 0);
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- _mem_save_messages_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->messages, 0);
- for (cntr_messages_0 = 0; cntr_messages_0 < r->num_messages; cntr_messages_0++) {
- NDR_CHECK(ndr_pull_messaging_rec(ndr, NDR_BUFFERS, &r->messages[cntr_messages_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_messages_0, 0);
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_messaging_array(struct ndr_print *ndr, const char *name, const struct messaging_array *r)
-{
- uint32_t cntr_messages_0;
- ndr_print_struct(ndr, name, "messaging_array");
- ndr->depth++;
- ndr_print_uint32(ndr, "num_messages", r->num_messages);
- ndr->print(ndr, "%s: ARRAY(%d)", "messages", (int)r->num_messages);
- ndr->depth++;
- for (cntr_messages_0=0;cntr_messages_0<r->num_messages;cntr_messages_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_messages_0) != -1) {
- ndr_print_messaging_rec(ndr, "messages", &r->messages[cntr_messages_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_dbwrap_tdb2_changes(struct ndr_push *ndr, int ndr_flags, const struct dbwrap_tdb2_changes *r)
-{
- uint32_t cntr_keys_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, "TDB2", 4, sizeof(uint8_t), CH_DOS));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, 1));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->name, ndr_charset_length(r->name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->old_seqnum));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->new_seqnum));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_changes));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_keys));
- for (cntr_keys_0 = 0; cntr_keys_0 < r->num_keys; cntr_keys_0++) {
- NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->keys[cntr_keys_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_dbwrap_tdb2_changes(struct ndr_pull *ndr, int ndr_flags, struct dbwrap_tdb2_changes *r)
-{
- uint32_t cntr_keys_0;
- TALLOC_CTX *_mem_save_keys_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->magic_string, 4, sizeof(uint8_t), CH_DOS));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->magic_version));
- NDR_CHECK(ndr_pull_array_size(ndr, &r->name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->name));
- if (ndr_get_array_length(ndr, &r->name) > ndr_get_array_size(ndr, &r->name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->name), ndr_get_array_length(ndr, &r->name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->name, ndr_get_array_length(ndr, &r->name), sizeof(uint8_t), CH_UTF8));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->old_seqnum));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->new_seqnum));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_changes));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_keys));
- NDR_PULL_ALLOC_N(ndr, r->keys, r->num_keys);
- _mem_save_keys_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->keys, 0);
- for (cntr_keys_0 = 0; cntr_keys_0 < r->num_keys; cntr_keys_0++) {
- NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->keys[cntr_keys_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_keys_0, 0);
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_dbwrap_tdb2_changes(struct ndr_print *ndr, const char *name, const struct dbwrap_tdb2_changes *r)
-{
- uint32_t cntr_keys_0;
- ndr_print_struct(ndr, name, "dbwrap_tdb2_changes");
- ndr->depth++;
- ndr_print_string(ndr, "magic_string", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?"TDB2":r->magic_string);
- ndr_print_uint32(ndr, "magic_version", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?1:r->magic_version);
- ndr_print_string(ndr, "name", r->name);
- ndr_print_uint32(ndr, "old_seqnum", r->old_seqnum);
- ndr_print_uint32(ndr, "new_seqnum", r->new_seqnum);
- ndr_print_uint32(ndr, "num_changes", r->num_changes);
- ndr_print_uint32(ndr, "num_keys", r->num_keys);
- ndr->print(ndr, "%s: ARRAY(%d)", "keys", (int)r->num_keys);
- ndr->depth++;
- for (cntr_keys_0=0;cntr_keys_0<r->num_keys;cntr_keys_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_keys_0) != -1) {
- ndr_print_DATA_BLOB(ndr, "keys", r->keys[cntr_keys_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
diff --git a/source3/librpc/gen_ndr/ndr_messaging.h b/source3/librpc/gen_ndr/ndr_messaging.h
deleted file mode 100644
index 9d0720232d..0000000000
--- a/source3/librpc/gen_ndr/ndr_messaging.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* header auto-generated by pidl */
-
-#include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/messaging.h"
-
-#ifndef _HEADER_NDR_messaging
-#define _HEADER_NDR_messaging
-
-#define NDR_MESSAGING_CALL_COUNT (0)
-enum ndr_err_code ndr_push_messaging_type(struct ndr_push *ndr, int ndr_flags, enum messaging_type r);
-enum ndr_err_code ndr_pull_messaging_type(struct ndr_pull *ndr, int ndr_flags, enum messaging_type *r);
-void ndr_print_messaging_type(struct ndr_print *ndr, const char *name, enum messaging_type r);
-enum ndr_err_code ndr_push_messaging_rec(struct ndr_push *ndr, int ndr_flags, const struct messaging_rec *r);
-enum ndr_err_code ndr_pull_messaging_rec(struct ndr_pull *ndr, int ndr_flags, struct messaging_rec *r);
-void ndr_print_messaging_rec(struct ndr_print *ndr, const char *name, const struct messaging_rec *r);
-enum ndr_err_code ndr_push_messaging_array(struct ndr_push *ndr, int ndr_flags, const struct messaging_array *r);
-enum ndr_err_code ndr_pull_messaging_array(struct ndr_pull *ndr, int ndr_flags, struct messaging_array *r);
-void ndr_print_messaging_array(struct ndr_print *ndr, const char *name, const struct messaging_array *r);
-enum ndr_err_code ndr_push_dbwrap_tdb2_changes(struct ndr_push *ndr, int ndr_flags, const struct dbwrap_tdb2_changes *r);
-enum ndr_err_code ndr_pull_dbwrap_tdb2_changes(struct ndr_pull *ndr, int ndr_flags, struct dbwrap_tdb2_changes *r);
-void ndr_print_dbwrap_tdb2_changes(struct ndr_print *ndr, const char *name, const struct dbwrap_tdb2_changes *r);
-#endif /* _HEADER_NDR_messaging */
diff --git a/source3/librpc/gen_ndr/ndr_notify.c b/source3/librpc/gen_ndr/ndr_notify.c
deleted file mode 100644
index 36f66d1ac4..0000000000
--- a/source3/librpc/gen_ndr/ndr_notify.c
+++ /dev/null
@@ -1,321 +0,0 @@
-/* parser auto-generated by pidl */
-
-#include "includes.h"
-#include "librpc/gen_ndr/ndr_notify.h"
-
-_PUBLIC_ enum ndr_err_code ndr_push_notify_entry(struct ndr_push *ndr, int ndr_flags, const struct notify_entry *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 8));
- NDR_CHECK(ndr_push_server_id(ndr, NDR_SCALARS, &r->server));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->filter));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->subdir_filter));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dir_fd));
- NDR_CHECK(ndr_push_file_id(ndr, NDR_SCALARS, &r->dir_id));
- {
- uint32_t _flags_save_string = ndr->flags;
- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM);
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->path));
- ndr->flags = _flags_save_string;
- }
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->path_len));
- NDR_CHECK(ndr_push_pointer(ndr, NDR_SCALARS, r->private_data));
- NDR_CHECK(ndr_push_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_push_server_id(ndr, NDR_BUFFERS, &r->server));
- NDR_CHECK(ndr_push_file_id(ndr, NDR_BUFFERS, &r->dir_id));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_notify_entry(struct ndr_pull *ndr, int ndr_flags, struct notify_entry *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 8));
- NDR_CHECK(ndr_pull_server_id(ndr, NDR_SCALARS, &r->server));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->filter));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->subdir_filter));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dir_fd));
- NDR_CHECK(ndr_pull_file_id(ndr, NDR_SCALARS, &r->dir_id));
- {
- uint32_t _flags_save_string = ndr->flags;
- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM);
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->path));
- ndr->flags = _flags_save_string;
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->path_len));
- NDR_CHECK(ndr_pull_pointer(ndr, NDR_SCALARS, &r->private_data));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_pull_server_id(ndr, NDR_BUFFERS, &r->server));
- NDR_CHECK(ndr_pull_file_id(ndr, NDR_BUFFERS, &r->dir_id));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_notify_entry(struct ndr_print *ndr, const char *name, const struct notify_entry *r)
-{
- ndr_print_struct(ndr, name, "notify_entry");
- ndr->depth++;
- ndr_print_server_id(ndr, "server", &r->server);
- ndr_print_uint32(ndr, "filter", r->filter);
- ndr_print_uint32(ndr, "subdir_filter", r->subdir_filter);
- ndr_print_uint32(ndr, "dir_fd", r->dir_fd);
- ndr_print_file_id(ndr, "dir_id", &r->dir_id);
- ndr_print_string(ndr, "path", r->path);
- ndr_print_uint32(ndr, "path_len", r->path_len);
- ndr_print_pointer(ndr, "private_data", r->private_data);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_notify_entry_array(struct ndr_push *ndr, int ndr_flags, const struct notify_entry_array *r)
-{
- uint32_t cntr_entries_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 8));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_entries));
- for (cntr_entries_0 = 0; cntr_entries_0 < r->num_entries; cntr_entries_0++) {
- NDR_CHECK(ndr_push_notify_entry(ndr, NDR_SCALARS, &r->entries[cntr_entries_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- for (cntr_entries_0 = 0; cntr_entries_0 < r->num_entries; cntr_entries_0++) {
- NDR_CHECK(ndr_push_notify_entry(ndr, NDR_BUFFERS, &r->entries[cntr_entries_0]));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_notify_entry_array(struct ndr_pull *ndr, int ndr_flags, struct notify_entry_array *r)
-{
- uint32_t cntr_entries_0;
- TALLOC_CTX *_mem_save_entries_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 8));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_entries));
- NDR_PULL_ALLOC_N(ndr, r->entries, r->num_entries);
- _mem_save_entries_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->entries, 0);
- for (cntr_entries_0 = 0; cntr_entries_0 < r->num_entries; cntr_entries_0++) {
- NDR_CHECK(ndr_pull_notify_entry(ndr, NDR_SCALARS, &r->entries[cntr_entries_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_entries_0, 0);
- NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- _mem_save_entries_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->entries, 0);
- for (cntr_entries_0 = 0; cntr_entries_0 < r->num_entries; cntr_entries_0++) {
- NDR_CHECK(ndr_pull_notify_entry(ndr, NDR_BUFFERS, &r->entries[cntr_entries_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_entries_0, 0);
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_notify_entry_array(struct ndr_print *ndr, const char *name, const struct notify_entry_array *r)
-{
- uint32_t cntr_entries_0;
- ndr_print_struct(ndr, name, "notify_entry_array");
- ndr->depth++;
- ndr_print_uint32(ndr, "num_entries", r->num_entries);
- ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->num_entries);
- ndr->depth++;
- for (cntr_entries_0=0;cntr_entries_0<r->num_entries;cntr_entries_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_entries_0) != -1) {
- ndr_print_notify_entry(ndr, "entries", &r->entries[cntr_entries_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_notify_depth(struct ndr_push *ndr, int ndr_flags, const struct notify_depth *r)
-{
- uint32_t cntr_entries_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 8));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->max_mask));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->max_mask_subdir));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_entries));
- for (cntr_entries_0 = 0; cntr_entries_0 < r->num_entries; cntr_entries_0++) {
- NDR_CHECK(ndr_push_notify_entry(ndr, NDR_SCALARS, &r->entries[cntr_entries_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- for (cntr_entries_0 = 0; cntr_entries_0 < r->num_entries; cntr_entries_0++) {
- NDR_CHECK(ndr_push_notify_entry(ndr, NDR_BUFFERS, &r->entries[cntr_entries_0]));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_notify_depth(struct ndr_pull *ndr, int ndr_flags, struct notify_depth *r)
-{
- uint32_t cntr_entries_0;
- TALLOC_CTX *_mem_save_entries_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 8));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->max_mask));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->max_mask_subdir));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_entries));
- NDR_PULL_ALLOC_N(ndr, r->entries, r->num_entries);
- _mem_save_entries_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->entries, 0);
- for (cntr_entries_0 = 0; cntr_entries_0 < r->num_entries; cntr_entries_0++) {
- NDR_CHECK(ndr_pull_notify_entry(ndr, NDR_SCALARS, &r->entries[cntr_entries_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_entries_0, 0);
- NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- _mem_save_entries_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->entries, 0);
- for (cntr_entries_0 = 0; cntr_entries_0 < r->num_entries; cntr_entries_0++) {
- NDR_CHECK(ndr_pull_notify_entry(ndr, NDR_BUFFERS, &r->entries[cntr_entries_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_entries_0, 0);
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_notify_depth(struct ndr_print *ndr, const char *name, const struct notify_depth *r)
-{
- uint32_t cntr_entries_0;
- ndr_print_struct(ndr, name, "notify_depth");
- ndr->depth++;
- ndr_print_uint32(ndr, "max_mask", r->max_mask);
- ndr_print_uint32(ndr, "max_mask_subdir", r->max_mask_subdir);
- ndr_print_uint32(ndr, "num_entries", r->num_entries);
- ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->num_entries);
- ndr->depth++;
- for (cntr_entries_0=0;cntr_entries_0<r->num_entries;cntr_entries_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_entries_0) != -1) {
- ndr_print_notify_entry(ndr, "entries", &r->entries[cntr_entries_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_notify_array(struct ndr_push *ndr, int ndr_flags, const struct notify_array *r)
-{
- uint32_t cntr_depth_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 8));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_depths));
- for (cntr_depth_0 = 0; cntr_depth_0 < r->num_depths; cntr_depth_0++) {
- NDR_CHECK(ndr_push_notify_depth(ndr, NDR_SCALARS, &r->depth[cntr_depth_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- for (cntr_depth_0 = 0; cntr_depth_0 < r->num_depths; cntr_depth_0++) {
- NDR_CHECK(ndr_push_notify_depth(ndr, NDR_BUFFERS, &r->depth[cntr_depth_0]));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_notify_array(struct ndr_pull *ndr, int ndr_flags, struct notify_array *r)
-{
- uint32_t cntr_depth_0;
- TALLOC_CTX *_mem_save_depth_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 8));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_depths));
- NDR_PULL_ALLOC_N(ndr, r->depth, r->num_depths);
- _mem_save_depth_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->depth, 0);
- for (cntr_depth_0 = 0; cntr_depth_0 < r->num_depths; cntr_depth_0++) {
- NDR_CHECK(ndr_pull_notify_depth(ndr, NDR_SCALARS, &r->depth[cntr_depth_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_depth_0, 0);
- NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- _mem_save_depth_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->depth, 0);
- for (cntr_depth_0 = 0; cntr_depth_0 < r->num_depths; cntr_depth_0++) {
- NDR_CHECK(ndr_pull_notify_depth(ndr, NDR_BUFFERS, &r->depth[cntr_depth_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_depth_0, 0);
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_notify_array(struct ndr_print *ndr, const char *name, const struct notify_array *r)
-{
- uint32_t cntr_depth_0;
- ndr_print_struct(ndr, name, "notify_array");
- ndr->depth++;
- ndr_print_uint32(ndr, "num_depths", r->num_depths);
- ndr->print(ndr, "%s: ARRAY(%d)", "depth", (int)r->num_depths);
- ndr->depth++;
- for (cntr_depth_0=0;cntr_depth_0<r->num_depths;cntr_depth_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_depth_0) != -1) {
- ndr_print_notify_depth(ndr, "depth", &r->depth[cntr_depth_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_notify_event(struct ndr_push *ndr, int ndr_flags, const struct notify_event *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 8));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->action));
- {
- uint32_t _flags_save_string = ndr->flags;
- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM);
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->path));
- ndr->flags = _flags_save_string;
- }
- NDR_CHECK(ndr_push_pointer(ndr, NDR_SCALARS, r->private_data));
- NDR_CHECK(ndr_push_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_notify_event(struct ndr_pull *ndr, int ndr_flags, struct notify_event *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 8));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->action));
- {
- uint32_t _flags_save_string = ndr->flags;
- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM);
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->path));
- ndr->flags = _flags_save_string;
- }
- NDR_CHECK(ndr_pull_pointer(ndr, NDR_SCALARS, &r->private_data));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_notify_event(struct ndr_print *ndr, const char *name, const struct notify_event *r)
-{
- ndr_print_struct(ndr, name, "notify_event");
- ndr->depth++;
- ndr_print_uint32(ndr, "action", r->action);
- ndr_print_string(ndr, "path", r->path);
- ndr_print_pointer(ndr, "private_data", r->private_data);
- ndr->depth--;
-}
-
diff --git a/source3/librpc/gen_ndr/ndr_notify.h b/source3/librpc/gen_ndr/ndr_notify.h
deleted file mode 100644
index fa2972dbc6..0000000000
--- a/source3/librpc/gen_ndr/ndr_notify.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* header auto-generated by pidl */
-
-#include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/notify.h"
-
-#ifndef _HEADER_NDR_notify
-#define _HEADER_NDR_notify
-
-#define NDR_NOTIFY_CALL_COUNT (0)
-enum ndr_err_code ndr_push_notify_entry(struct ndr_push *ndr, int ndr_flags, const struct notify_entry *r);
-enum ndr_err_code ndr_pull_notify_entry(struct ndr_pull *ndr, int ndr_flags, struct notify_entry *r);
-void ndr_print_notify_entry(struct ndr_print *ndr, const char *name, const struct notify_entry *r);
-enum ndr_err_code ndr_push_notify_entry_array(struct ndr_push *ndr, int ndr_flags, const struct notify_entry_array *r);
-enum ndr_err_code ndr_pull_notify_entry_array(struct ndr_pull *ndr, int ndr_flags, struct notify_entry_array *r);
-void ndr_print_notify_entry_array(struct ndr_print *ndr, const char *name, const struct notify_entry_array *r);
-void ndr_print_notify_depth(struct ndr_print *ndr, const char *name, const struct notify_depth *r);
-enum ndr_err_code ndr_push_notify_array(struct ndr_push *ndr, int ndr_flags, const struct notify_array *r);
-enum ndr_err_code ndr_pull_notify_array(struct ndr_pull *ndr, int ndr_flags, struct notify_array *r);
-void ndr_print_notify_array(struct ndr_print *ndr, const char *name, const struct notify_array *r);
-enum ndr_err_code ndr_push_notify_event(struct ndr_push *ndr, int ndr_flags, const struct notify_event *r);
-enum ndr_err_code ndr_pull_notify_event(struct ndr_pull *ndr, int ndr_flags, struct notify_event *r);
-void ndr_print_notify_event(struct ndr_print *ndr, const char *name, const struct notify_event *r);
-#endif /* _HEADER_NDR_notify */
diff --git a/source3/librpc/gen_ndr/ndr_perfcount.c b/source3/librpc/gen_ndr/ndr_perfcount.c
deleted file mode 100644
index cd0ca5a0c2..0000000000
--- a/source3/librpc/gen_ndr/ndr_perfcount.c
+++ /dev/null
@@ -1,505 +0,0 @@
-/* parser auto-generated by pidl */
-
-#include "includes.h"
-#include "librpc/gen_ndr/ndr_perfcount.h"
-
-static enum ndr_err_code ndr_push_SYSTEMTIME(struct ndr_push *ndr, int ndr_flags, const struct SYSTEMTIME *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 2));
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->year));
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->month));
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->dayofweek));
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->day));
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->hour));
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->minute));
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->second));
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->milliseconds));
- NDR_CHECK(ndr_push_trailer_align(ndr, 2));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_SYSTEMTIME(struct ndr_pull *ndr, int ndr_flags, struct SYSTEMTIME *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 2));
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->year));
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->month));
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->dayofweek));
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->day));
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->hour));
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->minute));
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->second));
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->milliseconds));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 2));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_SYSTEMTIME(struct ndr_print *ndr, const char *name, const struct SYSTEMTIME *r)
-{
- ndr_print_struct(ndr, name, "SYSTEMTIME");
- ndr->depth++;
- ndr_print_uint16(ndr, "year", r->year);
- ndr_print_uint16(ndr, "month", r->month);
- ndr_print_uint16(ndr, "dayofweek", r->dayofweek);
- ndr_print_uint16(ndr, "day", r->day);
- ndr_print_uint16(ndr, "hour", r->hour);
- ndr_print_uint16(ndr, "minute", r->minute);
- ndr_print_uint16(ndr, "second", r->second);
- ndr_print_uint16(ndr, "milliseconds", r->milliseconds);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_PERF_COUNTER_DEFINITION(struct ndr_push *ndr, int ndr_flags, const struct PERF_COUNTER_DEFINITION *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ByteLength));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->CounterNameTitleIndex));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->CounterNameTitlePointer));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->CounterHelpTitleIndex));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->CounterHelpTitlePointer));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->DefaultScale));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->DetailLevel));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->CounterType));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->CounterSize));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->CounterOffset));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_PERF_COUNTER_DEFINITION(struct ndr_pull *ndr, int ndr_flags, struct PERF_COUNTER_DEFINITION *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ByteLength));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->CounterNameTitleIndex));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->CounterNameTitlePointer));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->CounterHelpTitleIndex));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->CounterHelpTitlePointer));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->DefaultScale));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->DetailLevel));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->CounterType));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->CounterSize));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->CounterOffset));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_PERF_COUNTER_DEFINITION(struct ndr_print *ndr, const char *name, const struct PERF_COUNTER_DEFINITION *r)
-{
- ndr_print_struct(ndr, name, "PERF_COUNTER_DEFINITION");
- ndr->depth++;
- ndr_print_uint32(ndr, "ByteLength", r->ByteLength);
- ndr_print_uint32(ndr, "CounterNameTitleIndex", r->CounterNameTitleIndex);
- ndr_print_uint32(ndr, "CounterNameTitlePointer", r->CounterNameTitlePointer);
- ndr_print_uint32(ndr, "CounterHelpTitleIndex", r->CounterHelpTitleIndex);
- ndr_print_uint32(ndr, "CounterHelpTitlePointer", r->CounterHelpTitlePointer);
- ndr_print_uint32(ndr, "DefaultScale", r->DefaultScale);
- ndr_print_uint32(ndr, "DetailLevel", r->DetailLevel);
- ndr_print_uint32(ndr, "CounterType", r->CounterType);
- ndr_print_uint32(ndr, "CounterSize", r->CounterSize);
- ndr_print_uint32(ndr, "CounterOffset", r->CounterOffset);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_PERF_COUNTER_BLOCK(struct ndr_push *ndr, int ndr_flags, const struct PERF_COUNTER_BLOCK *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ByteLength));
- NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->data, r->ByteLength));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_PERF_COUNTER_BLOCK(struct ndr_pull *ndr, int ndr_flags, struct PERF_COUNTER_BLOCK *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ByteLength));
- NDR_PULL_ALLOC_N(ndr, r->data, r->ByteLength);
- NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->data, r->ByteLength));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_PERF_COUNTER_BLOCK(struct ndr_print *ndr, const char *name, const struct PERF_COUNTER_BLOCK *r)
-{
- ndr_print_struct(ndr, name, "PERF_COUNTER_BLOCK");
- ndr->depth++;
- ndr_print_uint32(ndr, "ByteLength", r->ByteLength);
- ndr_print_array_uint8(ndr, "data", r->data, r->ByteLength);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_PERF_INSTANCE_DEFINITION(struct ndr_push *ndr, int ndr_flags, const struct PERF_INSTANCE_DEFINITION *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ByteLength));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ParentObjectTitleIndex));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ParentObjectTitlePointer));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->UniqueID));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->NameOffset));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->NameLength));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->data));
- NDR_CHECK(ndr_push_PERF_COUNTER_BLOCK(ndr, NDR_SCALARS, &r->counter_data));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->data) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->data));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_PERF_INSTANCE_DEFINITION(struct ndr_pull *ndr, int ndr_flags, struct PERF_INSTANCE_DEFINITION *r)
-{
- uint32_t _ptr_data;
- TALLOC_CTX *_mem_save_data_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ByteLength));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ParentObjectTitleIndex));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ParentObjectTitlePointer));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->UniqueID));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->NameOffset));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->NameLength));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_data));
- if (_ptr_data) {
- NDR_PULL_ALLOC(ndr, r->data);
- } else {
- r->data = NULL;
- }
- NDR_CHECK(ndr_pull_PERF_COUNTER_BLOCK(ndr, NDR_SCALARS, &r->counter_data));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->data) {
- _mem_save_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->data, 0);
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, r->data));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_data_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_PERF_INSTANCE_DEFINITION(struct ndr_print *ndr, const char *name, const struct PERF_INSTANCE_DEFINITION *r)
-{
- ndr_print_struct(ndr, name, "PERF_INSTANCE_DEFINITION");
- ndr->depth++;
- ndr_print_uint32(ndr, "ByteLength", r->ByteLength);
- ndr_print_uint32(ndr, "ParentObjectTitleIndex", r->ParentObjectTitleIndex);
- ndr_print_uint32(ndr, "ParentObjectTitlePointer", r->ParentObjectTitlePointer);
- ndr_print_uint32(ndr, "UniqueID", r->UniqueID);
- ndr_print_uint32(ndr, "NameOffset", r->NameOffset);
- ndr_print_uint32(ndr, "NameLength", r->NameLength);
- ndr_print_ptr(ndr, "data", r->data);
- ndr->depth++;
- if (r->data) {
- ndr_print_uint8(ndr, "data", *r->data);
- }
- ndr->depth--;
- ndr_print_PERF_COUNTER_BLOCK(ndr, "counter_data", &r->counter_data);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_PERF_OBJECT_TYPE(struct ndr_push *ndr, int ndr_flags, const struct PERF_OBJECT_TYPE *r)
-{
- uint32_t cntr_counters_0;
- uint32_t cntr_instances_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 8));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->TotalByteLength));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->DefinitionLength));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->HeaderLength));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ObjectNameTitleIndex));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ObjectNameTitlePointer));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ObjectHelpTitleIndex));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ObjectHelpTitlePointer));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->DetailLevel));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->NumCounters));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->DefaultCounter));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->NumInstances));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->CodePage));
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->PerfTime));
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->PerfFreq));
- for (cntr_counters_0 = 0; cntr_counters_0 < r->NumCounters; cntr_counters_0++) {
- NDR_CHECK(ndr_push_PERF_COUNTER_DEFINITION(ndr, NDR_SCALARS, &r->counters[cntr_counters_0]));
- }
- for (cntr_instances_0 = 0; cntr_instances_0 < r->NumInstances; cntr_instances_0++) {
- NDR_CHECK(ndr_push_PERF_INSTANCE_DEFINITION(ndr, NDR_SCALARS, &r->instances[cntr_instances_0]));
- }
- NDR_CHECK(ndr_push_PERF_COUNTER_BLOCK(ndr, NDR_SCALARS, &r->counter_data));
- NDR_CHECK(ndr_push_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- for (cntr_instances_0 = 0; cntr_instances_0 < r->NumInstances; cntr_instances_0++) {
- NDR_CHECK(ndr_push_PERF_INSTANCE_DEFINITION(ndr, NDR_BUFFERS, &r->instances[cntr_instances_0]));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_PERF_OBJECT_TYPE(struct ndr_pull *ndr, int ndr_flags, struct PERF_OBJECT_TYPE *r)
-{
- uint32_t cntr_counters_0;
- TALLOC_CTX *_mem_save_counters_0;
- uint32_t cntr_instances_0;
- TALLOC_CTX *_mem_save_instances_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 8));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->TotalByteLength));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->DefinitionLength));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->HeaderLength));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ObjectNameTitleIndex));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ObjectNameTitlePointer));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ObjectHelpTitleIndex));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ObjectHelpTitlePointer));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->DetailLevel));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->NumCounters));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->DefaultCounter));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->NumInstances));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->CodePage));
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->PerfTime));
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->PerfFreq));
- NDR_PULL_ALLOC_N(ndr, r->counters, r->NumCounters);
- _mem_save_counters_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->counters, 0);
- for (cntr_counters_0 = 0; cntr_counters_0 < r->NumCounters; cntr_counters_0++) {
- NDR_CHECK(ndr_pull_PERF_COUNTER_DEFINITION(ndr, NDR_SCALARS, &r->counters[cntr_counters_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_counters_0, 0);
- NDR_PULL_ALLOC_N(ndr, r->instances, r->NumInstances);
- _mem_save_instances_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->instances, 0);
- for (cntr_instances_0 = 0; cntr_instances_0 < r->NumInstances; cntr_instances_0++) {
- NDR_CHECK(ndr_pull_PERF_INSTANCE_DEFINITION(ndr, NDR_SCALARS, &r->instances[cntr_instances_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_instances_0, 0);
- NDR_CHECK(ndr_pull_PERF_COUNTER_BLOCK(ndr, NDR_SCALARS, &r->counter_data));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- _mem_save_instances_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->instances, 0);
- for (cntr_instances_0 = 0; cntr_instances_0 < r->NumInstances; cntr_instances_0++) {
- NDR_CHECK(ndr_pull_PERF_INSTANCE_DEFINITION(ndr, NDR_BUFFERS, &r->instances[cntr_instances_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_instances_0, 0);
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_PERF_OBJECT_TYPE(struct ndr_print *ndr, const char *name, const struct PERF_OBJECT_TYPE *r)
-{
- uint32_t cntr_counters_0;
- uint32_t cntr_instances_0;
- ndr_print_struct(ndr, name, "PERF_OBJECT_TYPE");
- ndr->depth++;
- ndr_print_uint32(ndr, "TotalByteLength", r->TotalByteLength);
- ndr_print_uint32(ndr, "DefinitionLength", r->DefinitionLength);
- ndr_print_uint32(ndr, "HeaderLength", r->HeaderLength);
- ndr_print_uint32(ndr, "ObjectNameTitleIndex", r->ObjectNameTitleIndex);
- ndr_print_uint32(ndr, "ObjectNameTitlePointer", r->ObjectNameTitlePointer);
- ndr_print_uint32(ndr, "ObjectHelpTitleIndex", r->ObjectHelpTitleIndex);
- ndr_print_uint32(ndr, "ObjectHelpTitlePointer", r->ObjectHelpTitlePointer);
- ndr_print_uint32(ndr, "DetailLevel", r->DetailLevel);
- ndr_print_uint32(ndr, "NumCounters", r->NumCounters);
- ndr_print_uint32(ndr, "DefaultCounter", r->DefaultCounter);
- ndr_print_uint32(ndr, "NumInstances", r->NumInstances);
- ndr_print_uint32(ndr, "CodePage", r->CodePage);
- ndr_print_hyper(ndr, "PerfTime", r->PerfTime);
- ndr_print_hyper(ndr, "PerfFreq", r->PerfFreq);
- ndr->print(ndr, "%s: ARRAY(%d)", "counters", (int)r->NumCounters);
- ndr->depth++;
- for (cntr_counters_0=0;cntr_counters_0<r->NumCounters;cntr_counters_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_counters_0) != -1) {
- ndr_print_PERF_COUNTER_DEFINITION(ndr, "counters", &r->counters[cntr_counters_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->print(ndr, "%s: ARRAY(%d)", "instances", (int)r->NumInstances);
- ndr->depth++;
- for (cntr_instances_0=0;cntr_instances_0<r->NumInstances;cntr_instances_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_instances_0) != -1) {
- ndr_print_PERF_INSTANCE_DEFINITION(ndr, "instances", &r->instances[cntr_instances_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr_print_PERF_COUNTER_BLOCK(ndr, "counter_data", &r->counter_data);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_PERF_DATA_BLOCK(struct ndr_push *ndr, int ndr_flags, const struct PERF_DATA_BLOCK *r)
-{
- uint32_t cntr_Signature_0;
- uint32_t cntr_objects_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 8));
- for (cntr_Signature_0 = 0; cntr_Signature_0 < 4; cntr_Signature_0++) {
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->Signature[cntr_Signature_0]));
- }
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->LittleEndian));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->Version));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->Revision));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->TotalByteLength));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->HeaderLength));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->NumObjectTypes));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->DefaultObject));
- NDR_CHECK(ndr_push_SYSTEMTIME(ndr, NDR_SCALARS, &r->SystemTime));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->Padding));
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->PerfTime));
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->PerfFreq));
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->PerfTime100nSec));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->SystemNameLength));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->SystemNameOffset));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->data));
- for (cntr_objects_0 = 0; cntr_objects_0 < r->NumObjectTypes; cntr_objects_0++) {
- NDR_CHECK(ndr_push_PERF_OBJECT_TYPE(ndr, NDR_SCALARS, &r->objects[cntr_objects_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->data) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->data));
- }
- for (cntr_objects_0 = 0; cntr_objects_0 < r->NumObjectTypes; cntr_objects_0++) {
- NDR_CHECK(ndr_push_PERF_OBJECT_TYPE(ndr, NDR_BUFFERS, &r->objects[cntr_objects_0]));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_PERF_DATA_BLOCK(struct ndr_pull *ndr, int ndr_flags, struct PERF_DATA_BLOCK *r)
-{
- uint32_t cntr_Signature_0;
- uint32_t _ptr_data;
- TALLOC_CTX *_mem_save_data_0;
- uint32_t cntr_objects_0;
- TALLOC_CTX *_mem_save_objects_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 8));
- for (cntr_Signature_0 = 0; cntr_Signature_0 < 4; cntr_Signature_0++) {
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->Signature[cntr_Signature_0]));
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->LittleEndian));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->Version));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->Revision));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->TotalByteLength));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->HeaderLength));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->NumObjectTypes));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->DefaultObject));
- NDR_CHECK(ndr_pull_SYSTEMTIME(ndr, NDR_SCALARS, &r->SystemTime));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->Padding));
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->PerfTime));
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->PerfFreq));
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->PerfTime100nSec));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->SystemNameLength));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->SystemNameOffset));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_data));
- if (_ptr_data) {
- NDR_PULL_ALLOC(ndr, r->data);
- } else {
- r->data = NULL;
- }
- NDR_PULL_ALLOC_N(ndr, r->objects, r->NumObjectTypes);
- _mem_save_objects_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->objects, 0);
- for (cntr_objects_0 = 0; cntr_objects_0 < r->NumObjectTypes; cntr_objects_0++) {
- NDR_CHECK(ndr_pull_PERF_OBJECT_TYPE(ndr, NDR_SCALARS, &r->objects[cntr_objects_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_objects_0, 0);
- NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->data) {
- _mem_save_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->data, 0);
- NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, r->data));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_data_0, 0);
- }
- _mem_save_objects_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->objects, 0);
- for (cntr_objects_0 = 0; cntr_objects_0 < r->NumObjectTypes; cntr_objects_0++) {
- NDR_CHECK(ndr_pull_PERF_OBJECT_TYPE(ndr, NDR_BUFFERS, &r->objects[cntr_objects_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_objects_0, 0);
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_PERF_DATA_BLOCK(struct ndr_print *ndr, const char *name, const struct PERF_DATA_BLOCK *r)
-{
- uint32_t cntr_Signature_0;
- uint32_t cntr_objects_0;
- ndr_print_struct(ndr, name, "PERF_DATA_BLOCK");
- ndr->depth++;
- ndr->print(ndr, "%s: ARRAY(%d)", "Signature", (int)4);
- ndr->depth++;
- for (cntr_Signature_0=0;cntr_Signature_0<4;cntr_Signature_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_Signature_0) != -1) {
- ndr_print_uint16(ndr, "Signature", r->Signature[cntr_Signature_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "LittleEndian", r->LittleEndian);
- ndr_print_uint32(ndr, "Version", r->Version);
- ndr_print_uint32(ndr, "Revision", r->Revision);
- ndr_print_uint32(ndr, "TotalByteLength", r->TotalByteLength);
- ndr_print_uint32(ndr, "HeaderLength", r->HeaderLength);
- ndr_print_uint32(ndr, "NumObjectTypes", r->NumObjectTypes);
- ndr_print_uint32(ndr, "DefaultObject", r->DefaultObject);
- ndr_print_SYSTEMTIME(ndr, "SystemTime", &r->SystemTime);
- ndr_print_uint32(ndr, "Padding", r->Padding);
- ndr_print_hyper(ndr, "PerfTime", r->PerfTime);
- ndr_print_hyper(ndr, "PerfFreq", r->PerfFreq);
- ndr_print_hyper(ndr, "PerfTime100nSec", r->PerfTime100nSec);
- ndr_print_uint32(ndr, "SystemNameLength", r->SystemNameLength);
- ndr_print_uint32(ndr, "SystemNameOffset", r->SystemNameOffset);
- ndr_print_ptr(ndr, "data", r->data);
- ndr->depth++;
- if (r->data) {
- ndr_print_uint8(ndr, "data", *r->data);
- }
- ndr->depth--;
- ndr->print(ndr, "%s: ARRAY(%d)", "objects", (int)r->NumObjectTypes);
- ndr->depth++;
- for (cntr_objects_0=0;cntr_objects_0<r->NumObjectTypes;cntr_objects_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_objects_0) != -1) {
- ndr_print_PERF_OBJECT_TYPE(ndr, "objects", &r->objects[cntr_objects_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
diff --git a/source3/librpc/gen_ndr/ndr_perfcount.h b/source3/librpc/gen_ndr/ndr_perfcount.h
deleted file mode 100644
index 8697bf08d2..0000000000
--- a/source3/librpc/gen_ndr/ndr_perfcount.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* header auto-generated by pidl */
-
-#include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/perfcount.h"
-
-#ifndef _HEADER_NDR_perfcount
-#define _HEADER_NDR_perfcount
-
-#define NDR_PERFCOUNT_CALL_COUNT (0)
-void ndr_print_SYSTEMTIME(struct ndr_print *ndr, const char *name, const struct SYSTEMTIME *r);
-enum ndr_err_code ndr_push_PERF_COUNTER_DEFINITION(struct ndr_push *ndr, int ndr_flags, const struct PERF_COUNTER_DEFINITION *r);
-enum ndr_err_code ndr_pull_PERF_COUNTER_DEFINITION(struct ndr_pull *ndr, int ndr_flags, struct PERF_COUNTER_DEFINITION *r);
-void ndr_print_PERF_COUNTER_DEFINITION(struct ndr_print *ndr, const char *name, const struct PERF_COUNTER_DEFINITION *r);
-enum ndr_err_code ndr_push_PERF_COUNTER_BLOCK(struct ndr_push *ndr, int ndr_flags, const struct PERF_COUNTER_BLOCK *r);
-enum ndr_err_code ndr_pull_PERF_COUNTER_BLOCK(struct ndr_pull *ndr, int ndr_flags, struct PERF_COUNTER_BLOCK *r);
-void ndr_print_PERF_COUNTER_BLOCK(struct ndr_print *ndr, const char *name, const struct PERF_COUNTER_BLOCK *r);
-enum ndr_err_code ndr_push_PERF_INSTANCE_DEFINITION(struct ndr_push *ndr, int ndr_flags, const struct PERF_INSTANCE_DEFINITION *r);
-enum ndr_err_code ndr_pull_PERF_INSTANCE_DEFINITION(struct ndr_pull *ndr, int ndr_flags, struct PERF_INSTANCE_DEFINITION *r);
-void ndr_print_PERF_INSTANCE_DEFINITION(struct ndr_print *ndr, const char *name, const struct PERF_INSTANCE_DEFINITION *r);
-enum ndr_err_code ndr_push_PERF_OBJECT_TYPE(struct ndr_push *ndr, int ndr_flags, const struct PERF_OBJECT_TYPE *r);
-enum ndr_err_code ndr_pull_PERF_OBJECT_TYPE(struct ndr_pull *ndr, int ndr_flags, struct PERF_OBJECT_TYPE *r);
-void ndr_print_PERF_OBJECT_TYPE(struct ndr_print *ndr, const char *name, const struct PERF_OBJECT_TYPE *r);
-enum ndr_err_code ndr_push_PERF_DATA_BLOCK(struct ndr_push *ndr, int ndr_flags, const struct PERF_DATA_BLOCK *r);
-enum ndr_err_code ndr_pull_PERF_DATA_BLOCK(struct ndr_pull *ndr, int ndr_flags, struct PERF_DATA_BLOCK *r);
-void ndr_print_PERF_DATA_BLOCK(struct ndr_print *ndr, const char *name, const struct PERF_DATA_BLOCK *r);
-#endif /* _HEADER_NDR_perfcount */
diff --git a/source3/librpc/gen_ndr/ndr_secrets.c b/source3/librpc/gen_ndr/ndr_secrets.c
deleted file mode 100644
index f9b61454f6..0000000000
--- a/source3/librpc/gen_ndr/ndr_secrets.c
+++ /dev/null
@@ -1,79 +0,0 @@
-/* parser auto-generated by pidl */
-
-#include "includes.h"
-#include "librpc/gen_ndr/ndr_secrets.h"
-
-_PUBLIC_ enum ndr_err_code ndr_push_TRUSTED_DOM_PASS(struct ndr_push *ndr, int ndr_flags, const struct TRUSTED_DOM_PASS *r)
-{
- {
- uint32_t _flags_save_STRUCT = ndr->flags;
- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, strlen_m_term(r->uni_name)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->uni_name, 32, sizeof(uint16_t), CH_UTF16));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, strlen(r->pass)));
- {
- uint32_t _flags_save_string = ndr->flags;
- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM);
- NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->pass));
- ndr->flags = _flags_save_string;
- }
- NDR_CHECK(ndr_push_time_t(ndr, NDR_SCALARS, r->mod_time));
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, &r->domain_sid));
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_BUFFERS, &r->domain_sid));
- }
- ndr->flags = _flags_save_STRUCT;
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_TRUSTED_DOM_PASS(struct ndr_pull *ndr, int ndr_flags, struct TRUSTED_DOM_PASS *r)
-{
- {
- uint32_t _flags_save_STRUCT = ndr->flags;
- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->uni_name_len));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->uni_name, 32, sizeof(uint16_t), CH_UTF16));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->pass_len));
- {
- uint32_t _flags_save_string = ndr->flags;
- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM);
- NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->pass));
- ndr->flags = _flags_save_string;
- }
- NDR_CHECK(ndr_pull_time_t(ndr, NDR_SCALARS, &r->mod_time));
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, &r->domain_sid));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_BUFFERS, &r->domain_sid));
- }
- ndr->flags = _flags_save_STRUCT;
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_TRUSTED_DOM_PASS(struct ndr_print *ndr, const char *name, const struct TRUSTED_DOM_PASS *r)
-{
- ndr_print_struct(ndr, name, "TRUSTED_DOM_PASS");
- {
- uint32_t _flags_save_STRUCT = ndr->flags;
- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
- ndr->depth++;
- ndr_print_uint32(ndr, "uni_name_len", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m_term(r->uni_name):r->uni_name_len);
- ndr_print_string(ndr, "uni_name", r->uni_name);
- ndr_print_uint32(ndr, "pass_len", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen(r->pass):r->pass_len);
- ndr_print_string(ndr, "pass", r->pass);
- ndr_print_time_t(ndr, "mod_time", r->mod_time);
- ndr_print_dom_sid(ndr, "domain_sid", &r->domain_sid);
- ndr->depth--;
- ndr->flags = _flags_save_STRUCT;
- }
-}
-
diff --git a/source3/librpc/gen_ndr/ndr_secrets.h b/source3/librpc/gen_ndr/ndr_secrets.h
deleted file mode 100644
index eef5ef494e..0000000000
--- a/source3/librpc/gen_ndr/ndr_secrets.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* header auto-generated by pidl */
-
-#include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/secrets.h"
-
-#ifndef _HEADER_NDR_secrets
-#define _HEADER_NDR_secrets
-
-#define NDR_SECRETS_CALL_COUNT (0)
-enum ndr_err_code ndr_push_TRUSTED_DOM_PASS(struct ndr_push *ndr, int ndr_flags, const struct TRUSTED_DOM_PASS *r);
-enum ndr_err_code ndr_pull_TRUSTED_DOM_PASS(struct ndr_pull *ndr, int ndr_flags, struct TRUSTED_DOM_PASS *r);
-void ndr_print_TRUSTED_DOM_PASS(struct ndr_print *ndr, const char *name, const struct TRUSTED_DOM_PASS *r);
-#endif /* _HEADER_NDR_secrets */
diff --git a/source3/librpc/gen_ndr/ndr_wbint.c b/source3/librpc/gen_ndr/ndr_wbint.c
deleted file mode 100644
index 50f781cc20..0000000000
--- a/source3/librpc/gen_ndr/ndr_wbint.c
+++ /dev/null
@@ -1,2676 +0,0 @@
-/* parser auto-generated by pidl */
-
-#include "includes.h"
-#include "librpc/gen_ndr/ndr_wbint.h"
-
-#include "librpc/gen_ndr/ndr_lsa.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
-_PUBLIC_ enum ndr_err_code ndr_push_wbint_userinfo(struct ndr_push *ndr, int ndr_flags, const struct wbint_userinfo *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 8));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->acct_name));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->full_name));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->homedir));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->shell));
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->primary_gid));
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, &r->user_sid));
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, &r->group_sid));
- NDR_CHECK(ndr_push_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->acct_name) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->acct_name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->acct_name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->acct_name, ndr_charset_length(r->acct_name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- if (r->full_name) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->full_name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->full_name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->full_name, ndr_charset_length(r->full_name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- if (r->homedir) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->homedir, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->homedir, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->homedir, ndr_charset_length(r->homedir, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- if (r->shell) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->shell, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->shell, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->shell, ndr_charset_length(r->shell, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_wbint_userinfo(struct ndr_pull *ndr, int ndr_flags, struct wbint_userinfo *r)
-{
- uint32_t _ptr_acct_name;
- TALLOC_CTX *_mem_save_acct_name_0;
- uint32_t _ptr_full_name;
- TALLOC_CTX *_mem_save_full_name_0;
- uint32_t _ptr_homedir;
- TALLOC_CTX *_mem_save_homedir_0;
- uint32_t _ptr_shell;
- TALLOC_CTX *_mem_save_shell_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 8));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_acct_name));
- if (_ptr_acct_name) {
- NDR_PULL_ALLOC(ndr, r->acct_name);
- } else {
- r->acct_name = NULL;
- }
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_full_name));
- if (_ptr_full_name) {
- NDR_PULL_ALLOC(ndr, r->full_name);
- } else {
- r->full_name = NULL;
- }
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_homedir));
- if (_ptr_homedir) {
- NDR_PULL_ALLOC(ndr, r->homedir);
- } else {
- r->homedir = NULL;
- }
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_shell));
- if (_ptr_shell) {
- NDR_PULL_ALLOC(ndr, r->shell);
- } else {
- r->shell = NULL;
- }
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->primary_gid));
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, &r->user_sid));
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, &r->group_sid));
- NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->acct_name) {
- _mem_save_acct_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->acct_name, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->acct_name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->acct_name));
- if (ndr_get_array_length(ndr, &r->acct_name) > ndr_get_array_size(ndr, &r->acct_name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->acct_name), ndr_get_array_length(ndr, &r->acct_name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->acct_name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->acct_name, ndr_get_array_length(ndr, &r->acct_name), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_acct_name_0, 0);
- }
- if (r->full_name) {
- _mem_save_full_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->full_name, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->full_name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->full_name));
- if (ndr_get_array_length(ndr, &r->full_name) > ndr_get_array_size(ndr, &r->full_name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->full_name), ndr_get_array_length(ndr, &r->full_name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->full_name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->full_name, ndr_get_array_length(ndr, &r->full_name), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_full_name_0, 0);
- }
- if (r->homedir) {
- _mem_save_homedir_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->homedir, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->homedir));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->homedir));
- if (ndr_get_array_length(ndr, &r->homedir) > ndr_get_array_size(ndr, &r->homedir)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->homedir), ndr_get_array_length(ndr, &r->homedir));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->homedir), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->homedir, ndr_get_array_length(ndr, &r->homedir), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_homedir_0, 0);
- }
- if (r->shell) {
- _mem_save_shell_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->shell, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->shell));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->shell));
- if (ndr_get_array_length(ndr, &r->shell) > ndr_get_array_size(ndr, &r->shell)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->shell), ndr_get_array_length(ndr, &r->shell));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->shell), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->shell, ndr_get_array_length(ndr, &r->shell), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_shell_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_userinfo(struct ndr_print *ndr, const char *name, const struct wbint_userinfo *r)
-{
- ndr_print_struct(ndr, name, "wbint_userinfo");
- ndr->depth++;
- ndr_print_ptr(ndr, "acct_name", r->acct_name);
- ndr->depth++;
- if (r->acct_name) {
- ndr_print_string(ndr, "acct_name", r->acct_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "full_name", r->full_name);
- ndr->depth++;
- if (r->full_name) {
- ndr_print_string(ndr, "full_name", r->full_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "homedir", r->homedir);
- ndr->depth++;
- if (r->homedir) {
- ndr_print_string(ndr, "homedir", r->homedir);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "shell", r->shell);
- ndr->depth++;
- if (r->shell) {
- ndr_print_string(ndr, "shell", r->shell);
- }
- ndr->depth--;
- ndr_print_hyper(ndr, "primary_gid", r->primary_gid);
- ndr_print_dom_sid(ndr, "user_sid", &r->user_sid);
- ndr_print_dom_sid(ndr, "group_sid", &r->group_sid);
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_wbint_SidArray(struct ndr_push *ndr, int ndr_flags, const struct wbint_SidArray *r)
-{
- uint32_t cntr_sids_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->num_sids));
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_sids));
- for (cntr_sids_0 = 0; cntr_sids_0 < r->num_sids; cntr_sids_0++) {
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, &r->sids[cntr_sids_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_wbint_SidArray(struct ndr_pull *ndr, int ndr_flags, struct wbint_SidArray *r)
-{
- uint32_t cntr_sids_0;
- TALLOC_CTX *_mem_save_sids_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_array_size(ndr, &r->sids));
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_sids));
- NDR_PULL_ALLOC_N(ndr, r->sids, ndr_get_array_size(ndr, &r->sids));
- _mem_save_sids_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->sids, 0);
- for (cntr_sids_0 = 0; cntr_sids_0 < r->num_sids; cntr_sids_0++) {
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, &r->sids[cntr_sids_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sids_0, 0);
- if (r->sids) {
- NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->sids, r->num_sids));
- }
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_SidArray(struct ndr_print *ndr, const char *name, const struct wbint_SidArray *r)
-{
- uint32_t cntr_sids_0;
- ndr_print_struct(ndr, name, "wbint_SidArray");
- ndr->depth++;
- ndr_print_uint32(ndr, "num_sids", r->num_sids);
- ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->num_sids);
- ndr->depth++;
- for (cntr_sids_0=0;cntr_sids_0<r->num_sids;cntr_sids_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_sids_0) != -1) {
- ndr_print_dom_sid(ndr, "sids", &r->sids[cntr_sids_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_wbint_RidArray(struct ndr_push *ndr, int ndr_flags, const struct wbint_RidArray *r)
-{
- uint32_t cntr_rids_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->num_rids));
- NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_rids));
- for (cntr_rids_0 = 0; cntr_rids_0 < r->num_rids; cntr_rids_0++) {
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->rids[cntr_rids_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_wbint_RidArray(struct ndr_pull *ndr, int ndr_flags, struct wbint_RidArray *r)
-{
- uint32_t cntr_rids_0;
- TALLOC_CTX *_mem_save_rids_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_array_size(ndr, &r->rids));
- NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_rids));
- NDR_PULL_ALLOC_N(ndr, r->rids, ndr_get_array_size(ndr, &r->rids));
- _mem_save_rids_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->rids, 0);
- for (cntr_rids_0 = 0; cntr_rids_0 < r->num_rids; cntr_rids_0++) {
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->rids[cntr_rids_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rids_0, 0);
- if (r->rids) {
- NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->rids, r->num_rids));
- }
- NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
- }
- if (ndr_flags & NDR_BUFFERS) {
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_RidArray(struct ndr_print *ndr, const char *name, const struct wbint_RidArray *r)
-{
- uint32_t cntr_rids_0;
- ndr_print_struct(ndr, name, "wbint_RidArray");
- ndr->depth++;
- ndr_print_uint32(ndr, "num_rids", r->num_rids);
- ndr->print(ndr, "%s: ARRAY(%d)", "rids", (int)r->num_rids);
- ndr->depth++;
- for (cntr_rids_0=0;cntr_rids_0<r->num_rids;cntr_rids_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_rids_0) != -1) {
- ndr_print_uint32(ndr, "rids", r->rids[cntr_rids_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_wbint_Principal(struct ndr_push *ndr, int ndr_flags, const struct wbint_Principal *r)
-{
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, &r->sid));
- NDR_CHECK(ndr_push_lsa_SidType(ndr, NDR_SCALARS, r->type));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->name));
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->name) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->name, ndr_charset_length(r->name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_wbint_Principal(struct ndr_pull *ndr, int ndr_flags, struct wbint_Principal *r)
-{
- uint32_t _ptr_name;
- TALLOC_CTX *_mem_save_name_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, &r->sid));
- NDR_CHECK(ndr_pull_lsa_SidType(ndr, NDR_SCALARS, &r->type));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_name));
- if (_ptr_name) {
- NDR_PULL_ALLOC(ndr, r->name);
- } else {
- r->name = NULL;
- }
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- if (r->name) {
- _mem_save_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->name, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->name));
- if (ndr_get_array_length(ndr, &r->name) > ndr_get_array_size(ndr, &r->name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->name), ndr_get_array_length(ndr, &r->name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->name, ndr_get_array_length(ndr, &r->name), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_name_0, 0);
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_Principal(struct ndr_print *ndr, const char *name, const struct wbint_Principal *r)
-{
- ndr_print_struct(ndr, name, "wbint_Principal");
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", &r->sid);
- ndr_print_lsa_SidType(ndr, "type", r->type);
- ndr_print_ptr(ndr, "name", r->name);
- ndr->depth++;
- if (r->name) {
- ndr_print_string(ndr, "name", r->name);
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_wbint_Principals(struct ndr_push *ndr, int ndr_flags, const struct wbint_Principals *r)
-{
- uint32_t cntr_principals_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->num_principals));
- NDR_CHECK(ndr_push_align(ndr, 5));
- NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->num_principals));
- for (cntr_principals_0 = 0; cntr_principals_0 < r->num_principals; cntr_principals_0++) {
- NDR_CHECK(ndr_push_wbint_Principal(ndr, NDR_SCALARS, &r->principals[cntr_principals_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- for (cntr_principals_0 = 0; cntr_principals_0 < r->num_principals; cntr_principals_0++) {
- NDR_CHECK(ndr_push_wbint_Principal(ndr, NDR_BUFFERS, &r->principals[cntr_principals_0]));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_wbint_Principals(struct ndr_pull *ndr, int ndr_flags, struct wbint_Principals *r)
-{
- uint32_t cntr_principals_0;
- TALLOC_CTX *_mem_save_principals_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_array_size(ndr, &r->principals));
- NDR_CHECK(ndr_pull_align(ndr, 5));
- NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->num_principals));
- NDR_PULL_ALLOC_N(ndr, r->principals, ndr_get_array_size(ndr, &r->principals));
- _mem_save_principals_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->principals, 0);
- for (cntr_principals_0 = 0; cntr_principals_0 < r->num_principals; cntr_principals_0++) {
- NDR_CHECK(ndr_pull_wbint_Principal(ndr, NDR_SCALARS, &r->principals[cntr_principals_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_principals_0, 0);
- if (r->principals) {
- NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->principals, r->num_principals));
- }
- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
- }
- if (ndr_flags & NDR_BUFFERS) {
- _mem_save_principals_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->principals, 0);
- for (cntr_principals_0 = 0; cntr_principals_0 < r->num_principals; cntr_principals_0++) {
- NDR_CHECK(ndr_pull_wbint_Principal(ndr, NDR_BUFFERS, &r->principals[cntr_principals_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_principals_0, 0);
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_Principals(struct ndr_print *ndr, const char *name, const struct wbint_Principals *r)
-{
- uint32_t cntr_principals_0;
- ndr_print_struct(ndr, name, "wbint_Principals");
- ndr->depth++;
- ndr_print_int32(ndr, "num_principals", r->num_principals);
- ndr->print(ndr, "%s: ARRAY(%d)", "principals", (int)r->num_principals);
- ndr->depth++;
- for (cntr_principals_0=0;cntr_principals_0<r->num_principals;cntr_principals_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_principals_0) != -1) {
- ndr_print_wbint_Principal(ndr, "principals", &r->principals[cntr_principals_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_wbint_userinfos(struct ndr_push *ndr, int ndr_flags, const struct wbint_userinfos *r)
-{
- uint32_t cntr_userinfos_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->num_userinfos));
- NDR_CHECK(ndr_push_align(ndr, 8));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_userinfos));
- for (cntr_userinfos_0 = 0; cntr_userinfos_0 < r->num_userinfos; cntr_userinfos_0++) {
- NDR_CHECK(ndr_push_wbint_userinfo(ndr, NDR_SCALARS, &r->userinfos[cntr_userinfos_0]));
- }
- NDR_CHECK(ndr_push_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- for (cntr_userinfos_0 = 0; cntr_userinfos_0 < r->num_userinfos; cntr_userinfos_0++) {
- NDR_CHECK(ndr_push_wbint_userinfo(ndr, NDR_BUFFERS, &r->userinfos[cntr_userinfos_0]));
- }
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_wbint_userinfos(struct ndr_pull *ndr, int ndr_flags, struct wbint_userinfos *r)
-{
- uint32_t cntr_userinfos_0;
- TALLOC_CTX *_mem_save_userinfos_0;
- if (ndr_flags & NDR_SCALARS) {
- NDR_CHECK(ndr_pull_array_size(ndr, &r->userinfos));
- NDR_CHECK(ndr_pull_align(ndr, 8));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_userinfos));
- NDR_PULL_ALLOC_N(ndr, r->userinfos, ndr_get_array_size(ndr, &r->userinfos));
- _mem_save_userinfos_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->userinfos, 0);
- for (cntr_userinfos_0 = 0; cntr_userinfos_0 < r->num_userinfos; cntr_userinfos_0++) {
- NDR_CHECK(ndr_pull_wbint_userinfo(ndr, NDR_SCALARS, &r->userinfos[cntr_userinfos_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_userinfos_0, 0);
- if (r->userinfos) {
- NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->userinfos, r->num_userinfos));
- }
- NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
- }
- if (ndr_flags & NDR_BUFFERS) {
- _mem_save_userinfos_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->userinfos, 0);
- for (cntr_userinfos_0 = 0; cntr_userinfos_0 < r->num_userinfos; cntr_userinfos_0++) {
- NDR_CHECK(ndr_pull_wbint_userinfo(ndr, NDR_BUFFERS, &r->userinfos[cntr_userinfos_0]));
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_userinfos_0, 0);
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_userinfos(struct ndr_print *ndr, const char *name, const struct wbint_userinfos *r)
-{
- uint32_t cntr_userinfos_0;
- ndr_print_struct(ndr, name, "wbint_userinfos");
- ndr->depth++;
- ndr_print_uint32(ndr, "num_userinfos", r->num_userinfos);
- ndr->print(ndr, "%s: ARRAY(%d)", "userinfos", (int)r->num_userinfos);
- ndr->depth++;
- for (cntr_userinfos_0=0;cntr_userinfos_0<r->num_userinfos;cntr_userinfos_0++) {
- char *idx_0=NULL;
- if (asprintf(&idx_0, "[%d]", cntr_userinfos_0) != -1) {
- ndr_print_wbint_userinfo(ndr, "userinfos", &r->userinfos[cntr_userinfos_0]);
- free(idx_0);
- }
- }
- ndr->depth--;
- ndr->depth--;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_push_wbint_IdType(struct ndr_push *ndr, int ndr_flags, enum wbint_IdType r)
-{
- NDR_CHECK(ndr_push_enum_uint1632(ndr, NDR_SCALARS, r));
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ enum ndr_err_code ndr_pull_wbint_IdType(struct ndr_pull *ndr, int ndr_flags, enum wbint_IdType *r)
-{
- uint16_t v;
- NDR_CHECK(ndr_pull_enum_uint1632(ndr, NDR_SCALARS, &v));
- *r = v;
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_IdType(struct ndr_print *ndr, const char *name, enum wbint_IdType r)
-{
- const char *val = NULL;
-
- switch (r) {
- case WBINT_ID_TYPE_NOT_SPECIFIED: val = "WBINT_ID_TYPE_NOT_SPECIFIED"; break;
- case WBINT_ID_TYPE_UID: val = "WBINT_ID_TYPE_UID"; break;
- case WBINT_ID_TYPE_GID: val = "WBINT_ID_TYPE_GID"; break;
- }
- ndr_print_enum(ndr, name, "ENUM", val, r);
-}
-
-static enum ndr_err_code ndr_push_wbint_Ping(struct ndr_push *ndr, int flags, const struct wbint_Ping *r)
-{
- if (flags & NDR_IN) {
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.in_data));
- }
- if (flags & NDR_OUT) {
- if (r->out.out_data == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.out_data));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_Ping(struct ndr_pull *ndr, int flags, struct wbint_Ping *r)
-{
- TALLOC_CTX *_mem_save_out_data_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.in_data));
- NDR_PULL_ALLOC(ndr, r->out.out_data);
- ZERO_STRUCTP(r->out.out_data);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.out_data);
- }
- _mem_save_out_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.out_data, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.out_data));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_out_data_0, LIBNDR_FLAG_REF_ALLOC);
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_Ping(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Ping *r)
-{
- ndr_print_struct(ndr, name, "wbint_Ping");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_Ping");
- ndr->depth++;
- ndr_print_uint32(ndr, "in_data", r->in.in_data);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_Ping");
- ndr->depth++;
- ndr_print_ptr(ndr, "out_data", r->out.out_data);
- ndr->depth++;
- ndr_print_uint32(ndr, "out_data", *r->out.out_data);
- ndr->depth--;
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_LookupSid(struct ndr_push *ndr, int flags, const struct wbint_LookupSid *r)
-{
- if (flags & NDR_IN) {
- if (r->in.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- }
- if (flags & NDR_OUT) {
- if (r->out.type == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_lsa_SidType(ndr, NDR_SCALARS, *r->out.type));
- if (r->out.domain == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_unique_ptr(ndr, *r->out.domain));
- if (*r->out.domain) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(*r->out.domain, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(*r->out.domain, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, *r->out.domain, ndr_charset_length(*r->out.domain, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- if (r->out.name == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_unique_ptr(ndr, *r->out.name));
- if (*r->out.name) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(*r->out.name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(*r->out.name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, *r->out.name, ndr_charset_length(*r->out.name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_LookupSid(struct ndr_pull *ndr, int flags, struct wbint_LookupSid *r)
-{
- uint32_t _ptr_domain;
- uint32_t _ptr_name;
- TALLOC_CTX *_mem_save_sid_0;
- TALLOC_CTX *_mem_save_type_0;
- TALLOC_CTX *_mem_save_domain_0;
- TALLOC_CTX *_mem_save_domain_1;
- TALLOC_CTX *_mem_save_name_0;
- TALLOC_CTX *_mem_save_name_1;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_PULL_ALLOC(ndr, r->out.type);
- ZERO_STRUCTP(r->out.type);
- NDR_PULL_ALLOC(ndr, r->out.domain);
- ZERO_STRUCTP(r->out.domain);
- NDR_PULL_ALLOC(ndr, r->out.name);
- ZERO_STRUCTP(r->out.name);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.type);
- }
- _mem_save_type_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.type, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_lsa_SidType(ndr, NDR_SCALARS, r->out.type));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_type_0, LIBNDR_FLAG_REF_ALLOC);
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.domain);
- }
- _mem_save_domain_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.domain, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_domain));
- if (_ptr_domain) {
- NDR_PULL_ALLOC(ndr, *r->out.domain);
- } else {
- *r->out.domain = NULL;
- }
- if (*r->out.domain) {
- _mem_save_domain_1 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, *r->out.domain, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, r->out.domain));
- NDR_CHECK(ndr_pull_array_length(ndr, r->out.domain));
- if (ndr_get_array_length(ndr, r->out.domain) > ndr_get_array_size(ndr, r->out.domain)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, r->out.domain), ndr_get_array_length(ndr, r->out.domain));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, r->out.domain), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, r->out.domain, ndr_get_array_length(ndr, r->out.domain), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_domain_1, 0);
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_domain_0, LIBNDR_FLAG_REF_ALLOC);
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.name);
- }
- _mem_save_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.name, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_name));
- if (_ptr_name) {
- NDR_PULL_ALLOC(ndr, *r->out.name);
- } else {
- *r->out.name = NULL;
- }
- if (*r->out.name) {
- _mem_save_name_1 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, *r->out.name, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, r->out.name));
- NDR_CHECK(ndr_pull_array_length(ndr, r->out.name));
- if (ndr_get_array_length(ndr, r->out.name) > ndr_get_array_size(ndr, r->out.name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, r->out.name), ndr_get_array_length(ndr, r->out.name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, r->out.name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, r->out.name, ndr_get_array_length(ndr, r->out.name), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_name_1, 0);
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_name_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_LookupSid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupSid *r)
-{
- ndr_print_struct(ndr, name, "wbint_LookupSid");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_LookupSid");
- ndr->depth++;
- ndr_print_ptr(ndr, "sid", r->in.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->in.sid);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_LookupSid");
- ndr->depth++;
- ndr_print_ptr(ndr, "type", r->out.type);
- ndr->depth++;
- ndr_print_lsa_SidType(ndr, "type", *r->out.type);
- ndr->depth--;
- ndr_print_ptr(ndr, "domain", r->out.domain);
- ndr->depth++;
- ndr_print_ptr(ndr, "domain", *r->out.domain);
- ndr->depth++;
- if (*r->out.domain) {
- ndr_print_string(ndr, "domain", *r->out.domain);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_ptr(ndr, "name", r->out.name);
- ndr->depth++;
- ndr_print_ptr(ndr, "name", *r->out.name);
- ndr->depth++;
- if (*r->out.name) {
- ndr_print_string(ndr, "name", *r->out.name);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_LookupName(struct ndr_push *ndr, int flags, const struct wbint_LookupName *r)
-{
- if (flags & NDR_IN) {
- if (r->in.domain == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.domain, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.domain, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.domain, ndr_charset_length(r->in.domain, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- if (r->in.name == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.name, ndr_charset_length(r->in.name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.flags));
- }
- if (flags & NDR_OUT) {
- if (r->out.type == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_lsa_SidType(ndr, NDR_SCALARS, *r->out.type));
- if (r->out.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->out.sid));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_LookupName(struct ndr_pull *ndr, int flags, struct wbint_LookupName *r)
-{
- TALLOC_CTX *_mem_save_type_0;
- TALLOC_CTX *_mem_save_sid_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_CHECK(ndr_pull_array_size(ndr, &r->in.domain));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->in.domain));
- if (ndr_get_array_length(ndr, &r->in.domain) > ndr_get_array_size(ndr, &r->in.domain)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->in.domain), ndr_get_array_length(ndr, &r->in.domain));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.domain), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.domain, ndr_get_array_length(ndr, &r->in.domain), sizeof(uint8_t), CH_UTF8));
- NDR_CHECK(ndr_pull_array_size(ndr, &r->in.name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->in.name));
- if (ndr_get_array_length(ndr, &r->in.name) > ndr_get_array_size(ndr, &r->in.name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->in.name), ndr_get_array_length(ndr, &r->in.name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.name, ndr_get_array_length(ndr, &r->in.name), sizeof(uint8_t), CH_UTF8));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.flags));
- NDR_PULL_ALLOC(ndr, r->out.type);
- ZERO_STRUCTP(r->out.type);
- NDR_PULL_ALLOC(ndr, r->out.sid);
- ZERO_STRUCTP(r->out.sid);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.type);
- }
- _mem_save_type_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.type, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_lsa_SidType(ndr, NDR_SCALARS, r->out.type));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_type_0, LIBNDR_FLAG_REF_ALLOC);
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->out.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_LookupName(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupName *r)
-{
- ndr_print_struct(ndr, name, "wbint_LookupName");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_LookupName");
- ndr->depth++;
- ndr_print_ptr(ndr, "domain", r->in.domain);
- ndr->depth++;
- ndr_print_string(ndr, "domain", r->in.domain);
- ndr->depth--;
- ndr_print_ptr(ndr, "name", r->in.name);
- ndr->depth++;
- ndr_print_string(ndr, "name", r->in.name);
- ndr->depth--;
- ndr_print_uint32(ndr, "flags", r->in.flags);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_LookupName");
- ndr->depth++;
- ndr_print_ptr(ndr, "type", r->out.type);
- ndr->depth++;
- ndr_print_lsa_SidType(ndr, "type", *r->out.type);
- ndr->depth--;
- ndr_print_ptr(ndr, "sid", r->out.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->out.sid);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_Sid2Uid(struct ndr_push *ndr, int flags, const struct wbint_Sid2Uid *r)
-{
- if (flags & NDR_IN) {
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.dom_name));
- if (r->in.dom_name) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.dom_name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.dom_name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.dom_name, ndr_charset_length(r->in.dom_name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- if (r->in.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- }
- if (flags & NDR_OUT) {
- if (r->out.uid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, *r->out.uid));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_Sid2Uid(struct ndr_pull *ndr, int flags, struct wbint_Sid2Uid *r)
-{
- uint32_t _ptr_dom_name;
- TALLOC_CTX *_mem_save_dom_name_0;
- TALLOC_CTX *_mem_save_sid_0;
- TALLOC_CTX *_mem_save_uid_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_dom_name));
- if (_ptr_dom_name) {
- NDR_PULL_ALLOC(ndr, r->in.dom_name);
- } else {
- r->in.dom_name = NULL;
- }
- if (r->in.dom_name) {
- _mem_save_dom_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.dom_name, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->in.dom_name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->in.dom_name));
- if (ndr_get_array_length(ndr, &r->in.dom_name) > ndr_get_array_size(ndr, &r->in.dom_name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->in.dom_name), ndr_get_array_length(ndr, &r->in.dom_name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.dom_name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.dom_name, ndr_get_array_length(ndr, &r->in.dom_name), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_dom_name_0, 0);
- }
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_PULL_ALLOC(ndr, r->out.uid);
- ZERO_STRUCTP(r->out.uid);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.uid);
- }
- _mem_save_uid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.uid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, r->out.uid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_uid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_Sid2Uid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Sid2Uid *r)
-{
- ndr_print_struct(ndr, name, "wbint_Sid2Uid");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_Sid2Uid");
- ndr->depth++;
- ndr_print_ptr(ndr, "dom_name", r->in.dom_name);
- ndr->depth++;
- if (r->in.dom_name) {
- ndr_print_string(ndr, "dom_name", r->in.dom_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "sid", r->in.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->in.sid);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_Sid2Uid");
- ndr->depth++;
- ndr_print_ptr(ndr, "uid", r->out.uid);
- ndr->depth++;
- ndr_print_hyper(ndr, "uid", *r->out.uid);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_Sid2Gid(struct ndr_push *ndr, int flags, const struct wbint_Sid2Gid *r)
-{
- if (flags & NDR_IN) {
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.dom_name));
- if (r->in.dom_name) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.dom_name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.dom_name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.dom_name, ndr_charset_length(r->in.dom_name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- if (r->in.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- }
- if (flags & NDR_OUT) {
- if (r->out.gid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, *r->out.gid));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_Sid2Gid(struct ndr_pull *ndr, int flags, struct wbint_Sid2Gid *r)
-{
- uint32_t _ptr_dom_name;
- TALLOC_CTX *_mem_save_dom_name_0;
- TALLOC_CTX *_mem_save_sid_0;
- TALLOC_CTX *_mem_save_gid_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_dom_name));
- if (_ptr_dom_name) {
- NDR_PULL_ALLOC(ndr, r->in.dom_name);
- } else {
- r->in.dom_name = NULL;
- }
- if (r->in.dom_name) {
- _mem_save_dom_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.dom_name, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->in.dom_name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->in.dom_name));
- if (ndr_get_array_length(ndr, &r->in.dom_name) > ndr_get_array_size(ndr, &r->in.dom_name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->in.dom_name), ndr_get_array_length(ndr, &r->in.dom_name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.dom_name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.dom_name, ndr_get_array_length(ndr, &r->in.dom_name), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_dom_name_0, 0);
- }
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_PULL_ALLOC(ndr, r->out.gid);
- ZERO_STRUCTP(r->out.gid);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.gid);
- }
- _mem_save_gid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.gid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, r->out.gid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_gid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_Sid2Gid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Sid2Gid *r)
-{
- ndr_print_struct(ndr, name, "wbint_Sid2Gid");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_Sid2Gid");
- ndr->depth++;
- ndr_print_ptr(ndr, "dom_name", r->in.dom_name);
- ndr->depth++;
- if (r->in.dom_name) {
- ndr_print_string(ndr, "dom_name", r->in.dom_name);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "sid", r->in.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->in.sid);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_Sid2Gid");
- ndr->depth++;
- ndr_print_ptr(ndr, "gid", r->out.gid);
- ndr->depth++;
- ndr_print_hyper(ndr, "gid", *r->out.gid);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_Uid2Sid(struct ndr_push *ndr, int flags, const struct wbint_Uid2Sid *r)
-{
- if (flags & NDR_IN) {
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.dom_name));
- if (r->in.dom_name) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.dom_name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.dom_name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.dom_name, ndr_charset_length(r->in.dom_name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.uid));
- }
- if (flags & NDR_OUT) {
- if (r->out.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->out.sid));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_Uid2Sid(struct ndr_pull *ndr, int flags, struct wbint_Uid2Sid *r)
-{
- uint32_t _ptr_dom_name;
- TALLOC_CTX *_mem_save_dom_name_0;
- TALLOC_CTX *_mem_save_sid_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_dom_name));
- if (_ptr_dom_name) {
- NDR_PULL_ALLOC(ndr, r->in.dom_name);
- } else {
- r->in.dom_name = NULL;
- }
- if (r->in.dom_name) {
- _mem_save_dom_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.dom_name, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->in.dom_name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->in.dom_name));
- if (ndr_get_array_length(ndr, &r->in.dom_name) > ndr_get_array_size(ndr, &r->in.dom_name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->in.dom_name), ndr_get_array_length(ndr, &r->in.dom_name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.dom_name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.dom_name, ndr_get_array_length(ndr, &r->in.dom_name), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_dom_name_0, 0);
- }
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.uid));
- NDR_PULL_ALLOC(ndr, r->out.sid);
- ZERO_STRUCTP(r->out.sid);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->out.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_Uid2Sid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Uid2Sid *r)
-{
- ndr_print_struct(ndr, name, "wbint_Uid2Sid");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_Uid2Sid");
- ndr->depth++;
- ndr_print_ptr(ndr, "dom_name", r->in.dom_name);
- ndr->depth++;
- if (r->in.dom_name) {
- ndr_print_string(ndr, "dom_name", r->in.dom_name);
- }
- ndr->depth--;
- ndr_print_hyper(ndr, "uid", r->in.uid);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_Uid2Sid");
- ndr->depth++;
- ndr_print_ptr(ndr, "sid", r->out.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->out.sid);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_Gid2Sid(struct ndr_push *ndr, int flags, const struct wbint_Gid2Sid *r)
-{
- if (flags & NDR_IN) {
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.dom_name));
- if (r->in.dom_name) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.dom_name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.dom_name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.dom_name, ndr_charset_length(r->in.dom_name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.gid));
- }
- if (flags & NDR_OUT) {
- if (r->out.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->out.sid));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_Gid2Sid(struct ndr_pull *ndr, int flags, struct wbint_Gid2Sid *r)
-{
- uint32_t _ptr_dom_name;
- TALLOC_CTX *_mem_save_dom_name_0;
- TALLOC_CTX *_mem_save_sid_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_dom_name));
- if (_ptr_dom_name) {
- NDR_PULL_ALLOC(ndr, r->in.dom_name);
- } else {
- r->in.dom_name = NULL;
- }
- if (r->in.dom_name) {
- _mem_save_dom_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.dom_name, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->in.dom_name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->in.dom_name));
- if (ndr_get_array_length(ndr, &r->in.dom_name) > ndr_get_array_size(ndr, &r->in.dom_name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->in.dom_name), ndr_get_array_length(ndr, &r->in.dom_name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.dom_name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.dom_name, ndr_get_array_length(ndr, &r->in.dom_name), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_dom_name_0, 0);
- }
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.gid));
- NDR_PULL_ALLOC(ndr, r->out.sid);
- ZERO_STRUCTP(r->out.sid);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->out.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_Gid2Sid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Gid2Sid *r)
-{
- ndr_print_struct(ndr, name, "wbint_Gid2Sid");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_Gid2Sid");
- ndr->depth++;
- ndr_print_ptr(ndr, "dom_name", r->in.dom_name);
- ndr->depth++;
- if (r->in.dom_name) {
- ndr_print_string(ndr, "dom_name", r->in.dom_name);
- }
- ndr->depth--;
- ndr_print_hyper(ndr, "gid", r->in.gid);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_Gid2Sid");
- ndr->depth++;
- ndr_print_ptr(ndr, "sid", r->out.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->out.sid);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_AllocateUid(struct ndr_push *ndr, int flags, const struct wbint_AllocateUid *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- if (r->out.uid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, *r->out.uid));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_AllocateUid(struct ndr_pull *ndr, int flags, struct wbint_AllocateUid *r)
-{
- TALLOC_CTX *_mem_save_uid_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_PULL_ALLOC(ndr, r->out.uid);
- ZERO_STRUCTP(r->out.uid);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.uid);
- }
- _mem_save_uid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.uid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, r->out.uid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_uid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_AllocateUid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_AllocateUid *r)
-{
- ndr_print_struct(ndr, name, "wbint_AllocateUid");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_AllocateUid");
- ndr->depth++;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_AllocateUid");
- ndr->depth++;
- ndr_print_ptr(ndr, "uid", r->out.uid);
- ndr->depth++;
- ndr_print_hyper(ndr, "uid", *r->out.uid);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_AllocateGid(struct ndr_push *ndr, int flags, const struct wbint_AllocateGid *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- if (r->out.gid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, *r->out.gid));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_AllocateGid(struct ndr_pull *ndr, int flags, struct wbint_AllocateGid *r)
-{
- TALLOC_CTX *_mem_save_gid_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_PULL_ALLOC(ndr, r->out.gid);
- ZERO_STRUCTP(r->out.gid);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.gid);
- }
- _mem_save_gid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.gid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, r->out.gid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_gid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_AllocateGid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_AllocateGid *r)
-{
- ndr_print_struct(ndr, name, "wbint_AllocateGid");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_AllocateGid");
- ndr->depth++;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_AllocateGid");
- ndr->depth++;
- ndr_print_ptr(ndr, "gid", r->out.gid);
- ndr->depth++;
- ndr_print_hyper(ndr, "gid", *r->out.gid);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_QueryUser(struct ndr_push *ndr, int flags, const struct wbint_QueryUser *r)
-{
- if (flags & NDR_IN) {
- if (r->in.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- }
- if (flags & NDR_OUT) {
- if (r->out.info == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_wbint_userinfo(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.info));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_QueryUser(struct ndr_pull *ndr, int flags, struct wbint_QueryUser *r)
-{
- TALLOC_CTX *_mem_save_sid_0;
- TALLOC_CTX *_mem_save_info_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_PULL_ALLOC(ndr, r->out.info);
- ZERO_STRUCTP(r->out.info);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.info);
- }
- _mem_save_info_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.info, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_userinfo(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.info));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_info_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_QueryUser(struct ndr_print *ndr, const char *name, int flags, const struct wbint_QueryUser *r)
-{
- ndr_print_struct(ndr, name, "wbint_QueryUser");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_QueryUser");
- ndr->depth++;
- ndr_print_ptr(ndr, "sid", r->in.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->in.sid);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_QueryUser");
- ndr->depth++;
- ndr_print_ptr(ndr, "info", r->out.info);
- ndr->depth++;
- ndr_print_wbint_userinfo(ndr, "info", r->out.info);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_LookupUserAliases(struct ndr_push *ndr, int flags, const struct wbint_LookupUserAliases *r)
-{
- if (flags & NDR_IN) {
- if (r->in.sids == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_wbint_SidArray(ndr, NDR_SCALARS, r->in.sids));
- }
- if (flags & NDR_OUT) {
- if (r->out.rids == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_wbint_RidArray(ndr, NDR_SCALARS, r->out.rids));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_LookupUserAliases(struct ndr_pull *ndr, int flags, struct wbint_LookupUserAliases *r)
-{
- TALLOC_CTX *_mem_save_sids_0;
- TALLOC_CTX *_mem_save_rids_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.sids);
- }
- _mem_save_sids_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.sids, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_SidArray(ndr, NDR_SCALARS, r->in.sids));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sids_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_PULL_ALLOC(ndr, r->out.rids);
- ZERO_STRUCTP(r->out.rids);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.rids);
- }
- _mem_save_rids_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.rids, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_RidArray(ndr, NDR_SCALARS, r->out.rids));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rids_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_LookupUserAliases(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupUserAliases *r)
-{
- ndr_print_struct(ndr, name, "wbint_LookupUserAliases");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_LookupUserAliases");
- ndr->depth++;
- ndr_print_ptr(ndr, "sids", r->in.sids);
- ndr->depth++;
- ndr_print_wbint_SidArray(ndr, "sids", r->in.sids);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_LookupUserAliases");
- ndr->depth++;
- ndr_print_ptr(ndr, "rids", r->out.rids);
- ndr->depth++;
- ndr_print_wbint_RidArray(ndr, "rids", r->out.rids);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_LookupUserGroups(struct ndr_push *ndr, int flags, const struct wbint_LookupUserGroups *r)
-{
- if (flags & NDR_IN) {
- if (r->in.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- }
- if (flags & NDR_OUT) {
- if (r->out.sids == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_wbint_SidArray(ndr, NDR_SCALARS, r->out.sids));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_LookupUserGroups(struct ndr_pull *ndr, int flags, struct wbint_LookupUserGroups *r)
-{
- TALLOC_CTX *_mem_save_sid_0;
- TALLOC_CTX *_mem_save_sids_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_PULL_ALLOC(ndr, r->out.sids);
- ZERO_STRUCTP(r->out.sids);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.sids);
- }
- _mem_save_sids_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.sids, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_SidArray(ndr, NDR_SCALARS, r->out.sids));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sids_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_LookupUserGroups(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupUserGroups *r)
-{
- ndr_print_struct(ndr, name, "wbint_LookupUserGroups");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_LookupUserGroups");
- ndr->depth++;
- ndr_print_ptr(ndr, "sid", r->in.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->in.sid);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_LookupUserGroups");
- ndr->depth++;
- ndr_print_ptr(ndr, "sids", r->out.sids);
- ndr->depth++;
- ndr_print_wbint_SidArray(ndr, "sids", r->out.sids);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_QuerySequenceNumber(struct ndr_push *ndr, int flags, const struct wbint_QuerySequenceNumber *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- if (r->out.sequence == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.sequence));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_QuerySequenceNumber(struct ndr_pull *ndr, int flags, struct wbint_QuerySequenceNumber *r)
-{
- TALLOC_CTX *_mem_save_sequence_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_PULL_ALLOC(ndr, r->out.sequence);
- ZERO_STRUCTP(r->out.sequence);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.sequence);
- }
- _mem_save_sequence_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.sequence, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.sequence));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sequence_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_QuerySequenceNumber(struct ndr_print *ndr, const char *name, int flags, const struct wbint_QuerySequenceNumber *r)
-{
- ndr_print_struct(ndr, name, "wbint_QuerySequenceNumber");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_QuerySequenceNumber");
- ndr->depth++;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_QuerySequenceNumber");
- ndr->depth++;
- ndr_print_ptr(ndr, "sequence", r->out.sequence);
- ndr->depth++;
- ndr_print_uint32(ndr, "sequence", *r->out.sequence);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_LookupGroupMembers(struct ndr_push *ndr, int flags, const struct wbint_LookupGroupMembers *r)
-{
- if (flags & NDR_IN) {
- if (r->in.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_CHECK(ndr_push_lsa_SidType(ndr, NDR_SCALARS, r->in.type));
- }
- if (flags & NDR_OUT) {
- if (r->out.members == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_wbint_Principals(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.members));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_LookupGroupMembers(struct ndr_pull *ndr, int flags, struct wbint_LookupGroupMembers *r)
-{
- TALLOC_CTX *_mem_save_sid_0;
- TALLOC_CTX *_mem_save_members_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_lsa_SidType(ndr, NDR_SCALARS, &r->in.type));
- NDR_PULL_ALLOC(ndr, r->out.members);
- ZERO_STRUCTP(r->out.members);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.members);
- }
- _mem_save_members_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.members, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_Principals(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.members));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_members_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_LookupGroupMembers(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupGroupMembers *r)
-{
- ndr_print_struct(ndr, name, "wbint_LookupGroupMembers");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_LookupGroupMembers");
- ndr->depth++;
- ndr_print_ptr(ndr, "sid", r->in.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->in.sid);
- ndr->depth--;
- ndr_print_lsa_SidType(ndr, "type", r->in.type);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_LookupGroupMembers");
- ndr->depth++;
- ndr_print_ptr(ndr, "members", r->out.members);
- ndr->depth++;
- ndr_print_wbint_Principals(ndr, "members", r->out.members);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_QueryUserList(struct ndr_push *ndr, int flags, const struct wbint_QueryUserList *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- if (r->out.users == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_wbint_userinfos(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.users));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_QueryUserList(struct ndr_pull *ndr, int flags, struct wbint_QueryUserList *r)
-{
- TALLOC_CTX *_mem_save_users_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_PULL_ALLOC(ndr, r->out.users);
- ZERO_STRUCTP(r->out.users);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.users);
- }
- _mem_save_users_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.users, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_userinfos(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.users));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_users_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_QueryUserList(struct ndr_print *ndr, const char *name, int flags, const struct wbint_QueryUserList *r)
-{
- ndr_print_struct(ndr, name, "wbint_QueryUserList");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_QueryUserList");
- ndr->depth++;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_QueryUserList");
- ndr->depth++;
- ndr_print_ptr(ndr, "users", r->out.users);
- ndr->depth++;
- ndr_print_wbint_userinfos(ndr, "users", r->out.users);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_QueryGroupList(struct ndr_push *ndr, int flags, const struct wbint_QueryGroupList *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- if (r->out.groups == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_wbint_Principals(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.groups));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_QueryGroupList(struct ndr_pull *ndr, int flags, struct wbint_QueryGroupList *r)
-{
- TALLOC_CTX *_mem_save_groups_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_PULL_ALLOC(ndr, r->out.groups);
- ZERO_STRUCTP(r->out.groups);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.groups);
- }
- _mem_save_groups_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.groups, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_Principals(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.groups));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_groups_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_QueryGroupList(struct ndr_print *ndr, const char *name, int flags, const struct wbint_QueryGroupList *r)
-{
- ndr_print_struct(ndr, name, "wbint_QueryGroupList");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_QueryGroupList");
- ndr->depth++;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_QueryGroupList");
- ndr->depth++;
- ndr_print_ptr(ndr, "groups", r->out.groups);
- ndr->depth++;
- ndr_print_wbint_Principals(ndr, "groups", r->out.groups);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_DsGetDcName(struct ndr_push *ndr, int flags, const struct wbint_DsGetDcName *r)
-{
- if (flags & NDR_IN) {
- if (r->in.domain_name == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.domain_name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.domain_name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.domain_name, ndr_charset_length(r->in.domain_name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.domain_guid));
- if (r->in.domain_guid) {
- NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->in.domain_guid));
- }
- NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.site_name));
- if (r->in.site_name) {
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.site_name, CH_UTF8)));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
- NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.site_name, CH_UTF8)));
- NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.site_name, ndr_charset_length(r->in.site_name, CH_UTF8), sizeof(uint8_t), CH_UTF8));
- }
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.flags));
- }
- if (flags & NDR_OUT) {
- if (r->out.dc_info == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_unique_ptr(ndr, *r->out.dc_info));
- if (*r->out.dc_info) {
- NDR_CHECK(ndr_push_netr_DsRGetDCNameInfo(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.dc_info));
- }
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_DsGetDcName(struct ndr_pull *ndr, int flags, struct wbint_DsGetDcName *r)
-{
- uint32_t _ptr_domain_guid;
- uint32_t _ptr_site_name;
- uint32_t _ptr_dc_info;
- TALLOC_CTX *_mem_save_domain_guid_0;
- TALLOC_CTX *_mem_save_site_name_0;
- TALLOC_CTX *_mem_save_dc_info_0;
- TALLOC_CTX *_mem_save_dc_info_1;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- NDR_CHECK(ndr_pull_array_size(ndr, &r->in.domain_name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->in.domain_name));
- if (ndr_get_array_length(ndr, &r->in.domain_name) > ndr_get_array_size(ndr, &r->in.domain_name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->in.domain_name), ndr_get_array_length(ndr, &r->in.domain_name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.domain_name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.domain_name, ndr_get_array_length(ndr, &r->in.domain_name), sizeof(uint8_t), CH_UTF8));
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_domain_guid));
- if (_ptr_domain_guid) {
- NDR_PULL_ALLOC(ndr, r->in.domain_guid);
- } else {
- r->in.domain_guid = NULL;
- }
- if (r->in.domain_guid) {
- _mem_save_domain_guid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.domain_guid, 0);
- NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->in.domain_guid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_domain_guid_0, 0);
- }
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_site_name));
- if (_ptr_site_name) {
- NDR_PULL_ALLOC(ndr, r->in.site_name);
- } else {
- r->in.site_name = NULL;
- }
- if (r->in.site_name) {
- _mem_save_site_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.site_name, 0);
- NDR_CHECK(ndr_pull_array_size(ndr, &r->in.site_name));
- NDR_CHECK(ndr_pull_array_length(ndr, &r->in.site_name));
- if (ndr_get_array_length(ndr, &r->in.site_name) > ndr_get_array_size(ndr, &r->in.site_name)) {
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->in.site_name), ndr_get_array_length(ndr, &r->in.site_name));
- }
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.site_name), sizeof(uint8_t)));
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.site_name, ndr_get_array_length(ndr, &r->in.site_name), sizeof(uint8_t), CH_UTF8));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_site_name_0, 0);
- }
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.flags));
- NDR_PULL_ALLOC(ndr, r->out.dc_info);
- ZERO_STRUCTP(r->out.dc_info);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.dc_info);
- }
- _mem_save_dc_info_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.dc_info, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_dc_info));
- if (_ptr_dc_info) {
- NDR_PULL_ALLOC(ndr, *r->out.dc_info);
- } else {
- *r->out.dc_info = NULL;
- }
- if (*r->out.dc_info) {
- _mem_save_dc_info_1 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, *r->out.dc_info, 0);
- NDR_CHECK(ndr_pull_netr_DsRGetDCNameInfo(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.dc_info));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_dc_info_1, 0);
- }
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_dc_info_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_DsGetDcName(struct ndr_print *ndr, const char *name, int flags, const struct wbint_DsGetDcName *r)
-{
- ndr_print_struct(ndr, name, "wbint_DsGetDcName");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_DsGetDcName");
- ndr->depth++;
- ndr_print_ptr(ndr, "domain_name", r->in.domain_name);
- ndr->depth++;
- ndr_print_string(ndr, "domain_name", r->in.domain_name);
- ndr->depth--;
- ndr_print_ptr(ndr, "domain_guid", r->in.domain_guid);
- ndr->depth++;
- if (r->in.domain_guid) {
- ndr_print_GUID(ndr, "domain_guid", r->in.domain_guid);
- }
- ndr->depth--;
- ndr_print_ptr(ndr, "site_name", r->in.site_name);
- ndr->depth++;
- if (r->in.site_name) {
- ndr_print_string(ndr, "site_name", r->in.site_name);
- }
- ndr->depth--;
- ndr_print_uint32(ndr, "flags", r->in.flags);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_DsGetDcName");
- ndr->depth++;
- ndr_print_ptr(ndr, "dc_info", r->out.dc_info);
- ndr->depth++;
- ndr_print_ptr(ndr, "dc_info", *r->out.dc_info);
- ndr->depth++;
- if (*r->out.dc_info) {
- ndr_print_netr_DsRGetDCNameInfo(ndr, "dc_info", *r->out.dc_info);
- }
- ndr->depth--;
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_LookupRids(struct ndr_push *ndr, int flags, const struct wbint_LookupRids *r)
-{
- if (flags & NDR_IN) {
- if (r->in.rids == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_wbint_RidArray(ndr, NDR_SCALARS, r->in.rids));
- }
- if (flags & NDR_OUT) {
- if (r->out.names == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_wbint_Principals(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.names));
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_LookupRids(struct ndr_pull *ndr, int flags, struct wbint_LookupRids *r)
-{
- TALLOC_CTX *_mem_save_rids_0;
- TALLOC_CTX *_mem_save_names_0;
- if (flags & NDR_IN) {
- ZERO_STRUCT(r->out);
-
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.rids);
- }
- _mem_save_rids_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.rids, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_RidArray(ndr, NDR_SCALARS, r->in.rids));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rids_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_PULL_ALLOC(ndr, r->out.names);
- ZERO_STRUCTP(r->out.names);
- }
- if (flags & NDR_OUT) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->out.names);
- }
- _mem_save_names_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->out.names, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_Principals(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.names));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_names_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_LookupRids(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupRids *r)
-{
- ndr_print_struct(ndr, name, "wbint_LookupRids");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_LookupRids");
- ndr->depth++;
- ndr_print_ptr(ndr, "rids", r->in.rids);
- ndr->depth++;
- ndr_print_wbint_RidArray(ndr, "rids", r->in.rids);
- ndr->depth--;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_LookupRids");
- ndr->depth++;
- ndr_print_ptr(ndr, "names", r->out.names);
- ndr->depth++;
- ndr_print_wbint_Principals(ndr, "names", r->out.names);
- ndr->depth--;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_CheckMachineAccount(struct ndr_push *ndr, int flags, const struct wbint_CheckMachineAccount *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_CheckMachineAccount(struct ndr_pull *ndr, int flags, struct wbint_CheckMachineAccount *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_CheckMachineAccount(struct ndr_print *ndr, const char *name, int flags, const struct wbint_CheckMachineAccount *r)
-{
- ndr_print_struct(ndr, name, "wbint_CheckMachineAccount");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_CheckMachineAccount");
- ndr->depth++;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_CheckMachineAccount");
- ndr->depth++;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_ChangeMachineAccount(struct ndr_push *ndr, int flags, const struct wbint_ChangeMachineAccount *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_ChangeMachineAccount(struct ndr_pull *ndr, int flags, struct wbint_ChangeMachineAccount *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_ChangeMachineAccount(struct ndr_print *ndr, const char *name, int flags, const struct wbint_ChangeMachineAccount *r)
-{
- ndr_print_struct(ndr, name, "wbint_ChangeMachineAccount");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_ChangeMachineAccount");
- ndr->depth++;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_ChangeMachineAccount");
- ndr->depth++;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_PingDc(struct ndr_push *ndr, int flags, const struct wbint_PingDc *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_PingDc(struct ndr_pull *ndr, int flags, struct wbint_PingDc *r)
-{
- if (flags & NDR_IN) {
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_PingDc(struct ndr_print *ndr, const char *name, int flags, const struct wbint_PingDc *r)
-{
- ndr_print_struct(ndr, name, "wbint_PingDc");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_PingDc");
- ndr->depth++;
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_PingDc");
- ndr->depth++;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_SetMapping(struct ndr_push *ndr, int flags, const struct wbint_SetMapping *r)
-{
- if (flags & NDR_IN) {
- if (r->in.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_CHECK(ndr_push_wbint_IdType(ndr, NDR_SCALARS, r->in.type));
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.id));
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_SetMapping(struct ndr_pull *ndr, int flags, struct wbint_SetMapping *r)
-{
- TALLOC_CTX *_mem_save_sid_0;
- if (flags & NDR_IN) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_IdType(ndr, NDR_SCALARS, &r->in.type));
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.id));
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_SetMapping(struct ndr_print *ndr, const char *name, int flags, const struct wbint_SetMapping *r)
-{
- ndr_print_struct(ndr, name, "wbint_SetMapping");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_SetMapping");
- ndr->depth++;
- ndr_print_ptr(ndr, "sid", r->in.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->in.sid);
- ndr->depth--;
- ndr_print_wbint_IdType(ndr, "type", r->in.type);
- ndr_print_hyper(ndr, "id", r->in.id);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_SetMapping");
- ndr->depth++;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_RemoveMapping(struct ndr_push *ndr, int flags, const struct wbint_RemoveMapping *r)
-{
- if (flags & NDR_IN) {
- if (r->in.sid == NULL) {
- return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
- }
- NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_CHECK(ndr_push_wbint_IdType(ndr, NDR_SCALARS, r->in.type));
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.id));
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_RemoveMapping(struct ndr_pull *ndr, int flags, struct wbint_RemoveMapping *r)
-{
- TALLOC_CTX *_mem_save_sid_0;
- if (flags & NDR_IN) {
- if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
- NDR_PULL_ALLOC(ndr, r->in.sid);
- }
- _mem_save_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.sid));
- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
- NDR_CHECK(ndr_pull_wbint_IdType(ndr, NDR_SCALARS, &r->in.type));
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.id));
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_RemoveMapping(struct ndr_print *ndr, const char *name, int flags, const struct wbint_RemoveMapping *r)
-{
- ndr_print_struct(ndr, name, "wbint_RemoveMapping");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_RemoveMapping");
- ndr->depth++;
- ndr_print_ptr(ndr, "sid", r->in.sid);
- ndr->depth++;
- ndr_print_dom_sid(ndr, "sid", r->in.sid);
- ndr->depth--;
- ndr_print_wbint_IdType(ndr, "type", r->in.type);
- ndr_print_hyper(ndr, "id", r->in.id);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_RemoveMapping");
- ndr->depth++;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static enum ndr_err_code ndr_push_wbint_SetHWM(struct ndr_push *ndr, int flags, const struct wbint_SetHWM *r)
-{
- if (flags & NDR_IN) {
- NDR_CHECK(ndr_push_wbint_IdType(ndr, NDR_SCALARS, r->in.type));
- NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.id));
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-static enum ndr_err_code ndr_pull_wbint_SetHWM(struct ndr_pull *ndr, int flags, struct wbint_SetHWM *r)
-{
- if (flags & NDR_IN) {
- NDR_CHECK(ndr_pull_wbint_IdType(ndr, NDR_SCALARS, &r->in.type));
- NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.id));
- }
- if (flags & NDR_OUT) {
- NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
- }
- return NDR_ERR_SUCCESS;
-}
-
-_PUBLIC_ void ndr_print_wbint_SetHWM(struct ndr_print *ndr, const char *name, int flags, const struct wbint_SetHWM *r)
-{
- ndr_print_struct(ndr, name, "wbint_SetHWM");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "wbint_SetHWM");
- ndr->depth++;
- ndr_print_wbint_IdType(ndr, "type", r->in.type);
- ndr_print_hyper(ndr, "id", r->in.id);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "wbint_SetHWM");
- ndr->depth++;
- ndr_print_NTSTATUS(ndr, "result", r->out.result);
- ndr->depth--;
- }
- ndr->depth--;
-}
-
-static const struct ndr_interface_call wbint_calls[] = {
- {
- "wbint_Ping",
- sizeof(struct wbint_Ping),
- (ndr_push_flags_fn_t) ndr_push_wbint_Ping,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_Ping,
- (ndr_print_function_t) ndr_print_wbint_Ping,
- false,
- },
- {
- "wbint_LookupSid",
- sizeof(struct wbint_LookupSid),
- (ndr_push_flags_fn_t) ndr_push_wbint_LookupSid,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupSid,
- (ndr_print_function_t) ndr_print_wbint_LookupSid,
- false,
- },
- {
- "wbint_LookupName",
- sizeof(struct wbint_LookupName),
- (ndr_push_flags_fn_t) ndr_push_wbint_LookupName,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupName,
- (ndr_print_function_t) ndr_print_wbint_LookupName,
- false,
- },
- {
- "wbint_Sid2Uid",
- sizeof(struct wbint_Sid2Uid),
- (ndr_push_flags_fn_t) ndr_push_wbint_Sid2Uid,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_Sid2Uid,
- (ndr_print_function_t) ndr_print_wbint_Sid2Uid,
- false,
- },
- {
- "wbint_Sid2Gid",
- sizeof(struct wbint_Sid2Gid),
- (ndr_push_flags_fn_t) ndr_push_wbint_Sid2Gid,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_Sid2Gid,
- (ndr_print_function_t) ndr_print_wbint_Sid2Gid,
- false,
- },
- {
- "wbint_Uid2Sid",
- sizeof(struct wbint_Uid2Sid),
- (ndr_push_flags_fn_t) ndr_push_wbint_Uid2Sid,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_Uid2Sid,
- (ndr_print_function_t) ndr_print_wbint_Uid2Sid,
- false,
- },
- {
- "wbint_Gid2Sid",
- sizeof(struct wbint_Gid2Sid),
- (ndr_push_flags_fn_t) ndr_push_wbint_Gid2Sid,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_Gid2Sid,
- (ndr_print_function_t) ndr_print_wbint_Gid2Sid,
- false,
- },
- {
- "wbint_AllocateUid",
- sizeof(struct wbint_AllocateUid),
- (ndr_push_flags_fn_t) ndr_push_wbint_AllocateUid,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_AllocateUid,
- (ndr_print_function_t) ndr_print_wbint_AllocateUid,
- false,
- },
- {
- "wbint_AllocateGid",
- sizeof(struct wbint_AllocateGid),
- (ndr_push_flags_fn_t) ndr_push_wbint_AllocateGid,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_AllocateGid,
- (ndr_print_function_t) ndr_print_wbint_AllocateGid,
- false,
- },
- {
- "wbint_QueryUser",
- sizeof(struct wbint_QueryUser),
- (ndr_push_flags_fn_t) ndr_push_wbint_QueryUser,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryUser,
- (ndr_print_function_t) ndr_print_wbint_QueryUser,
- false,
- },
- {
- "wbint_LookupUserAliases",
- sizeof(struct wbint_LookupUserAliases),
- (ndr_push_flags_fn_t) ndr_push_wbint_LookupUserAliases,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupUserAliases,
- (ndr_print_function_t) ndr_print_wbint_LookupUserAliases,
- false,
- },
- {
- "wbint_LookupUserGroups",
- sizeof(struct wbint_LookupUserGroups),
- (ndr_push_flags_fn_t) ndr_push_wbint_LookupUserGroups,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupUserGroups,
- (ndr_print_function_t) ndr_print_wbint_LookupUserGroups,
- false,
- },
- {
- "wbint_QuerySequenceNumber",
- sizeof(struct wbint_QuerySequenceNumber),
- (ndr_push_flags_fn_t) ndr_push_wbint_QuerySequenceNumber,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_QuerySequenceNumber,
- (ndr_print_function_t) ndr_print_wbint_QuerySequenceNumber,
- false,
- },
- {
- "wbint_LookupGroupMembers",
- sizeof(struct wbint_LookupGroupMembers),
- (ndr_push_flags_fn_t) ndr_push_wbint_LookupGroupMembers,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupGroupMembers,
- (ndr_print_function_t) ndr_print_wbint_LookupGroupMembers,
- false,
- },
- {
- "wbint_QueryUserList",
- sizeof(struct wbint_QueryUserList),
- (ndr_push_flags_fn_t) ndr_push_wbint_QueryUserList,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryUserList,
- (ndr_print_function_t) ndr_print_wbint_QueryUserList,
- false,
- },
- {
- "wbint_QueryGroupList",
- sizeof(struct wbint_QueryGroupList),
- (ndr_push_flags_fn_t) ndr_push_wbint_QueryGroupList,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryGroupList,
- (ndr_print_function_t) ndr_print_wbint_QueryGroupList,
- false,
- },
- {
- "wbint_DsGetDcName",
- sizeof(struct wbint_DsGetDcName),
- (ndr_push_flags_fn_t) ndr_push_wbint_DsGetDcName,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_DsGetDcName,
- (ndr_print_function_t) ndr_print_wbint_DsGetDcName,
- false,
- },
- {
- "wbint_LookupRids",
- sizeof(struct wbint_LookupRids),
- (ndr_push_flags_fn_t) ndr_push_wbint_LookupRids,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupRids,
- (ndr_print_function_t) ndr_print_wbint_LookupRids,
- false,
- },
- {
- "wbint_CheckMachineAccount",
- sizeof(struct wbint_CheckMachineAccount),
- (ndr_push_flags_fn_t) ndr_push_wbint_CheckMachineAccount,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_CheckMachineAccount,
- (ndr_print_function_t) ndr_print_wbint_CheckMachineAccount,
- false,
- },
- {
- "wbint_ChangeMachineAccount",
- sizeof(struct wbint_ChangeMachineAccount),
- (ndr_push_flags_fn_t) ndr_push_wbint_ChangeMachineAccount,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_ChangeMachineAccount,
- (ndr_print_function_t) ndr_print_wbint_ChangeMachineAccount,
- false,
- },
- {
- "wbint_PingDc",
- sizeof(struct wbint_PingDc),
- (ndr_push_flags_fn_t) ndr_push_wbint_PingDc,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_PingDc,
- (ndr_print_function_t) ndr_print_wbint_PingDc,
- false,
- },
- {
- "wbint_SetMapping",
- sizeof(struct wbint_SetMapping),
- (ndr_push_flags_fn_t) ndr_push_wbint_SetMapping,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_SetMapping,
- (ndr_print_function_t) ndr_print_wbint_SetMapping,
- false,
- },
- {
- "wbint_RemoveMapping",
- sizeof(struct wbint_RemoveMapping),
- (ndr_push_flags_fn_t) ndr_push_wbint_RemoveMapping,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_RemoveMapping,
- (ndr_print_function_t) ndr_print_wbint_RemoveMapping,
- false,
- },
- {
- "wbint_SetHWM",
- sizeof(struct wbint_SetHWM),
- (ndr_push_flags_fn_t) ndr_push_wbint_SetHWM,
- (ndr_pull_flags_fn_t) ndr_pull_wbint_SetHWM,
- (ndr_print_function_t) ndr_print_wbint_SetHWM,
- false,
- },
- { NULL, 0, NULL, NULL, NULL, false }
-};
-
-static const char * const wbint_endpoint_strings[] = {
- "ncalrpc:",
-};
-
-static const struct ndr_interface_string_array wbint_endpoints = {
- .count = 1,
- .names = wbint_endpoint_strings
-};
-
-static const char * const wbint_authservice_strings[] = {
- "host",
-};
-
-static const struct ndr_interface_string_array wbint_authservices = {
- .count = 1,
- .names = wbint_authservice_strings
-};
-
-
-const struct ndr_interface_table ndr_table_wbint = {
- .name = "wbint",
- .syntax_id = {
- {0xbf09192c,0xed60,0x4928,{0x9d,0xff},{0xd0,0xd7,0xbc,0xb0,0x3e,0xd8}},
- NDR_WBINT_VERSION
- },
- .helpstring = NDR_WBINT_HELPSTRING,
- .num_calls = 24,
- .calls = wbint_calls,
- .endpoints = &wbint_endpoints,
- .authservices = &wbint_authservices
-};
-
diff --git a/source3/librpc/gen_ndr/ndr_wbint.h b/source3/librpc/gen_ndr/ndr_wbint.h
deleted file mode 100644
index 4a381ccfb2..0000000000
--- a/source3/librpc/gen_ndr/ndr_wbint.h
+++ /dev/null
@@ -1,108 +0,0 @@
-/* header auto-generated by pidl */
-
-#include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/wbint.h"
-
-#ifndef _HEADER_NDR_wbint
-#define _HEADER_NDR_wbint
-
-#define NDR_WBINT_UUID "bf09192c-ed60-4928-9dff-d0d7bcb03ed8"
-#define NDR_WBINT_VERSION 1.0
-#define NDR_WBINT_NAME "wbint"
-#define NDR_WBINT_HELPSTRING "winbind parent-child protocol"
-extern const struct ndr_interface_table ndr_table_wbint;
-#define NDR_WBINT_PING (0x00)
-
-#define NDR_WBINT_LOOKUPSID (0x01)
-
-#define NDR_WBINT_LOOKUPNAME (0x02)
-
-#define NDR_WBINT_SID2UID (0x03)
-
-#define NDR_WBINT_SID2GID (0x04)
-
-#define NDR_WBINT_UID2SID (0x05)
-
-#define NDR_WBINT_GID2SID (0x06)
-
-#define NDR_WBINT_ALLOCATEUID (0x07)
-
-#define NDR_WBINT_ALLOCATEGID (0x08)
-
-#define NDR_WBINT_QUERYUSER (0x09)
-
-#define NDR_WBINT_LOOKUPUSERALIASES (0x0a)
-
-#define NDR_WBINT_LOOKUPUSERGROUPS (0x0b)
-
-#define NDR_WBINT_QUERYSEQUENCENUMBER (0x0c)
-
-#define NDR_WBINT_LOOKUPGROUPMEMBERS (0x0d)
-
-#define NDR_WBINT_QUERYUSERLIST (0x0e)
-
-#define NDR_WBINT_QUERYGROUPLIST (0x0f)
-
-#define NDR_WBINT_DSGETDCNAME (0x10)
-
-#define NDR_WBINT_LOOKUPRIDS (0x11)
-
-#define NDR_WBINT_CHECKMACHINEACCOUNT (0x12)
-
-#define NDR_WBINT_CHANGEMACHINEACCOUNT (0x13)
-
-#define NDR_WBINT_PINGDC (0x14)
-
-#define NDR_WBINT_SETMAPPING (0x15)
-
-#define NDR_WBINT_REMOVEMAPPING (0x16)
-
-#define NDR_WBINT_SETHWM (0x17)
-
-#define NDR_WBINT_CALL_COUNT (24)
-enum ndr_err_code ndr_push_wbint_userinfo(struct ndr_push *ndr, int ndr_flags, const struct wbint_userinfo *r);
-enum ndr_err_code ndr_pull_wbint_userinfo(struct ndr_pull *ndr, int ndr_flags, struct wbint_userinfo *r);
-void ndr_print_wbint_userinfo(struct ndr_print *ndr, const char *name, const struct wbint_userinfo *r);
-enum ndr_err_code ndr_push_wbint_SidArray(struct ndr_push *ndr, int ndr_flags, const struct wbint_SidArray *r);
-enum ndr_err_code ndr_pull_wbint_SidArray(struct ndr_pull *ndr, int ndr_flags, struct wbint_SidArray *r);
-void ndr_print_wbint_SidArray(struct ndr_print *ndr, const char *name, const struct wbint_SidArray *r);
-enum ndr_err_code ndr_push_wbint_RidArray(struct ndr_push *ndr, int ndr_flags, const struct wbint_RidArray *r);
-enum ndr_err_code ndr_pull_wbint_RidArray(struct ndr_pull *ndr, int ndr_flags, struct wbint_RidArray *r);
-void ndr_print_wbint_RidArray(struct ndr_print *ndr, const char *name, const struct wbint_RidArray *r);
-enum ndr_err_code ndr_push_wbint_Principal(struct ndr_push *ndr, int ndr_flags, const struct wbint_Principal *r);
-enum ndr_err_code ndr_pull_wbint_Principal(struct ndr_pull *ndr, int ndr_flags, struct wbint_Principal *r);
-void ndr_print_wbint_Principal(struct ndr_print *ndr, const char *name, const struct wbint_Principal *r);
-enum ndr_err_code ndr_push_wbint_Principals(struct ndr_push *ndr, int ndr_flags, const struct wbint_Principals *r);
-enum ndr_err_code ndr_pull_wbint_Principals(struct ndr_pull *ndr, int ndr_flags, struct wbint_Principals *r);
-void ndr_print_wbint_Principals(struct ndr_print *ndr, const char *name, const struct wbint_Principals *r);
-enum ndr_err_code ndr_push_wbint_userinfos(struct ndr_push *ndr, int ndr_flags, const struct wbint_userinfos *r);
-enum ndr_err_code ndr_pull_wbint_userinfos(struct ndr_pull *ndr, int ndr_flags, struct wbint_userinfos *r);
-void ndr_print_wbint_userinfos(struct ndr_print *ndr, const char *name, const struct wbint_userinfos *r);
-enum ndr_err_code ndr_push_wbint_IdType(struct ndr_push *ndr, int ndr_flags, enum wbint_IdType r);
-enum ndr_err_code ndr_pull_wbint_IdType(struct ndr_pull *ndr, int ndr_flags, enum wbint_IdType *r);
-void ndr_print_wbint_IdType(struct ndr_print *ndr, const char *name, enum wbint_IdType r);
-void ndr_print_wbint_Ping(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Ping *r);
-void ndr_print_wbint_LookupSid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupSid *r);
-void ndr_print_wbint_LookupName(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupName *r);
-void ndr_print_wbint_Sid2Uid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Sid2Uid *r);
-void ndr_print_wbint_Sid2Gid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Sid2Gid *r);
-void ndr_print_wbint_Uid2Sid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Uid2Sid *r);
-void ndr_print_wbint_Gid2Sid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_Gid2Sid *r);
-void ndr_print_wbint_AllocateUid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_AllocateUid *r);
-void ndr_print_wbint_AllocateGid(struct ndr_print *ndr, const char *name, int flags, const struct wbint_AllocateGid *r);
-void ndr_print_wbint_QueryUser(struct ndr_print *ndr, const char *name, int flags, const struct wbint_QueryUser *r);
-void ndr_print_wbint_LookupUserAliases(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupUserAliases *r);
-void ndr_print_wbint_LookupUserGroups(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupUserGroups *r);
-void ndr_print_wbint_QuerySequenceNumber(struct ndr_print *ndr, const char *name, int flags, const struct wbint_QuerySequenceNumber *r);
-void ndr_print_wbint_LookupGroupMembers(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupGroupMembers *r);
-void ndr_print_wbint_QueryUserList(struct ndr_print *ndr, const char *name, int flags, const struct wbint_QueryUserList *r);
-void ndr_print_wbint_QueryGroupList(struct ndr_print *ndr, const char *name, int flags, const struct wbint_QueryGroupList *r);
-void ndr_print_wbint_DsGetDcName(struct ndr_print *ndr, const char *name, int flags, const struct wbint_DsGetDcName *r);
-void ndr_print_wbint_LookupRids(struct ndr_print *ndr, const char *name, int flags, const struct wbint_LookupRids *r);
-void ndr_print_wbint_CheckMachineAccount(struct ndr_print *ndr, const char *name, int flags, const struct wbint_CheckMachineAccount *r);
-void ndr_print_wbint_ChangeMachineAccount(struct ndr_print *ndr, const char *name, int flags, const struct wbint_ChangeMachineAccount *r);
-void ndr_print_wbint_PingDc(struct ndr_print *ndr, const char *name, int flags, const struct wbint_PingDc *r);
-void ndr_print_wbint_SetMapping(struct ndr_print *ndr, const char *name, int flags, const struct wbint_SetMapping *r);
-void ndr_print_wbint_RemoveMapping(struct ndr_print *ndr, const char *name, int flags, const struct wbint_RemoveMapping *r);
-void ndr_print_wbint_SetHWM(struct ndr_print *ndr, const char *name, int flags, const struct wbint_SetHWM *r);
-#endif /* _HEADER_NDR_wbint */
diff --git a/source3/librpc/gen_ndr/notify.h b/source3/librpc/gen_ndr/notify.h
deleted file mode 100644
index a390fa8a0b..0000000000
--- a/source3/librpc/gen_ndr/notify.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/* header auto-generated by pidl */
-
-#include <stdint.h>
-
-#include "libcli/util/ntstatus.h"
-
-#ifndef _HEADER_notify
-#define _HEADER_notify
-
-struct notify_entry {
- struct server_id server;
- uint32_t filter;
- uint32_t subdir_filter;
- uint32_t dir_fd;
- struct file_id dir_id;
- const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
- uint32_t path_len;
- void* private_data;
-}/* [public] */;
-
-struct notify_entry_array {
- uint32_t num_entries;
- struct notify_entry *entries;
-}/* [public] */;
-
-struct notify_depth {
- uint32_t max_mask;
- uint32_t max_mask_subdir;
- uint32_t num_entries;
- struct notify_entry *entries;
-};
-
-struct notify_array {
- uint32_t num_depths;
- struct notify_depth *depth;
-}/* [public] */;
-
-struct notify_event {
- uint32_t action;
- const char * path;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
- void* private_data;
-}/* [public] */;
-
-#endif /* _HEADER_notify */
diff --git a/source3/librpc/gen_ndr/perfcount.h b/source3/librpc/gen_ndr/perfcount.h
deleted file mode 100644
index cafce4f604..0000000000
--- a/source3/librpc/gen_ndr/perfcount.h
+++ /dev/null
@@ -1,129 +0,0 @@
-/* header auto-generated by pidl */
-
-#include <stdint.h>
-
-#include "libcli/util/ntstatus.h"
-
-#ifndef _HEADER_perfcount
-#define _HEADER_perfcount
-
-#define PERF_NO_INSTANCES ( -1 )
-#define PERF_NO_UNIQUE_ID ( -1 )
-#define PERF_SIZE_DWORD ( 0x00000000 )
-#define PERF_SIZE_LARGE ( 0x00000100 )
-#define PERF_SIZE_ZERO ( 0x00000200 )
-#define PERF_SIZE_VARIABLE_LEN ( 0x00000300 )
-#define PERF_TYPE_NUMBER ( 0x00000000 )
-#define PERF_TYPE_COUNTER ( 0x00000400 )
-#define PERF_TYPE_TEXT ( 0x00000800 )
-#define PERF_TYPE_ZERO ( 0x00000C00 )
-#define PERF_NUMBER_HEX ( 0x00000000 )
-#define PERF_NUMBER_DECIMAL ( 0x00010000 )
-#define PERF_NUMBER_DEC_1000 ( 0x00020000 )
-#define PERF_COUNTER_VALUE ( 0x00000000 )
-#define PERF_COUNTER_RATE ( 0x00010000 )
-#define PERF_COUNTER_FRACTION ( 0x00020000 )
-#define PERF_COUNTER_BASE ( 0x00030000 )
-#define PERF_COUNTER_ELAPSED ( 0x00040000 )
-#define PERF_COUNTER_QUEUELEN ( 0x00050000 )
-#define PERF_COUNTER_HISTOGRAM ( 0x00060000 )
-#define PERF_COUNTER_PRECISION ( 0x00070000 )
-#define PERF_TEXT_UNICODE ( 0x00000000 )
-#define PERF_TEXT_ASCII ( 0x00010000 )
-#define PERF_TIMER_TICK ( 0x00000000 )
-#define PERF_TIMER_100NS ( 0x00100000 )
-#define PERF_OBJECT_TIMER ( 0x00200000 )
-#define PERF_DELTA_COUNTER ( 0x00400000 )
-#define PERF_DELTA_BASE ( 0x00800000 )
-#define PERF_INVERSE_COUNTER ( 0x01000000 )
-#define PERF_MULTI_COUNTER ( 0x02000000 )
-#define PERF_DISPLAY_NO_SUFFIX ( 0x00000000 )
-#define PERF_DISPLAY_PER_SEC ( 0x10000000 )
-#define PERF_DISPLAY_PERCENT ( 0x20000000 )
-#define PERF_DISPLAY_SECONDS ( 0x30000000 )
-#define PERF_DISPLAY_NOSHOW ( 0x40000000 )
-#define PERF_DETAIL_NOVICE ( 100 )
-#define PERF_DETAIL_ADVANCED ( 200 )
-#define PERF_DETAIL_EXPERT ( 300 )
-#define PERF_DETAIL_WIZARD ( 400 )
-struct SYSTEMTIME {
- uint16_t year;
- uint16_t month;
- uint16_t dayofweek;
- uint16_t day;
- uint16_t hour;
- uint16_t minute;
- uint16_t second;
- uint16_t milliseconds;
-};
-
-struct PERF_COUNTER_DEFINITION {
- uint32_t ByteLength;
- uint32_t CounterNameTitleIndex;
- uint32_t CounterNameTitlePointer;
- uint32_t CounterHelpTitleIndex;
- uint32_t CounterHelpTitlePointer;
- uint32_t DefaultScale;
- uint32_t DetailLevel;
- uint32_t CounterType;
- uint32_t CounterSize;
- uint32_t CounterOffset;
-}/* [public] */;
-
-struct PERF_COUNTER_BLOCK {
- uint32_t ByteLength;
- uint8_t *data;
-}/* [public] */;
-
-struct PERF_INSTANCE_DEFINITION {
- uint32_t ByteLength;
- uint32_t ParentObjectTitleIndex;
- uint32_t ParentObjectTitlePointer;
- uint32_t UniqueID;
- uint32_t NameOffset;
- uint32_t NameLength;
- uint8_t *data;/* [unique] */
- struct PERF_COUNTER_BLOCK counter_data;
-}/* [public] */;
-
-struct PERF_OBJECT_TYPE {
- uint32_t TotalByteLength;
- uint32_t DefinitionLength;
- uint32_t HeaderLength;
- uint32_t ObjectNameTitleIndex;
- uint32_t ObjectNameTitlePointer;
- uint32_t ObjectHelpTitleIndex;
- uint32_t ObjectHelpTitlePointer;
- uint32_t DetailLevel;
- uint32_t NumCounters;
- uint32_t DefaultCounter;
- uint32_t NumInstances;
- uint32_t CodePage;
- uint64_t PerfTime;
- uint64_t PerfFreq;
- struct PERF_COUNTER_DEFINITION *counters;
- struct PERF_INSTANCE_DEFINITION *instances;
- struct PERF_COUNTER_BLOCK counter_data;
-}/* [public] */;
-
-struct PERF_DATA_BLOCK {
- uint16_t Signature[4];
- uint32_t LittleEndian;
- uint32_t Version;
- uint32_t Revision;
- uint32_t TotalByteLength;
- uint32_t HeaderLength;
- uint32_t NumObjectTypes;
- uint32_t DefaultObject;
- struct SYSTEMTIME SystemTime;
- uint32_t Padding;
- uint64_t PerfTime;
- uint64_t PerfFreq;
- uint64_t PerfTime100nSec;
- uint32_t SystemNameLength;
- uint32_t SystemNameOffset;
- uint8_t *data;/* [unique] */
- struct PERF_OBJECT_TYPE *objects;
-}/* [public] */;
-
-#endif /* _HEADER_perfcount */
diff --git a/source3/librpc/gen_ndr/secrets.h b/source3/librpc/gen_ndr/secrets.h
deleted file mode 100644
index c37a48c717..0000000000
--- a/source3/librpc/gen_ndr/secrets.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* header auto-generated by pidl */
-
-#include <stdint.h>
-
-#include "libcli/util/ntstatus.h"
-
-#ifndef _HEADER_secrets
-#define _HEADER_secrets
-
-struct TRUSTED_DOM_PASS {
- uint32_t uni_name_len;/* [value(strlen_m_term(uni_name))] */
- const char *uni_name;/* [charset(UTF16)] */
- uint32_t pass_len;/* [value(strlen(pass))] */
- const char * pass;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
- time_t mod_time;
- struct dom_sid domain_sid;
-}/* [public,flag(LIBNDR_FLAG_NOALIGN)] */;
-
-#endif /* _HEADER_secrets */
diff --git a/source3/librpc/gen_ndr/srv_wbint.c b/source3/librpc/gen_ndr/srv_wbint.c
deleted file mode 100644
index efd9be6b7a..0000000000
--- a/source3/librpc/gen_ndr/srv_wbint.c
+++ /dev/null
@@ -1,2224 +0,0 @@
-/*
- * Unix SMB/CIFS implementation.
- * server auto-generated by pidl. DO NOT MODIFY!
- */
-
-#include "includes.h"
-#include "librpc/gen_ndr/srv_wbint.h"
-
-static bool api_wbint_Ping(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_Ping *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_PING];
-
- r = talloc(talloc_tos(), struct wbint_Ping);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Ping, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.out_data = talloc_zero(r, uint32_t);
- if (r->out.out_data == NULL) {
- talloc_free(r);
- return false;
- }
-
- _wbint_Ping(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Ping, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_LookupSid(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_LookupSid *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_LOOKUPSID];
-
- r = talloc(talloc_tos(), struct wbint_LookupSid);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupSid, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.type = talloc_zero(r, enum lsa_SidType);
- if (r->out.type == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.domain = talloc_zero(r, const char *);
- if (r->out.domain == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.name = talloc_zero(r, const char *);
- if (r->out.name == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_LookupSid(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupSid, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_LookupName(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_LookupName *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_LOOKUPNAME];
-
- r = talloc(talloc_tos(), struct wbint_LookupName);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupName, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.type = talloc_zero(r, enum lsa_SidType);
- if (r->out.type == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.sid = talloc_zero(r, struct dom_sid);
- if (r->out.sid == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_LookupName(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupName, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_Sid2Uid(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_Sid2Uid *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_SID2UID];
-
- r = talloc(talloc_tos(), struct wbint_Sid2Uid);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Sid2Uid, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.uid = talloc_zero(r, uint64_t);
- if (r->out.uid == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_Sid2Uid(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Sid2Uid, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_Sid2Gid(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_Sid2Gid *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_SID2GID];
-
- r = talloc(talloc_tos(), struct wbint_Sid2Gid);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Sid2Gid, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.gid = talloc_zero(r, uint64_t);
- if (r->out.gid == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_Sid2Gid(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Sid2Gid, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_Uid2Sid(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_Uid2Sid *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_UID2SID];
-
- r = talloc(talloc_tos(), struct wbint_Uid2Sid);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Uid2Sid, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.sid = talloc_zero(r, struct dom_sid);
- if (r->out.sid == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_Uid2Sid(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Uid2Sid, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_Gid2Sid(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_Gid2Sid *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_GID2SID];
-
- r = talloc(talloc_tos(), struct wbint_Gid2Sid);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_Gid2Sid, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.sid = talloc_zero(r, struct dom_sid);
- if (r->out.sid == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_Gid2Sid(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_Gid2Sid, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_AllocateUid(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_AllocateUid *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_ALLOCATEUID];
-
- r = talloc(talloc_tos(), struct wbint_AllocateUid);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_AllocateUid, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.uid = talloc_zero(r, uint64_t);
- if (r->out.uid == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_AllocateUid(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_AllocateUid, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_AllocateGid(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_AllocateGid *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_ALLOCATEGID];
-
- r = talloc(talloc_tos(), struct wbint_AllocateGid);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_AllocateGid, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.gid = talloc_zero(r, uint64_t);
- if (r->out.gid == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_AllocateGid(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_AllocateGid, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_QueryUser(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_QueryUser *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_QUERYUSER];
-
- r = talloc(talloc_tos(), struct wbint_QueryUser);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QueryUser, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.info = talloc_zero(r, struct wbint_userinfo);
- if (r->out.info == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_QueryUser(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_QueryUser, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_LookupUserAliases(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_LookupUserAliases *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_LOOKUPUSERALIASES];
-
- r = talloc(talloc_tos(), struct wbint_LookupUserAliases);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupUserAliases, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.rids = talloc_zero(r, struct wbint_RidArray);
- if (r->out.rids == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_LookupUserAliases(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupUserAliases, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_LookupUserGroups(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_LookupUserGroups *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_LOOKUPUSERGROUPS];
-
- r = talloc(talloc_tos(), struct wbint_LookupUserGroups);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupUserGroups, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.sids = talloc_zero(r, struct wbint_SidArray);
- if (r->out.sids == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_LookupUserGroups(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupUserGroups, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_QuerySequenceNumber(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_QuerySequenceNumber *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_QUERYSEQUENCENUMBER];
-
- r = talloc(talloc_tos(), struct wbint_QuerySequenceNumber);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QuerySequenceNumber, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.sequence = talloc_zero(r, uint32_t);
- if (r->out.sequence == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_QuerySequenceNumber(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_QuerySequenceNumber, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_LookupGroupMembers(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_LookupGroupMembers *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_LOOKUPGROUPMEMBERS];
-
- r = talloc(talloc_tos(), struct wbint_LookupGroupMembers);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupGroupMembers, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.members = talloc_zero(r, struct wbint_Principals);
- if (r->out.members == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_LookupGroupMembers(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupGroupMembers, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_QueryUserList(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_QueryUserList *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_QUERYUSERLIST];
-
- r = talloc(talloc_tos(), struct wbint_QueryUserList);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QueryUserList, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.users = talloc_zero(r, struct wbint_userinfos);
- if (r->out.users == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_QueryUserList(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_QueryUserList, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_QueryGroupList(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_QueryGroupList *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_QUERYGROUPLIST];
-
- r = talloc(talloc_tos(), struct wbint_QueryGroupList);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_QueryGroupList, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.groups = talloc_zero(r, struct wbint_Principals);
- if (r->out.groups == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_QueryGroupList(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_QueryGroupList, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_DsGetDcName(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_DsGetDcName *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_DSGETDCNAME];
-
- r = talloc(talloc_tos(), struct wbint_DsGetDcName);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_DsGetDcName, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.dc_info = talloc_zero(r, struct netr_DsRGetDCNameInfo *);
- if (r->out.dc_info == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_DsGetDcName(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_DsGetDcName, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_LookupRids(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_LookupRids *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_LOOKUPRIDS];
-
- r = talloc(talloc_tos(), struct wbint_LookupRids);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_LookupRids, r);
- }
-
- ZERO_STRUCT(r->out);
- r->out.names = talloc_zero(r, struct wbint_Principals);
- if (r->out.names == NULL) {
- talloc_free(r);
- return false;
- }
-
- r->out.result = _wbint_LookupRids(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_LookupRids, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_CheckMachineAccount(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_CheckMachineAccount *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_CHECKMACHINEACCOUNT];
-
- r = talloc(talloc_tos(), struct wbint_CheckMachineAccount);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_CheckMachineAccount, r);
- }
-
- r->out.result = _wbint_CheckMachineAccount(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_CheckMachineAccount, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_ChangeMachineAccount(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_ChangeMachineAccount *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_CHANGEMACHINEACCOUNT];
-
- r = talloc(talloc_tos(), struct wbint_ChangeMachineAccount);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_ChangeMachineAccount, r);
- }
-
- r->out.result = _wbint_ChangeMachineAccount(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_ChangeMachineAccount, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_PingDc(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_PingDc *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_PINGDC];
-
- r = talloc(talloc_tos(), struct wbint_PingDc);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_PingDc, r);
- }
-
- r->out.result = _wbint_PingDc(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_PingDc, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_SetMapping(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_SetMapping *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_SETMAPPING];
-
- r = talloc(talloc_tos(), struct wbint_SetMapping);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_SetMapping, r);
- }
-
- r->out.result = _wbint_SetMapping(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_SetMapping, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_RemoveMapping(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_RemoveMapping *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_REMOVEMAPPING];
-
- r = talloc(talloc_tos(), struct wbint_RemoveMapping);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_RemoveMapping, r);
- }
-
- r->out.result = _wbint_RemoveMapping(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_RemoveMapping, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-static bool api_wbint_SetHWM(pipes_struct *p)
-{
- const struct ndr_interface_call *call;
- struct ndr_pull *pull;
- struct ndr_push *push;
- enum ndr_err_code ndr_err;
- DATA_BLOB blob;
- struct wbint_SetHWM *r;
-
- call = &ndr_table_wbint.calls[NDR_WBINT_SETHWM];
-
- r = talloc(talloc_tos(), struct wbint_SetHWM);
- if (r == NULL) {
- return false;
- }
-
- if (!prs_data_blob(&p->in_data.data, &blob, r)) {
- talloc_free(r);
- return false;
- }
-
- pull = ndr_pull_init_blob(&blob, r, NULL);
- if (pull == NULL) {
- talloc_free(r);
- return false;
- }
-
- pull->flags |= LIBNDR_FLAG_REF_ALLOC;
- ndr_err = call->ndr_pull(pull, NDR_IN, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(wbint_SetHWM, r);
- }
-
- r->out.result = _wbint_SetHWM(p, r);
-
- if (p->rng_fault_state) {
- talloc_free(r);
- /* Return true here, srv_pipe_hnd.c will take care */
- return true;
- }
-
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(wbint_SetHWM, r);
- }
-
- push = ndr_push_init_ctx(r, NULL);
- if (push == NULL) {
- talloc_free(r);
- return false;
- }
-
- ndr_err = call->ndr_push(push, NDR_OUT, r);
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- talloc_free(r);
- return false;
- }
-
- blob = ndr_push_blob(push);
- if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
- talloc_free(r);
- return false;
- }
-
- talloc_free(r);
-
- return true;
-}
-
-
-/* Tables */
-static struct api_struct api_wbint_cmds[] =
-{
- {"WBINT_PING", NDR_WBINT_PING, api_wbint_Ping},
- {"WBINT_LOOKUPSID", NDR_WBINT_LOOKUPSID, api_wbint_LookupSid},
- {"WBINT_LOOKUPNAME", NDR_WBINT_LOOKUPNAME, api_wbint_LookupName},
- {"WBINT_SID2UID", NDR_WBINT_SID2UID, api_wbint_Sid2Uid},
- {"WBINT_SID2GID", NDR_WBINT_SID2GID, api_wbint_Sid2Gid},
- {"WBINT_UID2SID", NDR_WBINT_UID2SID, api_wbint_Uid2Sid},
- {"WBINT_GID2SID", NDR_WBINT_GID2SID, api_wbint_Gid2Sid},
- {"WBINT_ALLOCATEUID", NDR_WBINT_ALLOCATEUID, api_wbint_AllocateUid},
- {"WBINT_ALLOCATEGID", NDR_WBINT_ALLOCATEGID, api_wbint_AllocateGid},
- {"WBINT_QUERYUSER", NDR_WBINT_QUERYUSER, api_wbint_QueryUser},
- {"WBINT_LOOKUPUSERALIASES", NDR_WBINT_LOOKUPUSERALIASES, api_wbint_LookupUserAliases},
- {"WBINT_LOOKUPUSERGROUPS", NDR_WBINT_LOOKUPUSERGROUPS, api_wbint_LookupUserGroups},
- {"WBINT_QUERYSEQUENCENUMBER", NDR_WBINT_QUERYSEQUENCENUMBER, api_wbint_QuerySequenceNumber},
- {"WBINT_LOOKUPGROUPMEMBERS", NDR_WBINT_LOOKUPGROUPMEMBERS, api_wbint_LookupGroupMembers},
- {"WBINT_QUERYUSERLIST", NDR_WBINT_QUERYUSERLIST, api_wbint_QueryUserList},
- {"WBINT_QUERYGROUPLIST", NDR_WBINT_QUERYGROUPLIST, api_wbint_QueryGroupList},
- {"WBINT_DSGETDCNAME", NDR_WBINT_DSGETDCNAME, api_wbint_DsGetDcName},
- {"WBINT_LOOKUPRIDS", NDR_WBINT_LOOKUPRIDS, api_wbint_LookupRids},
- {"WBINT_CHECKMACHINEACCOUNT", NDR_WBINT_CHECKMACHINEACCOUNT, api_wbint_CheckMachineAccount},
- {"WBINT_CHANGEMACHINEACCOUNT", NDR_WBINT_CHANGEMACHINEACCOUNT, api_wbint_ChangeMachineAccount},
- {"WBINT_PINGDC", NDR_WBINT_PINGDC, api_wbint_PingDc},
- {"WBINT_SETMAPPING", NDR_WBINT_SETMAPPING, api_wbint_SetMapping},
- {"WBINT_REMOVEMAPPING", NDR_WBINT_REMOVEMAPPING, api_wbint_RemoveMapping},
- {"WBINT_SETHWM", NDR_WBINT_SETHWM, api_wbint_SetHWM},
-};
-
-void wbint_get_pipe_fns(struct api_struct **fns, int *n_fns)
-{
- *fns = api_wbint_cmds;
- *n_fns = sizeof(api_wbint_cmds) / sizeof(struct api_struct);
-}
-
-NTSTATUS rpc_wbint_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32_t opnum, void *_r)
-{
- if (cli->pipes_struct == NULL) {
- return NT_STATUS_INVALID_PARAMETER;
- }
-
- switch (opnum)
- {
- case NDR_WBINT_PING: {
- struct wbint_Ping *r = (struct wbint_Ping *)_r;
- ZERO_STRUCT(r->out);
- r->out.out_data = talloc_zero(mem_ctx, uint32_t);
- if (r->out.out_data == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- _wbint_Ping(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_LOOKUPSID: {
- struct wbint_LookupSid *r = (struct wbint_LookupSid *)_r;
- ZERO_STRUCT(r->out);
- r->out.type = talloc_zero(mem_ctx, enum lsa_SidType);
- if (r->out.type == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.domain = talloc_zero(mem_ctx, const char *);
- if (r->out.domain == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.name = talloc_zero(mem_ctx, const char *);
- if (r->out.name == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_LookupSid(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_LOOKUPNAME: {
- struct wbint_LookupName *r = (struct wbint_LookupName *)_r;
- ZERO_STRUCT(r->out);
- r->out.type = talloc_zero(mem_ctx, enum lsa_SidType);
- if (r->out.type == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.sid = talloc_zero(mem_ctx, struct dom_sid);
- if (r->out.sid == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_LookupName(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_SID2UID: {
- struct wbint_Sid2Uid *r = (struct wbint_Sid2Uid *)_r;
- ZERO_STRUCT(r->out);
- r->out.uid = talloc_zero(mem_ctx, uint64_t);
- if (r->out.uid == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_Sid2Uid(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_SID2GID: {
- struct wbint_Sid2Gid *r = (struct wbint_Sid2Gid *)_r;
- ZERO_STRUCT(r->out);
- r->out.gid = talloc_zero(mem_ctx, uint64_t);
- if (r->out.gid == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_Sid2Gid(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_UID2SID: {
- struct wbint_Uid2Sid *r = (struct wbint_Uid2Sid *)_r;
- ZERO_STRUCT(r->out);
- r->out.sid = talloc_zero(mem_ctx, struct dom_sid);
- if (r->out.sid == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_Uid2Sid(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_GID2SID: {
- struct wbint_Gid2Sid *r = (struct wbint_Gid2Sid *)_r;
- ZERO_STRUCT(r->out);
- r->out.sid = talloc_zero(mem_ctx, struct dom_sid);
- if (r->out.sid == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_Gid2Sid(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_ALLOCATEUID: {
- struct wbint_AllocateUid *r = (struct wbint_AllocateUid *)_r;
- ZERO_STRUCT(r->out);
- r->out.uid = talloc_zero(mem_ctx, uint64_t);
- if (r->out.uid == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_AllocateUid(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_ALLOCATEGID: {
- struct wbint_AllocateGid *r = (struct wbint_AllocateGid *)_r;
- ZERO_STRUCT(r->out);
- r->out.gid = talloc_zero(mem_ctx, uint64_t);
- if (r->out.gid == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_AllocateGid(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_QUERYUSER: {
- struct wbint_QueryUser *r = (struct wbint_QueryUser *)_r;
- ZERO_STRUCT(r->out);
- r->out.info = talloc_zero(mem_ctx, struct wbint_userinfo);
- if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_QueryUser(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_LOOKUPUSERALIASES: {
- struct wbint_LookupUserAliases *r = (struct wbint_LookupUserAliases *)_r;
- ZERO_STRUCT(r->out);
- r->out.rids = talloc_zero(mem_ctx, struct wbint_RidArray);
- if (r->out.rids == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_LookupUserAliases(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_LOOKUPUSERGROUPS: {
- struct wbint_LookupUserGroups *r = (struct wbint_LookupUserGroups *)_r;
- ZERO_STRUCT(r->out);
- r->out.sids = talloc_zero(mem_ctx, struct wbint_SidArray);
- if (r->out.sids == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_LookupUserGroups(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_QUERYSEQUENCENUMBER: {
- struct wbint_QuerySequenceNumber *r = (struct wbint_QuerySequenceNumber *)_r;
- ZERO_STRUCT(r->out);
- r->out.sequence = talloc_zero(mem_ctx, uint32_t);
- if (r->out.sequence == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_QuerySequenceNumber(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_LOOKUPGROUPMEMBERS: {
- struct wbint_LookupGroupMembers *r = (struct wbint_LookupGroupMembers *)_r;
- ZERO_STRUCT(r->out);
- r->out.members = talloc_zero(mem_ctx, struct wbint_Principals);
- if (r->out.members == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_LookupGroupMembers(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_QUERYUSERLIST: {
- struct wbint_QueryUserList *r = (struct wbint_QueryUserList *)_r;
- ZERO_STRUCT(r->out);
- r->out.users = talloc_zero(mem_ctx, struct wbint_userinfos);
- if (r->out.users == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_QueryUserList(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_QUERYGROUPLIST: {
- struct wbint_QueryGroupList *r = (struct wbint_QueryGroupList *)_r;
- ZERO_STRUCT(r->out);
- r->out.groups = talloc_zero(mem_ctx, struct wbint_Principals);
- if (r->out.groups == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_QueryGroupList(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_DSGETDCNAME: {
- struct wbint_DsGetDcName *r = (struct wbint_DsGetDcName *)_r;
- ZERO_STRUCT(r->out);
- r->out.dc_info = talloc_zero(mem_ctx, struct netr_DsRGetDCNameInfo *);
- if (r->out.dc_info == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_DsGetDcName(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_LOOKUPRIDS: {
- struct wbint_LookupRids *r = (struct wbint_LookupRids *)_r;
- ZERO_STRUCT(r->out);
- r->out.names = talloc_zero(mem_ctx, struct wbint_Principals);
- if (r->out.names == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
- r->out.result = _wbint_LookupRids(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_CHECKMACHINEACCOUNT: {
- struct wbint_CheckMachineAccount *r = (struct wbint_CheckMachineAccount *)_r;
- r->out.result = _wbint_CheckMachineAccount(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_CHANGEMACHINEACCOUNT: {
- struct wbint_ChangeMachineAccount *r = (struct wbint_ChangeMachineAccount *)_r;
- r->out.result = _wbint_ChangeMachineAccount(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_PINGDC: {
- struct wbint_PingDc *r = (struct wbint_PingDc *)_r;
- r->out.result = _wbint_PingDc(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_SETMAPPING: {
- struct wbint_SetMapping *r = (struct wbint_SetMapping *)_r;
- r->out.result = _wbint_SetMapping(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_REMOVEMAPPING: {
- struct wbint_RemoveMapping *r = (struct wbint_RemoveMapping *)_r;
- r->out.result = _wbint_RemoveMapping(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- case NDR_WBINT_SETHWM: {
- struct wbint_SetHWM *r = (struct wbint_SetHWM *)_r;
- r->out.result = _wbint_SetHWM(cli->pipes_struct, r);
- return NT_STATUS_OK;
- }
-
- default:
- return NT_STATUS_NOT_IMPLEMENTED;
- }
-}
-
-NTSTATUS rpc_wbint_init(void)
-{
- return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "wbint", "wbint", &ndr_table_wbint, api_wbint_cmds, sizeof(api_wbint_cmds) / sizeof(struct api_struct));
-}
diff --git a/source3/librpc/gen_ndr/srv_wbint.h b/source3/librpc/gen_ndr/srv_wbint.h
deleted file mode 100644
index 716f1ac9d1..0000000000
--- a/source3/librpc/gen_ndr/srv_wbint.h
+++ /dev/null
@@ -1,55 +0,0 @@
-#include "librpc/gen_ndr/ndr_wbint.h"
-#ifndef __SRV_WBINT__
-#define __SRV_WBINT__
-void _wbint_Ping(pipes_struct *p, struct wbint_Ping *r);
-NTSTATUS _wbint_LookupSid(pipes_struct *p, struct wbint_LookupSid *r);
-NTSTATUS _wbint_LookupName(pipes_struct *p, struct wbint_LookupName *r);
-NTSTATUS _wbint_Sid2Uid(pipes_struct *p, struct wbint_Sid2Uid *r);
-NTSTATUS _wbint_Sid2Gid(pipes_struct *p, struct wbint_Sid2Gid *r);
-NTSTATUS _wbint_Uid2Sid(pipes_struct *p, struct wbint_Uid2Sid *r);
-NTSTATUS _wbint_Gid2Sid(pipes_struct *p, struct wbint_Gid2Sid *r);
-NTSTATUS _wbint_AllocateUid(pipes_struct *p, struct wbint_AllocateUid *r);
-NTSTATUS _wbint_AllocateGid(pipes_struct *p, struct wbint_AllocateGid *r);
-NTSTATUS _wbint_QueryUser(pipes_struct *p, struct wbint_QueryUser *r);
-NTSTATUS _wbint_LookupUserAliases(pipes_struct *p, struct wbint_LookupUserAliases *r);
-NTSTATUS _wbint_LookupUserGroups(pipes_struct *p, struct wbint_LookupUserGroups *r);
-NTSTATUS _wbint_QuerySequenceNumber(pipes_struct *p, struct wbint_QuerySequenceNumber *r);
-NTSTATUS _wbint_LookupGroupMembers(pipes_struct *p, struct wbint_LookupGroupMembers *r);
-NTSTATUS _wbint_QueryUserList(pipes_struct *p, struct wbint_QueryUserList *r);
-NTSTATUS _wbint_QueryGroupList(pipes_struct *p, struct wbint_QueryGroupList *r);
-NTSTATUS _wbint_DsGetDcName(pipes_struct *p, struct wbint_DsGetDcName *r);
-NTSTATUS _wbint_LookupRids(pipes_struct *p, struct wbint_LookupRids *r);
-NTSTATUS _wbint_CheckMachineAccount(pipes_struct *p, struct wbint_CheckMachineAccount *r);
-NTSTATUS _wbint_ChangeMachineAccount(pipes_struct *p, struct wbint_ChangeMachineAccount *r);
-NTSTATUS _wbint_PingDc(pipes_struct *p, struct wbint_PingDc *r);
-NTSTATUS _wbint_SetMapping(pipes_struct *p, struct wbint_SetMapping *r);
-NTSTATUS _wbint_RemoveMapping(pipes_struct *p, struct wbint_RemoveMapping *r);
-NTSTATUS _wbint_SetHWM(pipes_struct *p, struct wbint_SetHWM *r);
-void wbint_get_pipe_fns(struct api_struct **fns, int *n_fns);
-NTSTATUS rpc_wbint_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32_t opnum, void *r);
-void _wbint_Ping(pipes_struct *p, struct wbint_Ping *r);
-NTSTATUS _wbint_LookupSid(pipes_struct *p, struct wbint_LookupSid *r);
-NTSTATUS _wbint_LookupName(pipes_struct *p, struct wbint_LookupName *r);
-NTSTATUS _wbint_Sid2Uid(pipes_struct *p, struct wbint_Sid2Uid *r);
-NTSTATUS _wbint_Sid2Gid(pipes_struct *p, struct wbint_Sid2Gid *r);
-NTSTATUS _wbint_Uid2Sid(pipes_struct *p, struct wbint_Uid2Sid *r);
-NTSTATUS _wbint_Gid2Sid(pipes_struct *p, struct wbint_Gid2Sid *r);
-NTSTATUS _wbint_AllocateUid(pipes_struct *p, struct wbint_AllocateUid *r);
-NTSTATUS _wbint_AllocateGid(pipes_struct *p, struct wbint_AllocateGid *r);
-NTSTATUS _wbint_QueryUser(pipes_struct *p, struct wbint_QueryUser *r);
-NTSTATUS _wbint_LookupUserAliases(pipes_struct *p, struct wbint_LookupUserAliases *r);
-NTSTATUS _wbint_LookupUserGroups(pipes_struct *p, struct wbint_LookupUserGroups *r);
-NTSTATUS _wbint_QuerySequenceNumber(pipes_struct *p, struct wbint_QuerySequenceNumber *r);
-NTSTATUS _wbint_LookupGroupMembers(pipes_struct *p, struct wbint_LookupGroupMembers *r);
-NTSTATUS _wbint_QueryUserList(pipes_struct *p, struct wbint_QueryUserList *r);
-NTSTATUS _wbint_QueryGroupList(pipes_struct *p, struct wbint_QueryGroupList *r);
-NTSTATUS _wbint_DsGetDcName(pipes_struct *p, struct wbint_DsGetDcName *r);
-NTSTATUS _wbint_LookupRids(pipes_struct *p, struct wbint_LookupRids *r);
-NTSTATUS _wbint_CheckMachineAccount(pipes_struct *p, struct wbint_CheckMachineAccount *r);
-NTSTATUS _wbint_ChangeMachineAccount(pipes_struct *p, struct wbint_ChangeMachineAccount *r);
-NTSTATUS _wbint_PingDc(pipes_struct *p, struct wbint_PingDc *r);
-NTSTATUS _wbint_SetMapping(pipes_struct *p, struct wbint_SetMapping *r);
-NTSTATUS _wbint_RemoveMapping(pipes_struct *p, struct wbint_RemoveMapping *r);
-NTSTATUS _wbint_SetHWM(pipes_struct *p, struct wbint_SetHWM *r);
-NTSTATUS rpc_wbint_init(void);
-#endif /* __SRV_WBINT__ */
diff --git a/source3/librpc/gen_ndr/wbint.h b/source3/librpc/gen_ndr/wbint.h
deleted file mode 100644
index 96b7800624..0000000000
--- a/source3/librpc/gen_ndr/wbint.h
+++ /dev/null
@@ -1,354 +0,0 @@
-/* header auto-generated by pidl */
-
-#include <stdint.h>
-
-#include "libcli/util/ntstatus.h"
-
-#include "librpc/gen_ndr/lsa.h"
-#include "librpc/gen_ndr/netlogon.h"
-#ifndef _HEADER_wbint
-#define _HEADER_wbint
-
-struct wbint_userinfo {
- const char *acct_name;/* [unique,charset(UTF8)] */
- const char *full_name;/* [unique,charset(UTF8)] */
- const char *homedir;/* [unique,charset(UTF8)] */
- const char *shell;/* [unique,charset(UTF8)] */
- uint64_t primary_gid;
- struct dom_sid user_sid;
- struct dom_sid group_sid;
-}/* [public] */;
-
-struct wbint_SidArray {
- uint32_t num_sids;
- struct dom_sid *sids;/* [size_is(num_sids)] */
-}/* [public] */;
-
-struct wbint_RidArray {
- uint32_t num_rids;
- uint32_t *rids;/* [size_is(num_rids)] */
-}/* [public] */;
-
-struct wbint_Principal {
- struct dom_sid sid;
- enum lsa_SidType type;
- const char *name;/* [unique,charset(UTF8)] */
-}/* [public] */;
-
-struct wbint_Principals {
- int32_t num_principals;
- struct wbint_Principal *principals;/* [size_is(num_principals)] */
-}/* [public] */;
-
-struct wbint_userinfos {
- uint32_t num_userinfos;
- struct wbint_userinfo *userinfos;/* [size_is(num_userinfos)] */
-}/* [public] */;
-
-enum wbint_IdType
-#ifndef USE_UINT_ENUMS
- {
- WBINT_ID_TYPE_NOT_SPECIFIED,
- WBINT_ID_TYPE_UID,
- WBINT_ID_TYPE_GID
-}
-#else
- { __donnot_use_enum_wbint_IdType=0x7FFFFFFF}
-#define WBINT_ID_TYPE_NOT_SPECIFIED ( 0 )
-#define WBINT_ID_TYPE_UID ( 1 )
-#define WBINT_ID_TYPE_GID ( 2 )
-#endif
-;
-
-
-struct wbint_Ping {
- struct {
- uint32_t in_data;
- } in;
-
- struct {
- uint32_t *out_data;/* [ref] */
- } out;
-
-};
-
-
-struct wbint_LookupSid {
- struct {
- struct dom_sid *sid;/* [ref] */
- } in;
-
- struct {
- enum lsa_SidType *type;/* [ref] */
- const char **domain;/* [ref,charset(UTF8)] */
- const char **name;/* [ref,charset(UTF8)] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_LookupName {
- struct {
- const char *domain;/* [ref,charset(UTF8)] */
- const char *name;/* [ref,charset(UTF8)] */
- uint32_t flags;
- } in;
-
- struct {
- enum lsa_SidType *type;/* [ref] */
- struct dom_sid *sid;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_Sid2Uid {
- struct {
- const char *dom_name;/* [unique,charset(UTF8)] */
- struct dom_sid *sid;/* [ref] */
- } in;
-
- struct {
- uint64_t *uid;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_Sid2Gid {
- struct {
- const char *dom_name;/* [unique,charset(UTF8)] */
- struct dom_sid *sid;/* [ref] */
- } in;
-
- struct {
- uint64_t *gid;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_Uid2Sid {
- struct {
- const char *dom_name;/* [unique,charset(UTF8)] */
- uint64_t uid;
- } in;
-
- struct {
- struct dom_sid *sid;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_Gid2Sid {
- struct {
- const char *dom_name;/* [unique,charset(UTF8)] */
- uint64_t gid;
- } in;
-
- struct {
- struct dom_sid *sid;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_AllocateUid {
- struct {
- uint64_t *uid;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_AllocateGid {
- struct {
- uint64_t *gid;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_QueryUser {
- struct {
- struct dom_sid *sid;/* [ref] */
- } in;
-
- struct {
- struct wbint_userinfo *info;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_LookupUserAliases {
- struct {
- struct wbint_SidArray *sids;/* [ref] */
- } in;
-
- struct {
- struct wbint_RidArray *rids;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_LookupUserGroups {
- struct {
- struct dom_sid *sid;/* [ref] */
- } in;
-
- struct {
- struct wbint_SidArray *sids;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_QuerySequenceNumber {
- struct {
- uint32_t *sequence;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_LookupGroupMembers {
- struct {
- struct dom_sid *sid;/* [ref] */
- enum lsa_SidType type;
- } in;
-
- struct {
- struct wbint_Principals *members;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_QueryUserList {
- struct {
- struct wbint_userinfos *users;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_QueryGroupList {
- struct {
- struct wbint_Principals *groups;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_DsGetDcName {
- struct {
- const char *domain_name;/* [ref,charset(UTF8)] */
- struct GUID *domain_guid;/* [unique] */
- const char *site_name;/* [unique,charset(UTF8)] */
- uint32_t flags;
- } in;
-
- struct {
- struct netr_DsRGetDCNameInfo **dc_info;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_LookupRids {
- struct {
- struct wbint_RidArray *rids;/* [ref] */
- } in;
-
- struct {
- struct wbint_Principals *names;/* [ref] */
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_CheckMachineAccount {
- struct {
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_ChangeMachineAccount {
- struct {
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_PingDc {
- struct {
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_SetMapping {
- struct {
- struct dom_sid *sid;/* [ref] */
- enum wbint_IdType type;
- uint64_t id;
- } in;
-
- struct {
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_RemoveMapping {
- struct {
- struct dom_sid *sid;/* [ref] */
- enum wbint_IdType type;
- uint64_t id;
- } in;
-
- struct {
- NTSTATUS result;
- } out;
-
-};
-
-
-struct wbint_SetHWM {
- struct {
- enum wbint_IdType type;
- uint64_t id;
- } in;
-
- struct {
- NTSTATUS result;
- } out;
-
-};
-
-#endif /* _HEADER_wbint */