"Groups");
addChild(groups);
}
private HdbDatabaseEntry buildDatabase(LdapDN ldapBase, File dataDir, String dbName) {
HdbDatabaseEntry database = Injection.getInstance(HdbDatabaseEntry.class);
database.setLdapDN(new LdapDN(LdapAttributes.LDAP_ATTRIBUTE_CN, "config").childDN("olcDatabase", "hdb"));
database.setLdapRoot(ldapBase);
database.setDataDirectory(dataDir);
database.setDbName(dbName);
database.setOnlyConfigureOnForce(true);
return database;
}