There is no reason we can't join a domain with secuirty=user. In fact we
authorAndrew Bartlett <abartlet@samba.org>
Thu, 21 Mar 2002 11:54:43 +0000 (11:54 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 21 Mar 2002 11:54:43 +0000 (11:54 +0000)
need to when we are a BDC or a PDC doing a self-join.

Andrew Bartlett
(This used to be commit 996cd3a0979a92b087003982bc61796a8090a787)

source3/utils/net.c

index 376b3ddbfd87e51ca05416d81b1a5dd93f93658a..d75506a6caba2ce5acf3afe5612a437b11d46a91 100644 (file)
@@ -304,11 +304,6 @@ struct cli_state *net_make_ipc_connection(unsigned flags)
 
 static int net_join(int argc, const char **argv)
 {
-       if (lp_security() < SEC_DOMAIN) {
-               d_printf("Error: security setting must be DOMAIN or ADS to "\
-                        "joing a domain\n\n");
-               return -1;
-       }
        if (lp_security() == SEC_ADS) {
                if (net_ads_join(argc, argv) == 0)
                        return 0;