s3-idl: removed gen_ndr files from source3/ as well
authorAndrew Tridgell <tridge@samba.org>
Mon, 3 May 2010 15:22:18 +0000 (17:22 +0200)
committerAndrew Tridgell <tridge@samba.org>
Tue, 4 May 2010 11:47:07 +0000 (13:47 +0200)
26 files changed:
source3/librpc/gen_ndr/README [new file with mode: 0644]
source3/librpc/gen_ndr/cli_wbint.c [deleted file]
source3/librpc/gen_ndr/cli_wbint.h [deleted file]
source3/librpc/gen_ndr/libnet_join.h [deleted file]
source3/librpc/gen_ndr/libnetapi.h [deleted file]
source3/librpc/gen_ndr/messaging.h [deleted file]
source3/librpc/gen_ndr/ndr_libnet_join.c [deleted file]
source3/librpc/gen_ndr/ndr_libnet_join.h [deleted file]
source3/librpc/gen_ndr/ndr_libnetapi.c [deleted file]
source3/librpc/gen_ndr/ndr_libnetapi.h [deleted file]
source3/librpc/gen_ndr/ndr_messaging.c [deleted file]
source3/librpc/gen_ndr/ndr_messaging.h [deleted file]
source3/librpc/gen_ndr/ndr_notify.c [deleted file]
source3/librpc/gen_ndr/ndr_notify.h [deleted file]
source3/librpc/gen_ndr/ndr_perfcount.c [deleted file]
source3/librpc/gen_ndr/ndr_perfcount.h [deleted file]
source3/librpc/gen_ndr/ndr_secrets.c [deleted file]
source3/librpc/gen_ndr/ndr_secrets.h [deleted file]
source3/librpc/gen_ndr/ndr_wbint.c [deleted file]
source3/librpc/gen_ndr/ndr_wbint.h [deleted file]
source3/librpc/gen_ndr/notify.h [deleted file]
source3/librpc/gen_ndr/perfcount.h [deleted file]
source3/librpc/gen_ndr/secrets.h [deleted file]
source3/librpc/gen_ndr/srv_wbint.c [deleted file]
source3/librpc/gen_ndr/srv_wbint.h [deleted file]
source3/librpc/gen_ndr/wbint.h [deleted file]

diff --git a/source3/librpc/gen_ndr/README b/source3/librpc/gen_ndr/README
new file mode 100644 (file)
index 0000000..0c1fd16
--- /dev/null
@@ -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 (file)
index 592b27b..0000000
+++ /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 (file)
index 4528d43..0000000
+++ /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 (file)
index cf915cb..0000000
+++ /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 (file)
index 83acb3a..0000000
+++ /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 (file)
index 1312c84..0000000
+++ /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 (file)
index ba31ea6..0000000
+++ /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 (file)
index 14c8a86..0000000
+++ /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 (file)
index 2dfca23..0000000
+++ /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));