git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ef2ef7
)
r13076: catch a easy to make error during vampire install
author
Andrew Tridgell
<tridge@samba.org>
Mon, 23 Jan 2006 04:40:57 +0000
(
04:40
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:51:22 +0000
(13:51 -0500)
(This used to be commit
1c49ce8df0fd2150c68d0bf4162f1ef69ff3392a
)
source4/scripting/libjs/provision.js
patch
|
blob
|
history
diff --git
a/source4/scripting/libjs/provision.js
b/source4/scripting/libjs/provision.js
index ef6fe3128560df505d517fada3e88f230f288f3b..d05796001e919661d4b8e581fdc7c97cc4cb270a 100644
(file)
--- 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;
}