r25299: Modify the provision script to take an additional argument: --server-role
authorAndrew Bartlett <abartlet@samba.org>
Sat, 22 Sep 2007 12:57:17 +0000 (12:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:07:09 +0000 (15:07 -0500)
commitee257e902ade941f734d5b647511d14e051ac0d1
tree3503b046dbb0efafe3906821be8641980fdbb598
parent733591c079eb646344333bcad091839cd15992e7
r25299: Modify the provision script to take an additional argument:  --server-role

This must be set to either 'domain controller', 'domain member' or 'standalone'.

The default for the provision now changes to 'standalone'.

This is not because Samba4 is particularlly useful in that mode, but
because we still want a positive sign from the administrator that we
should advertise as a DC.

We now do more to ensure the 'standalone' and 'member server'
provision output is reasonable, and try not to set odd things into the
database that only belong for the DC.

Andrew Bartlett
(This used to be commit 4cc4ed7719aff712e735628410bd3813c7d6aa40)
12 files changed:
source4/ldap_server/ldap_server.c
source4/scripting/libjs/provision.js
source4/selftest/env/Samba4.pm
source4/setup/named.conf
source4/setup/provision
source4/setup/provision.smb.conf.dc [moved from source4/setup/provision.smb.conf with 61% similarity]
source4/setup/provision.smb.conf.member [new file with mode: 0644]
source4/setup/provision.smb.conf.standlone [new file with mode: 0644]
source4/setup/provision_self_join.ldif
source4/setup/provision_users.ldif
source4/setup/secrets.ldif
source4/setup/secrets_dc.ldif [new file with mode: 0644]