summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2017-08-16 16:02:32 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-12-14 08:20:17 +0100
commit8519f98677dd28b8ed4091bf266652b870cff4a8 (patch)
tree515ec75e7b3ebf51a7b146306e2ca35d1566c77c /source4/setup
parent197883838f8ecb027e9d0375ff5238aec1567a42 (diff)
downloadsamba-8519f98677dd28b8ed4091bf266652b870cff4a8.tar.gz
provision: RODC revision level should be at 2
This number had been mistakenly updated alongside the standard forest updates revision. This version number appears to be independent of the other revision levels. Also add the change to a new .ldf file, which can be used to apply the schema change to an existing Samba 4.7 (or earlier) instance. Update the provision/upgrade test to do just this (otherwise it complains about differences between a new provision and an older Samba 4.0.0 instance). Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/adprep/fix-forest-rev.ldf6
-rw-r--r--source4/setup/provision_configuration.ldif2
2 files changed, 7 insertions, 1 deletions
diff --git a/source4/setup/adprep/fix-forest-rev.ldf b/source4/setup/adprep/fix-forest-rev.ldf
new file mode 100644
index 00000000000..b4458e6cbd2
--- /dev/null
+++ b/source4/setup/adprep/fix-forest-rev.ldf
@@ -0,0 +1,6 @@
+dn: CN=ActiveDirectoryRodcUpdate,CN=ForestUpdates,CN=Configuration,DC=X
+changetype: modify
+replace: revision
+revision: 2
+-
+
diff --git a/source4/setup/provision_configuration.ldif b/source4/setup/provision_configuration.ldif
index b3b45b2ad01..53c9c8536de 100644
--- a/source4/setup/provision_configuration.ldif
+++ b/source4/setup/provision_configuration.ldif
@@ -33,7 +33,7 @@ nTSecurityDescriptor:: ${FORESTUPDATES_DESCRIPTOR}
dn: CN=ActiveDirectoryRodcUpdate,CN=ForestUpdates,${CONFIGDN}
objectClass: top
objectClass: container
-revision: 5
+revision: 2
dn: CN=ActiveDirectoryUpdate,CN=ForestUpdates,${CONFIGDN}
objectClass: top