Creating Standard Micro Focus application containers

Before adding the standard Micro Focus containers, the initial domain context object needs to be added.

  1. Create a file called top.ldf with contents similar to those shown below.
    dn: dc=my-domain,dc=com
    objectClass: dcObject
    objectClass: organization
    dc: my-domain
    description: My domain description
    o: My domain
    
  2. To add the domain context object use:
    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.

  1. Create a file called mf-containers-open.ldf, with contents as follows:
    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
    
  2. Create the containers by issuing the following command:
    ldapadd -v -D "cn=Manager,dc=my-domain,dc=com" -w secret -f mf-containers-open.ldf
  3. Confirm the creation of the containers by using ldapsearch to dump the contents of the Micro Focus container:
    ldapsearch -x -b "dc=my-domain,dc=com" -s sub +