summaryrefslogtreecommitdiffstats
path: root/source/utils
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
commit996cd3a0979a92b087003982bc61796a8090a787 (patch)
tree72eac387e5f32f598721fca42b61a0f69bd57f0a /source/utils
parent57645fd85b7789d7807a5ffb5b2572c6d5f9e3de (diff)
downloadsamba-996cd3a0979a92b087003982bc61796a8090a787.tar.gz
samba-996cd3a0979a92b087003982bc61796a8090a787.tar.xz
samba-996cd3a0979a92b087003982bc61796a8090a787.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
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/net.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/utils/net.c b/source/utils/net.c
index 376b3ddbfd8..d75506a6cab 100644
--- a/source/utils/net.c
+++ b/source/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;