Before adding the standard Micro Focus containers, the initial domain context object needs to be added.
dn: dc=my-domain,dc=com objectClass: dcObject objectClass: organization dc: my-domain description: My domain description o: My domain
ldapadd -v -D "cn=Manager,dc=my-domain,dc=com" -w secret -f top.ldf
The successful output should look something like the following:
add objectClass:
dcObject
organization
add dc:
my-domain
add description:
My domain description
add o:
My domain
adding new entry "dc=my-domain,dc=com"
modify complete
You can now add the standard Micro Focus containers.
dn: cn=Micro Focus,dc=my-domain,dc=com cn: Micro Focus objectClass: container dn: cn=Enterprise Server Resources,cn=Micro Focus,dc=my-domain,dc=com cn: Enterprise Server Resources objectClass: container dn: cn=Enterprise Server Users,cn=Micro Focus,dc=my-domain,dc=com cn: Enterprise Server Users objectClass: container dn: cn=Enterprise Server User Groups,cn=Micro Focus,dc=my-domain,dc=com cn: Enterprise Server User Groups objectClass: container
ldapadd -v -D "cn=Manager,dc=my-domain,dc=com" -w secret -f mf-containers-open.ldf
ldapsearch -x -b "dc=my-domain,dc=com" -s sub +