1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s4:provision.py - we do now support the "Windows 2000 Native" domain function level

This commit is contained in:
Matthias Dieter Wallnöfer 2010-06-16 15:18:34 +02:00
parent 233ce18a17
commit 5779c21e41

View File

@ -856,9 +856,6 @@ def setup_samdb(path, setup_path, session_info, provision_backend, lp, names,
if dom_for_fun_level is None:
dom_for_fun_level = DS_DOMAIN_FUNCTION_2003
if dom_for_fun_level < DS_DOMAIN_FUNCTION_2003:
logger.warning("Running SAMBA 4 on a domain and forest function level"
" lower than Windows 2003 (Native) 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!")