Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"
authorVolker Lendecke <vl@samba.org>
Sun, 8 Nov 2009 18:38:01 +0000 (19:38 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 8 Nov 2009 18:43:47 +0000 (19:43 +0100)
This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a.

56 files changed:
librpc/gen_ndr/cli_dfs.c
librpc/gen_ndr/cli_drsuapi.c
librpc/gen_ndr/cli_dssetup.c
librpc/gen_ndr/cli_echo.c
librpc/gen_ndr/cli_epmapper.c
librpc/gen_ndr/cli_eventlog.c
librpc/gen_ndr/cli_initshutdown.c
librpc/gen_ndr/cli_lsa.c
librpc/gen_ndr/cli_netlogon.c
librpc/gen_ndr/cli_ntsvcs.c
librpc/gen_ndr/cli_samr.c
librpc/gen_ndr/cli_spoolss.c
librpc/gen_ndr/cli_srvsvc.c
librpc/gen_ndr/cli_svcctl.c
librpc/gen_ndr/cli_winreg.c
librpc/gen_ndr/cli_wkssvc.c
librpc/gen_ndr/srv_dfs.c
librpc/gen_ndr/srv_dfs.h
librpc/gen_ndr/srv_dssetup.c
librpc/gen_ndr/srv_dssetup.h
librpc/gen_ndr/srv_echo.c
librpc/gen_ndr/srv_echo.h
librpc/gen_ndr/srv_epmapper.c
librpc/gen_ndr/srv_epmapper.h
librpc/gen_ndr/srv_eventlog.c
librpc/gen_ndr/srv_eventlog.h
librpc/gen_ndr/srv_initshutdown.c
librpc/gen_ndr/srv_initshutdown.h
librpc/gen_ndr/srv_lsa.c
librpc/gen_ndr/srv_lsa.h
librpc/gen_ndr/srv_netlogon.c
librpc/gen_ndr/srv_netlogon.h
librpc/gen_ndr/srv_ntsvcs.c
librpc/gen_ndr/srv_ntsvcs.h
librpc/gen_ndr/srv_samr.c
librpc/gen_ndr/srv_samr.h
librpc/gen_ndr/srv_spoolss.c
librpc/gen_ndr/srv_spoolss.h
librpc/gen_ndr/srv_srvsvc.c
librpc/gen_ndr/srv_srvsvc.h
librpc/gen_ndr/srv_svcctl.c
librpc/gen_ndr/srv_svcctl.h
librpc/gen_ndr/srv_winreg.c
librpc/gen_ndr/srv_winreg.h
librpc/gen_ndr/srv_wkssvc.c
librpc/gen_ndr/srv_wkssvc.h
pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
source3/include/client.h
source3/include/proto.h
source3/librpc/gen_ndr/cli_wbint.c
source3/librpc/gen_ndr/srv_wbint.c
source3/librpc/gen_ndr/srv_wbint.h
source3/rpc_client/ndr.c
source3/rpc_server/srv_pipe_hnd.c
source3/winbindd/winbindd_dual_ndr.c

index a8b6bfe83c1b17c6e64bc8c8aaac01a43c6a8b17..6ce5b5fcafb453f3aadc22ae3488597f7dc629e5 100644 (file)
@@ -47,7 +47,7 @@ struct tevent_req *rpccli_dfs_GetManagerVersion_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_GETMANAGERVERSION,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -118,7 +118,7 @@ NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_GETMANAGERVERSION,
                                &r);
 
@@ -183,7 +183,7 @@ struct tevent_req *rpccli_dfs_Add_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_ADD,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -270,7 +270,7 @@ NTSTATUS rpccli_dfs_Add(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_ADD,
                                &r);
 
@@ -334,7 +334,7 @@ struct tevent_req *rpccli_dfs_Remove_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_REMOVE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -417,7 +417,7 @@ NTSTATUS rpccli_dfs_Remove(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_REMOVE,
                                &r);
 
@@ -485,7 +485,7 @@ struct tevent_req *rpccli_dfs_SetInfo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_SETINFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -572,7 +572,7 @@ NTSTATUS rpccli_dfs_SetInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_SETINFO,
                                &r);
 
@@ -646,7 +646,7 @@ struct tevent_req *rpccli_dfs_GetInfo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_GETINFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -733,7 +733,7 @@ NTSTATUS rpccli_dfs_GetInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_GETINFO,
                                &r);
 
@@ -808,7 +808,7 @@ struct tevent_req *rpccli_dfs_Enum_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_ENUM,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -899,7 +899,7 @@ NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_ENUM,
                                &r);
 
@@ -963,7 +963,7 @@ struct tevent_req *rpccli_dfs_Rename_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_RENAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1040,7 +1040,7 @@ NTSTATUS rpccli_dfs_Rename(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_RENAME,
                                &r);
 
@@ -1098,7 +1098,7 @@ struct tevent_req *rpccli_dfs_Move_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_MOVE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1175,7 +1175,7 @@ NTSTATUS rpccli_dfs_Move(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_MOVE,
                                &r);
 
@@ -1233,7 +1233,7 @@ struct tevent_req *rpccli_dfs_ManagerGetConfigInfo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_MANAGERGETCONFIGINFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1310,7 +1310,7 @@ NTSTATUS rpccli_dfs_ManagerGetConfigInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_MANAGERGETCONFIGINFO,
                                &r);
 
@@ -1368,7 +1368,7 @@ struct tevent_req *rpccli_dfs_ManagerSendSiteInfo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_MANAGERSENDSITEINFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1445,7 +1445,7 @@ NTSTATUS rpccli_dfs_ManagerSendSiteInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_MANAGERSENDSITEINFO,
                                &r);
 
@@ -1528,7 +1528,7 @@ struct tevent_req *rpccli_dfs_AddFtRoot_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_ADDFTROOT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1626,7 +1626,7 @@ NTSTATUS rpccli_dfs_AddFtRoot(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_ADDFTROOT,
                                &r);
 
@@ -1706,7 +1706,7 @@ struct tevent_req *rpccli_dfs_RemoveFtRoot_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_REMOVEFTROOT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1798,7 +1798,7 @@ NTSTATUS rpccli_dfs_RemoveFtRoot(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_REMOVEFTROOT,
                                &r);
 
@@ -1867,7 +1867,7 @@ struct tevent_req *rpccli_dfs_AddStdRoot_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_ADDSTDROOT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1952,7 +1952,7 @@ NTSTATUS rpccli_dfs_AddStdRoot(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_ADDSTDROOT,
                                &r);
 
@@ -2016,7 +2016,7 @@ struct tevent_req *rpccli_dfs_RemoveStdRoot_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_REMOVESTDROOT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2099,7 +2099,7 @@ NTSTATUS rpccli_dfs_RemoveStdRoot(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_REMOVESTDROOT,
                                &r);
 
@@ -2161,7 +2161,7 @@ struct tevent_req *rpccli_dfs_ManagerInitialize_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_MANAGERINITIALIZE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2242,7 +2242,7 @@ NTSTATUS rpccli_dfs_ManagerInitialize(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_MANAGERINITIALIZE,
                                &r);
 
@@ -2308,7 +2308,7 @@ struct tevent_req *rpccli_dfs_AddStdRootForced_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_ADDSTDROOTFORCED,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2393,7 +2393,7 @@ NTSTATUS rpccli_dfs_AddStdRootForced(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_ADDSTDROOTFORCED,
                                &r);
 
@@ -2468,7 +2468,7 @@ struct tevent_req *rpccli_dfs_GetDcAddress_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_GETDCADDRESS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2556,7 +2556,7 @@ NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_GETDCADDRESS,
                                &r);
 
@@ -2625,7 +2625,7 @@ struct tevent_req *rpccli_dfs_SetDcAddress_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_SETDCADDRESS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2710,7 +2710,7 @@ NTSTATUS rpccli_dfs_SetDcAddress(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_SETDCADDRESS,
                                &r);
 
@@ -2772,7 +2772,7 @@ struct tevent_req *rpccli_dfs_FlushFtTable_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_FLUSHFTTABLE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2853,7 +2853,7 @@ NTSTATUS rpccli_dfs_FlushFtTable(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_FLUSHFTTABLE,
                                &r);
 
@@ -2911,7 +2911,7 @@ struct tevent_req *rpccli_dfs_Add2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_ADD2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2988,7 +2988,7 @@ NTSTATUS rpccli_dfs_Add2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_ADD2,
                                &r);
 
@@ -3046,7 +3046,7 @@ struct tevent_req *rpccli_dfs_Remove2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_REMOVE2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3123,7 +3123,7 @@ NTSTATUS rpccli_dfs_Remove2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_REMOVE2,
                                &r);
 
@@ -3199,7 +3199,7 @@ struct tevent_req *rpccli_dfs_EnumEx_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_ENUMEX,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3292,7 +3292,7 @@ NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_ENUMEX,
                                &r);
 
@@ -3356,7 +3356,7 @@ struct tevent_req *rpccli_dfs_SetInfo2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                                   &ndr_table_netdfs,
                                    NDR_DFS_SETINFO2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3433,7 +3433,7 @@ NTSTATUS rpccli_dfs_SetInfo2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETDFS_UUID, NDR_NETDFS_VERSION,
+                               &ndr_table_netdfs,
                                NDR_DFS_SETINFO2,
                                &r);
 
index 68e981370cbb6bf01ee554edb254040274576f7c..c261a79f62c1b63b55731e3d61a8c6f541ecc718 100644 (file)
@@ -55,7 +55,7 @@ struct tevent_req *rpccli_drsuapi_DsBind_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSBIND,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -141,7 +141,7 @@ NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSBIND,
                                &r);
 
@@ -212,7 +212,7 @@ struct tevent_req *rpccli_drsuapi_DsUnbind_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSUNBIND,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -292,7 +292,7 @@ NTSTATUS rpccli_drsuapi_DsUnbind(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSUNBIND,
                                &r);
 
@@ -357,7 +357,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaSync_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSREPLICASYNC,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -440,7 +440,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaSync(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSREPLICASYNC,
                                &r);
 
@@ -514,7 +514,7 @@ struct tevent_req *rpccli_drsuapi_DsGetNCChanges_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSGETNCCHANGES,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -601,7 +601,7 @@ NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSGETNCCHANGES,
                                &r);
 
@@ -667,7 +667,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaUpdateRefs_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSREPLICAUPDATEREFS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -750,7 +750,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSREPLICAUPDATEREFS,
                                &r);
 
@@ -814,7 +814,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaAdd_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSREPLICAADD,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -897,7 +897,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaAdd(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSREPLICAADD,
                                &r);
 
@@ -961,7 +961,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaDel_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSREPLICADEL,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1044,7 +1044,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaDel(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSREPLICADEL,
                                &r);
 
@@ -1108,7 +1108,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaMod_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSREPLICAMOD,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1191,7 +1191,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaMod(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSREPLICAMOD,
                                &r);
 
@@ -1249,7 +1249,7 @@ struct tevent_req *rpccli_DRSUAPI_VERIFY_NAMES_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_VERIFY_NAMES,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1326,7 +1326,7 @@ NTSTATUS rpccli_DRSUAPI_VERIFY_NAMES(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_VERIFY_NAMES,
                                &r);
 
@@ -1400,7 +1400,7 @@ struct tevent_req *rpccli_drsuapi_DsGetMemberships_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSGETMEMBERSHIPS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1487,7 +1487,7 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSGETMEMBERSHIPS,
                                &r);
 
@@ -1547,7 +1547,7 @@ struct tevent_req *rpccli_DRSUAPI_INTER_DOMAIN_MOVE_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_INTER_DOMAIN_MOVE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1624,7 +1624,7 @@ NTSTATUS rpccli_DRSUAPI_INTER_DOMAIN_MOVE(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_INTER_DOMAIN_MOVE,
                                &r);
 
@@ -1698,7 +1698,7 @@ struct tevent_req *rpccli_drsuapi_DsGetNT4ChangeLog_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSGETNT4CHANGELOG,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1785,7 +1785,7 @@ NTSTATUS rpccli_drsuapi_DsGetNT4ChangeLog(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSGETNT4CHANGELOG,
                                &r);
 
@@ -1861,7 +1861,7 @@ struct tevent_req *rpccli_drsuapi_DsCrackNames_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSCRACKNAMES,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1948,7 +1948,7 @@ NTSTATUS rpccli_drsuapi_DsCrackNames(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSCRACKNAMES,
                                &r);
 
@@ -2024,7 +2024,7 @@ struct tevent_req *rpccli_drsuapi_DsWriteAccountSpn_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSWRITEACCOUNTSPN,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2111,7 +2111,7 @@ NTSTATUS rpccli_drsuapi_DsWriteAccountSpn(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSWRITEACCOUNTSPN,
                                &r);
 
@@ -2187,7 +2187,7 @@ struct tevent_req *rpccli_drsuapi_DsRemoveDSServer_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSREMOVEDSSERVER,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2274,7 +2274,7 @@ NTSTATUS rpccli_drsuapi_DsRemoveDSServer(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSREMOVEDSSERVER,
                                &r);
 
@@ -2334,7 +2334,7 @@ struct tevent_req *rpccli_DRSUAPI_REMOVE_DS_DOMAIN_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_REMOVE_DS_DOMAIN,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2411,7 +2411,7 @@ NTSTATUS rpccli_DRSUAPI_REMOVE_DS_DOMAIN(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_REMOVE_DS_DOMAIN,
                                &r);
 
@@ -2485,7 +2485,7 @@ struct tevent_req *rpccli_drsuapi_DsGetDomainControllerInfo_send(TALLOC_CTX *mem
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSGETDOMAINCONTROLLERINFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2572,7 +2572,7 @@ NTSTATUS rpccli_drsuapi_DsGetDomainControllerInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSGETDOMAINCONTROLLERINFO,
                                &r);
 
@@ -2648,7 +2648,7 @@ struct tevent_req *rpccli_drsuapi_DsAddEntry_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSADDENTRY,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2735,7 +2735,7 @@ NTSTATUS rpccli_drsuapi_DsAddEntry(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSADDENTRY,
                                &r);
 
@@ -2801,7 +2801,7 @@ struct tevent_req *rpccli_drsuapi_DsExecuteKCC_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSEXECUTEKCC,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2884,7 +2884,7 @@ NTSTATUS rpccli_drsuapi_DsExecuteKCC(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSEXECUTEKCC,
                                &r);
 
@@ -2958,7 +2958,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaGetInfo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSREPLICAGETINFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3045,7 +3045,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaGetInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSREPLICAGETINFO,
                                &r);
 
@@ -3105,7 +3105,7 @@ struct tevent_req *rpccli_DRSUAPI_ADD_SID_HISTORY_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_ADD_SID_HISTORY,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3182,7 +3182,7 @@ NTSTATUS rpccli_DRSUAPI_ADD_SID_HISTORY(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_ADD_SID_HISTORY,
                                &r);
 
@@ -3256,7 +3256,7 @@ struct tevent_req *rpccli_drsuapi_DsGetMemberships2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_DSGETMEMBERSHIPS2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3343,7 +3343,7 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_DSGETMEMBERSHIPS2,
                                &r);
 
@@ -3403,7 +3403,7 @@ struct tevent_req *rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS_send(TALLOC_CTX *mem_ct
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_REPLICA_VERIFY_OBJECTS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3480,7 +3480,7 @@ NTSTATUS rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_REPLICA_VERIFY_OBJECTS,
                                &r);
 
@@ -3538,7 +3538,7 @@ struct tevent_req *rpccli_DRSUAPI_GET_OBJECT_EXISTENCE_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_GET_OBJECT_EXISTENCE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3615,7 +3615,7 @@ NTSTATUS rpccli_DRSUAPI_GET_OBJECT_EXISTENCE(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_GET_OBJECT_EXISTENCE,
                                &r);
 
@@ -3689,7 +3689,7 @@ struct tevent_req *rpccli_drsuapi_QuerySitesByCost_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                                   &ndr_table_drsuapi,
                                    NDR_DRSUAPI_QUERYSITESBYCOST,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3776,7 +3776,7 @@ NTSTATUS rpccli_drsuapi_QuerySitesByCost(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DRSUAPI_UUID, NDR_DRSUAPI_VERSION,
+                               &ndr_table_drsuapi,
                                NDR_DRSUAPI_QUERYSITESBYCOST,
                                &r);
 
index dba74587e5dd2bce426dbd7882ab46c5f21d1fa3..22b39cb3ee56b1c3c535610184cc7a0a9072de77 100644 (file)
@@ -52,7 +52,7 @@ struct tevent_req *rpccli_dssetup_DsRoleGetPrimaryDomainInformation_send(TALLOC_
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -135,7 +135,7 @@ NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION,
                                &r);
 
@@ -196,7 +196,7 @@ struct tevent_req *rpccli_dssetup_DsRoleDnsNameToFlatName_send(TALLOC_CTX *mem_c
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -273,7 +273,7 @@ NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME,
                                &r);
 
@@ -331,7 +331,7 @@ struct tevent_req *rpccli_dssetup_DsRoleDcAsDc_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLEDCASDC,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -408,7 +408,7 @@ NTSTATUS rpccli_dssetup_DsRoleDcAsDc(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLEDCASDC,
                                &r);
 
@@ -466,7 +466,7 @@ struct tevent_req *rpccli_dssetup_DsRoleDcAsReplica_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLEDCASREPLICA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -543,7 +543,7 @@ NTSTATUS rpccli_dssetup_DsRoleDcAsReplica(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLEDCASREPLICA,
                                &r);
 
@@ -601,7 +601,7 @@ struct tevent_req *rpccli_dssetup_DsRoleDemoteDc_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLEDEMOTEDC,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -678,7 +678,7 @@ NTSTATUS rpccli_dssetup_DsRoleDemoteDc(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLEDEMOTEDC,
                                &r);
 
@@ -736,7 +736,7 @@ struct tevent_req *rpccli_dssetup_DsRoleGetDcOperationProgress_send(TALLOC_CTX *
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -813,7 +813,7 @@ NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress(struct rpc_pipe_client *cli
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS,
                                &r);
 
@@ -871,7 +871,7 @@ struct tevent_req *rpccli_dssetup_DsRoleGetDcOperationResults_send(TALLOC_CTX *m
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -948,7 +948,7 @@ NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS,
                                &r);
 
@@ -1006,7 +1006,7 @@ struct tevent_req *rpccli_dssetup_DsRoleCancel_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLECANCEL,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1083,7 +1083,7 @@ NTSTATUS rpccli_dssetup_DsRoleCancel(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLECANCEL,
                                &r);
 
@@ -1141,7 +1141,7 @@ struct tevent_req *rpccli_dssetup_DsRoleServerSaveStateForUpgrade_send(TALLOC_CT
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1218,7 +1218,7 @@ NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade(struct rpc_pipe_client *
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE,
                                &r);
 
@@ -1276,7 +1276,7 @@ struct tevent_req *rpccli_dssetup_DsRoleUpgradeDownlevelServer_send(TALLOC_CTX *
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1353,7 +1353,7 @@ NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer(struct rpc_pipe_client *cli
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER,
                                &r);
 
@@ -1411,7 +1411,7 @@ struct tevent_req *rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade_send(TALLOC_
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                                   &ndr_table_dssetup,
                                    NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1488,7 +1488,7 @@ NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade(struct rpc_pipe_client
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_DSSETUP_UUID, NDR_DSSETUP_VERSION,
+                               &ndr_table_dssetup,
                                NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE,
                                &r);
 
index 0b723f1da61a43c98c7c5c6ffdebbb9f2ea0cfbd..52aa8c50bbe1fee6918ccd6a16a1ee415f5a1b21 100644 (file)
@@ -49,7 +49,7 @@ struct tevent_req *rpccli_echo_AddOne_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_ADDONE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -122,7 +122,7 @@ NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_ADDONE,
                                &r);
 
@@ -186,7 +186,7 @@ struct tevent_req *rpccli_echo_EchoData_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_ECHODATA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -261,7 +261,7 @@ NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_ECHODATA,
                                &r);
 
@@ -317,7 +317,7 @@ struct tevent_req *rpccli_echo_SinkData_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_SINKDATA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -390,7 +390,7 @@ NTSTATUS rpccli_echo_SinkData(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_SINKDATA,
                                &r);
 
@@ -451,7 +451,7 @@ struct tevent_req *rpccli_echo_SourceData_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_SOURCEDATA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -524,7 +524,7 @@ NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_SOURCEDATA,
                                &r);
 
@@ -586,7 +586,7 @@ struct tevent_req *rpccli_echo_TestCall_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_TESTCALL,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -659,7 +659,7 @@ NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_TESTCALL,
                                &r);
 
@@ -724,7 +724,7 @@ struct tevent_req *rpccli_echo_TestCall2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_TESTCALL2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -804,7 +804,7 @@ NTSTATUS rpccli_echo_TestCall2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_TESTCALL2,
                                &r);
 
@@ -861,7 +861,7 @@ struct tevent_req *rpccli_echo_TestSleep_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_TESTSLEEP,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -939,7 +939,7 @@ NTSTATUS rpccli_echo_TestSleep(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_TESTSLEEP,
                                &r);
 
@@ -1005,7 +1005,7 @@ struct tevent_req *rpccli_echo_TestEnum_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_TESTENUM,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1083,7 +1083,7 @@ NTSTATUS rpccli_echo_TestEnum(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_TESTENUM,
                                &r);
 
@@ -1146,7 +1146,7 @@ struct tevent_req *rpccli_echo_TestSurrounding_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_TESTSURROUNDING,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1218,7 +1218,7 @@ NTSTATUS rpccli_echo_TestSurrounding(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_TESTSURROUNDING,
                                &r);
 
@@ -1275,7 +1275,7 @@ struct tevent_req *rpccli_echo_TestDoublePointer_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                                   &ndr_table_rpcecho,
                                    NDR_ECHO_TESTDOUBLEPOINTER,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1353,7 +1353,7 @@ NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_RPCECHO_UUID, NDR_RPCECHO_VERSION,
+                               &ndr_table_rpcecho,
                                NDR_ECHO_TESTDOUBLEPOINTER,
                                &r);
 
index 4589c4e58868849f67fea5cdffd13591a1f132f7..4e5d160883fbc74ac11a63efc6b552a3fc3b884d 100644 (file)
@@ -48,7 +48,7 @@ struct tevent_req *rpccli_epm_Insert_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                                   &ndr_table_epmapper,
                                    NDR_EPM_INSERT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -130,7 +130,7 @@ NTSTATUS rpccli_epm_Insert(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                               &ndr_table_epmapper,
                                NDR_EPM_INSERT,
                                &r);
 
@@ -188,7 +188,7 @@ struct tevent_req *rpccli_epm_Delete_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                                   &ndr_table_epmapper,
                                    NDR_EPM_DELETE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -268,7 +268,7 @@ NTSTATUS rpccli_epm_Delete(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                               &ndr_table_epmapper,
                                NDR_EPM_DELETE,
                                &r);
 
@@ -345,7 +345,7 @@ struct tevent_req *rpccli_epm_Lookup_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                                   &ndr_table_epmapper,
                                    NDR_EPM_LOOKUP,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -438,7 +438,7 @@ NTSTATUS rpccli_epm_Lookup(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                               &ndr_table_epmapper,
                                NDR_EPM_LOOKUP,
                                &r);
 
@@ -514,7 +514,7 @@ struct tevent_req *rpccli_epm_Map_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                                   &ndr_table_epmapper,
                                    NDR_EPM_MAP,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -603,7 +603,7 @@ NTSTATUS rpccli_epm_Map(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                               &ndr_table_epmapper,
                                NDR_EPM_MAP,
                                &r);
 
@@ -669,7 +669,7 @@ struct tevent_req *rpccli_epm_LookupHandleFree_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                                   &ndr_table_epmapper,
                                    NDR_EPM_LOOKUPHANDLEFREE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -748,7 +748,7 @@ NTSTATUS rpccli_epm_LookupHandleFree(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                               &ndr_table_epmapper,
                                NDR_EPM_LOOKUPHANDLEFREE,
                                &r);
 
@@ -805,7 +805,7 @@ struct tevent_req *rpccli_epm_InqObject_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                                   &ndr_table_epmapper,
                                    NDR_EPM_INQOBJECT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -883,7 +883,7 @@ NTSTATUS rpccli_epm_InqObject(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                               &ndr_table_epmapper,
                                NDR_EPM_INQOBJECT,
                                &r);
 
@@ -943,7 +943,7 @@ struct tevent_req *rpccli_epm_MgmtDelete_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                                   &ndr_table_epmapper,
                                    NDR_EPM_MGMTDELETE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1025,7 +1025,7 @@ NTSTATUS rpccli_epm_MgmtDelete(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                               &ndr_table_epmapper,
                                NDR_EPM_MGMTDELETE,
                                &r);
 
@@ -1079,7 +1079,7 @@ struct tevent_req *rpccli_epm_MapAuth_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                                   &ndr_table_epmapper,
                                    NDR_EPM_MAPAUTH,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1155,7 +1155,7 @@ NTSTATUS rpccli_epm_MapAuth(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EPMAPPER_UUID, NDR_EPMAPPER_VERSION,
+                               &ndr_table_epmapper,
                                NDR_EPM_MAPAUTH,
                                &r);
 
index 26b630eb03924284b7e1f7f84cf414a173dd116c..9e2c6bea66b8dc518d062ca930002788173c6ce1 100644 (file)
@@ -46,7 +46,7 @@ struct tevent_req *rpccli_eventlog_ClearEventLogW_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_CLEAREVENTLOGW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -126,7 +126,7 @@ NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_CLEAREVENTLOGW,
                                &r);
 
@@ -184,7 +184,7 @@ struct tevent_req *rpccli_eventlog_BackupEventLogW_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_BACKUPEVENTLOGW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -264,7 +264,7 @@ NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_BACKUPEVENTLOGW,
                                &r);
 
@@ -327,7 +327,7 @@ struct tevent_req *rpccli_eventlog_CloseEventLog_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_CLOSEEVENTLOG,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -406,7 +406,7 @@ NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_CLOSEEVENTLOG,
                                &r);
 
@@ -470,7 +470,7 @@ struct tevent_req *rpccli_eventlog_DeregisterEventSource_send(TALLOC_CTX *mem_ct
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_DEREGISTEREVENTSOURCE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -549,7 +549,7 @@ NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_DEREGISTEREVENTSOURCE,
                                &r);
 
@@ -614,7 +614,7 @@ struct tevent_req *rpccli_eventlog_GetNumRecords_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_GETNUMRECORDS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -694,7 +694,7 @@ NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_GETNUMRECORDS,
                                &r);
 
@@ -759,7 +759,7 @@ struct tevent_req *rpccli_eventlog_GetOldestRecord_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_GETOLDESTRECORD,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -839,7 +839,7 @@ NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_GETOLDESTRECORD,
                                &r);
 
@@ -894,7 +894,7 @@ struct tevent_req *rpccli_eventlog_ChangeNotify_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_CHANGENOTIFY,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -970,7 +970,7 @@ NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_CHANGENOTIFY,
                                &r);
 
@@ -1042,7 +1042,7 @@ struct tevent_req *rpccli_eventlog_OpenEventLogW_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_OPENEVENTLOGW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1130,7 +1130,7 @@ NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_OPENEVENTLOGW,
                                &r);
 
@@ -1203,7 +1203,7 @@ struct tevent_req *rpccli_eventlog_RegisterEventSourceW_send(TALLOC_CTX *mem_ctx
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_REGISTEREVENTSOURCEW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1291,7 +1291,7 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_REGISTEREVENTSOURCEW,
                                &r);
 
@@ -1362,7 +1362,7 @@ struct tevent_req *rpccli_eventlog_OpenBackupEventLogW_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_OPENBACKUPEVENTLOGW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1448,7 +1448,7 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_OPENBACKUPEVENTLOGW,
                                &r);
 
@@ -1523,7 +1523,7 @@ struct tevent_req *rpccli_eventlog_ReadEventLogW_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_READEVENTLOGW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1613,7 +1613,7 @@ NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_READEVENTLOGW,
                                &r);
 
@@ -1706,7 +1706,7 @@ struct tevent_req *rpccli_eventlog_ReportEventW_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_REPORTEVENTW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1816,7 +1816,7 @@ NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_REPORTEVENTW,
                                &r);
 
@@ -1876,7 +1876,7 @@ struct tevent_req *rpccli_eventlog_ClearEventLogA_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_CLEAREVENTLOGA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1952,7 +1952,7 @@ NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_CLEAREVENTLOGA,
                                &r);
 
@@ -2006,7 +2006,7 @@ struct tevent_req *rpccli_eventlog_BackupEventLogA_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_BACKUPEVENTLOGA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2082,7 +2082,7 @@ NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_BACKUPEVENTLOGA,
                                &r);
 
@@ -2136,7 +2136,7 @@ struct tevent_req *rpccli_eventlog_OpenEventLogA_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_OPENEVENTLOGA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2212,7 +2212,7 @@ NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_OPENEVENTLOGA,
                                &r);
 
@@ -2266,7 +2266,7 @@ struct tevent_req *rpccli_eventlog_RegisterEventSourceA_send(TALLOC_CTX *mem_ctx
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_REGISTEREVENTSOURCEA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2342,7 +2342,7 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_REGISTEREVENTSOURCEA,
                                &r);
 
@@ -2396,7 +2396,7 @@ struct tevent_req *rpccli_eventlog_OpenBackupEventLogA_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_OPENBACKUPEVENTLOGA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2472,7 +2472,7 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_OPENBACKUPEVENTLOGA,
                                &r);
 
@@ -2526,7 +2526,7 @@ struct tevent_req *rpccli_eventlog_ReadEventLogA_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_READEVENTLOGA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2602,7 +2602,7 @@ NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_READEVENTLOGA,
                                &r);
 
@@ -2656,7 +2656,7 @@ struct tevent_req *rpccli_eventlog_ReportEventA_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_REPORTEVENTA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2732,7 +2732,7 @@ NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_REPORTEVENTA,
                                &r);
 
@@ -2786,7 +2786,7 @@ struct tevent_req *rpccli_eventlog_RegisterClusterSvc_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_REGISTERCLUSTERSVC,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2862,7 +2862,7 @@ NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_REGISTERCLUSTERSVC,
                                &r);
 
@@ -2916,7 +2916,7 @@ struct tevent_req *rpccli_eventlog_DeregisterClusterSvc_send(TALLOC_CTX *mem_ctx
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_DEREGISTERCLUSTERSVC,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2992,7 +2992,7 @@ NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_DEREGISTERCLUSTERSVC,
                                &r);
 
@@ -3046,7 +3046,7 @@ struct tevent_req *rpccli_eventlog_WriteClusterEvents_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_WRITECLUSTEREVENTS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3122,7 +3122,7 @@ NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_WRITECLUSTEREVENTS,
                                &r);
 
@@ -3192,7 +3192,7 @@ struct tevent_req *rpccli_eventlog_GetLogInformation_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_GETLOGINFORMATION,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3278,7 +3278,7 @@ NTSTATUS rpccli_eventlog_GetLogInformation(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_GETLOGINFORMATION,
                                &r);
 
@@ -3336,7 +3336,7 @@ struct tevent_req *rpccli_eventlog_FlushEventLog_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_FLUSHEVENTLOG,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3414,7 +3414,7 @@ NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_FLUSHEVENTLOG,
                                &r);
 
@@ -3506,7 +3506,7 @@ struct tevent_req *rpccli_eventlog_ReportEventAndSourceW_send(TALLOC_CTX *mem_ct
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                                   &ndr_table_eventlog,
                                    NDR_EVENTLOG_REPORTEVENTANDSOURCEW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3618,7 +3618,7 @@ NTSTATUS rpccli_eventlog_ReportEventAndSourceW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_EVENTLOG_UUID, NDR_EVENTLOG_VERSION,
+                               &ndr_table_eventlog,
                                NDR_EVENTLOG_REPORTEVENTANDSOURCEW,
                                &r);
 
index 176506351bb2a0f9044d0df9809c369deb75ac85..ebc0af5d2c676fc764e0540c6e27f9ca6f3db1bb 100644 (file)
@@ -52,7 +52,7 @@ struct tevent_req *rpccli_initshutdown_Init_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_INITSHUTDOWN_UUID, NDR_INITSHUTDOWN_VERSION,
+                                   &ndr_table_initshutdown,
                                    NDR_INITSHUTDOWN_INIT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -139,7 +139,7 @@ NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_INITSHUTDOWN_UUID, NDR_INITSHUTDOWN_VERSION,
+                               &ndr_table_initshutdown,
                                NDR_INITSHUTDOWN_INIT,
                                &r);
 
@@ -199,7 +199,7 @@ struct tevent_req *rpccli_initshutdown_Abort_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_INITSHUTDOWN_UUID, NDR_INITSHUTDOWN_VERSION,
+                                   &ndr_table_initshutdown,
                                    NDR_INITSHUTDOWN_ABORT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -278,7 +278,7 @@ NTSTATUS rpccli_initshutdown_Abort(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_INITSHUTDOWN_UUID, NDR_INITSHUTDOWN_VERSION,
+                               &ndr_table_initshutdown,
                                NDR_INITSHUTDOWN_ABORT,
                                &r);
 
@@ -348,7 +348,7 @@ struct tevent_req *rpccli_initshutdown_InitEx_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_INITSHUTDOWN_UUID, NDR_INITSHUTDOWN_VERSION,
+                                   &ndr_table_initshutdown,
                                    NDR_INITSHUTDOWN_INITEX,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -437,7 +437,7 @@ NTSTATUS rpccli_initshutdown_InitEx(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_INITSHUTDOWN_UUID, NDR_INITSHUTDOWN_VERSION,
+                               &ndr_table_initshutdown,
                                NDR_INITSHUTDOWN_INITEX,
                                &r);
 
index 827e44ef3f96c606b8cde59c5b79fcd5095602c3..aa329b14e59a7e9019e0f8c855258be6e03f6857 100644 (file)
@@ -51,7 +51,7 @@ struct tevent_req *rpccli_lsa_Close_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CLOSE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -130,7 +130,7 @@ NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CLOSE,
                                &r);
 
@@ -187,7 +187,7 @@ struct tevent_req *rpccli_lsa_Delete_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_DELETE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -265,7 +265,7 @@ NTSTATUS rpccli_lsa_Delete(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_DELETE,
                                &r);
 
@@ -334,7 +334,7 @@ struct tevent_req *rpccli_lsa_EnumPrivs_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_ENUMPRIVS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -419,7 +419,7 @@ NTSTATUS rpccli_lsa_EnumPrivs(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_ENUMPRIVS,
                                &r);
 
@@ -487,7 +487,7 @@ struct tevent_req *rpccli_lsa_QuerySecurity_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_QUERYSECURITY,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -569,7 +569,7 @@ NTSTATUS rpccli_lsa_QuerySecurity(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_QUERYSECURITY,
                                &r);
 
@@ -630,7 +630,7 @@ struct tevent_req *rpccli_lsa_SetSecObj_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETSECOBJ,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -712,7 +712,7 @@ NTSTATUS rpccli_lsa_SetSecObj(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETSECOBJ,
                                &r);
 
@@ -766,7 +766,7 @@ struct tevent_req *rpccli_lsa_ChangePassword_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CHANGEPASSWORD,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -842,7 +842,7 @@ NTSTATUS rpccli_lsa_ChangePassword(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CHANGEPASSWORD,
                                &r);
 
@@ -910,7 +910,7 @@ struct tevent_req *rpccli_lsa_OpenPolicy_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_OPENPOLICY,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -994,7 +994,7 @@ NTSTATUS rpccli_lsa_OpenPolicy(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_OPENPOLICY,
                                &r);
 
@@ -1061,7 +1061,7 @@ struct tevent_req *rpccli_lsa_QueryInfoPolicy_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_QUERYINFOPOLICY,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1143,7 +1143,7 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_QUERYINFOPOLICY,
                                &r);
 
@@ -1204,7 +1204,7 @@ struct tevent_req *rpccli_lsa_SetInfoPolicy_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETINFOPOLICY,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1286,7 +1286,7 @@ NTSTATUS rpccli_lsa_SetInfoPolicy(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETINFOPOLICY,
                                &r);
 
@@ -1340,7 +1340,7 @@ struct tevent_req *rpccli_lsa_ClearAuditLog_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CLEARAUDITLOG,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1416,7 +1416,7 @@ NTSTATUS rpccli_lsa_ClearAuditLog(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CLEARAUDITLOG,
                                &r);
 
@@ -1484,7 +1484,7 @@ struct tevent_req *rpccli_lsa_CreateAccount_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREATEACCOUNT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1568,7 +1568,7 @@ NTSTATUS rpccli_lsa_CreateAccount(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREATEACCOUNT,
                                &r);
 
@@ -1638,7 +1638,7 @@ struct tevent_req *rpccli_lsa_EnumAccounts_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_ENUMACCOUNTS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1723,7 +1723,7 @@ NTSTATUS rpccli_lsa_EnumAccounts(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_ENUMACCOUNTS,
                                &r);
 
@@ -1793,7 +1793,7 @@ struct tevent_req *rpccli_lsa_CreateTrustedDomain_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREATETRUSTEDDOMAIN,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1877,7 +1877,7 @@ NTSTATUS rpccli_lsa_CreateTrustedDomain(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREATETRUSTEDDOMAIN,
                                &r);
 
@@ -1947,7 +1947,7 @@ struct tevent_req *rpccli_lsa_EnumTrustDom_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_ENUMTRUSTDOM,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2032,7 +2032,7 @@ NTSTATUS rpccli_lsa_EnumTrustDom(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_ENUMTRUSTDOM,
                                &r);
 
@@ -2110,7 +2110,7 @@ struct tevent_req *rpccli_lsa_LookupNames_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPNAMES,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2202,7 +2202,7 @@ NTSTATUS rpccli_lsa_LookupNames(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPNAMES,
                                &r);
 
@@ -2279,7 +2279,7 @@ struct tevent_req *rpccli_lsa_LookupSids_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPSIDS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2369,7 +2369,7 @@ NTSTATUS rpccli_lsa_LookupSids(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPSIDS,
                                &r);
 
@@ -2440,7 +2440,7 @@ struct tevent_req *rpccli_lsa_CreateSecret_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREATESECRET,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2524,7 +2524,7 @@ NTSTATUS rpccli_lsa_CreateSecret(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREATESECRET,
                                &r);
 
@@ -2593,7 +2593,7 @@ struct tevent_req *rpccli_lsa_OpenAccount_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_OPENACCOUNT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2677,7 +2677,7 @@ NTSTATUS rpccli_lsa_OpenAccount(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_OPENACCOUNT,
                                &r);
 
@@ -2742,7 +2742,7 @@ struct tevent_req *rpccli_lsa_EnumPrivsAccount_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_ENUMPRIVSACCOUNT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2822,7 +2822,7 @@ NTSTATUS rpccli_lsa_EnumPrivsAccount(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_ENUMPRIVSACCOUNT,
                                &r);
 
@@ -2881,7 +2881,7 @@ struct tevent_req *rpccli_lsa_AddPrivilegesToAccount_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_ADDPRIVILEGESTOACCOUNT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2961,7 +2961,7 @@ NTSTATUS rpccli_lsa_AddPrivilegesToAccount(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_ADDPRIVILEGESTOACCOUNT,
                                &r);
 
@@ -3021,7 +3021,7 @@ struct tevent_req *rpccli_lsa_RemovePrivilegesFromAccount_send(TALLOC_CTX *mem_c
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_REMOVEPRIVILEGESFROMACCOUNT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3103,7 +3103,7 @@ NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_REMOVEPRIVILEGESFROMACCOUNT,
                                &r);
 
@@ -3157,7 +3157,7 @@ struct tevent_req *rpccli_lsa_GetQuotasForAccount_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_GETQUOTASFORACCOUNT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3233,7 +3233,7 @@ NTSTATUS rpccli_lsa_GetQuotasForAccount(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_GETQUOTASFORACCOUNT,
                                &r);
 
@@ -3287,7 +3287,7 @@ struct tevent_req *rpccli_lsa_SetQuotasForAccount_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETQUOTASFORACCOUNT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3363,7 +3363,7 @@ NTSTATUS rpccli_lsa_SetQuotasForAccount(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETQUOTASFORACCOUNT,
                                &r);
 
@@ -3427,7 +3427,7 @@ struct tevent_req *rpccli_lsa_GetSystemAccessAccount_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_GETSYSTEMACCESSACCOUNT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3507,7 +3507,7 @@ NTSTATUS rpccli_lsa_GetSystemAccessAccount(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_GETSYSTEMACCESSACCOUNT,
                                &r);
 
@@ -3566,7 +3566,7 @@ struct tevent_req *rpccli_lsa_SetSystemAccessAccount_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETSYSTEMACCESSACCOUNT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3646,7 +3646,7 @@ NTSTATUS rpccli_lsa_SetSystemAccessAccount(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETSYSTEMACCESSACCOUNT,
                                &r);
 
@@ -3714,7 +3714,7 @@ struct tevent_req *rpccli_lsa_OpenTrustedDomain_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_OPENTRUSTEDDOMAIN,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3798,7 +3798,7 @@ NTSTATUS rpccli_lsa_OpenTrustedDomain(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_OPENTRUSTEDDOMAIN,
                                &r);
 
@@ -3865,7 +3865,7 @@ struct tevent_req *rpccli_lsa_QueryTrustedDomainInfo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_QUERYTRUSTEDDOMAININFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3947,7 +3947,7 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_QUERYTRUSTEDDOMAININFO,
                                &r);
 
@@ -4008,7 +4008,7 @@ struct tevent_req *rpccli_lsa_SetInformationTrustedDomain_send(TALLOC_CTX *mem_c
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETINFORMATIONTRUSTEDDOMAIN,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4090,7 +4090,7 @@ NTSTATUS rpccli_lsa_SetInformationTrustedDomain(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETINFORMATIONTRUSTEDDOMAIN,
                                &r);
 
@@ -4158,7 +4158,7 @@ struct tevent_req *rpccli_lsa_OpenSecret_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_OPENSECRET,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4242,7 +4242,7 @@ NTSTATUS rpccli_lsa_OpenSecret(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_OPENSECRET,
                                &r);
 
@@ -4303,7 +4303,7 @@ struct tevent_req *rpccli_lsa_SetSecret_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETSECRET,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4385,7 +4385,7 @@ NTSTATUS rpccli_lsa_SetSecret(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETSECRET,
                                &r);
 
@@ -4459,7 +4459,7 @@ struct tevent_req *rpccli_lsa_QuerySecret_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_QUERYSECRET,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4557,7 +4557,7 @@ NTSTATUS rpccli_lsa_QuerySecret(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_QUERYSECRET,
                                &r);
 
@@ -4635,7 +4635,7 @@ struct tevent_req *rpccli_lsa_LookupPrivValue_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPPRIVVALUE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4717,7 +4717,7 @@ NTSTATUS rpccli_lsa_LookupPrivValue(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPPRIVVALUE,
                                &r);
 
@@ -4784,7 +4784,7 @@ struct tevent_req *rpccli_lsa_LookupPrivName_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPPRIVNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4866,7 +4866,7 @@ NTSTATUS rpccli_lsa_LookupPrivName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPPRIVNAME,
                                &r);
 
@@ -4939,7 +4939,7 @@ struct tevent_req *rpccli_lsa_LookupPrivDisplayName_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPPRIVDISPLAYNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5027,7 +5027,7 @@ NTSTATUS rpccli_lsa_LookupPrivDisplayName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPPRIVDISPLAYNAME,
                                &r);
 
@@ -5092,7 +5092,7 @@ struct tevent_req *rpccli_lsa_DeleteObject_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_DELETEOBJECT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5171,7 +5171,7 @@ NTSTATUS rpccli_lsa_DeleteObject(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_DELETEOBJECT,
                                &r);
 
@@ -5238,7 +5238,7 @@ struct tevent_req *rpccli_lsa_EnumAccountsWithUserRight_send(TALLOC_CTX *mem_ctx
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_ENUMACCOUNTSWITHUSERRIGHT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5320,7 +5320,7 @@ NTSTATUS rpccli_lsa_EnumAccountsWithUserRight(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_ENUMACCOUNTSWITHUSERRIGHT,
                                &r);
 
@@ -5387,7 +5387,7 @@ struct tevent_req *rpccli_lsa_EnumAccountRights_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_ENUMACCOUNTRIGHTS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5469,7 +5469,7 @@ NTSTATUS rpccli_lsa_EnumAccountRights(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_ENUMACCOUNTRIGHTS,
                                &r);
 
@@ -5530,7 +5530,7 @@ struct tevent_req *rpccli_lsa_AddAccountRights_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_ADDACCOUNTRIGHTS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5612,7 +5612,7 @@ NTSTATUS rpccli_lsa_AddAccountRights(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_ADDACCOUNTRIGHTS,
                                &r);
 
@@ -5674,7 +5674,7 @@ struct tevent_req *rpccli_lsa_RemoveAccountRights_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_REMOVEACCOUNTRIGHTS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5758,7 +5758,7 @@ NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_REMOVEACCOUNTRIGHTS,
                                &r);
 
@@ -5826,7 +5826,7 @@ struct tevent_req *rpccli_lsa_QueryTrustedDomainInfoBySid_send(TALLOC_CTX *mem_c
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_QUERYTRUSTEDDOMAININFOBYSID,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5910,7 +5910,7 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_QUERYTRUSTEDDOMAININFOBYSID,
                                &r);
 
@@ -5973,7 +5973,7 @@ struct tevent_req *rpccli_lsa_SetTrustedDomainInfo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETTRUSTEDDOMAININFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6057,7 +6057,7 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETTRUSTEDDOMAININFO,
                                &r);
 
@@ -6115,7 +6115,7 @@ struct tevent_req *rpccli_lsa_DeleteTrustedDomain_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_DELETETRUSTEDDOMAIN,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6195,7 +6195,7 @@ NTSTATUS rpccli_lsa_DeleteTrustedDomain(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_DELETETRUSTEDDOMAIN,
                                &r);
 
@@ -6255,7 +6255,7 @@ struct tevent_req *rpccli_lsa_StorePrivateData_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_STOREPRIVATEDATA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6337,7 +6337,7 @@ NTSTATUS rpccli_lsa_StorePrivateData(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_STOREPRIVATEDATA,
                                &r);
 
@@ -6404,7 +6404,7 @@ struct tevent_req *rpccli_lsa_RetrievePrivateData_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_RETRIEVEPRIVATEDATA,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6487,7 +6487,7 @@ NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_RETRIEVEPRIVATEDATA,
                                &r);
 
@@ -6556,7 +6556,7 @@ struct tevent_req *rpccli_lsa_OpenPolicy2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_OPENPOLICY2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6640,7 +6640,7 @@ NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_OPENPOLICY2,
                                &r);
 
@@ -6709,7 +6709,7 @@ struct tevent_req *rpccli_lsa_GetUserName_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_GETUSERNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6795,7 +6795,7 @@ NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_GETUSERNAME,
                                &r);
 
@@ -6865,7 +6865,7 @@ struct tevent_req *rpccli_lsa_QueryInfoPolicy2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_QUERYINFOPOLICY2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6947,7 +6947,7 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_QUERYINFOPOLICY2,
                                &r);
 
@@ -7008,7 +7008,7 @@ struct tevent_req *rpccli_lsa_SetInfoPolicy2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETINFOPOLICY2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7090,7 +7090,7 @@ NTSTATUS rpccli_lsa_SetInfoPolicy2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETINFOPOLICY2,
                                &r);
 
@@ -7158,7 +7158,7 @@ struct tevent_req *rpccli_lsa_QueryTrustedDomainInfoByName_send(TALLOC_CTX *mem_
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_QUERYTRUSTEDDOMAININFOBYNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7242,7 +7242,7 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_QUERYTRUSTEDDOMAININFOBYNAME,
                                &r);
 
@@ -7305,7 +7305,7 @@ struct tevent_req *rpccli_lsa_SetTrustedDomainInfoByName_send(TALLOC_CTX *mem_ct
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETTRUSTEDDOMAININFOBYNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7389,7 +7389,7 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETTRUSTEDDOMAININFOBYNAME,
                                &r);
 
@@ -7458,7 +7458,7 @@ struct tevent_req *rpccli_lsa_EnumTrustedDomainsEx_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_ENUMTRUSTEDDOMAINSEX,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7543,7 +7543,7 @@ NTSTATUS rpccli_lsa_EnumTrustedDomainsEx(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_ENUMTRUSTEDDOMAINSEX,
                                &r);
 
@@ -7615,7 +7615,7 @@ struct tevent_req *rpccli_lsa_CreateTrustedDomainEx_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREATETRUSTEDDOMAINEX,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7701,7 +7701,7 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREATETRUSTEDDOMAINEX,
                                &r);
 
@@ -7765,7 +7765,7 @@ struct tevent_req *rpccli_lsa_CloseTrustedDomainEx_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CLOSETRUSTEDDOMAINEX,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7844,7 +7844,7 @@ NTSTATUS rpccli_lsa_CloseTrustedDomainEx(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CLOSETRUSTEDDOMAINEX,
                                &r);
 
@@ -7911,7 +7911,7 @@ struct tevent_req *rpccli_lsa_QueryDomainInformationPolicy_send(TALLOC_CTX *mem_
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_QUERYDOMAININFORMATIONPOLICY,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7993,7 +7993,7 @@ NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_QUERYDOMAININFORMATIONPOLICY,
                                &r);
 
@@ -8054,7 +8054,7 @@ struct tevent_req *rpccli_lsa_SetDomainInformationPolicy_send(TALLOC_CTX *mem_ct
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_SETDOMAININFORMATIONPOLICY,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -8136,7 +8136,7 @@ NTSTATUS rpccli_lsa_SetDomainInformationPolicy(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_SETDOMAININFORMATIONPOLICY,
                                &r);
 
@@ -8204,7 +8204,7 @@ struct tevent_req *rpccli_lsa_OpenTrustedDomainByName_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_OPENTRUSTEDDOMAINBYNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -8288,7 +8288,7 @@ NTSTATUS rpccli_lsa_OpenTrustedDomainByName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_OPENTRUSTEDDOMAINBYNAME,
                                &r);
 
@@ -8343,7 +8343,7 @@ struct tevent_req *rpccli_lsa_TestCall_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_TESTCALL,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -8419,7 +8419,7 @@ NTSTATUS rpccli_lsa_TestCall(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_TESTCALL,
                                &r);
 
@@ -8497,7 +8497,7 @@ struct tevent_req *rpccli_lsa_LookupSids2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPSIDS2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -8591,7 +8591,7 @@ NTSTATUS rpccli_lsa_LookupSids2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPSIDS2,
                                &r);
 
@@ -8674,7 +8674,7 @@ struct tevent_req *rpccli_lsa_LookupNames2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPNAMES2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -8770,7 +8770,7 @@ NTSTATUS rpccli_lsa_LookupNames2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPNAMES2,
                                &r);
 
@@ -8843,7 +8843,7 @@ struct tevent_req *rpccli_lsa_CreateTrustedDomainEx2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREATETRUSTEDDOMAINEX2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -8929,7 +8929,7 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREATETRUSTEDDOMAINEX2,
                                &r);
 
@@ -8984,7 +8984,7 @@ struct tevent_req *rpccli_lsa_CREDRWRITE_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRWRITE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -9060,7 +9060,7 @@ NTSTATUS rpccli_lsa_CREDRWRITE(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRWRITE,
                                &r);
 
@@ -9114,7 +9114,7 @@ struct tevent_req *rpccli_lsa_CREDRREAD_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRREAD,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -9190,7 +9190,7 @@ NTSTATUS rpccli_lsa_CREDRREAD(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRREAD,
                                &r);
 
@@ -9244,7 +9244,7 @@ struct tevent_req *rpccli_lsa_CREDRENUMERATE_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRENUMERATE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -9320,7 +9320,7 @@ NTSTATUS rpccli_lsa_CREDRENUMERATE(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRENUMERATE,
                                &r);
 
@@ -9374,7 +9374,7 @@ struct tevent_req *rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS_send(TALLOC_CTX *mem_c
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRWRITEDOMAINCREDENTIALS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -9450,7 +9450,7 @@ NTSTATUS rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRWRITEDOMAINCREDENTIALS,
                                &r);
 
@@ -9504,7 +9504,7 @@ struct tevent_req *rpccli_lsa_CREDRREADDOMAINCREDENTIALS_send(TALLOC_CTX *mem_ct
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRREADDOMAINCREDENTIALS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -9580,7 +9580,7 @@ NTSTATUS rpccli_lsa_CREDRREADDOMAINCREDENTIALS(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRREADDOMAINCREDENTIALS,
                                &r);
 
@@ -9634,7 +9634,7 @@ struct tevent_req *rpccli_lsa_CREDRDELETE_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRDELETE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -9710,7 +9710,7 @@ NTSTATUS rpccli_lsa_CREDRDELETE(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRDELETE,
                                &r);
 
@@ -9764,7 +9764,7 @@ struct tevent_req *rpccli_lsa_CREDRGETTARGETINFO_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRGETTARGETINFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -9840,7 +9840,7 @@ NTSTATUS rpccli_lsa_CREDRGETTARGETINFO(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRGETTARGETINFO,
                                &r);
 
@@ -9894,7 +9894,7 @@ struct tevent_req *rpccli_lsa_CREDRPROFILELOADED_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRPROFILELOADED,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -9970,7 +9970,7 @@ NTSTATUS rpccli_lsa_CREDRPROFILELOADED(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRPROFILELOADED,
                                &r);
 
@@ -10050,7 +10050,7 @@ struct tevent_req *rpccli_lsa_LookupNames3_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPNAMES3,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -10146,7 +10146,7 @@ NTSTATUS rpccli_lsa_LookupNames3(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPNAMES3,
                                &r);
 
@@ -10203,7 +10203,7 @@ struct tevent_req *rpccli_lsa_CREDRGETSESSIONTYPES_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRGETSESSIONTYPES,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -10279,7 +10279,7 @@ NTSTATUS rpccli_lsa_CREDRGETSESSIONTYPES(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRGETSESSIONTYPES,
                                &r);
 
@@ -10333,7 +10333,7 @@ struct tevent_req *rpccli_lsa_LSARREGISTERAUDITEVENT_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LSARREGISTERAUDITEVENT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -10409,7 +10409,7 @@ NTSTATUS rpccli_lsa_LSARREGISTERAUDITEVENT(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LSARREGISTERAUDITEVENT,
                                &r);
 
@@ -10463,7 +10463,7 @@ struct tevent_req *rpccli_lsa_LSARGENAUDITEVENT_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LSARGENAUDITEVENT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -10539,7 +10539,7 @@ NTSTATUS rpccli_lsa_LSARGENAUDITEVENT(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LSARGENAUDITEVENT,
                                &r);
 
@@ -10593,7 +10593,7 @@ struct tevent_req *rpccli_lsa_LSARUNREGISTERAUDITEVENT_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LSARUNREGISTERAUDITEVENT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -10669,7 +10669,7 @@ NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LSARUNREGISTERAUDITEVENT,
                                &r);
 
@@ -10737,7 +10737,7 @@ struct tevent_req *rpccli_lsa_lsaRQueryForestTrustInformation_send(TALLOC_CTX *m
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LSARQUERYFORESTTRUSTINFORMATION,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -10821,7 +10821,7 @@ NTSTATUS rpccli_lsa_lsaRQueryForestTrustInformation(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LSARQUERYFORESTTRUSTINFORMATION,
                                &r);
 
@@ -10876,7 +10876,7 @@ struct tevent_req *rpccli_lsa_LSARSETFORESTTRUSTINFORMATION_send(TALLOC_CTX *mem
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LSARSETFORESTTRUSTINFORMATION,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -10952,7 +10952,7 @@ NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LSARSETFORESTTRUSTINFORMATION,
                                &r);
 
@@ -11006,7 +11006,7 @@ struct tevent_req *rpccli_lsa_CREDRRENAME_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_CREDRRENAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -11082,7 +11082,7 @@ NTSTATUS rpccli_lsa_CREDRRENAME(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_CREDRRENAME,
                                &r);
 
@@ -11158,7 +11158,7 @@ struct tevent_req *rpccli_lsa_LookupSids3_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPSIDS3,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -11250,7 +11250,7 @@ NTSTATUS rpccli_lsa_LookupSids3(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPSIDS3,
                                &r);
 
@@ -11331,7 +11331,7 @@ struct tevent_req *rpccli_lsa_LookupNames4_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LOOKUPNAMES4,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -11425,7 +11425,7 @@ NTSTATUS rpccli_lsa_LookupNames4(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LOOKUPNAMES4,
                                &r);
 
@@ -11482,7 +11482,7 @@ struct tevent_req *rpccli_lsa_LSAROPENPOLICYSCE_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LSAROPENPOLICYSCE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -11558,7 +11558,7 @@ NTSTATUS rpccli_lsa_LSAROPENPOLICYSCE(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LSAROPENPOLICYSCE,
                                &r);
 
@@ -11612,7 +11612,7 @@ struct tevent_req *rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE_send(TALLOC_CTX
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LSARADTREGISTERSECURITYEVENTSOURCE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -11688,7 +11688,7 @@ NTSTATUS rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client *c
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LSARADTREGISTERSECURITYEVENTSOURCE,
                                &r);
 
@@ -11742,7 +11742,7 @@ struct tevent_req *rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE_send(TALLOC_C
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -11818,7 +11818,7 @@ NTSTATUS rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE,
                                &r);
 
@@ -11872,7 +11872,7 @@ struct tevent_req *rpccli_lsa_LSARADTREPORTSECURITYEVENT_send(TALLOC_CTX *mem_ct
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                                   &ndr_table_lsarpc,
                                    NDR_LSA_LSARADTREPORTSECURITYEVENT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -11948,7 +11948,7 @@ NTSTATUS rpccli_lsa_LSARADTREPORTSECURITYEVENT(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_LSARPC_UUID, NDR_LSARPC_VERSION,
+                               &ndr_table_lsarpc,
                                NDR_LSA_LSARADTREPORTSECURITYEVENT,
                                &r);
 
index 3770f2a8b204895cb830e869f57a0a5f18b68325..53f29b925f76a760f3d1328e42f3dfc85f7917ed 100644 (file)
@@ -56,7 +56,7 @@ struct tevent_req *rpccli_netr_LogonUasLogon_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONUASLOGON,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -141,7 +141,7 @@ NTSTATUS rpccli_netr_LogonUasLogon(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONUASLOGON,
                                &r);
 
@@ -214,7 +214,7 @@ struct tevent_req *rpccli_netr_LogonUasLogoff_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONUASLOGOFF,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -299,7 +299,7 @@ NTSTATUS rpccli_netr_LogonUasLogoff(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONUASLOGOFF,
                                &r);
 
@@ -383,7 +383,7 @@ struct tevent_req *rpccli_netr_LogonSamLogon_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONSAMLOGON,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -480,7 +480,7 @@ NTSTATUS rpccli_netr_LogonSamLogon(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONSAMLOGON,
                                &r);
 
@@ -558,7 +558,7 @@ struct tevent_req *rpccli_netr_LogonSamLogoff_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONSAMLOGOFF,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -649,7 +649,7 @@ NTSTATUS rpccli_netr_LogonSamLogoff(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONSAMLOGOFF,
                                &r);
 
@@ -720,7 +720,7 @@ struct tevent_req *rpccli_netr_ServerReqChallenge_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_SERVERREQCHALLENGE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -804,7 +804,7 @@ NTSTATUS rpccli_netr_ServerReqChallenge(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_SERVERREQCHALLENGE,
                                &r);
 
@@ -877,7 +877,7 @@ struct tevent_req *rpccli_netr_ServerAuthenticate_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_SERVERAUTHENTICATE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -965,7 +965,7 @@ NTSTATUS rpccli_netr_ServerAuthenticate(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_SERVERAUTHENTICATE,
                                &r);
 
@@ -1040,7 +1040,7 @@ struct tevent_req *rpccli_netr_ServerPasswordSet_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_SERVERPASSWORDSET,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1130,7 +1130,7 @@ NTSTATUS rpccli_netr_ServerPasswordSet(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_SERVERPASSWORDSET,
                                &r);
 
@@ -1209,7 +1209,7 @@ struct tevent_req *rpccli_netr_DatabaseDeltas_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DATABASEDELTAS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1303,7 +1303,7 @@ NTSTATUS rpccli_netr_DatabaseDeltas(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DATABASEDELTAS,
                                &r);
 
@@ -1384,7 +1384,7 @@ struct tevent_req *rpccli_netr_DatabaseSync_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DATABASESYNC,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1478,7 +1478,7 @@ NTSTATUS rpccli_netr_DatabaseSync(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DATABASESYNC,
                                &r);
 
@@ -1566,7 +1566,7 @@ struct tevent_req *rpccli_netr_AccountDeltas_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_ACCOUNTDELTAS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1667,7 +1667,7 @@ NTSTATUS rpccli_netr_AccountDeltas(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_ACCOUNTDELTAS,
                                &r);
 
@@ -1758,7 +1758,7 @@ struct tevent_req *rpccli_netr_AccountSync_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_ACCOUNTSYNC,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -1860,7 +1860,7 @@ NTSTATUS rpccli_netr_AccountSync(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_ACCOUNTSYNC,
                                &r);
 
@@ -1932,7 +1932,7 @@ struct tevent_req *rpccli_netr_GetDcName_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_GETDCNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2015,7 +2015,7 @@ NTSTATUS rpccli_netr_GetDcName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_GETDCNAME,
                                &r);
 
@@ -2088,7 +2088,7 @@ struct tevent_req *rpccli_netr_LogonControl_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONCONTROL,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2173,7 +2173,7 @@ NTSTATUS rpccli_netr_LogonControl(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONCONTROL,
                                &r);
 
@@ -2244,7 +2244,7 @@ struct tevent_req *rpccli_netr_GetAnyDCName_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_GETANYDCNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2327,7 +2327,7 @@ NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_GETANYDCNAME,
                                &r);
 
@@ -2402,7 +2402,7 @@ struct tevent_req *rpccli_netr_LogonControl2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONCONTROL2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2489,7 +2489,7 @@ NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONCONTROL2,
                                &r);
 
@@ -2569,7 +2569,7 @@ struct tevent_req *rpccli_netr_ServerAuthenticate2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_SERVERAUTHENTICATE2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2660,7 +2660,7 @@ NTSTATUS rpccli_netr_ServerAuthenticate2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_SERVERAUTHENTICATE2,
                                &r);
 
@@ -2742,7 +2742,7 @@ struct tevent_req *rpccli_netr_DatabaseSync2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DATABASESYNC2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -2838,7 +2838,7 @@ NTSTATUS rpccli_netr_DatabaseSync2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DATABASESYNC2,
                                &r);
 
@@ -2916,7 +2916,7 @@ struct tevent_req *rpccli_netr_DatabaseRedo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DATABASEREDO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3007,7 +3007,7 @@ NTSTATUS rpccli_netr_DatabaseRedo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DATABASEREDO,
                                &r);
 
@@ -3079,7 +3079,7 @@ struct tevent_req *rpccli_netr_LogonControl2Ex_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONCONTROL2EX,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3166,7 +3166,7 @@ NTSTATUS rpccli_netr_LogonControl2Ex(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONCONTROL2EX,
                                &r);
 
@@ -3235,7 +3235,7 @@ struct tevent_req *rpccli_netr_NetrEnumerateTrustedDomains_send(TALLOC_CTX *mem_
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_NETRENUMERATETRUSTEDDOMAINS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3316,7 +3316,7 @@ NTSTATUS rpccli_netr_NetrEnumerateTrustedDomains(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_NETRENUMERATETRUSTEDDOMAINS,
                                &r);
 
@@ -3393,7 +3393,7 @@ struct tevent_req *rpccli_netr_DsRGetDCName_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRGETDCNAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3482,7 +3482,7 @@ NTSTATUS rpccli_netr_DsRGetDCName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRGETDCNAME,
                                &r);
 
@@ -3560,7 +3560,7 @@ struct tevent_req *rpccli_netr_LogonGetCapabilities_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONGETCAPABILITIES,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3649,7 +3649,7 @@ NTSTATUS rpccli_netr_LogonGetCapabilities(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONGETCAPABILITIES,
                                &r);
 
@@ -3705,7 +3705,7 @@ struct tevent_req *rpccli_netr_NETRLOGONSETSERVICEBITS_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_NETRLOGONSETSERVICEBITS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3782,7 +3782,7 @@ NTSTATUS rpccli_netr_NETRLOGONSETSERVICEBITS(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_NETRLOGONSETSERVICEBITS,
                                &r);
 
@@ -3852,7 +3852,7 @@ struct tevent_req *rpccli_netr_LogonGetTrustRid_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONGETTRUSTRID,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -3935,7 +3935,7 @@ NTSTATUS rpccli_netr_LogonGetTrustRid(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONGETTRUSTRID,
                                &r);
 
@@ -3994,7 +3994,7 @@ struct tevent_req *rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST_send(TALLOC_CTX *mem
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_NETRLOGONCOMPUTESERVERDIGEST,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4071,7 +4071,7 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_NETRLOGONCOMPUTESERVERDIGEST,
                                &r);
 
@@ -4129,7 +4129,7 @@ struct tevent_req *rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST_send(TALLOC_CTX *mem
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_NETRLOGONCOMPUTECLIENTDIGEST,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4206,7 +4206,7 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_NETRLOGONCOMPUTECLIENTDIGEST,
                                &r);
 
@@ -4287,7 +4287,7 @@ struct tevent_req *rpccli_netr_ServerAuthenticate3_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_SERVERAUTHENTICATE3,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4380,7 +4380,7 @@ NTSTATUS rpccli_netr_ServerAuthenticate3(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_SERVERAUTHENTICATE3,
                                &r);
 
@@ -4455,7 +4455,7 @@ struct tevent_req *rpccli_netr_DsRGetDCNameEx_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRGETDCNAMEEX,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4544,7 +4544,7 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRGETDCNAMEEX,
                                &r);
 
@@ -4613,7 +4613,7 @@ struct tevent_req *rpccli_netr_DsRGetSiteName_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRGETSITENAME,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4694,7 +4694,7 @@ NTSTATUS rpccli_netr_DsRGetSiteName(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRGETSITENAME,
                                &r);
 
@@ -4774,7 +4774,7 @@ struct tevent_req *rpccli_netr_LogonGetDomainInfo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONGETDOMAININFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -4865,7 +4865,7 @@ NTSTATUS rpccli_netr_LogonGetDomainInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONGETDOMAININFO,
                                &r);
 
@@ -4941,7 +4941,7 @@ struct tevent_req *rpccli_netr_ServerPasswordSet2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_SERVERPASSWORDSET2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5031,7 +5031,7 @@ NTSTATUS rpccli_netr_ServerPasswordSet2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_SERVERPASSWORDSET2,
                                &r);
 
@@ -5106,7 +5106,7 @@ struct tevent_req *rpccli_netr_ServerPasswordGet_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_SERVERPASSWORDGET,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5197,7 +5197,7 @@ NTSTATUS rpccli_netr_ServerPasswordGet(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_SERVERPASSWORDGET,
                                &r);
 
@@ -5257,7 +5257,7 @@ struct tevent_req *rpccli_netr_NETRLOGONSENDTOSAM_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_NETRLOGONSENDTOSAM,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5334,7 +5334,7 @@ NTSTATUS rpccli_netr_NETRLOGONSENDTOSAM(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_NETRLOGONSENDTOSAM,
                                &r);
 
@@ -5406,7 +5406,7 @@ struct tevent_req *rpccli_netr_DsRAddressToSitenamesW_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRADDRESSTOSITENAMESW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5491,7 +5491,7 @@ NTSTATUS rpccli_netr_DsRAddressToSitenamesW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRADDRESSTOSITENAMESW,
                                &r);
 
@@ -5572,7 +5572,7 @@ struct tevent_req *rpccli_netr_DsRGetDCNameEx2_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRGETDCNAMEEX2,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5665,7 +5665,7 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx2(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRGETDCNAMEEX2,
                                &r);
 
@@ -5724,7 +5724,7 @@ struct tevent_req *rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN_send(TALLOC_C
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5801,7 +5801,7 @@ NTSTATUS rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(struct rpc_pipe_client
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN,
                                &r);
 
@@ -5869,7 +5869,7 @@ struct tevent_req *rpccli_netr_NetrEnumerateTrustedDomainsEx_send(TALLOC_CTX *me
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_NETRENUMERATETRUSTEDDOMAINSEX,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -5950,7 +5950,7 @@ NTSTATUS rpccli_netr_NetrEnumerateTrustedDomainsEx(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_NETRENUMERATETRUSTEDDOMAINSEX,
                                &r);
 
@@ -6023,7 +6023,7 @@ struct tevent_req *rpccli_netr_DsRAddressToSitenamesExW_send(TALLOC_CTX *mem_ctx
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRADDRESSTOSITENAMESEXW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6108,7 +6108,7 @@ NTSTATUS rpccli_netr_DsRAddressToSitenamesExW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRADDRESSTOSITENAMESEXW,
                                &r);
 
@@ -6177,7 +6177,7 @@ struct tevent_req *rpccli_netr_DsrGetDcSiteCoverageW_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRGETDCSITECOVERAGEW,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6258,7 +6258,7 @@ NTSTATUS rpccli_netr_DsrGetDcSiteCoverageW(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRGETDCSITECOVERAGEW,
                                &r);
 
@@ -6340,7 +6340,7 @@ struct tevent_req *rpccli_netr_LogonSamLogonEx_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONSAMLOGONEX,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6433,7 +6433,7 @@ NTSTATUS rpccli_netr_LogonSamLogonEx(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONSAMLOGONEX,
                                &r);
 
@@ -6502,7 +6502,7 @@ struct tevent_req *rpccli_netr_DsrEnumerateDomainTrusts_send(TALLOC_CTX *mem_ctx
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRENUMERATEDOMAINTRUSTS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6585,7 +6585,7 @@ NTSTATUS rpccli_netr_DsrEnumerateDomainTrusts(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRENUMERATEDOMAINTRUSTS,
                                &r);
 
@@ -6654,7 +6654,7 @@ struct tevent_req *rpccli_netr_DsrDeregisterDNSHostRecords_send(TALLOC_CTX *mem_
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRDEREGISTERDNSHOSTRECORDS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6741,7 +6741,7 @@ NTSTATUS rpccli_netr_DsrDeregisterDNSHostRecords(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRDEREGISTERDNSHOSTRECORDS,
                                &r);
 
@@ -6821,7 +6821,7 @@ struct tevent_req *rpccli_netr_ServerTrustPasswordsGet_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_SERVERTRUSTPASSWORDSGET,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -6913,7 +6913,7 @@ NTSTATUS rpccli_netr_ServerTrustPasswordsGet(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_SERVERTRUSTPASSWORDSGET,
                                &r);
 
@@ -6984,7 +6984,7 @@ struct tevent_req *rpccli_netr_DsRGetForestTrustInformation_send(TALLOC_CTX *mem
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_DSRGETFORESTTRUSTINFORMATION,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7069,7 +7069,7 @@ NTSTATUS rpccli_netr_DsRGetForestTrustInformation(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_DSRGETFORESTTRUSTINFORMATION,
                                &r);
 
@@ -7146,7 +7146,7 @@ struct tevent_req *rpccli_netr_GetForestTrustInformation_send(TALLOC_CTX *mem_ct
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_GETFORESTTRUSTINFORMATION,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7235,7 +7235,7 @@ NTSTATUS rpccli_netr_GetForestTrustInformation(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_GETFORESTTRUSTINFORMATION,
                                &r);
 
@@ -7323,7 +7323,7 @@ struct tevent_req *rpccli_netr_LogonSamLogonWithFlags_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_LOGONSAMLOGONWITHFLAGS,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7423,7 +7423,7 @@ NTSTATUS rpccli_netr_LogonSamLogonWithFlags(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_LOGONSAMLOGONWITHFLAGS,
                                &r);
 
@@ -7507,7 +7507,7 @@ struct tevent_req *rpccli_netr_ServerGetTrustInfo_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                                   &ndr_table_netlogon,
                                    NDR_NETR_SERVERGETTRUSTINFO,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -7601,7 +7601,7 @@ NTSTATUS rpccli_netr_ServerGetTrustInfo(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+                               &ndr_table_netlogon,
                                NDR_NETR_SERVERGETTRUSTINFO,
                                &r);
 
index 82a6c20093c03a11985dbe52ba24b7a84c85062f..8f32944ee018439629bda5dad9b2949781fff65e 100644 (file)
@@ -42,7 +42,7 @@ struct tevent_req *rpccli_PNP_Disconnect_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                                   &ndr_table_ntsvcs,
                                    NDR_PNP_DISCONNECT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -119,7 +119,7 @@ NTSTATUS rpccli_PNP_Disconnect(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                               &ndr_table_ntsvcs,
                                NDR_PNP_DISCONNECT,
                                &r);
 
@@ -177,7 +177,7 @@ struct tevent_req *rpccli_PNP_Connect_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                                   &ndr_table_ntsvcs,
                                    NDR_PNP_CONNECT,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -254,7 +254,7 @@ NTSTATUS rpccli_PNP_Connect(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                               &ndr_table_ntsvcs,
                                NDR_PNP_CONNECT,
                                &r);
 
@@ -320,7 +320,7 @@ struct tevent_req *rpccli_PNP_GetVersion_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                                   &ndr_table_ntsvcs,
                                    NDR_PNP_GETVERSION,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -399,7 +399,7 @@ NTSTATUS rpccli_PNP_GetVersion(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                               &ndr_table_ntsvcs,
                                NDR_PNP_GETVERSION,
                                &r);
 
@@ -458,7 +458,7 @@ struct tevent_req *rpccli_PNP_GetGlobalState_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                                   &ndr_table_ntsvcs,
                                    NDR_PNP_GETGLOBALSTATE,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -535,7 +535,7 @@ NTSTATUS rpccli_PNP_GetGlobalState(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                               &ndr_table_ntsvcs,
                                NDR_PNP_GETGLOBALSTATE,
                                &r);
 
@@ -593,7 +593,7 @@ struct tevent_req *rpccli_PNP_InitDetection_send(TALLOC_CTX *mem_ctx,
        state->tmp = state->orig;
 
        subreq = cli->dispatch_send(state, ev, cli,
-                                   NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                                   &ndr_table_ntsvcs,
                                    NDR_PNP_INITDETECTION,
                                    &state->tmp);
        if (tevent_req_nomem(subreq, req)) {
@@ -670,7 +670,7 @@ NTSTATUS rpccli_PNP_InitDetection(struct rpc_pipe_client *cli,
 
        status = cli->dispatch(cli,
                                mem_ctx,
-                               NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION,
+                               &ndr_table_ntsvcs,
                                NDR_PNP_INITDETECTION,
                                &r);
 
@@