Deactive remote join code server side until some last issues are resolved.
authorGünther Deschner <gd@samba.org>
Fri, 21 Dec 2007 15:44:52 +0000 (16:44 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 21 Dec 2007 15:44:52 +0000 (16:44 +0100)
Guenther
(This used to be commit 1489870f05695a929902264eb9b95eab886bdaa6)

source3/rpc_server/srv_wkssvc_nt.c

index e60dca61c7ee502f3b4a57d7259202e61df91588..b30a7f87926632a04054205890e3988fecebdf32 100644 (file)
@@ -286,6 +286,7 @@ WERROR _wkssvc_NetrGetJoinableOus(pipes_struct *p, struct wkssvc_NetrGetJoinable
 
 WERROR _wkssvc_NetrJoinDomain2(pipes_struct *p, struct wkssvc_NetrJoinDomain2 *r)
 {
 
 WERROR _wkssvc_NetrJoinDomain2(pipes_struct *p, struct wkssvc_NetrJoinDomain2 *r)
 {
+#if 0
        struct libnet_JoinCtx *j = NULL;
        char *pwd = NULL;
        char *admin_domain = NULL;
        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;
        unbecome_root();
 
        return werr;
+#endif
+       p->rng_fault_state = True;
+       return WERR_NOT_SUPPORTED;
 }
 
 /********************************************************************
 }
 
 /********************************************************************