summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-03-21 11:54:43 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-03-21 11:54:43 +0000
commit73c45a4a6fe0504b73bceef0a3c3b468f324825d (patch)
treea71656ccff76f3ca1964236c56b3995dfe1b641d
parent3fd8f2d6e8c50e62a5e4cd095abcb3da8063e708 (diff)
downloadsamba-73c45a4a6fe0504b73bceef0a3c3b468f324825d.tar.gz
samba-73c45a4a6fe0504b73bceef0a3c3b468f324825d.tar.bz2
samba-73c45a4a6fe0504b73bceef0a3c3b468f324825d.zip
There is no reason we can't join a domain with secuirty=user. In fact we
need to when we are a BDC or a PDC doing a self-join. Andrew Bartlett (This used to be commit 996cd3a0979a92b087003982bc61796a8090a787)
-rw-r--r--source3/utils/net.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 376b3ddbfd..d75506a6ca 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -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;