summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-07 10:57:52 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-07 10:57:52 +1100
commit14c5f968e1f99ceabc5a42d9a38a00ea137b00ea (patch)
treea922ad72242dd91f215d06b8a3f16d054800370b /source4/param
parent45149fbf9d3e55e17e21ab4a6159e9b805adc06d (diff)
downloadsamba-14c5f968e1f99ceabc5a42d9a38a00ea137b00ea.tar.gz
samba-14c5f968e1f99ceabc5a42d9a38a00ea137b00ea.tar.bz2
samba-14c5f968e1f99ceabc5a42d9a38a00ea137b00ea.zip
Rework provision scripts for more testing
This fixes up some issues with testdir (was not honoured) and increases test coverage. We now check all the major provision modes. In doing so, to make it possible to call from the multiple layers of 'sh', I have allowed 'dc' to alias 'domain controller' and 'member' to alias 'member server'. Fighting shell quoting in the test system was just too hard... Also fix upgrade.py Andrew Bartlett (This used to be commit 0923de12282b0e063dd73bc3e056dd5c3663c190)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 65ce7595fc..a1d29b0771 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -316,7 +316,9 @@ static const struct enum_list enum_smb_signing_vals[] = {
static const struct enum_list enum_server_role[] = {
{ROLE_STANDALONE, "standalone"},
{ROLE_DOMAIN_MEMBER, "member server"},
+ {ROLE_DOMAIN_MEMBER, "member"},
{ROLE_DOMAIN_CONTROLLER, "domain controller"},
+ {ROLE_DOMAIN_CONTROLLER, "dc"},
{-1, NULL}
};