summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2009-11-27 20:50:04 +0300
committerAndrew Bartlett <abartlet@samba.org>2009-12-01 12:17:32 +1100
commitbf2c1e9c4f6fa7d1ea778f54593c308b56efacd2 (patch)
tree3a2639dbcf544c5fbeda81418ec2b7ea7f7b12bd /source4/scripting/python
parentf65360840a43616d870b0f26925067f248aa6376 (diff)
downloadsamba-bf2c1e9c4f6fa7d1ea778f54593c308b56efacd2.tar.gz
samba-bf2c1e9c4f6fa7d1ea778f54593c308b56efacd2.tar.bz2
samba-bf2c1e9c4f6fa7d1ea778f54593c308b56efacd2.zip
s4: load the domain level of the current provision and create a provision with the same domain level
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index f9f7ec9d59..44ccaa8ef0 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -839,7 +839,7 @@ def setup_samdb(path, setup_path, session_info, provision_backend, lp,
if dom_for_fun_level is None:
dom_for_fun_level = DS_DOMAIN_FUNCTION_2003
if dom_for_fun_level < DS_DOMAIN_FUNCTION_2003:
- raise ProvisioningError("You want to run SAMBA 4 on a domain and forest function level lower than Windows 2003 (Native). This isn't supported!")
+ message("You want to run SAMBA 4 on a domain and forest function level lower than Windows 2003 (Native). This is not recommended")
if dom_for_fun_level > domainControllerFunctionality:
raise ProvisioningError("You want to run SAMBA 4 on a domain and forest function level which itself is higher than its actual DC function level (2008). This won't work!")