mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
Add generated dssetup code after make idl.
Guenther (This used to be commit 4b3d96be8017a38a6af4ce58ae54a6af005fbe3e)
This commit is contained in:
parent
c19d01fedf
commit
d7d4f1c132
@ -1093,7 +1093,8 @@ modules: SHOWFLAGS $(MODULES)
|
||||
## Perl IDL Compiler
|
||||
IDL_FILES = unixinfo.idl lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
|
||||
srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
|
||||
epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl
|
||||
epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl \
|
||||
dssetup.idl
|
||||
|
||||
idl:
|
||||
@IDL_FILES="$(IDL_FILES)" CPP="$(CPP)" PERL="$(PERL)" \
|
||||
|
476
source3/librpc/gen_ndr/cli_dssetup.c
Normal file
476
source3/librpc/gen_ndr/cli_dssetup.c
Normal file
@ -0,0 +1,476 @@
|
||||
/*
|
||||
* Unix SMB/CIFS implementation.
|
||||
* client auto-generated by pidl. DO NOT MODIFY!
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "librpc/gen_ndr/cli_dssetup.h"
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
enum dssetup_DsRoleInfoLevel level,
|
||||
union dssetup_DsRoleInfo *info,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleGetPrimaryDomainInformation r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
r.in.level = level;
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetPrimaryDomainInformation, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetPrimaryDomainInformation, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
if (info && r.out.info) {
|
||||
*info = *r.out.info;
|
||||
}
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleDnsNameToFlatName r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleDnsNameToFlatName, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDnsNameToFlatName, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleDcAsDc(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleDcAsDc r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsDc, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLEDCASDC,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsDc, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleDcAsReplica(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleDcAsReplica r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsReplica, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLEDCASREPLICA,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsReplica, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleDemoteDc(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleDemoteDc r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleDemoteDc, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLEDEMOTEDC,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDemoteDc, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleGetDcOperationProgress r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationProgress, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationProgress, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleGetDcOperationResults r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationResults, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationResults, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleCancel(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleCancel r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleCancel, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLECANCEL,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleCancel, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleServerSaveStateForUpgrade r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleUpgradeDownlevelServer r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
||||
NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror)
|
||||
{
|
||||
struct dssetup_DsRoleAbortDownlevelServerUpgrade r;
|
||||
NTSTATUS status;
|
||||
|
||||
/* In parameters */
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, &r);
|
||||
}
|
||||
|
||||
status = cli_do_rpc_ndr(cli,
|
||||
mem_ctx,
|
||||
PI_DSSETUP,
|
||||
&ndr_table_dssetup,
|
||||
NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE,
|
||||
&r);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, &r);
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Return variables */
|
||||
|
||||
/* Return result */
|
||||
if (werror) {
|
||||
*werror = r.out.result;
|
||||
}
|
||||
|
||||
return werror_to_ntstatus(r.out.result);
|
||||
}
|
||||
|
39
source3/librpc/gen_ndr/cli_dssetup.h
Normal file
39
source3/librpc/gen_ndr/cli_dssetup.h
Normal file
@ -0,0 +1,39 @@
|
||||
#include "librpc/gen_ndr/ndr_dssetup.h"
|
||||
#ifndef __CLI_DSSETUP__
|
||||
#define __CLI_DSSETUP__
|
||||
NTSTATUS rpccli_dssetup_DsRoleGetPrimaryDomainInformation(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
enum dssetup_DsRoleInfoLevel level,
|
||||
union dssetup_DsRoleInfo *info,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleDnsNameToFlatName(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleDcAsDc(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleDcAsReplica(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleDemoteDc(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleGetDcOperationProgress(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleGetDcOperationResults(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleCancel(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleServerSaveStateForUpgrade(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleUpgradeDownlevelServer(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
NTSTATUS rpccli_dssetup_DsRoleAbortDownlevelServerUpgrade(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
WERROR *werror);
|
||||
#endif /* __CLI_DSSETUP__ */
|
211
source3/librpc/gen_ndr/dssetup.h
Normal file
211
source3/librpc/gen_ndr/dssetup.h
Normal file
@ -0,0 +1,211 @@
|
||||
/* header auto-generated by pidl */
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "librpc/gen_ndr/misc.h"
|
||||
#ifndef _HEADER_dssetup
|
||||
#define _HEADER_dssetup
|
||||
|
||||
enum dssetup_DsRole
|
||||
#ifndef USE_UINT_ENUMS
|
||||
{
|
||||
DS_ROLE_STANDALONE_WORKSTATION=0,
|
||||
DS_ROLE_MEMBER_WORKSTATION=1,
|
||||
DS_ROLE_STANDALONE_SERVER=2,
|
||||
DS_ROLE_MEMBER_SERVER=3,
|
||||
DS_ROLE_BACKUP_DC=4,
|
||||
DS_ROLE_PRIMARY_DC=5
|
||||
}
|
||||
#else
|
||||
{ __donnot_use_enum_dssetup_DsRole=0x7FFFFFFF}
|
||||
#define DS_ROLE_STANDALONE_WORKSTATION ( 0 )
|
||||
#define DS_ROLE_MEMBER_WORKSTATION ( 1 )
|
||||
#define DS_ROLE_STANDALONE_SERVER ( 2 )
|
||||
#define DS_ROLE_MEMBER_SERVER ( 3 )
|
||||
#define DS_ROLE_BACKUP_DC ( 4 )
|
||||
#define DS_ROLE_PRIMARY_DC ( 5 )
|
||||
#endif
|
||||
;
|
||||
|
||||
/* bitmap dssetup_DsRoleFlags */
|
||||
#define DS_ROLE_PRIMARY_DS_RUNNING ( 0x00000001 )
|
||||
#define DS_ROLE_PRIMARY_DS_MIXED_MODE ( 0x00000002 )
|
||||
#define DS_ROLE_UPGRADE_IN_PROGRESS ( 0x00000004 )
|
||||
#define DS_ROLE_PRIMARY_DOMAIN_GUID_PRESENT ( 0x01000000 )
|
||||
|
||||
struct dssetup_DsRolePrimaryDomInfoBasic {
|
||||
enum dssetup_DsRole role;
|
||||
uint32_t flags;
|
||||
const char *domain;/* [unique,charset(UTF16)] */
|
||||
const char *dns_domain;/* [unique,charset(UTF16)] */
|
||||
const char *forest;/* [unique,charset(UTF16)] */
|
||||
struct GUID domain_guid;
|
||||
};
|
||||
|
||||
enum dssetup_DsUpgrade
|
||||
#ifndef USE_UINT_ENUMS
|
||||
{
|
||||
DS_ROLE_NOT_UPGRADING=0,
|
||||
DS_ROLE_UPGRADING=1
|
||||
}
|
||||
#else
|
||||
{ __donnot_use_enum_dssetup_DsUpgrade=0x7FFFFFFF}
|
||||
#define DS_ROLE_NOT_UPGRADING ( 0 )
|
||||
#define DS_ROLE_UPGRADING ( 1 )
|
||||
#endif
|
||||
;
|
||||
|
||||
enum dssetup_DsPrevious
|
||||
#ifndef USE_UINT_ENUMS
|
||||
{
|
||||
DS_ROLE_PREVIOUS_UNKNOWN=0,
|
||||
DS_ROLE_PREVIOUS_PRIMARY=1,
|
||||
DS_ROLE_PREVIOUS_BACKUP=2
|
||||
}
|
||||
#else
|
||||
{ __donnot_use_enum_dssetup_DsPrevious=0x7FFFFFFF}
|
||||
#define DS_ROLE_PREVIOUS_UNKNOWN ( 0 )
|
||||
#define DS_ROLE_PREVIOUS_PRIMARY ( 1 )
|
||||
#define DS_ROLE_PREVIOUS_BACKUP ( 2 )
|
||||
#endif
|
||||
;
|
||||
|
||||
struct dssetup_DsRoleUpgradeStatus {
|
||||
enum dssetup_DsUpgrade upgrading;
|
||||
enum dssetup_DsPrevious previous_role;
|
||||
};
|
||||
|
||||
enum dssetup_DsRoleOp
|
||||
#ifndef USE_UINT_ENUMS
|
||||
{
|
||||
DS_ROLE_OP_IDLE=0,
|
||||
DS_ROLE_OP_ACTIVE=1,
|
||||
DS_ROLE_OP_NEEDS_REBOOT=2
|
||||
}
|
||||
#else
|
||||
{ __donnot_use_enum_dssetup_DsRoleOp=0x7FFFFFFF}
|
||||
#define DS_ROLE_OP_IDLE ( 0 )
|
||||
#define DS_ROLE_OP_ACTIVE ( 1 )
|
||||
#define DS_ROLE_OP_NEEDS_REBOOT ( 2 )
|
||||
#endif
|
||||
;
|
||||
|
||||
struct dssetup_DsRoleOpStatus {
|
||||
enum dssetup_DsRoleOp status;
|
||||
};
|
||||
|
||||
enum dssetup_DsRoleInfoLevel
|
||||
#ifndef USE_UINT_ENUMS
|
||||
{
|
||||
DS_ROLE_BASIC_INFORMATION=1,
|
||||
DS_ROLE_UPGRADE_STATUS=2,
|
||||
DS_ROLE_OP_STATUS=3
|
||||
}
|
||||
#else
|
||||
{ __donnot_use_enum_dssetup_DsRoleInfoLevel=0x7FFFFFFF}
|
||||
#define DS_ROLE_BASIC_INFORMATION ( 1 )
|
||||
#define DS_ROLE_UPGRADE_STATUS ( 2 )
|
||||
#define DS_ROLE_OP_STATUS ( 3 )
|
||||
#endif
|
||||
;
|
||||
|
||||
union dssetup_DsRoleInfo {
|
||||
struct dssetup_DsRolePrimaryDomInfoBasic basic;/* [case(DS_ROLE_BASIC_INFORMATION)] */
|
||||
struct dssetup_DsRoleUpgradeStatus upgrade;/* [case(DS_ROLE_UPGRADE_STATUS)] */
|
||||
struct dssetup_DsRoleOpStatus opstatus;/* [case(DS_ROLE_OP_STATUS)] */
|
||||
}/* [switch_type(dssetup_DsRoleInfoLevel)] */;
|
||||
|
||||
|
||||
struct dssetup_DsRoleGetPrimaryDomainInformation {
|
||||
struct {
|
||||
enum dssetup_DsRoleInfoLevel level;
|
||||
} in;
|
||||
|
||||
struct {
|
||||
union dssetup_DsRoleInfo *info;/* [unique,switch_is(level)] */
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleDnsNameToFlatName {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleDcAsDc {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleDcAsReplica {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleDemoteDc {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleGetDcOperationProgress {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleGetDcOperationResults {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleCancel {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleServerSaveStateForUpgrade {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleUpgradeDownlevelServer {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct dssetup_DsRoleAbortDownlevelServerUpgrade {
|
||||
struct {
|
||||
WERROR result;
|
||||
} out;
|
||||
|
||||
};
|
||||
|
||||
#endif /* _HEADER_dssetup */
|
1084
source3/librpc/gen_ndr/ndr_dssetup.c
Normal file
1084
source3/librpc/gen_ndr/ndr_dssetup.c
Normal file
File diff suppressed because it is too large
Load Diff
58
source3/librpc/gen_ndr/ndr_dssetup.h
Normal file
58
source3/librpc/gen_ndr/ndr_dssetup.h
Normal file
@ -0,0 +1,58 @@
|
||||
/* header auto-generated by pidl */
|
||||
|
||||
#include "librpc/ndr/libndr.h"
|
||||
#include "librpc/gen_ndr/dssetup.h"
|
||||
|
||||
#ifndef _HEADER_NDR_dssetup
|
||||
#define _HEADER_NDR_dssetup
|
||||
|
||||
#define NDR_DSSETUP_UUID "3919286a-b10c-11d0-9ba8-00c04fd92ef5"
|
||||
#define NDR_DSSETUP_VERSION 0.0
|
||||
#define NDR_DSSETUP_NAME "dssetup"
|
||||
#define NDR_DSSETUP_HELPSTRING "Active Directory Setup"
|
||||
extern const struct ndr_interface_table ndr_table_dssetup;
|
||||
#define NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION (0x00)
|
||||
|
||||
#define NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME (0x01)
|
||||
|
||||
#define NDR_DSSETUP_DSROLEDCASDC (0x02)
|
||||
|
||||
#define NDR_DSSETUP_DSROLEDCASREPLICA (0x03)
|
||||
|
||||
#define NDR_DSSETUP_DSROLEDEMOTEDC (0x04)
|
||||
|
||||
#define NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS (0x05)
|
||||
|
||||
#define NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS (0x06)
|
||||
|
||||
#define NDR_DSSETUP_DSROLECANCEL (0x07)
|
||||
|
||||
#define NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE (0x08)
|
||||
|
||||
#define NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER (0x09)
|
||||
|
||||
#define NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE (0x0a)
|
||||
|
||||
#define NDR_DSSETUP_CALL_COUNT (11)
|
||||
void ndr_print_dssetup_DsRole(struct ndr_print *ndr, const char *name, enum dssetup_DsRole r);
|
||||
void ndr_print_dssetup_DsRoleFlags(struct ndr_print *ndr, const char *name, uint32_t r);
|
||||
void ndr_print_dssetup_DsRolePrimaryDomInfoBasic(struct ndr_print *ndr, const char *name, const struct dssetup_DsRolePrimaryDomInfoBasic *r);
|
||||
void ndr_print_dssetup_DsUpgrade(struct ndr_print *ndr, const char *name, enum dssetup_DsUpgrade r);
|
||||
void ndr_print_dssetup_DsPrevious(struct ndr_print *ndr, const char *name, enum dssetup_DsPrevious r);
|
||||
void ndr_print_dssetup_DsRoleUpgradeStatus(struct ndr_print *ndr, const char *name, const struct dssetup_DsRoleUpgradeStatus *r);
|
||||
void ndr_print_dssetup_DsRoleOp(struct ndr_print *ndr, const char *name, enum dssetup_DsRoleOp r);
|
||||
void ndr_print_dssetup_DsRoleOpStatus(struct ndr_print *ndr, const char *name, const struct dssetup_DsRoleOpStatus *r);
|
||||
void ndr_print_dssetup_DsRoleInfoLevel(struct ndr_print *ndr, const char *name, enum dssetup_DsRoleInfoLevel r);
|
||||
void ndr_print_dssetup_DsRoleInfo(struct ndr_print *ndr, const char *name, const union dssetup_DsRoleInfo *r);
|
||||
void ndr_print_dssetup_DsRoleGetPrimaryDomainInformation(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleGetPrimaryDomainInformation *r);
|
||||
void ndr_print_dssetup_DsRoleDnsNameToFlatName(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleDnsNameToFlatName *r);
|
||||
void ndr_print_dssetup_DsRoleDcAsDc(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleDcAsDc *r);
|
||||
void ndr_print_dssetup_DsRoleDcAsReplica(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleDcAsReplica *r);
|
||||
void ndr_print_dssetup_DsRoleDemoteDc(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleDemoteDc *r);
|
||||
void ndr_print_dssetup_DsRoleGetDcOperationProgress(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleGetDcOperationProgress *r);
|
||||
void ndr_print_dssetup_DsRoleGetDcOperationResults(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleGetDcOperationResults *r);
|
||||
void ndr_print_dssetup_DsRoleCancel(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleCancel *r);
|
||||
void ndr_print_dssetup_DsRoleServerSaveStateForUpgrade(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleServerSaveStateForUpgrade *r);
|
||||
void ndr_print_dssetup_DsRoleUpgradeDownlevelServer(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleUpgradeDownlevelServer *r);
|
||||
void ndr_print_dssetup_DsRoleAbortDownlevelServerUpgrade(struct ndr_print *ndr, const char *name, int flags, const struct dssetup_DsRoleAbortDownlevelServerUpgrade *r);
|
||||
#endif /* _HEADER_NDR_dssetup */
|
845
source3/librpc/gen_ndr/srv_dssetup.c
Normal file
845
source3/librpc/gen_ndr/srv_dssetup.c
Normal file
@ -0,0 +1,845 @@
|
||||
/*
|
||||
* Unix SMB/CIFS implementation.
|
||||
* server auto-generated by pidl. DO NOT MODIFY!
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "librpc/gen_ndr/srv_dssetup.h"
|
||||
|
||||
static bool api_dssetup_DsRoleGetPrimaryDomainInformation(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleGetPrimaryDomainInformation *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleGetPrimaryDomainInformation);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetPrimaryDomainInformation, r);
|
||||
}
|
||||
|
||||
ZERO_STRUCT(r->out);
|
||||
r->out.info = talloc_zero(r, union dssetup_DsRoleInfo);
|
||||
if (r->out.info == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleGetPrimaryDomainInformation(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetPrimaryDomainInformation, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleDnsNameToFlatName(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleDnsNameToFlatName *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleDnsNameToFlatName);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleDnsNameToFlatName, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleDnsNameToFlatName(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDnsNameToFlatName, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleDcAsDc(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleDcAsDc *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDCASDC];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleDcAsDc);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsDc, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleDcAsDc(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsDc, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleDcAsReplica(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleDcAsReplica *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDCASREPLICA];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleDcAsReplica);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleDcAsReplica, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleDcAsReplica(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDcAsReplica, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleDemoteDc(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleDemoteDc *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEDEMOTEDC];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleDemoteDc);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleDemoteDc, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleDemoteDc(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleDemoteDc, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleGetDcOperationProgress(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleGetDcOperationProgress *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleGetDcOperationProgress);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationProgress, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleGetDcOperationProgress(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationProgress, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleGetDcOperationResults(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleGetDcOperationResults *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleGetDcOperationResults);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleGetDcOperationResults, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleGetDcOperationResults(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleGetDcOperationResults, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleCancel(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleCancel *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLECANCEL];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleCancel);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleCancel, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleCancel(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleCancel, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleServerSaveStateForUpgrade(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleServerSaveStateForUpgrade *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleServerSaveStateForUpgrade);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleServerSaveStateForUpgrade(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleServerSaveStateForUpgrade, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleUpgradeDownlevelServer(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleUpgradeDownlevelServer *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleUpgradeDownlevelServer);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleUpgradeDownlevelServer(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleUpgradeDownlevelServer, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool api_dssetup_DsRoleAbortDownlevelServerUpgrade(pipes_struct *p)
|
||||
{
|
||||
const struct ndr_interface_call *call;
|
||||
struct ndr_pull *pull;
|
||||
struct ndr_push *push;
|
||||
enum ndr_err_code ndr_err;
|
||||
DATA_BLOB blob;
|
||||
struct dssetup_DsRoleAbortDownlevelServerUpgrade *r;
|
||||
|
||||
call = &ndr_table_dssetup.calls[NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE];
|
||||
|
||||
r = talloc(NULL, struct dssetup_DsRoleAbortDownlevelServerUpgrade);
|
||||
if (r == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!prs_data_blob(&p->in_data.data, &blob, r)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull = ndr_pull_init_blob(&blob, r);
|
||||
if (pull == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
pull->flags |= LIBNDR_FLAG_REF_ALLOC;
|
||||
ndr_err = call->ndr_pull(pull, NDR_IN, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_IN_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, r);
|
||||
}
|
||||
|
||||
r->out.result = _dssetup_DsRoleAbortDownlevelServerUpgrade(p, r);
|
||||
|
||||
if (p->rng_fault_state) {
|
||||
talloc_free(r);
|
||||
/* Return true here, srv_pipe_hnd.c will take care */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_OUT_DEBUG(dssetup_DsRoleAbortDownlevelServerUpgrade, r);
|
||||
}
|
||||
|
||||
push = ndr_push_init_ctx(r);
|
||||
if (push == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
ndr_err = call->ndr_push(push, NDR_OUT, r);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
blob = ndr_push_blob(push);
|
||||
if (!prs_copy_data_in(&p->out_data.rdata, (const char *)blob.data, (uint32_t)blob.length)) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
}
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/* Tables */
|
||||
static struct api_struct api_dssetup_cmds[] =
|
||||
{
|
||||
{"DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION", NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION, api_dssetup_DsRoleGetPrimaryDomainInformation},
|
||||
{"DSSETUP_DSROLEDNSNAMETOFLATNAME", NDR_DSSETUP_DSROLEDNSNAMETOFLATNAME, api_dssetup_DsRoleDnsNameToFlatName},
|
||||
{"DSSETUP_DSROLEDCASDC", NDR_DSSETUP_DSROLEDCASDC, api_dssetup_DsRoleDcAsDc},
|
||||
{"DSSETUP_DSROLEDCASREPLICA", NDR_DSSETUP_DSROLEDCASREPLICA, api_dssetup_DsRoleDcAsReplica},
|
||||
{"DSSETUP_DSROLEDEMOTEDC", NDR_DSSETUP_DSROLEDEMOTEDC, api_dssetup_DsRoleDemoteDc},
|
||||
{"DSSETUP_DSROLEGETDCOPERATIONPROGRESS", NDR_DSSETUP_DSROLEGETDCOPERATIONPROGRESS, api_dssetup_DsRoleGetDcOperationProgress},
|
||||
{"DSSETUP_DSROLEGETDCOPERATIONRESULTS", NDR_DSSETUP_DSROLEGETDCOPERATIONRESULTS, api_dssetup_DsRoleGetDcOperationResults},
|
||||
{"DSSETUP_DSROLECANCEL", NDR_DSSETUP_DSROLECANCEL, api_dssetup_DsRoleCancel},
|
||||
{"DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE", NDR_DSSETUP_DSROLESERVERSAVESTATEFORUPGRADE, api_dssetup_DsRoleServerSaveStateForUpgrade},
|
||||
{"DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER", NDR_DSSETUP_DSROLEUPGRADEDOWNLEVELSERVER, api_dssetup_DsRoleUpgradeDownlevelServer},
|
||||
{"DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE", NDR_DSSETUP_DSROLEABORTDOWNLEVELSERVERUPGRADE, api_dssetup_DsRoleAbortDownlevelServerUpgrade},
|
||||
};
|
||||
|
||||
void dssetup_get_pipe_fns(struct api_struct **fns, int *n_fns)
|
||||
{
|
||||
*fns = api_dssetup_cmds;
|
||||
*n_fns = sizeof(api_dssetup_cmds) / sizeof(struct api_struct);
|
||||
}
|
||||
|
||||
NTSTATUS rpc_dssetup_init(void)
|
||||
{
|
||||
return rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, "dssetup", "dssetup", api_dssetup_cmds, sizeof(api_dssetup_cmds) / sizeof(struct api_struct));
|
||||
}
|
17
source3/librpc/gen_ndr/srv_dssetup.h
Normal file
17
source3/librpc/gen_ndr/srv_dssetup.h
Normal file
@ -0,0 +1,17 @@
|
||||
#include "librpc/gen_ndr/ndr_dssetup.h"
|
||||
#ifndef __SRV_DSSETUP__
|
||||
#define __SRV_DSSETUP__
|
||||
WERROR _dssetup_DsRoleGetPrimaryDomainInformation(pipes_struct *p, struct dssetup_DsRoleGetPrimaryDomainInformation *r);
|
||||
WERROR _dssetup_DsRoleDnsNameToFlatName(pipes_struct *p, struct dssetup_DsRoleDnsNameToFlatName *r);
|
||||
WERROR _dssetup_DsRoleDcAsDc(pipes_struct *p, struct dssetup_DsRoleDcAsDc *r);
|
||||
WERROR _dssetup_DsRoleDcAsReplica(pipes_struct *p, struct dssetup_DsRoleDcAsReplica *r);
|
||||
WERROR _dssetup_DsRoleDemoteDc(pipes_struct *p, struct dssetup_DsRoleDemoteDc *r);
|
||||
WERROR _dssetup_DsRoleGetDcOperationProgress(pipes_struct *p, struct dssetup_DsRoleGetDcOperationProgress *r);
|
||||
WERROR _dssetup_DsRoleGetDcOperationResults(pipes_struct *p, struct dssetup_DsRoleGetDcOperationResults *r);
|
||||
WERROR _dssetup_DsRoleCancel(pipes_struct *p, struct dssetup_DsRoleCancel *r);
|
||||
WERROR _dssetup_DsRoleServerSaveStateForUpgrade(pipes_struct *p, struct dssetup_DsRoleServerSaveStateForUpgrade *r);
|
||||
WERROR _dssetup_DsRoleUpgradeDownlevelServer(pipes_struct *p, struct dssetup_DsRoleUpgradeDownlevelServer *r);
|
||||
WERROR _dssetup_DsRoleAbortDownlevelServerUpgrade(pipes_struct *p, struct dssetup_DsRoleAbortDownlevelServerUpgrade *r);
|
||||
void dssetup_get_pipe_fns(struct api_struct **fns, int *n_fns);
|
||||
NTSTATUS rpc_dssetup_init(void);
|
||||
#endif /* __SRV_DSSETUP__ */
|
Loading…
x
Reference in New Issue
Block a user