From 0418e30716942bc043d20cf1580391f44b2cb73e Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Tue, 25 Sep 2007 18:38:03 +0000
Subject: [PATCH] These changes use the new LDIF backend implementation so that the adminRoot backend is always present. The adminRoot LDIF backend is initially populated with the admin container entries, except for the cn=Servers container. To avoid breaking the setup and dsreplication tools, I have changed things so that the absence of the cn=Servers container entry implies that the server is not yet configured as an ADS server. I have commented out code that is no longer applicable.

---
 opends/resource/config/config.ldif |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/opends/resource/config/config.ldif b/opends/resource/config/config.ldif
index db16f6a..df90bcc 100644
--- a/opends/resource/config/config.ldif
+++ b/opends/resource/config/config.ldif
@@ -356,6 +356,17 @@
 ds-cfg-task-backing-file: config/tasks.ldif
 ds-cfg-task-retention-time: 24 hours
 
+dn: ds-cfg-backend-id=adminRoot,cn=Backends,cn=config
+objectClass: top
+objectClass: ds-cfg-backend
+objectClass: ds-cfg-ldif-backend
+ds-cfg-backend-id: adminRoot
+ds-cfg-backend-enabled: true
+ds-cfg-backend-class: org.opends.server.backends.LDIFBackend
+ds-cfg-backend-writability-mode: enabled
+ds-cfg-backend-base-dn: cn=admin data
+ds-cfg-ldif-file: config/admin-backend.ldif
+
 dn: cn=Certificate Mappers,cn=config
 objectClass: top
 objectClass: ds-cfg-branch

--
Gitblit v1.10.0