mirror of
https://github.com/samba-team/samba.git
synced 2025-07-04 00:59:13 +03:00
s4:provision - Change the default forest/domain function level back to Windows 2003 Native
This commit is contained in:
committed by
Andrew Tridgell
parent
45a237ce88
commit
bf0855e8e3
@ -938,7 +938,7 @@ def setup_samdb(path, setup_path, session_info, credentials, lp,
|
||||
domainControllerFunctionality = DS_DC_FUNCTION_2008
|
||||
|
||||
if dom_for_fun_level is None:
|
||||
dom_for_fun_level = DS_DOMAIN_FUNCTION_2008
|
||||
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!")
|
||||
|
||||
|
Reference in New Issue
Block a user