diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-21 13:04:41 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-21 14:36:31 +0200 |
commit | da6e4248eedfcf420797f42f589fff4875161303 (patch) | |
tree | 111da6d9425d56bc0167dc9062cc744b0f9052ac | |
parent | a20c49831013977385e5b7e7bcb307ce451aaaa9 (diff) | |
download | samba-da6e4248eedfcf420797f42f589fff4875161303.tar.gz samba-da6e4248eedfcf420797f42f589fff4875161303.tar.bz2 samba-da6e4248eedfcf420797f42f589fff4875161303.zip |
Make idl: cli_do_rpc_ndr does not use pipe_idx anymore
(This used to be commit ffd2ff5325ef24f08dcb63e4561f5f62bffef6d3)
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_dfs.c | 23 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_drsuapi.c | 25 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_dssetup.c | 11 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_echo.c | 10 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_epmapper.c | 8 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_eventlog.c | 24 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_initshutdown.c | 3 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_lsa.c | 82 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_netlogon.c | 47 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_ntsvcs.c | 65 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_samr.c | 68 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_srvsvc.c | 54 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_svcctl.c | 44 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_winreg.c | 35 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/cli_wkssvc.c | 31 | ||||
-rw-r--r-- | source3/rpc_client/ndr.c | 2 |
17 files changed, 2 insertions, 532 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 856ab76603..f31eee81a0 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -7706,7 +7706,7 @@ void init_srvsvc_NetConnInfo1(struct srvsvc_NetConnInfo1 *r, /* The following definitions come from rpc_client/ndr.c */ NTSTATUS cli_do_rpc_ndr(struct rpc_pipe_client *cli, - TALLOC_CTX *mem_ctx, int p_idx, + TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32 opnum, void *r); diff --git a/source3/librpc/gen_ndr/cli_dfs.c b/source3/librpc/gen_ndr/cli_dfs.c index 0e33284816..81ec14694a 100644 --- a/source3/librpc/gen_ndr/cli_dfs.c +++ b/source3/librpc/gen_ndr/cli_dfs.c @@ -21,7 +21,6 @@ NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_GETMANAGERVERSION, &r); @@ -70,7 +69,6 @@ NTSTATUS rpccli_dfs_Add(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADD, &r); @@ -118,7 +116,6 @@ NTSTATUS rpccli_dfs_Remove(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_REMOVE, &r); @@ -170,7 +167,6 @@ NTSTATUS rpccli_dfs_SetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_SETINFO, &r); @@ -221,7 +217,6 @@ NTSTATUS rpccli_dfs_GetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_GETINFO, &r); @@ -272,7 +267,6 @@ NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ENUM, &r); @@ -320,7 +314,6 @@ NTSTATUS rpccli_dfs_Rename(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_RENAME, &r); @@ -362,7 +355,6 @@ NTSTATUS rpccli_dfs_Move(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_MOVE, &r); @@ -404,7 +396,6 @@ NTSTATUS rpccli_dfs_ManagerGetConfigInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_MANAGERGETCONFIGINFO, &r); @@ -446,7 +437,6 @@ NTSTATUS rpccli_dfs_ManagerSendSiteInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_MANAGERSENDSITEINFO, &r); @@ -506,7 +496,6 @@ NTSTATUS rpccli_dfs_AddFtRoot(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADDFTROOT, &r); @@ -563,7 +552,6 @@ NTSTATUS rpccli_dfs_RemoveFtRoot(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_REMOVEFTROOT, &r); @@ -616,7 +604,6 @@ NTSTATUS rpccli_dfs_AddStdRoot(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADDSTDROOT, &r); @@ -664,7 +651,6 @@ NTSTATUS rpccli_dfs_RemoveStdRoot(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_REMOVESTDROOT, &r); @@ -710,7 +696,6 @@ NTSTATUS rpccli_dfs_ManagerInitialize(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_MANAGERINITIALIZE, &r); @@ -760,7 +745,6 @@ NTSTATUS rpccli_dfs_AddStdRootForced(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADDSTDROOTFORCED, &r); @@ -810,7 +794,6 @@ NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_GETDCADDRESS, &r); @@ -863,7 +846,6 @@ NTSTATUS rpccli_dfs_SetDcAddress(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_SETDCADDRESS, &r); @@ -909,7 +891,6 @@ NTSTATUS rpccli_dfs_FlushFtTable(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_FLUSHFTTABLE, &r); @@ -951,7 +932,6 @@ NTSTATUS rpccli_dfs_Add2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ADD2, &r); @@ -993,7 +973,6 @@ NTSTATUS rpccli_dfs_Remove2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_REMOVE2, &r); @@ -1045,7 +1024,6 @@ NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_ENUMEX, &r); @@ -1093,7 +1071,6 @@ NTSTATUS rpccli_dfs_SetInfo2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETDFS, &ndr_table_netdfs, NDR_DFS_SETINFO2, &r); diff --git a/source3/librpc/gen_ndr/cli_drsuapi.c b/source3/librpc/gen_ndr/cli_drsuapi.c index 0731885a1a..57d7a25d9c 100644 --- a/source3/librpc/gen_ndr/cli_drsuapi.c +++ b/source3/librpc/gen_ndr/cli_drsuapi.c @@ -26,7 +26,6 @@ NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSBIND, &r); @@ -74,7 +73,6 @@ NTSTATUS rpccli_drsuapi_DsUnbind(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSUNBIND, &r); @@ -123,7 +121,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaSync(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSREPLICASYNC, &r); @@ -173,7 +170,6 @@ NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSGETNCCHANGES, &r); @@ -223,7 +219,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSREPLICAUPDATEREFS, &r); @@ -265,7 +260,6 @@ NTSTATUS rpccli_DRSUAPI_REPLICA_ADD(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_REPLICA_ADD, &r); @@ -307,7 +301,6 @@ NTSTATUS rpccli_DRSUAPI_REPLICA_DEL(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_REPLICA_DEL, &r); @@ -349,7 +342,6 @@ NTSTATUS rpccli_DRSUAPI_REPLICA_MODIFY(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_REPLICA_MODIFY, &r); @@ -391,7 +383,6 @@ NTSTATUS rpccli_DRSUAPI_VERIFY_NAMES(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_VERIFY_NAMES, &r); @@ -441,7 +432,6 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSGETMEMBERSHIPS, &r); @@ -485,7 +475,6 @@ NTSTATUS rpccli_DRSUAPI_INTER_DOMAIN_MOVE(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_INTER_DOMAIN_MOVE, &r); @@ -535,7 +524,6 @@ NTSTATUS rpccli_drsuapi_DsGetNT4ChangeLog(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSGETNT4CHANGELOG, &r); @@ -587,7 +575,6 @@ NTSTATUS rpccli_drsuapi_DsCrackNames(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSCRACKNAMES, &r); @@ -639,7 +626,6 @@ NTSTATUS rpccli_drsuapi_DsWriteAccountSpn(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSWRITEACCOUNTSPN, &r); @@ -691,7 +677,6 @@ NTSTATUS rpccli_drsuapi_DsRemoveDSServer(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSREMOVEDSSERVER, &r); @@ -735,7 +720,6 @@ NTSTATUS rpccli_DRSUAPI_REMOVE_DS_DOMAIN(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_REMOVE_DS_DOMAIN, &r); @@ -785,7 +769,6 @@ NTSTATUS rpccli_drsuapi_DsGetDomainControllerInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSGETDOMAINCONTROLLERINFO, &r); @@ -837,7 +820,6 @@ NTSTATUS rpccli_drsuapi_DsAddEntry(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSADDENTRY, &r); @@ -881,7 +863,6 @@ NTSTATUS rpccli_DRSUAPI_EXECUTE_KCC(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_EXECUTE_KCC, &r); @@ -931,7 +912,6 @@ NTSTATUS rpccli_drsuapi_DsReplicaGetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSREPLICAGETINFO, &r); @@ -975,7 +955,6 @@ NTSTATUS rpccli_DRSUAPI_ADD_SID_HISTORY(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_ADD_SID_HISTORY, &r); @@ -1025,7 +1004,6 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_DSGETMEMBERSHIPS2, &r); @@ -1069,7 +1047,6 @@ NTSTATUS rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_REPLICA_VERIFY_OBJECTS, &r); @@ -1111,7 +1088,6 @@ NTSTATUS rpccli_DRSUAPI_GET_OBJECT_EXISTENCE(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_GET_OBJECT_EXISTENCE, &r); @@ -1161,7 +1137,6 @@ NTSTATUS rpccli_drsuapi_QuerySitesByCost(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DRSUAPI, &ndr_table_drsuapi, NDR_DRSUAPI_QUERYSITESBYCOST, &r); diff --git a/source3/librpc/gen_ndr/cli_dssetup.c b/source3/librpc/gen_ndr/cli_dssetup.c index f379b1b8a9..5526f8d59b 100644 --- a/source3/librpc/gen_ndr/cli_dssetup.c +++ b/source3/librpc/gen_ndr/cli_dssetup.c @@ -24,7 +24,6 @@ NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION, &r); @@ -69,7 +68,6 @@ NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME, &r); @@ -111,7 +109,6 @@ NTSTATUS rpccli_dssetup_DsRoleDcAsDc(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLEDCASDC, &r); @@ -153,7 +150,6 @@ NTSTATUS rpccli_dssetup_DsRoleDcAsReplica(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLEDCASREPLICA, &r); @@ -195,7 +191,6 @@ NTSTATUS rpccli_dssetup_DsRoleDemoteDc(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLEDEMOTEDC, &r); @@ -237,7 +232,6 @@ NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress(struct rpc_pipe_client *cli status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS, &r); @@ -279,7 +273,6 @@ NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS, &r); @@ -321,7 +314,6 @@ NTSTATUS rpccli_dssetup_DsRoleCancel(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLECANCEL, &r); @@ -363,7 +355,6 @@ NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade(struct rpc_pipe_client * status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE, &r); @@ -405,7 +396,6 @@ NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer(struct rpc_pipe_client *cli status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER, &r); @@ -447,7 +437,6 @@ NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade(struct rpc_pipe_client status = cli_do_rpc_ndr(cli, mem_ctx, - PI_DSSETUP, &ndr_table_dssetup, NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE, &r); diff --git a/source3/librpc/gen_ndr/cli_echo.c b/source3/librpc/gen_ndr/cli_echo.c index 23a8907de3..a775825f5f 100644 --- a/source3/librpc/gen_ndr/cli_echo.c +++ b/source3/librpc/gen_ndr/cli_echo.c @@ -23,7 +23,6 @@ NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_ADDONE, &r); @@ -66,7 +65,6 @@ NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_ECHODATA, &r); @@ -108,7 +106,6 @@ NTSTATUS rpccli_echo_SinkData(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_SINKDATA, &r); @@ -148,7 +145,6 @@ NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_SOURCEDATA, &r); @@ -189,7 +185,6 @@ NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTCALL, &r); @@ -230,7 +225,6 @@ NTSTATUS rpccli_echo_TestCall2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTCALL2, &r); @@ -270,7 +264,6 @@ NTSTATUS rpccli_echo_TestSleep(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTSLEEP, &r); @@ -313,7 +306,6 @@ NTSTATUS rpccli_echo_TestEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTENUM, &r); @@ -355,7 +347,6 @@ NTSTATUS rpccli_echo_TestSurrounding(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTSURROUNDING, &r); @@ -395,7 +386,6 @@ NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTDOUBLEPOINTER, &r); diff --git a/source3/librpc/gen_ndr/cli_epmapper.c b/source3/librpc/gen_ndr/cli_epmapper.c index 39a695db82..19673ab659 100644 --- a/source3/librpc/gen_ndr/cli_epmapper.c +++ b/source3/librpc/gen_ndr/cli_epmapper.c @@ -26,7 +26,6 @@ NTSTATUS rpccli_epm_Insert(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_INSERT, &r); @@ -67,7 +66,6 @@ NTSTATUS rpccli_epm_Delete(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_DELETE, &r); @@ -118,7 +116,6 @@ NTSTATUS rpccli_epm_Lookup(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_LOOKUP, &r); @@ -168,7 +165,6 @@ NTSTATUS rpccli_epm_Map(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_MAP, &r); @@ -210,7 +206,6 @@ NTSTATUS rpccli_epm_LookupHandleFree(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_LOOKUPHANDLEFREE, &r); @@ -250,7 +245,6 @@ NTSTATUS rpccli_epm_InqObject(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_INQOBJECT, &r); @@ -293,7 +287,6 @@ NTSTATUS rpccli_epm_MgmtDelete(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_MGMTDELETE, &r); @@ -330,7 +323,6 @@ NTSTATUS rpccli_epm_MapAuth(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_MAPAUTH, &r); diff --git a/source3/librpc/gen_ndr/cli_eventlog.c b/source3/librpc/gen_ndr/cli_eventlog.c index e186719d33..08456fc994 100644 --- a/source3/librpc/gen_ndr/cli_eventlog.c +++ b/source3/librpc/gen_ndr/cli_eventlog.c @@ -24,7 +24,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_CLEAREVENTLOGW, &r); @@ -61,7 +60,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_BACKUPEVENTLOGW, &r); @@ -100,7 +98,6 @@ NTSTATUS rpccli_eventlog_CloseEventLog(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_CLOSEEVENTLOG, &r); @@ -138,7 +135,6 @@ NTSTATUS rpccli_eventlog_DeregisterEventSource(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_DEREGISTEREVENTSOURCE, &r); @@ -178,7 +174,6 @@ NTSTATUS rpccli_eventlog_GetNumRecords(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_GETNUMRECORDS, &r); @@ -219,7 +214,6 @@ NTSTATUS rpccli_eventlog_GetOldestRecord(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_GETOLDESTRECORD, &r); @@ -257,7 +251,6 @@ NTSTATUS rpccli_eventlog_ChangeNotify(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_CHANGENOTIFY, &r); @@ -305,7 +298,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_OPENEVENTLOGW, &r); @@ -343,7 +335,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REGISTEREVENTSOURCEW, &r); @@ -380,7 +371,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_OPENBACKUPEVENTLOGW, &r); @@ -428,7 +418,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_READEVENTLOGW, &r); @@ -468,7 +457,6 @@ NTSTATUS rpccli_eventlog_ReportEventW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REPORTEVENTW, &r); @@ -505,7 +493,6 @@ NTSTATUS rpccli_eventlog_ClearEventLogA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_CLEAREVENTLOGA, &r); @@ -542,7 +529,6 @@ NTSTATUS rpccli_eventlog_BackupEventLogA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_BACKUPEVENTLOGA, &r); @@ -579,7 +565,6 @@ NTSTATUS rpccli_eventlog_OpenEventLogA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_OPENEVENTLOGA, &r); @@ -616,7 +601,6 @@ NTSTATUS rpccli_eventlog_RegisterEventSourceA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REGISTEREVENTSOURCEA, &r); @@ -653,7 +637,6 @@ NTSTATUS rpccli_eventlog_OpenBackupEventLogA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_OPENBACKUPEVENTLOGA, &r); @@ -690,7 +673,6 @@ NTSTATUS rpccli_eventlog_ReadEventLogA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_READEVENTLOGA, &r); @@ -727,7 +709,6 @@ NTSTATUS rpccli_eventlog_ReportEventA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REPORTEVENTA, &r); @@ -764,7 +745,6 @@ NTSTATUS rpccli_eventlog_RegisterClusterSvc(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_REGISTERCLUSTERSVC, &r); @@ -801,7 +781,6 @@ NTSTATUS rpccli_eventlog_DeregisterClusterSvc(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_DEREGISTERCLUSTERSVC, &r); @@ -838,7 +817,6 @@ NTSTATUS rpccli_eventlog_WriteClusterEvents(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_WRITECLUSTEREVENTS, &r); @@ -875,7 +853,6 @@ NTSTATUS rpccli_eventlog_GetLogIntormation(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_GETLOGINTORMATION, &r); @@ -914,7 +891,6 @@ NTSTATUS rpccli_eventlog_FlushEventLog(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_EVENTLOG, &ndr_table_eventlog, NDR_EVENTLOG_FLUSHEVENTLOG, &r); diff --git a/source3/librpc/gen_ndr/cli_initshutdown.c b/source3/librpc/gen_ndr/cli_initshutdown.c index da3ea19672..d5e5ab63bc 100644 --- a/source3/librpc/gen_ndr/cli_initshutdown.c +++ b/source3/librpc/gen_ndr/cli_initshutdown.c @@ -31,7 +31,6 @@ NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_INITSHUTDOWN, &ndr_table_initshutdown, NDR_INITSHUTDOWN_INIT, &r); @@ -75,7 +74,6 @@ NTSTATUS rpccli_initshutdown_Abort(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_INITSHUTDOWN, &ndr_table_initshutdown, NDR_INITSHUTDOWN_ABORT, &r); @@ -129,7 +127,6 @@ NTSTATUS rpccli_initshutdown_InitEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_INITSHUTDOWN, &ndr_table_initshutdown, NDR_INITSHUTDOWN_INITEX, &r); diff --git a/source3/librpc/gen_ndr/cli_lsa.c b/source3/librpc/gen_ndr/cli_lsa.c index 4e81f7094c..4ab27ed04b 100644 --- a/source3/librpc/gen_ndr/cli_lsa.c +++ b/source3/librpc/gen_ndr/cli_lsa.c @@ -22,7 +22,6 @@ NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CLOSE, &r); @@ -62,7 +61,6 @@ NTSTATUS rpccli_lsa_Delete(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_DELETE, &r); @@ -106,7 +104,6 @@ NTSTATUS rpccli_lsa_EnumPrivs(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMPRIVS, &r); @@ -150,7 +147,6 @@ NTSTATUS rpccli_lsa_QuerySecurity(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYSECURITY, &r); @@ -194,7 +190,6 @@ NTSTATUS rpccli_lsa_SetSecObj(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETSECOBJ, &r); @@ -231,7 +226,6 @@ NTSTATUS rpccli_lsa_ChangePassword(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CHANGEPASSWORD, &r); @@ -275,7 +269,6 @@ NTSTATUS rpccli_lsa_OpenPolicy(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENPOLICY, &r); @@ -318,7 +311,6 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYINFOPOLICY, &r); @@ -362,7 +354,6 @@ NTSTATUS rpccli_lsa_SetInfoPolicy(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETINFOPOLICY, &r); @@ -399,7 +390,6 @@ NTSTATUS rpccli_lsa_ClearAuditLog(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CLEARAUDITLOG, &r); @@ -443,7 +433,6 @@ NTSTATUS rpccli_lsa_CreateAccount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATEACCOUNT, &r); @@ -488,7 +477,6 @@ NTSTATUS rpccli_lsa_EnumAccounts(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMACCOUNTS, &r); @@ -534,7 +522,6 @@ NTSTATUS rpccli_lsa_CreateTrustedDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATETRUSTEDDOMAIN, &r); @@ -579,7 +566,6 @@ NTSTATUS rpccli_lsa_EnumTrustDom(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMTRUSTDOM, &r); @@ -631,7 +617,6 @@ NTSTATUS rpccli_lsa_LookupNames(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPNAMES, &r); @@ -682,7 +667,6 @@ NTSTATUS rpccli_lsa_LookupSids(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPSIDS, &r); @@ -729,7 +713,6 @@ NTSTATUS rpccli_lsa_CreateSecret(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATESECRET, &r); @@ -774,7 +757,6 @@ NTSTATUS rpccli_lsa_OpenAccount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENACCOUNT, &r); @@ -815,7 +797,6 @@ NTSTATUS rpccli_lsa_EnumPrivsAccount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMPRIVSACCOUNT, &r); @@ -857,7 +838,6 @@ NTSTATUS rpccli_lsa_AddPrivilegesToAccount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ADDPRIVILEGESTOACCOUNT, &r); @@ -900,7 +880,6 @@ NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_REMOVEPRIVILEGESFROMACCOUNT, &r); @@ -937,7 +916,6 @@ NTSTATUS rpccli_lsa_GetQuotasForAccount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_GETQUOTASFORACCOUNT, &r); @@ -974,7 +952,6 @@ NTSTATUS rpccli_lsa_SetQuotasForAccount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETQUOTASFORACCOUNT, &r); @@ -1014,7 +991,6 @@ NTSTATUS rpccli_lsa_GetSystemAccessAccount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_GETSYSTEMACCESSACCOUNT, &r); @@ -1056,7 +1032,6 @@ NTSTATUS rpccli_lsa_SetSystemAccessAccount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETSYSTEMACCESSACCOUNT, &r); @@ -1100,7 +1075,6 @@ NTSTATUS rpccli_lsa_OpenTrustedDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENTRUSTEDDOMAIN, &r); @@ -1143,7 +1117,6 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYTRUSTEDDOMAININFO, &r); @@ -1181,7 +1154,6 @@ NTSTATUS rpccli_lsa_SetInformationTrustedDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETINFORMATIONTRUSTEDDOMAIN, &r); @@ -1225,7 +1197,6 @@ NTSTATUS rpccli_lsa_OpenSecret(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENSECRET, &r); @@ -1269,7 +1240,6 @@ NTSTATUS rpccli_lsa_SetSecret(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETSECRET, &r); @@ -1316,7 +1286,6 @@ NTSTATUS rpccli_lsa_QuerySecret(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYSECRET, &r); @@ -1370,7 +1339,6 @@ NTSTATUS rpccli_lsa_LookupPrivValue(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPPRIVVALUE, &r); @@ -1413,7 +1381,6 @@ NTSTATUS rpccli_lsa_LookupPrivName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPPRIVNAME, &r); @@ -1461,7 +1428,6 @@ NTSTATUS rpccli_lsa_LookupPrivDisplayName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPPRIVDISPLAYNAME, &r); @@ -1502,7 +1468,6 @@ NTSTATUS rpccli_lsa_DeleteObject(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_DELETEOBJECT, &r); @@ -1545,7 +1510,6 @@ NTSTATUS rpccli_lsa_EnumAccountsWithUserRight(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMACCOUNTSWITHUSERRIGHT, &r); @@ -1588,7 +1552,6 @@ NTSTATUS rpccli_lsa_EnumAccountRights(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMACCOUNTRIGHTS, &r); @@ -1632,7 +1595,6 @@ NTSTATUS rpccli_lsa_AddAccountRights(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ADDACCOUNTRIGHTS, &r); @@ -1677,7 +1639,6 @@ NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_REMOVEACCOUNTRIGHTS, &r); @@ -1721,7 +1682,6 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYTRUSTEDDOMAININFOBYSID, &r); @@ -1759,7 +1719,6 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETTRUSTEDDOMAININFO, &r); @@ -1800,7 +1759,6 @@ NTSTATUS rpccli_lsa_DeleteTrustedDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_DELETETRUSTEDDOMAIN, &r); @@ -1837,7 +1795,6 @@ NTSTATUS rpccli_lsa_StorePrivateData(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_STOREPRIVATEDATA, &r); @@ -1874,7 +1831,6 @@ NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_RETRIEVEPRIVATEDATA, &r); @@ -1918,7 +1874,6 @@ NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENPOLICY2, &r); @@ -1962,7 +1917,6 @@ NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_GETUSERNAME, &r); @@ -2008,7 +1962,6 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYINFOPOLICY2, &r); @@ -2052,7 +2005,6 @@ NTSTATUS rpccli_lsa_SetInfoPolicy2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETINFOPOLICY2, &r); @@ -2096,7 +2048,6 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYTRUSTEDDOMAININFOBYNAME, &r); @@ -2142,7 +2093,6 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETTRUSTEDDOMAININFOBYNAME, &r); @@ -2186,7 +2136,6 @@ NTSTATUS rpccli_lsa_EnumTrustedDomainsEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_ENUMTRUSTEDDOMAINSEX, &r); @@ -2225,7 +2174,6 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATETRUSTEDDOMAINEX, &r); @@ -2264,7 +2212,6 @@ NTSTATUS rpccli_lsa_CloseTrustedDomainEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CLOSETRUSTEDDOMAINEX, &r); @@ -2307,7 +2254,6 @@ NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_QUERYDOMAININFORMATIONPOLICY, &r); @@ -2351,7 +2297,6 @@ NTSTATUS rpccli_lsa_SetDomainInformationPolicy(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_SETDOMAININFORMATIONPOLICY, &r); @@ -2395,7 +2340,6 @@ NTSTATUS rpccli_lsa_OpenTrustedDomainByName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_OPENTRUSTEDDOMAINBYNAME, &r); @@ -2433,7 +2377,6 @@ NTSTATUS rpccli_lsa_TestCall(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_TESTCALL, &r); @@ -2485,7 +2428,6 @@ NTSTATUS rpccli_lsa_LookupSids2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPSIDS2, &r); @@ -2542,7 +2484,6 @@ NTSTATUS rpccli_lsa_LookupNames2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPNAMES2, &r); @@ -2582,7 +2523,6 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREATETRUSTEDDOMAINEX2, &r); @@ -2619,7 +2559,6 @@ NTSTATUS rpccli_lsa_CREDRWRITE(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRWRITE, &r); @@ -2656,7 +2595,6 @@ NTSTATUS rpccli_lsa_CREDRREAD(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRREAD, &r); @@ -2693,7 +2631,6 @@ NTSTATUS rpccli_lsa_CREDRENUMERATE(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRENUMERATE, &r); @@ -2730,7 +2667,6 @@ NTSTATUS rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRWRITEDOMAINCREDENTIALS, &r); @@ -2767,7 +2703,6 @@ NTSTATUS rpccli_lsa_CREDRREADDOMAINCREDENTIALS(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRREADDOMAINCREDENTIALS, &r); @@ -2804,7 +2739,6 @@ NTSTATUS rpccli_lsa_CREDRDELETE(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRDELETE, &r); @@ -2841,7 +2775,6 @@ NTSTATUS rpccli_lsa_CREDRGETTARGETINFO(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRGETTARGETINFO, &r); @@ -2878,7 +2811,6 @@ NTSTATUS rpccli_lsa_CREDRPROFILELOADED(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRPROFILELOADED, &r); @@ -2932,7 +2864,6 @@ NTSTATUS rpccli_lsa_LookupNames3(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPNAMES3, &r); @@ -2972,7 +2903,6 @@ NTSTATUS rpccli_lsa_CREDRGETSESSIONTYPES(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRGETSESSIONTYPES, &r); @@ -3009,7 +2939,6 @@ NTSTATUS rpccli_lsa_LSARREGISTERAUDITEVENT(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARREGISTERAUDITEVENT, &r); @@ -3046,7 +2975,6 @@ NTSTATUS rpccli_lsa_LSARGENAUDITEVENT(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARGENAUDITEVENT, &r); @@ -3083,7 +3011,6 @@ NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARUNREGISTERAUDITEVENT, &r); @@ -3127,7 +3054,6 @@ NTSTATUS rpccli_lsa_lsaRQueryForestTrustInformation(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARQUERYFORESTTRUSTINFORMATION, &r); @@ -3165,7 +3091,6 @@ NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARSETFORESTTRUSTINFORMATION, &r); @@ -3202,7 +3127,6 @@ NTSTATUS rpccli_lsa_CREDRRENAME(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_CREDRRENAME, &r); @@ -3252,7 +3176,6 @@ NTSTATUS rpccli_lsa_LookupSids3(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPSIDS3, &r); @@ -3307,7 +3230,6 @@ NTSTATUS rpccli_lsa_LookupNames4(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LOOKUPNAMES4, &r); @@ -3347,7 +3269,6 @@ NTSTATUS rpccli_lsa_LSAROPENPOLICYSCE(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSAROPENPOLICYSCE, &r); @@ -3384,7 +3305,6 @@ NTSTATUS rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client *c status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARADTREGISTERSECURITYEVENTSOURCE, &r); @@ -3421,7 +3341,6 @@ NTSTATUS rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(struct rpc_pipe_client status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARADTUNREGISTERSECURITYEVENTSOURCE, &r); @@ -3458,7 +3377,6 @@ NTSTATUS rpccli_lsa_LSARADTREPORTSECURITYEVENT(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_LSARPC, &ndr_table_lsarpc, NDR_LSA_LSARADTREPORTSECURITYEVENT, &r); diff --git a/source3/librpc/gen_ndr/cli_netlogon.c b/source3/librpc/gen_ndr/cli_netlogon.c index 61f4103d80..2ddb165bec 100644 --- a/source3/librpc/gen_ndr/cli_netlogon.c +++ b/source3/librpc/gen_ndr/cli_netlogon.c @@ -28,7 +28,6 @@ NTSTATUS rpccli_netr_LogonUasLogon(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONUASLOGON, &r); @@ -78,7 +77,6 @@ NTSTATUS rpccli_netr_LogonUasLogoff(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONUASLOGOFF, &r); @@ -136,7 +134,6 @@ NTSTATUS rpccli_netr_LogonSamLogon(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONSAMLOGON, &r); @@ -190,7 +187,6 @@ NTSTATUS rpccli_netr_LogonSamLogoff(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONSAMLOGOFF, &r); @@ -237,7 +233,6 @@ NTSTATUS rpccli_netr_ServerReqChallenge(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERREQCHALLENGE, &r); @@ -286,7 +281,6 @@ NTSTATUS rpccli_netr_ServerAuthenticate(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERAUTHENTICATE, &r); @@ -337,7 +331,6 @@ NTSTATUS rpccli_netr_ServerPasswordSet(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERPASSWORDSET, &r); @@ -390,7 +383,6 @@ NTSTATUS rpccli_netr_DatabaseDeltas(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DATABASEDELTAS, &r); @@ -445,7 +437,6 @@ NTSTATUS rpccli_netr_DatabaseSync(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DATABASESYNC, &r); @@ -505,7 +496,6 @@ NTSTATUS rpccli_netr_AccountDeltas(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_ACCOUNTDELTAS, &r); @@ -567,7 +557,6 @@ NTSTATUS rpccli_netr_AccountSync(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_ACCOUNTSYNC, &r); @@ -616,7 +605,6 @@ NTSTATUS rpccli_netr_GetDcName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_GETDCNAME, &r); @@ -666,7 +654,6 @@ NTSTATUS rpccli_netr_LogonControl(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONCONTROL, &r); @@ -714,7 +701,6 @@ NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_GETANYDCNAME, &r); @@ -766,7 +752,6 @@ NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONCONTROL2, &r); @@ -821,7 +806,6 @@ NTSTATUS rpccli_netr_ServerAuthenticate2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERAUTHENTICATE2, &r); @@ -877,7 +861,6 @@ NTSTATUS rpccli_netr_DatabaseSync2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DATABASESYNC2, &r); @@ -930,7 +913,6 @@ NTSTATUS rpccli_netr_DatabaseRedo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DATABASEREDO, &r); @@ -979,7 +961,6 @@ NTSTATUS rpccli_netr_LogonControl2Ex(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONCONTROL2EX, &r); @@ -1025,7 +1006,6 @@ NTSTATUS rpccli_netr_NetrEnumerateTrustedDomains(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRENUMERATETRUSTEDDOMAINS, &r); @@ -1079,7 +1059,6 @@ NTSTATUS rpccli_netr_DsRGetDCName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETDCNAME, &r); @@ -1122,7 +1101,6 @@ NTSTATUS rpccli_netr_NETRLOGONDUMMYROUTINE1(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONDUMMYROUTINE1, &r); @@ -1164,7 +1142,6 @@ NTSTATUS rpccli_netr_NETRLOGONSETSERVICEBITS(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONSETSERVICEBITS, &r); @@ -1211,7 +1188,6 @@ NTSTATUS rpccli_netr_LogonGetTrustRid(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONGETTRUSTRID, &r); @@ -1254,7 +1230,6 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONCOMPUTESERVERDIGEST, &r); @@ -1296,7 +1271,6 @@ NTSTATUS rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONCOMPUTECLIENTDIGEST, &r); @@ -1350,7 +1324,6 @@ NTSTATUS rpccli_netr_ServerAuthenticate3(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERAUTHENTICATE3, &r); @@ -1402,7 +1375,6 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETDCNAMEEX, &r); @@ -1448,7 +1420,6 @@ NTSTATUS rpccli_netr_DsRGetSiteName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETSITENAME, &r); @@ -1503,7 +1474,6 @@ NTSTATUS rpccli_netr_LogonGetDomainInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONGETDOMAININFO, &r); @@ -1555,7 +1525,6 @@ NTSTATUS rpccli_netr_ServerPasswordSet2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERPASSWORDSET2, &r); @@ -1606,7 +1575,6 @@ NTSTATUS rpccli_netr_ServerPasswordGet(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERPASSWORDGET, &r); @@ -1650,7 +1618,6 @@ NTSTATUS rpccli_netr_NETRLOGONSENDTOSAM(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONSENDTOSAM, &r); @@ -1699,7 +1666,6 @@ NTSTATUS rpccli_netr_DsRAddressToSitenamesW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRADDRESSTOSITENAMESW, &r); @@ -1757,7 +1723,6 @@ NTSTATUS rpccli_netr_DsRGetDCNameEx2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETDCNAMEEX2, &r); @@ -1800,7 +1765,6 @@ NTSTATUS rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(struct rpc_pipe_client status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN, &r); @@ -1845,7 +1809,6 @@ NTSTATUS rpccli_netr_NetrEnumerateTrustedDomainsEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRENUMERATETRUSTEDDOMAINSEX, &r); @@ -1895,7 +1858,6 @@ NTSTATUS rpccli_netr_DsRAddressToSitenamesExW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRADDRESSTOSITENAMESEXW, &r); @@ -1941,7 +1903,6 @@ NTSTATUS rpccli_netr_DsrGetDcSiteCoverageW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETDCSITECOVERAGEW, &r); @@ -1997,7 +1958,6 @@ NTSTATUS rpccli_netr_LogonSamLogonEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONSAMLOGONEX, &r); @@ -2043,7 +2003,6 @@ NTSTATUS rpccli_netr_DsrEnumerateDomainTrusts(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRENUMERATEDOMAINTRUSTS, &r); @@ -2096,7 +2055,6 @@ NTSTATUS rpccli_netr_DsrDeregisterDNSHostRecords(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRDEREGISTERDNSHOSTRECORDS, &r); @@ -2150,7 +2108,6 @@ NTSTATUS rpccli_netr_ServerTrustPasswordsGet(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_SERVERTRUSTPASSWORDSGET, &r); @@ -2198,7 +2155,6 @@ NTSTATUS rpccli_netr_DsRGetForestTrustInformation(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_DSRGETFORESTTRUSTINFORMATION, &r); @@ -2251,7 +2207,6 @@ NTSTATUS rpccli_netr_GetForestTrustInformation(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_GETFORESTTRUSTINFORMATION, &r); @@ -2312,7 +2267,6 @@ NTSTATUS rpccli_netr_LogonSamLogonWithFlags(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_LOGONSAMLOGONWITHFLAGS, &r); @@ -2356,7 +2310,6 @@ NTSTATUS rpccli_netr_NETRSERVERGETTRUSTINFO(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NETLOGON, &ndr_table_netlogon, NDR_NETR_NETRSERVERGETTRUSTINFO, &r); diff --git a/source3/librpc/gen_ndr/cli_ntsvcs.c b/source3/librpc/gen_ndr/cli_ntsvcs.c index edc0c55554..bc5dba4d91 100644 --- a/source3/librpc/gen_ndr/cli_ntsvcs.c +++ b/source3/librpc/gen_ndr/cli_ntsvcs.c @@ -21,7 +21,6 @@ NTSTATUS rpccli_PNP_Disconnect(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_DISCONNECT, &r); @@ -63,7 +62,6 @@ NTSTATUS rpccli_PNP_Connect(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_CONNECT, &r); @@ -106,7 +104,6 @@ NTSTATUS rpccli_PNP_GetVersion(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETVERSION, &r); @@ -149,7 +146,6 @@ NTSTATUS rpccli_PNP_GetGlobalState(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETGLOBALSTATE, &r); @@ -191,7 +187,6 @@ NTSTATUS rpccli_PNP_InitDetection(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_INITDETECTION, &r); @@ -233,7 +228,6 @@ NTSTATUS rpccli_PNP_ReportLogOn(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_REPORTLOGON, &r); @@ -279,7 +273,6 @@ NTSTATUS rpccli_PNP_ValidateDeviceInstance(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_VALIDATEDEVICEINSTANCE, &r); @@ -321,7 +314,6 @@ NTSTATUS rpccli_PNP_GetRootDeviceInstance(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETROOTDEVICEINSTANCE, &r); @@ -363,7 +355,6 @@ NTSTATUS rpccli_PNP_GetRelatedDeviceInstance(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETRELATEDDEVICEINSTANCE, &r); @@ -405,7 +396,6 @@ NTSTATUS rpccli_PNP_EnumerateSubKeys(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_ENUMERATESUBKEYS, &r); @@ -447,7 +437,6 @@ NTSTATUS rpccli_PNP_GetDeviceList(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETDEVICELIST, &r); @@ -494,7 +483,6 @@ NTSTATUS rpccli_PNP_GetDeviceListSize(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETDEVICELISTSIZE, &r); @@ -537,7 +525,6 @@ NTSTATUS rpccli_PNP_GetDepth(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETDEPTH, &r); @@ -592,7 +579,6 @@ NTSTATUS rpccli_PNP_GetDeviceRegProp(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETDEVICEREGPROP, &r); @@ -638,7 +624,6 @@ NTSTATUS rpccli_PNP_SetDeviceRegProp(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_SETDEVICEREGPROP, &r); @@ -680,7 +665,6 @@ NTSTATUS rpccli_PNP_GetClassInstance(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETCLASSINSTANCE, &r); @@ -722,7 +706,6 @@ NTSTATUS rpccli_PNP_CreateKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_CREATEKEY, &r); @@ -764,7 +747,6 @@ NTSTATUS rpccli_PNP_DeleteRegistryKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_DELETEREGISTRYKEY, &r); @@ -806,7 +788,6 @@ NTSTATUS rpccli_PNP_GetClassCount(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETCLASSCOUNT, &r); @@ -848,7 +829,6 @@ NTSTATUS rpccli_PNP_GetClassName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETCLASSNAME, &r); @@ -890,7 +870,6 @@ NTSTATUS rpccli_PNP_DeleteClassKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_DELETECLASSKEY, &r); @@ -932,7 +911,6 @@ NTSTATUS rpccli_PNP_GetInterfaceDeviceAlias(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETINTERFACEDEVICEALIAS, &r); @@ -974,7 +952,6 @@ NTSTATUS rpccli_PNP_GetInterfaceDeviceList(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETINTERFACEDEVICELIST, &r); @@ -1016,7 +993,6 @@ NTSTATUS rpccli_PNP_GetInterfaceDeviceListSize(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETINTERFACEDEVICELISTSIZE, &r); @@ -1058,7 +1034,6 @@ NTSTATUS rpccli_PNP_RegisterDeviceClassAssociation(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_REGISTERDEVICECLASSASSOCIATION, &r); @@ -1100,7 +1075,6 @@ NTSTATUS rpccli_PNP_UnregisterDeviceClassAssociation(struct rpc_pipe_client *cli status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_UNREGISTERDEVICECLASSASSOCIATION, &r); @@ -1142,7 +1116,6 @@ NTSTATUS rpccli_PNP_GetClassRegProp(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETCLASSREGPROP, &r); @@ -1184,7 +1157,6 @@ NTSTATUS rpccli_PNP_SetClassRegProp(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_SETCLASSREGPROP, &r); @@ -1226,7 +1198,6 @@ NTSTATUS rpccli_PNP_CreateDevInst(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_CREATEDEVINST, &r); @@ -1268,7 +1239,6 @@ NTSTATUS rpccli_PNP_DeviceInstanceAction(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_DEVICEINSTANCEACTION, &r); @@ -1310,7 +1280,6 @@ NTSTATUS rpccli_PNP_GetDeviceStatus(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETDEVICESTATUS, &r); @@ -1352,7 +1321,6 @@ NTSTATUS rpccli_PNP_SetDeviceProblem(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_SETDEVICEPROBLEM, &r); @@ -1394,7 +1362,6 @@ NTSTATUS rpccli_PNP_DisableDevInst(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_DISABLEDEVINST, &r); @@ -1436,7 +1403,6 @@ NTSTATUS rpccli_PNP_UninstallDevInst(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_UNINSTALLDEVINST, &r); @@ -1478,7 +1444,6 @@ NTSTATUS rpccli_PNP_AddID(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_ADDID, &r); @@ -1520,7 +1485,6 @@ NTSTATUS rpccli_PNP_RegisterDriver(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_REGISTERDRIVER, &r); @@ -1562,7 +1526,6 @@ NTSTATUS rpccli_PNP_QueryRemove(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_QUERYREMOVE, &r); @@ -1604,7 +1567,6 @@ NTSTATUS rpccli_PNP_RequestDeviceEject(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_REQUESTDEVICEEJECT, &r); @@ -1646,7 +1608,6 @@ NTSTATUS rpccli_PNP_IsDockStationPresent(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_ISDOCKSTATIONPRESENT, &r); @@ -1688,7 +1649,6 @@ NTSTATUS rpccli_PNP_RequestEjectPC(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_REQUESTEJECTPC, &r); @@ -1747,7 +1707,6 @@ NTSTATUS rpccli_PNP_HwProfFlags(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_HWPROFFLAGS, &r); @@ -1804,7 +1763,6 @@ NTSTATUS rpccli_PNP_GetHwProfInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETHWPROFINFO, &r); @@ -1847,7 +1805,6 @@ NTSTATUS rpccli_PNP_AddEmptyLogConf(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_ADDEMPTYLOGCONF, &r); @@ -1889,7 +1846,6 @@ NTSTATUS rpccli_PNP_FreeLogConf(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_FREELOGCONF, &r); @@ -1931,7 +1887,6 @@ NTSTATUS rpccli_PNP_GetFirstLogConf(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETFIRSTLOGCONF, &r); @@ -1973,7 +1928,6 @@ NTSTATUS rpccli_PNP_GetNextLogConf(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETNEXTLOGCONF, &r); @@ -2015,7 +1969,6 @@ NTSTATUS rpccli_PNP_GetLogConfPriority(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETLOGCONFPRIORITY, &r); @@ -2057,7 +2010,6 @@ NTSTATUS rpccli_PNP_AddResDes(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_ADDRESDES, &r); @@ -2099,7 +2051,6 @@ NTSTATUS rpccli_PNP_FreeResDes(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_FREERESDES, &r); @@ -2141,7 +2092,6 @@ NTSTATUS rpccli_PNP_GetNextResDes(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETNEXTRESDES, &r); @@ -2183,7 +2133,6 @@ NTSTATUS rpccli_PNP_GetResDesData(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETRESDESDATA, &r); @@ -2225,7 +2174,6 @@ NTSTATUS rpccli_PNP_GetResDesDataSize(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETRESDESDATASIZE, &r); @@ -2267,7 +2215,6 @@ NTSTATUS rpccli_PNP_ModifyResDes(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_MODIFYRESDES, &r); @@ -2309,7 +2256,6 @@ NTSTATUS rpccli_PNP_DetectResourceLimit(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_DETECTRESOURCELIMIT, &r); @@ -2351,7 +2297,6 @@ NTSTATUS rpccli_PNP_QueryResConfList(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_QUERYRESCONFLIST, &r); @@ -2393,7 +2338,6 @@ NTSTATUS rpccli_PNP_SetHwProf(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_SETHWPROF, &r); @@ -2435,7 +2379,6 @@ NTSTATUS rpccli_PNP_QueryArbitratorFreeData(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_QUERYARBITRATORFREEDATA, &r); @@ -2477,7 +2420,6 @@ NTSTATUS rpccli_PNP_QueryArbitratorFreeSize(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_QUERYARBITRATORFREESIZE, &r); @@ -2519,7 +2461,6 @@ NTSTATUS rpccli_PNP_RunDetection(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_RUNDETECTION, &r); @@ -2561,7 +2502,6 @@ NTSTATUS rpccli_PNP_RegisterNotification(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_REGISTERNOTIFICATION, &r); @@ -2603,7 +2543,6 @@ NTSTATUS rpccli_PNP_UnregisterNotification(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_UNREGISTERNOTIFICATION, &r); @@ -2645,7 +2584,6 @@ NTSTATUS rpccli_PNP_GetCustomDevProp(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETCUSTOMDEVPROP, &r); @@ -2687,7 +2625,6 @@ NTSTATUS rpccli_PNP_GetVersionInternal(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETVERSIONINTERNAL, &r); @@ -2729,7 +2666,6 @@ NTSTATUS rpccli_PNP_GetBlockedDriverInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETBLOCKEDDRIVERINFO, &r); @@ -2771,7 +2707,6 @@ NTSTATUS rpccli_PNP_GetServerSideDeviceInstallFlags(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_NTSVCS, &ndr_table_ntsvcs, NDR_PNP_GETSERVERSIDEDEVICEINSTALLFLAGS, &r); diff --git a/source3/librpc/gen_ndr/cli_samr.c b/source3/librpc/gen_ndr/cli_samr.c index cff548cab9..dc0a2dfa65 100644 --- a/source3/librpc/gen_ndr/cli_samr.c +++ b/source3/librpc/gen_ndr/cli_samr.c @@ -25,7 +25,6 @@ NTSTATUS rpccli_samr_Connect(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CONNECT, &r); @@ -65,7 +64,6 @@ NTSTATUS rpccli_samr_Close(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CLOSE, &r); @@ -109,7 +107,6 @@ NTSTATUS rpccli_samr_SetSecurity(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SETSECURITY, &r); @@ -151,7 +148,6 @@ NTSTATUS rpccli_samr_QuerySecurity(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYSECURITY, &r); @@ -191,7 +187,6 @@ NTSTATUS rpccli_samr_Shutdown(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SHUTDOWN, &r); @@ -233,7 +228,6 @@ NTSTATUS rpccli_samr_LookupDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_LOOKUPDOMAIN, &r); @@ -279,7 +273,6 @@ NTSTATUS rpccli_samr_EnumDomains(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_ENUMDOMAINS, &r); @@ -326,7 +319,6 @@ NTSTATUS rpccli_samr_OpenDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_OPENDOMAIN, &r); @@ -369,7 +361,6 @@ NTSTATUS rpccli_samr_QueryDomainInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYDOMAININFO, &r); @@ -413,7 +404,6 @@ NTSTATUS rpccli_samr_SetDomainInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SETDOMAININFO, &r); @@ -458,7 +448,6 @@ NTSTATUS rpccli_samr_CreateDomainGroup(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CREATEDOMAINGROUP, &r); @@ -505,7 +494,6 @@ NTSTATUS rpccli_samr_EnumDomainGroups(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_ENUMDOMAINGROUPS, &r); @@ -553,7 +541,6 @@ NTSTATUS rpccli_samr_CreateUser(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CREATEUSER, &r); @@ -602,7 +589,6 @@ NTSTATUS rpccli_samr_EnumDomainUsers(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_ENUMDOMAINUSERS, &r); @@ -650,7 +636,6 @@ NTSTATUS rpccli_samr_CreateDomAlias(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CREATEDOMALIAS, &r); @@ -697,7 +682,6 @@ NTSTATUS rpccli_samr_EnumDomainAliases(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_ENUMDOMAINALIASES, &r); @@ -742,7 +726,6 @@ NTSTATUS rpccli_samr_GetAliasMembership(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_GETALIASMEMBERSHIP, &r); @@ -788,7 +771,6 @@ NTSTATUS rpccli_samr_LookupNames(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_LOOKUPNAMES, &r); @@ -835,7 +817,6 @@ NTSTATUS rpccli_samr_LookupRids(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_LOOKUPRIDS, &r); @@ -881,7 +862,6 @@ NTSTATUS rpccli_samr_OpenGroup(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_OPENGROUP, &r); @@ -924,7 +904,6 @@ NTSTATUS rpccli_samr_QueryGroupInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYGROUPINFO, &r); @@ -968,7 +947,6 @@ NTSTATUS rpccli_samr_SetGroupInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SETGROUPINFO, &r); @@ -1011,7 +989,6 @@ NTSTATUS rpccli_samr_AddGroupMember(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_ADDGROUPMEMBER, &r); @@ -1050,7 +1027,6 @@ NTSTATUS rpccli_samr_DeleteDomainGroup(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_DELETEDOMAINGROUP, &r); @@ -1092,7 +1068,6 @@ NTSTATUS rpccli_samr_DeleteGroupMember(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_DELETEGROUPMEMBER, &r); @@ -1132,7 +1107,6 @@ NTSTATUS rpccli_samr_QueryGroupMember(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYGROUPMEMBER, &r); @@ -1176,7 +1150,6 @@ NTSTATUS rpccli_samr_SetMemberAttributesOfGroup(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SETMEMBERATTRIBUTESOFGROUP, &r); @@ -1220,7 +1193,6 @@ NTSTATUS rpccli_samr_OpenAlias(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_OPENALIAS, &r); @@ -1263,7 +1235,6 @@ NTSTATUS rpccli_samr_QueryAliasInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYALIASINFO, &r); @@ -1307,7 +1278,6 @@ NTSTATUS rpccli_samr_SetAliasInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SETALIASINFO, &r); @@ -1346,7 +1316,6 @@ NTSTATUS rpccli_samr_DeleteDomAlias(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_DELETEDOMALIAS, &r); @@ -1388,7 +1357,6 @@ NTSTATUS rpccli_samr_AddAliasMember(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_ADDALIASMEMBER, &r); @@ -1429,7 +1397,6 @@ NTSTATUS rpccli_samr_DeleteAliasMember(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_DELETEALIASMEMBER, &r); @@ -1469,7 +1436,6 @@ NTSTATUS rpccli_samr_GetMembersInAlias(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_GETMEMBERSINALIAS, &r); @@ -1514,7 +1480,6 @@ NTSTATUS rpccli_samr_OpenUser(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_OPENUSER, &r); @@ -1554,7 +1519,6 @@ NTSTATUS rpccli_samr_DeleteUser(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_DELETEUSER, &r); @@ -1597,7 +1561,6 @@ NTSTATUS rpccli_samr_QueryUserInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYUSERINFO, &r); @@ -1641,7 +1604,6 @@ NTSTATUS rpccli_samr_SetUserInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SETUSERINFO, &r); @@ -1700,7 +1662,6 @@ NTSTATUS rpccli_samr_ChangePasswordUser(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CHANGEPASSWORDUSER, &r); @@ -1740,7 +1701,6 @@ NTSTATUS rpccli_samr_GetGroupsForUser(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_GETGROUPSFORUSER, &r); @@ -1791,7 +1751,6 @@ NTSTATUS rpccli_samr_QueryDisplayInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYDISPLAYINFO, &r); @@ -1838,7 +1797,6 @@ NTSTATUS rpccli_samr_GetDisplayEnumerationIndex(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_GETDISPLAYENUMERATIONINDEX, &r); @@ -1878,7 +1836,6 @@ NTSTATUS rpccli_samr_TestPrivateFunctionsDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_TESTPRIVATEFUNCTIONSDOMAIN, &r); @@ -1917,7 +1874,6 @@ NTSTATUS rpccli_samr_TestPrivateFunctionsUser(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_TESTPRIVATEFUNCTIONSUSER, &r); @@ -1957,7 +1913,6 @@ NTSTATUS rpccli_samr_GetUserPwInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_GETUSERPWINFO, &r); @@ -1999,7 +1954,6 @@ NTSTATUS rpccli_samr_RemoveMemberFromForeignDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_REMOVEMEMBERFROMFOREIGNDOMAIN, &r); @@ -2041,7 +1995,6 @@ NTSTATUS rpccli_samr_QueryDomainInfo2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYDOMAININFO2, &r); @@ -2084,7 +2037,6 @@ NTSTATUS rpccli_samr_QueryUserInfo2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYUSERINFO2, &r); @@ -2135,7 +2087,6 @@ NTSTATUS rpccli_samr_QueryDisplayInfo2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYDISPLAYINFO2, &r); @@ -2182,7 +2133,6 @@ NTSTATUS rpccli_samr_GetDisplayEnumerationIndex2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_GETDISPLAYENUMERATIONINDEX2, &r); @@ -2231,7 +2181,6 @@ NTSTATUS rpccli_samr_CreateUser2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CREATEUSER2, &r); @@ -2284,7 +2233,6 @@ NTSTATUS rpccli_samr_QueryDisplayInfo3(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_QUERYDISPLAYINFO3, &r); @@ -2328,7 +2276,6 @@ NTSTATUS rpccli_samr_AddMultipleMembersToAlias(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_ADDMULTIPLEMEMBERSTOALIAS, &r); @@ -2369,7 +2316,6 @@ NTSTATUS rpccli_samr_RemoveMultipleMembersFromAlias(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_REMOVEMULTIPLEMEMBERSFROMALIAS, &r); @@ -2414,7 +2360,6 @@ NTSTATUS rpccli_samr_OemChangePasswordUser2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_OEMCHANGEPASSWORDUSER2, &r); @@ -2465,7 +2410,6 @@ NTSTATUS rpccli_samr_ChangePasswordUser2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CHANGEPASSWORDUSER2, &r); @@ -2505,7 +2449,6 @@ NTSTATUS rpccli_samr_GetDomPwInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_GETDOMPWINFO, &r); @@ -2548,7 +2491,6 @@ NTSTATUS rpccli_samr_Connect2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CONNECT2, &r); @@ -2592,7 +2534,6 @@ NTSTATUS rpccli_samr_SetUserInfo2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SETUSERINFO2, &r); @@ -2637,7 +2578,6 @@ NTSTATUS rpccli_samr_SetBootKeyInformation(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SETBOOTKEYINFORMATION, &r); @@ -2677,7 +2617,6 @@ NTSTATUS rpccli_samr_GetBootKeyInformation(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_GETBOOTKEYINFORMATION, &r); @@ -2722,7 +2661,6 @@ NTSTATUS rpccli_samr_Connect3(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CONNECT3, &r); @@ -2767,7 +2705,6 @@ NTSTATUS rpccli_samr_Connect4(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CONNECT4, &r); @@ -2823,7 +2760,6 @@ NTSTATUS rpccli_samr_ChangePasswordUser3(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CHANGEPASSWORDUSER3, &r); @@ -2873,7 +2809,6 @@ NTSTATUS rpccli_samr_Connect5(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_CONNECT5, &r); @@ -2918,7 +2853,6 @@ NTSTATUS rpccli_samr_RidToSid(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_RIDTOSID, &r); @@ -2962,7 +2896,6 @@ NTSTATUS rpccli_samr_SetDsrmPassword(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_SETDSRMPASSWORD, &r); @@ -3004,7 +2937,6 @@ NTSTATUS rpccli_samr_ValidatePassword(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SAMR, &ndr_table_samr, NDR_SAMR_VALIDATEPASSWORD, &r); diff --git a/source3/librpc/gen_ndr/cli_srvsvc.c b/source3/librpc/gen_ndr/cli_srvsvc.c index f611386e8f..fbf981365c 100644 --- a/source3/librpc/gen_ndr/cli_srvsvc.c +++ b/source3/librpc/gen_ndr/cli_srvsvc.c @@ -32,7 +32,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVENUM, &r); @@ -87,7 +86,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevGetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVGETINFO, &r); @@ -136,7 +134,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevControl(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVCONTROL, &r); @@ -191,7 +188,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQENUM, &r); @@ -248,7 +244,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQGetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQGETINFO, &r); @@ -301,7 +296,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQSetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQSETINFO, &r); @@ -350,7 +344,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQPurge(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQPURGE, &r); @@ -398,7 +391,6 @@ NTSTATUS rpccli_srvsvc_NetCharDevQPurgeSelf(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCHARDEVQPURGESELF, &r); @@ -451,7 +443,6 @@ NTSTATUS rpccli_srvsvc_NetConnEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETCONNENUM, &r); @@ -511,7 +502,6 @@ NTSTATUS rpccli_srvsvc_NetFileEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETFILEENUM, &r); @@ -565,7 +555,6 @@ NTSTATUS rpccli_srvsvc_NetFileGetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETFILEGETINFO, &r); @@ -612,7 +601,6 @@ NTSTATUS rpccli_srvsvc_NetFileClose(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETFILECLOSE, &r); @@ -667,7 +655,6 @@ NTSTATUS rpccli_srvsvc_NetSessEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSESSENUM, &r); @@ -720,7 +707,6 @@ NTSTATUS rpccli_srvsvc_NetSessDel(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSESSDEL, &r); @@ -770,7 +756,6 @@ NTSTATUS rpccli_srvsvc_NetShareAdd(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREADD, &r); @@ -824,7 +809,6 @@ NTSTATUS rpccli_srvsvc_NetShareEnumAll(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREENUMALL, &r); @@ -878,7 +862,6 @@ NTSTATUS rpccli_srvsvc_NetShareGetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREGETINFO, &r); @@ -931,7 +914,6 @@ NTSTATUS rpccli_srvsvc_NetShareSetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHARESETINFO, &r); @@ -982,7 +964,6 @@ NTSTATUS rpccli_srvsvc_NetShareDel(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREDEL, &r); @@ -1030,7 +1011,6 @@ NTSTATUS rpccli_srvsvc_NetShareDelSticky(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREDELSTICKY, &r); @@ -1077,7 +1057,6 @@ NTSTATUS rpccli_srvsvc_NetShareCheck(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHARECHECK, &r); @@ -1125,7 +1104,6 @@ NTSTATUS rpccli_srvsvc_NetSrvGetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSRVGETINFO, &r); @@ -1176,7 +1154,6 @@ NTSTATUS rpccli_srvsvc_NetSrvSetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSRVSETINFO, &r); @@ -1232,7 +1209,6 @@ NTSTATUS rpccli_srvsvc_NetDiskEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETDISKENUM, &r); @@ -1288,7 +1264,6 @@ NTSTATUS rpccli_srvsvc_NetServerStatisticsGet(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSERVERSTATISTICSGET, &r); @@ -1337,7 +1312,6 @@ NTSTATUS rpccli_srvsvc_NetTransportAdd(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETTRANSPORTADD, &r); @@ -1390,7 +1364,6 @@ NTSTATUS rpccli_srvsvc_NetTransportEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETTRANSPORTENUM, &r); @@ -1444,7 +1417,6 @@ NTSTATUS rpccli_srvsvc_NetTransportDel(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETTRANSPORTDEL, &r); @@ -1489,7 +1461,6 @@ NTSTATUS rpccli_srvsvc_NetRemoteTOD(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETREMOTETOD, &r); @@ -1540,7 +1511,6 @@ NTSTATUS rpccli_srvsvc_NetSetServiceBits(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSETSERVICEBITS, &r); @@ -1589,7 +1559,6 @@ NTSTATUS rpccli_srvsvc_NetPathType(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETPATHTYPE, &r); @@ -1645,7 +1614,6 @@ NTSTATUS rpccli_srvsvc_NetPathCanonicalize(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETPATHCANONICALIZE, &r); @@ -1699,7 +1667,6 @@ NTSTATUS rpccli_srvsvc_NetPathCompare(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETPATHCOMPARE, &r); @@ -1749,7 +1716,6 @@ NTSTATUS rpccli_srvsvc_NetNameValidate(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETNAMEVALIDATE, &r); @@ -1791,7 +1757,6 @@ NTSTATUS rpccli_srvsvc_NETRPRNAMECANONICALIZE(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRPRNAMECANONICALIZE, &r); @@ -1843,7 +1808,6 @@ NTSTATUS rpccli_srvsvc_NetPRNameCompare(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETPRNAMECOMPARE, &r); @@ -1894,7 +1858,6 @@ NTSTATUS rpccli_srvsvc_NetShareEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREENUM, &r); @@ -1948,7 +1911,6 @@ NTSTATUS rpccli_srvsvc_NetShareDelStart(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREDELSTART, &r); @@ -1995,7 +1957,6 @@ NTSTATUS rpccli_srvsvc_NetShareDelCommit(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSHAREDELCOMMIT, &r); @@ -2049,7 +2010,6 @@ NTSTATUS rpccli_srvsvc_NetGetFileSecurity(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETGETFILESECURITY, &r); @@ -2102,7 +2062,6 @@ NTSTATUS rpccli_srvsvc_NetSetFileSecurity(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSETFILESECURITY, &r); @@ -2150,7 +2109,6 @@ NTSTATUS rpccli_srvsvc_NetServerTransportAddEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSERVERTRANSPORTADDEX, &r); @@ -2204,7 +2162,6 @@ NTSTATUS rpccli_srvsvc_NetServerSetServiceBitsEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETSERVERSETSERVICEBITSEX, &r); @@ -2246,7 +2203,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSGETVERSION(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSGETVERSION, &r); @@ -2288,7 +2244,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSCREATELOCALPARTITION(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSCREATELOCALPARTITION, &r); @@ -2330,7 +2285,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSDELETELOCALPARTITION(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSDELETELOCALPARTITION, &r); @@ -2372,7 +2326,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSSETLOCALVOLUMESTATE, &r); @@ -2414,7 +2367,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSSETSERVERINFO(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSSETSERVERINFO, &r); @@ -2456,7 +2408,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSCREATEEXITPOINT(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSCREATEEXITPOINT, &r); @@ -2498,7 +2449,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSDELETEEXITPOINT(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSDELETEEXITPOINT, &r); @@ -2540,7 +2490,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSMODIFYPREFIX(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSMODIFYPREFIX, &r); @@ -2582,7 +2531,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSFIXLOCALVOLUME(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSFIXLOCALVOLUME, &r); @@ -2624,7 +2572,6 @@ NTSTATUS rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRDFSMANAGERREPORTSITEINFO, &r); @@ -2666,7 +2613,6 @@ NTSTATUS rpccli_srvsvc_NETRSERVERTRANSPORTDELEX(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SRVSVC, &ndr_table_srvsvc, NDR_SRVSVC_NETRSERVERTRANSPORTDELEX, &r); diff --git a/source3/librpc/gen_ndr/cli_svcctl.c b/source3/librpc/gen_ndr/cli_svcctl.c index 406a4a8b4b..c996c761d5 100644 --- a/source3/librpc/gen_ndr/cli_svcctl.c +++ b/source3/librpc/gen_ndr/cli_svcctl.c @@ -23,7 +23,6 @@ NTSTATUS rpccli_svcctl_CloseServiceHandle(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CLOSESERVICEHANDLE, &r); @@ -71,7 +70,6 @@ NTSTATUS rpccli_svcctl_ControlService(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CONTROLSERVICE, &r); @@ -116,7 +114,6 @@ NTSTATUS rpccli_svcctl_DeleteService(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_DELETESERVICE, &r); @@ -161,7 +158,6 @@ NTSTATUS rpccli_svcctl_LockServiceDatabase(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_LOCKSERVICEDATABASE, &r); @@ -212,7 +208,6 @@ NTSTATUS rpccli_svcctl_QueryServiceObjectSecurity(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICEOBJECTSECURITY, &r); @@ -264,7 +259,6 @@ NTSTATUS rpccli_svcctl_SetServiceObjectSecurity(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SETSERVICEOBJECTSECURITY, &r); @@ -309,7 +303,6 @@ NTSTATUS rpccli_svcctl_QueryServiceStatus(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICESTATUS, &r); @@ -352,7 +345,6 @@ NTSTATUS rpccli_svcctl_SetServiceStatus(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SETSERVICESTATUS, &r); @@ -396,7 +388,6 @@ NTSTATUS rpccli_svcctl_UnlockServiceDatabase(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_UNLOCKSERVICEDATABASE, &r); @@ -439,7 +430,6 @@ NTSTATUS rpccli_svcctl_NotifyBootConfigStatus(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_NOTIFYBOOTCONFIGSTATUS, &r); @@ -489,7 +479,6 @@ NTSTATUS rpccli_svcctl_SCSetServiceBitsW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SCSETSERVICEBITSW, &r); @@ -552,7 +541,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfigW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CHANGESERVICECONFIGW, &r); @@ -626,7 +614,6 @@ NTSTATUS rpccli_svcctl_CreateServiceW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CREATESERVICEW, &r); @@ -681,7 +668,6 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMDEPENDENTSERVICESW, &r); @@ -739,7 +725,6 @@ NTSTATUS rpccli_svcctl_EnumServicesStatusW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMSERVICESSTATUSW, &r); @@ -794,7 +779,6 @@ NTSTATUS rpccli_svcctl_OpenSCManagerW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_OPENSCMANAGERW, &r); @@ -844,7 +828,6 @@ NTSTATUS rpccli_svcctl_OpenServiceW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_OPENSERVICEW, &r); @@ -893,7 +876,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICECONFIGW, &r); @@ -943,7 +925,6 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICELOCKSTATUSW, &r); @@ -993,7 +974,6 @@ NTSTATUS rpccli_svcctl_StartServiceW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_STARTSERVICEW, &r); @@ -1042,7 +1022,6 @@ NTSTATUS rpccli_svcctl_GetServiceDisplayNameW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETSERVICEDISPLAYNAMEW, &r); @@ -1095,7 +1074,6 @@ NTSTATUS rpccli_svcctl_GetServiceKeyNameW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETSERVICEKEYNAMEW, &r); @@ -1149,7 +1127,6 @@ NTSTATUS rpccli_svcctl_SCSetServiceBitsA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SCSETSERVICEBITSA, &r); @@ -1212,7 +1189,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfigA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CHANGESERVICECONFIGA, &r); @@ -1280,7 +1256,6 @@ NTSTATUS rpccli_svcctl_CreateServiceA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CREATESERVICEA, &r); @@ -1334,7 +1309,6 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMDEPENDENTSERVICESA, &r); @@ -1394,7 +1368,6 @@ NTSTATUS rpccli_svcctl_EnumServicesStatusA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMSERVICESSTATUSA, &r); @@ -1449,7 +1422,6 @@ NTSTATUS rpccli_svcctl_OpenSCManagerA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_OPENSCMANAGERA, &r); @@ -1498,7 +1470,6 @@ NTSTATUS rpccli_svcctl_OpenServiceA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_OPENSERVICEA, &r); @@ -1546,7 +1517,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICECONFIGA, &r); @@ -1596,7 +1566,6 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICELOCKSTATUSA, &r); @@ -1646,7 +1615,6 @@ NTSTATUS rpccli_svcctl_StartServiceA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_STARTSERVICEA, &r); @@ -1695,7 +1663,6 @@ NTSTATUS rpccli_svcctl_GetServiceDisplayNameA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETSERVICEDISPLAYNAMEA, &r); @@ -1748,7 +1715,6 @@ NTSTATUS rpccli_svcctl_GetServiceKeyNameA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETSERVICEKEYNAMEA, &r); @@ -1794,7 +1760,6 @@ NTSTATUS rpccli_svcctl_GetCurrentGroupeStateW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_GETCURRENTGROUPESTATEW, &r); @@ -1836,7 +1801,6 @@ NTSTATUS rpccli_svcctl_EnumServiceGroupW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_ENUMSERVICEGROUPW, &r); @@ -1884,7 +1848,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfig2A(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CHANGESERVICECONFIG2A, &r); @@ -1932,7 +1895,6 @@ NTSTATUS rpccli_svcctl_ChangeServiceConfig2W(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_CHANGESERVICECONFIG2W, &r); @@ -1982,7 +1944,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfig2A(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICECONFIG2A, &r); @@ -2034,7 +1995,6 @@ NTSTATUS rpccli_svcctl_QueryServiceConfig2W(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICECONFIG2W, &r); @@ -2086,7 +2046,6 @@ NTSTATUS rpccli_svcctl_QueryServiceStatusEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_QUERYSERVICESTATUSEX, &r); @@ -2146,7 +2105,6 @@ NTSTATUS rpccli_EnumServicesStatusExA(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_ENUMSERVICESSTATUSEXA, &r); @@ -2211,7 +2169,6 @@ NTSTATUS rpccli_EnumServicesStatusExW(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_ENUMSERVICESSTATUSEXW, &r); @@ -2260,7 +2217,6 @@ NTSTATUS rpccli_svcctl_SCSendTSMessage(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_SVCCTL, &ndr_table_svcctl, NDR_SVCCTL_SCSENDTSMESSAGE, &r); diff --git a/source3/librpc/gen_ndr/cli_winreg.c b/source3/librpc/gen_ndr/cli_winreg.c index af0e47d90a..fe8c4f7726 100644 --- a/source3/librpc/gen_ndr/cli_winreg.c +++ b/source3/librpc/gen_ndr/cli_winreg.c @@ -26,7 +26,6 @@ NTSTATUS rpccli_winreg_OpenHKCR(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKCR, &r); @@ -74,7 +73,6 @@ NTSTATUS rpccli_winreg_OpenHKCU(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKCU, &r); @@ -122,7 +120,6 @@ NTSTATUS rpccli_winreg_OpenHKLM(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKLM, &r); @@ -170,7 +167,6 @@ NTSTATUS rpccli_winreg_OpenHKPD(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKPD, &r); @@ -218,7 +214,6 @@ NTSTATUS rpccli_winreg_OpenHKU(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKU, &r); @@ -263,7 +258,6 @@ NTSTATUS rpccli_winreg_CloseKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_CLOSEKEY, &r); @@ -321,7 +315,6 @@ NTSTATUS rpccli_winreg_CreateKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_CREATEKEY, &r); @@ -371,7 +364,6 @@ NTSTATUS rpccli_winreg_DeleteKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_DELETEKEY, &r); @@ -417,7 +409,6 @@ NTSTATUS rpccli_winreg_DeleteValue(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_DELETEVALUE, &r); @@ -469,7 +460,6 @@ NTSTATUS rpccli_winreg_EnumKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_ENUMKEY, &r); @@ -532,7 +522,6 @@ NTSTATUS rpccli_winreg_EnumValue(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_ENUMVALUE, &r); @@ -589,7 +578,6 @@ NTSTATUS rpccli_winreg_FlushKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_FLUSHKEY, &r); @@ -637,7 +625,6 @@ NTSTATUS rpccli_winreg_GetKeySecurity(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_GETKEYSECURITY, &r); @@ -686,7 +673,6 @@ NTSTATUS rpccli_winreg_LoadKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_LOADKEY, &r); @@ -742,7 +728,6 @@ NTSTATUS rpccli_winreg_NotifyChangeKeyValue(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_NOTIFYCHANGEKEYVALUE, &r); @@ -793,7 +778,6 @@ NTSTATUS rpccli_winreg_OpenKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENKEY, &r); @@ -848,7 +832,6 @@ NTSTATUS rpccli_winreg_QueryInfoKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_QUERYINFOKEY, &r); @@ -911,7 +894,6 @@ NTSTATUS rpccli_winreg_QueryValue(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_QUERYVALUE, &r); @@ -965,7 +947,6 @@ NTSTATUS rpccli_winreg_ReplaceKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_REPLACEKEY, &r); @@ -1013,7 +994,6 @@ NTSTATUS rpccli_winreg_RestoreKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_RESTOREKEY, &r); @@ -1061,7 +1041,6 @@ NTSTATUS rpccli_winreg_SaveKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_SAVEKEY, &r); @@ -1109,7 +1088,6 @@ NTSTATUS rpccli_winreg_SetKeySecurity(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_SETKEYSECURITY, &r); @@ -1161,7 +1139,6 @@ NTSTATUS rpccli_winreg_SetValue(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_SETVALUE, &r); @@ -1203,7 +1180,6 @@ NTSTATUS rpccli_winreg_UnLoadKey(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_UNLOADKEY, &r); @@ -1255,7 +1231,6 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdown(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_INITIATESYSTEMSHUTDOWN, &r); @@ -1299,7 +1274,6 @@ NTSTATUS rpccli_winreg_AbortSystemShutdown(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_ABORTSYSTEMSHUTDOWN, &r); @@ -1344,7 +1318,6 @@ NTSTATUS rpccli_winreg_GetVersion(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_GETVERSION, &r); @@ -1392,7 +1365,6 @@ NTSTATUS rpccli_winreg_OpenHKCC(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKCC, &r); @@ -1440,7 +1412,6 @@ NTSTATUS rpccli_winreg_OpenHKDD(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKDD, &r); @@ -1493,7 +1464,6 @@ NTSTATUS rpccli_winreg_QueryMultipleValues(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_QUERYMULTIPLEVALUES, &r); @@ -1552,7 +1522,6 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdownEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_INITIATESYSTEMSHUTDOWNEX, &r); @@ -1594,7 +1563,6 @@ NTSTATUS rpccli_winreg_SaveKeyEx(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_SAVEKEYEX, &r); @@ -1641,7 +1609,6 @@ NTSTATUS rpccli_winreg_OpenHKPT(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKPT, &r); @@ -1689,7 +1656,6 @@ NTSTATUS rpccli_winreg_OpenHKPN(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_OPENHKPN, &r); @@ -1732,7 +1698,6 @@ NTSTATUS rpccli_winreg_QueryMultipleValues2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WINREG, &ndr_table_winreg, NDR_WINREG_QUERYMULTIPLEVALUES2, &r); diff --git a/source3/librpc/gen_ndr/cli_wkssvc.c b/source3/librpc/gen_ndr/cli_wkssvc.c index bf9ce611b6..b82e95311f 100644 --- a/source3/librpc/gen_ndr/cli_wkssvc.c +++ b/source3/librpc/gen_ndr/cli_wkssvc.c @@ -26,7 +26,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaGetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETWKSTAGETINFO, &r); @@ -77,7 +76,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaSetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETWKSTASETINFO, &r); @@ -129,7 +127,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaEnumUsers(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETWKSTAENUMUSERS, &r); @@ -181,7 +178,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaUserGetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWKSTAUSERGETINFO, &r); @@ -232,7 +228,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaUserSetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWKSTAUSERSETINFO, &r); @@ -286,7 +281,6 @@ NTSTATUS rpccli_wkssvc_NetWkstaTransportEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETWKSTATRANSPORTENUM, &r); @@ -341,7 +335,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaTransportAdd(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWKSTATRANSPORTADD, &r); @@ -392,7 +385,6 @@ NTSTATUS rpccli_wkssvc_NetrWkstaTransportDel(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWKSTATRANSPORTDEL, &r); @@ -442,7 +434,6 @@ NTSTATUS rpccli_wkssvc_NetrUseAdd(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUSEADD, &r); @@ -494,7 +485,6 @@ NTSTATUS rpccli_wkssvc_NetrUseGetInfo(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUSEGETINFO, &r); @@ -543,7 +533,6 @@ NTSTATUS rpccli_wkssvc_NetrUseDel(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUSEDEL, &r); @@ -594,7 +583,6 @@ NTSTATUS rpccli_wkssvc_NetrUseEnum(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUSEENUM, &r); @@ -651,7 +639,6 @@ NTSTATUS rpccli_wkssvc_NetrMessageBufferSend(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRMESSAGEBUFFERSEND, &r); @@ -702,7 +689,6 @@ NTSTATUS rpccli_wkssvc_NetrWorkstationStatisticsGet(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRWORKSTATIONSTATISTICSGET, &r); @@ -747,7 +733,6 @@ NTSTATUS rpccli_wkssvc_NetrLogonDomainNameAdd(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRLOGONDOMAINNAMEADD, &r); @@ -791,7 +776,6 @@ NTSTATUS rpccli_wkssvc_NetrLogonDomainNameDel(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRLOGONDOMAINNAMEDEL, &r); @@ -845,7 +829,6 @@ NTSTATUS rpccli_wkssvc_NetrJoinDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRJOINDOMAIN, &r); @@ -895,7 +878,6 @@ NTSTATUS rpccli_wkssvc_NetrUnjoinDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUNJOINDOMAIN, &r); @@ -947,7 +929,6 @@ NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN, &r); @@ -999,7 +980,6 @@ NTSTATUS rpccli_wkssvc_NetrValidateName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRVALIDATENAME, &r); @@ -1046,7 +1026,6 @@ NTSTATUS rpccli_wkssvc_NetrGetJoinInformation(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRGETJOININFORMATION, &r); @@ -1101,7 +1080,6 @@ NTSTATUS rpccli_wkssvc_NetrGetJoinableOus(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRGETJOINABLEOUS, &r); @@ -1157,7 +1135,6 @@ NTSTATUS rpccli_wkssvc_NetrJoinDomain2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRJOINDOMAIN2, &r); @@ -1207,7 +1184,6 @@ NTSTATUS rpccli_wkssvc_NetrUnjoinDomain2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRUNJOINDOMAIN2, &r); @@ -1259,7 +1235,6 @@ NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRRENAMEMACHINEINDOMAIN2, &r); @@ -1311,7 +1286,6 @@ NTSTATUS rpccli_wkssvc_NetrValidateName2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRVALIDATENAME2, &r); @@ -1364,7 +1338,6 @@ NTSTATUS rpccli_wkssvc_NetrGetJoinableOus2(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRGETJOINABLEOUS2, &r); @@ -1418,7 +1391,6 @@ NTSTATUS rpccli_wkssvc_NetrAddAlternateComputerName(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRADDALTERNATECOMPUTERNAME, &r); @@ -1470,7 +1442,6 @@ NTSTATUS rpccli_wkssvc_NetrRemoveAlternateComputerName(struct rpc_pipe_client *c status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRREMOVEALTERNATECOMPUTERNAME, &r); @@ -1522,7 +1493,6 @@ NTSTATUS rpccli_wkssvc_NetrSetPrimaryComputername(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRSETPRIMARYCOMPUTERNAME, &r); @@ -1571,7 +1541,6 @@ NTSTATUS rpccli_wkssvc_NetrEnumerateComputerNames(struct rpc_pipe_client *cli, status = cli_do_rpc_ndr(cli, mem_ctx, - PI_WKSSVC, &ndr_table_wkssvc, NDR_WKSSVC_NETRENUMERATECOMPUTERNAMES, &r); diff --git a/source3/rpc_client/ndr.c b/source3/rpc_client/ndr.c index 4f1ef029c8..c494cce848 100644 --- a/source3/rpc_client/ndr.c +++ b/source3/rpc_client/ndr.c @@ -23,7 +23,7 @@ NTSTATUS cli_do_rpc_ndr(struct rpc_pipe_client *cli, - TALLOC_CTX *mem_ctx, int p_idx, + TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32 opnum, void *r) { |