lib/param: make security=domain and security=ads conflict with being a DC
commit11db5b1f3321b3d5b73bb16f4030111c9a35fbbe
authorAndrew Bartlett <abartlet@samba.org>
Mon, 11 Jun 2012 00:40:32 +0000 (11 10:40 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 15 Jun 2012 07:18:33 +0000 (15 09:18 +0200)
tree7328bb41e193a53cdb4cd4ac84e6da8b0b4f79ec
parentb8815dc23d36468cce9b615335ed62f119eb8f35
lib/param: make security=domain and security=ads conflict with being a DC

This simplifies our supported configurations down to those that we test and expect
to work.  security=domain and domain logons = yes has never made much sense, and
security=ads and domain logons = yes was only ever used in early experiments for
our AD support using smbd.

The correct way to be an AD DC is to set "server role = active directory domain controller"

Andrew Bartlett
lib/param/loadparm_server_role.c