[PATCH] s4:provision: Show domains and forests are W2K8 DC capable.

Andrew Kroeger andrew at id10ts.net
Sun Sep 20 20:38:47 MDT 2009

When adding a W2K8 DC to a domain running earlier DC versions, the "adprep"
utility is used to perform schema updates and update other attributes as

Adding these entries provides an indication that the adprep utility has been run
with the /forestprep, /domainprep and /rodcprep arguments.  Although these
entries indicate adprep has been run, nothing has been done to verify that the
changes that the adprep utility would have made have actually been done.

The values used for the revision atttributes are as seen on a W2K8 DC (not
W2K8 R2, which will probably have higher values).
 source4/setup/provision.ldif               |    5 +++++
 source4/setup/provision_configuration.ldif |   10 ++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/source4/setup/provision.ldif b/source4/setup/provision.ldif
index d46406e..0474603 100644
--- a/source4/setup/provision.ldif
+++ b/source4/setup/provision.ldif
@@ -360,6 +360,11 @@ objectClass: top
 objectClass: container
 revision: 8
+dn: CN=ActiveDirectoryUpdate,CN=DomainUpdates,CN=System,${DOMAINDN}
+objectClass: top
+objectClass: container
+revision: 3
 dn: CN=File Replication Service,CN=System,${DOMAINDN}
 objectClass: top
 objectClass: applicationSettings
diff --git a/source4/setup/provision_configuration.ldif b/source4/setup/provision_configuration.ldif
index 9a3c03c..14b36a3 100644
--- a/source4/setup/provision_configuration.ldif
+++ b/source4/setup/provision_configuration.ldif
@@ -802,6 +802,16 @@ objectClass: top
 objectClass: container
 revision: 9
+dn: CN=ActiveDirectoryUpdate,CN=ForestUpdates,${CONFIGDN}
+objectClass: top
+objectClass: container
+revision: 2
+dn: CN=ActiveDirectoryRodcUpdate,CN=ForestUpdates,${CONFIGDN}
+objectClass: top
+objectClass: container
+revision: 2
 dn: CN=LostAndFoundConfig,${CONFIGDN}
 objectClass: top
 objectClass: lostAndFound


More information about the samba-technical mailing list