mirror of
https://github.com/samba-team/samba.git
synced 2025-07-06 08:59:08 +03:00
s4 provision: start with gpo of version 0 and be consistent between different policies
This commit is contained in:
@ -980,7 +980,7 @@ def create_gpo_struct(policy_path):
|
||||
if not os.path.exists(policy_path):
|
||||
os.makedirs(policy_path, 0775)
|
||||
open(os.path.join(policy_path, "GPT.INI"), 'w').write(
|
||||
"[General]\r\nVersion=65543")
|
||||
"[General]\r\nVersion=0")
|
||||
p = os.path.join(policy_path, "MACHINE")
|
||||
if not os.path.exists(p):
|
||||
os.makedirs(p, 0775)
|
||||
|
Reference in New Issue
Block a user