Deactive remote join code server side until some last issues are resolved.
[ira/wip.git] / 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)
 {
+#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;
 }
 
 /********************************************************************