From 82b6a5c9fcae38353bf24b0d9372f24c3c387924 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 23 Jan 2006 04:40:57 +0000 Subject: r13076: catch a easy to make error during vampire install (This used to be commit 1c49ce8df0fd2150c68d0bf4162f1ef69ff3392a) --- source4/scripting/libjs/provision.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/scripting/libjs') diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index ef6fe31285..d05796001e 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -551,6 +551,11 @@ function provision_validate(subobj, message) return false; } + if (lp.get("server role") == "pdc") { + message("server role must not be set to 'pdc' during the install\n"); + return false; + } + return true; } -- cgit