summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-27 12:11:49 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:31 +0100
commitf287d5dcc9e6790008ad8d7cceaee976cd7d5d81 (patch)
treef53e2921150151a0041d9b5050882518e172332f /source4
parente84236a095324bd5aae46b1fb1d1e40b1c706446 (diff)
downloadsamba-f287d5dcc9e6790008ad8d7cceaee976cd7d5d81.tar.gz
samba-f287d5dcc9e6790008ad8d7cceaee976cd7d5d81.tar.bz2
samba-f287d5dcc9e6790008ad8d7cceaee976cd7d5d81.zip
r26164: Add IDL for wkssvc_NetrJoinDomain() and wkssvc_NetrUnjoinDomain().
Guenther (This used to be commit a4e6ec8e5e49775575524915cfbb1d2cc74c54d3)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/wkssvc.idl16
-rw-r--r--source4/rpc_server/wkssvc/dcesrv_wkssvc.c12
2 files changed, 20 insertions, 8 deletions
diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl
index 3055099538..564909b96f 100644
--- a/source4/librpc/idl/wkssvc.idl
+++ b/source4/librpc/idl/wkssvc.idl
@@ -447,11 +447,23 @@ import "srvsvc.idl", "lsa.idl";
/*****************************/
/* Function 0x10 */
- WERROR WKSSVC_NETRJOINDOMAIN ();
+ WERROR wkssvc_NetrJoinDomain(
+ [in] [string,charset(UTF16)] uint16 *server_name,
+ [in,ref] [string,charset(UTF16)] uint16 *domain_name,
+ [in] [string,charset(UTF16)] uint16 *account_ou,
+ [in] [string,charset(UTF16)] uint16 *Account,
+ [in] [string,charset(UTF16)] uint16 *unknown,
+ [in] wkssvc_joinflags join_flags
+ );
/*****************************/
/* Function 0x11 */
- WERROR WKSSVC_NETRUNJOINDOMAIN ();
+ WERROR wkssvc_NetrUnjoinDomain(
+ [in] [string,charset(UTF16)] uint16 *server_name,
+ [in] [string,charset(UTF16)] uint16 *Account,
+ [in] [string,charset(UTF16)] uint16 *password,
+ [in] wkssvc_joinflags unjoin_flags
+ );
/*****************************/
/* Function 0x12 */
diff --git a/source4/rpc_server/wkssvc/dcesrv_wkssvc.c b/source4/rpc_server/wkssvc/dcesrv_wkssvc.c
index 864c9857d2..ad2b2c63f2 100644
--- a/source4/rpc_server/wkssvc/dcesrv_wkssvc.c
+++ b/source4/rpc_server/wkssvc/dcesrv_wkssvc.c
@@ -263,20 +263,20 @@ static WERROR dcesrv_wkssvc_NetrLogonDomainNameDel(struct dcesrv_call_state *dce
/*
- WKSSVC_NETRJOINDOMAIN
+ wkssvc_NetrJoinDomain
*/
-static WERROR dcesrv_WKSSVC_NETRJOINDOMAIN(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
- struct WKSSVC_NETRJOINDOMAIN *r)
+static WERROR dcesrv_wkssvc_NetrJoinDomain(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
+ struct wkssvc_NetrJoinDomain *r)
{
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}
/*
- WKSSVC_NETRUNJOINDOMAIN
+ wkssvc_NetrUnjoinDomain
*/
-static WERROR dcesrv_WKSSVC_NETRUNJOINDOMAIN(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
- struct WKSSVC_NETRUNJOINDOMAIN *r)
+static WERROR dcesrv_wkssvc_NetrUnjoinDomain(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
+ struct wkssvc_NetrUnjoinDomain *r)
{
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}