OPENDJ-3450 Fix makeldif example.template
The example.template was using 'domainComponent' as an objectClass.
'domainComponent' is actually an attribute type, the object class
correct value is 'template'.
| | |
| | | |
| | | branch: [suffix] |
| | | objectClass: top |
| | | objectClass: domainComponent |
| | | objectClass: domain |
| | | |
| | | branch: ou=People,[suffix] |
| | | objectClass: top |
| | |
| | | * Header, with the fields enclosed by brackets [] replaced by your own identifying |
| | | * information: "Portions Copyright [year] [name of copyright owner]". |
| | | * |
| | | * Copyright 2013-2015 ForgeRock AS. |
| | | * Copyright 2013-2016 ForgeRock AS. |
| | | */ |
| | | package org.forgerock.opendj.ldif; |
| | | |
| | |
| | | "", |
| | | "branch: [suffix]", |
| | | "objectClass: top", |
| | | "objectClass: domainComponent", |
| | | "objectClass: domain", |
| | | "", |
| | | "branch: ou=People,[suffix]", |
| | | "objectClass: top", |
| | |
| | | assertThat(dcAttribute).isNotNull(); |
| | | assertThat(dcAttribute.firstValueAsString()).isEqualTo("example"); |
| | | |
| | | checkEntryObjectClasses(topEntry, "top", "domainComponent"); |
| | | checkEntryObjectClasses(topEntry, "top", "domain"); |
| | | } finally { |
| | | Utils.closeSilently(generator); |
| | | |