diff options
author | Günther Deschner <gd@samba.org> | 2007-11-27 11:49:51 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:46:28 +0100 |
commit | faa1db40a9653fbe497c2ba8b3ce6c1f3a71aee6 (patch) | |
tree | 029cfc68c483959d1663066da26d4cbf267b9d81 /source4 | |
parent | a1fdc20aeeb7fff7458f41170f65a7446372e2f0 (diff) | |
download | samba-faa1db40a9653fbe497c2ba8b3ce6c1f3a71aee6.tar.gz samba-faa1db40a9653fbe497c2ba8b3ce6c1f3a71aee6.tar.bz2 samba-faa1db40a9653fbe497c2ba8b3ce6c1f3a71aee6.zip |
r26158: Add IDL for wkssvc_NetrRenameMachineInDomain().
Guenther
(This used to be commit 78715ded0ac8b123492168308c37f46d1fe85295)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/idl/wkssvc.idl | 18 | ||||
-rw-r--r-- | source4/rpc_server/wkssvc/dcesrv_wkssvc.c | 12 |
2 files changed, 18 insertions, 12 deletions
diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl index 9a0f2974f5..8ed0b2443b 100644 --- a/source4/librpc/idl/wkssvc.idl +++ b/source4/librpc/idl/wkssvc.idl @@ -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( diff --git a/source4/rpc_server/wkssvc/dcesrv_wkssvc.c b/source4/rpc_server/wkssvc/dcesrv_wkssvc.c index 59cb99ec10..5056183fa8 100644 --- a/source4/rpc_server/wkssvc/dcesrv_wkssvc.c +++ b/source4/rpc_server/wkssvc/dcesrv_wkssvc.c @@ -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) |