svn commit: samba r13076 - in branches/SAMBA_4_0/source/scripting/libjs: .

tridge at samba.org tridge at samba.org
Mon Jan 23 04:40:58 GMT 2006


Author: tridge
Date: 2006-01-23 04:40:57 +0000 (Mon, 23 Jan 2006)
New Revision: 13076

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13076

Log:

catch a easy to make error during vampire install


Modified:
   branches/SAMBA_4_0/source/scripting/libjs/provision.js


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/libjs/provision.js
===================================================================
--- branches/SAMBA_4_0/source/scripting/libjs/provision.js	2006-01-23 04:40:28 UTC (rev 13075)
+++ branches/SAMBA_4_0/source/scripting/libjs/provision.js	2006-01-23 04:40:57 UTC (rev 13076)
@@ -551,6 +551,11 @@
 		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;
 }
 



More information about the samba-cvs mailing list