summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-09-07 17:57:52 +0400
committerMatthieu Patou <mat@matws.net>2010-09-26 06:22:43 +0400
commita8f8f277ff6c8dc9ea060e53c6debbd30dbd87f7 (patch)
tree9f7e6f200322fc9277e12fe33d3c93a7e5f97f59 /source4
parent76d87b7fb51dfab8f85686bde7fed67701bc9092 (diff)
downloadsamba-a8f8f277ff6c8dc9ea060e53c6debbd30dbd87f7.tar.gz
samba-a8f8f277ff6c8dc9ea060e53c6debbd30dbd87f7.tar.bz2
samba-a8f8f277ff6c8dc9ea060e53c6debbd30dbd87f7.zip
s4 provision: start with gpo of version 0 and be consistent between different policies
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/provision.py2
-rw-r--r--source4/setup/provision_group_policy.ldif4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 0d4b8dc596..4b74300f41 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -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)
diff --git a/source4/setup/provision_group_policy.ldif b/source4/setup/provision_group_policy.ldif
index 20b162ecb4..02dfe52bf5 100644
--- a/source4/setup/provision_group_policy.ldif
+++ b/source4/setup/provision_group_policy.ldif
@@ -5,7 +5,7 @@ objectClass: groupPolicyContainer
displayName: Default Domain Policy
gPCFunctionalityVersion: 2
gPCFileSysPath: \\${DNSDOMAIN}\sysvol\${DNSDOMAIN}\Policies\{${POLICYGUID}}
-versionNumber: 65543
+versionNumber: 0
flags: 0
gPCMachineExtensionNames: [{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{53D6AB1B-248
8-11D1-A28C-00C04FB94F17}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4
@@ -36,7 +36,7 @@ objectClass: groupPolicyContainer
displayName: Default Domain Controllers Policy
gPCFunctionalityVersion: 2
gPCFileSysPath: \\${DNSDOMAIN}\sysvol\${DNSDOMAIN}\Policies\{${POLICYGUID_DC}}
-versionNumber: 2
+versionNumber: 0
flags: 0
gPCMachineExtensionNames: [{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4
FB-11D0-A0D0-00A0C90F574B}]