mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +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:
parent
57645fd85b
commit
996cd3a097
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user