1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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 commit is contained in:
Andrew Bartlett 0001-01-01 00:00:00 +00:00
parent 57645fd85b
commit 996cd3a097

View 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;