summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-21 16:44:52 +0100
committerGünther Deschner <gd@samba.org>2007-12-21 16:44:52 +0100
commitcdb51f3bc31892e80e5a34204b427660edbd7e63 (patch)
treee4e8d40313b19f5f478d82f9b7572ece331de0a0 /source3/rpc_server
parent13d159bc2d2421e01e4bff4bcf8067789fd2c9c2 (diff)
downloadsamba-cdb51f3bc31892e80e5a34204b427660edbd7e63.tar.gz
samba-cdb51f3bc31892e80e5a34204b427660edbd7e63.tar.bz2
samba-cdb51f3bc31892e80e5a34204b427660edbd7e63.zip
Deactive remote join code server side until some last issues are resolved.
Guenther (This used to be commit 1489870f05695a929902264eb9b95eab886bdaa6)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_wkssvc_nt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_wkssvc_nt.c b/source3/rpc_server/srv_wkssvc_nt.c
index e60dca61c7..b30a7f8792 100644
--- a/source3/rpc_server/srv_wkssvc_nt.c
+++ b/source3/rpc_server/srv_wkssvc_nt.c
@@ -286,6 +286,7 @@ WERROR _wkssvc_NetrGetJoinableOus(pipes_struct *p, struct wkssvc_NetrGetJoinable
WERROR _wkssvc_NetrJoinDomain2(pipes_struct *p, struct wkssvc_NetrJoinDomain2 *r)
{
+#if 0
struct libnet_JoinCtx *j = NULL;
char *pwd = NULL;
char *admin_domain = NULL;
@@ -350,6 +351,9 @@ WERROR _wkssvc_NetrJoinDomain2(pipes_struct *p, struct wkssvc_NetrJoinDomain2 *r
unbecome_root();
return werr;
+#endif
+ p->rng_fault_state = True;
+ return WERR_NOT_SUPPORTED;
}
/********************************************************************