1
0
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:
Matthieu Patou
2010-09-07 17:57:52 +04:00
parent 76d87b7fb5
commit a8f8f277ff
2 changed files with 3 additions and 3 deletions

View File

@ -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)