summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;