1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

r26158: Add IDL for wkssvc_NetrRenameMachineInDomain().

Guenther
(This used to be commit 78715ded0ac8b123492168308c37f46d1fe85295)
This commit is contained in:
Günther Deschner 2007-11-27 11:49:51 +01:00 committed by Stefan Metzmacher
parent a1fdc20aee
commit faa1db40a9
2 changed files with 18 additions and 12 deletions

View File

@ -455,7 +455,18 @@ import "srvsvc.idl", "lsa.idl";
/*****************************/
/* Function 0x12 */
WERROR WKSSVC_NETRRENAMEMACHINEINDOMAIN ();
typedef [bitmap32bit] bitmap {
/* TRUE: create the account in the domain */
WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE = 0x00000002
} wkssvc_renameflags;
WERROR wkssvc_NetrRenameMachineInDomain(
[in] [string,charset(UTF16)] uint16 *server_name,
[in] [string,charset(UTF16)] uint16 *NewMachineName,
[in] [string,charset(UTF16)] uint16 *Account,
[in] [string,charset(UTF16)] uint16 *password,
[in] wkssvc_renameflags RenameOptions
);
/*****************************/
/* Function 0x13 */
@ -535,11 +546,6 @@ import "srvsvc.idl", "lsa.idl";
[in] wkssvc_joinflags unjoin_flags
);
typedef [bitmap32bit] bitmap {
/* TRUE: create the account in the domain */
WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE = 0x00000002
} wkssvc_renameflags;
/*****************************/
/* Function 0x18 */
WERROR wkssvc_NetrRenameMachineInDomain2(

View File

@ -282,11 +282,11 @@ static WERROR dcesrv_WKSSVC_NETRUNJOINDOMAIN(struct dcesrv_call_state *dce_call,
}
/*
WKSSVC_NETRRENAMEMACHINEINDOMAIN
/*
wkssvc_NetrRenameMachineInDomain
*/
static WERROR dcesrv_WKSSVC_NETRRENAMEMACHINEINDOMAIN(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct WKSSVC_NETRRENAMEMACHINEINDOMAIN *r)
static WERROR dcesrv_wkssvc_NetrRenameMachineInDomain(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct wkssvc_NetrRenameMachineInDomain *r)
{
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}
@ -342,8 +342,8 @@ static WERROR dcesrv_wkssvc_NetrUnjoinDomain2(struct dcesrv_call_state *dce_call
}
/*
WKSSVC_NETRRENAMEMACHINEINDOMAIN2
/*
wkssvc_NetrRenameMachineInDomain2
*/
static WERROR dcesrv_wkssvc_NetrRenameMachineInDomain2(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct wkssvc_NetrRenameMachineInDomain2 *r)