This document describes the manual steps for adding to an OpenLDAP installation the schema extensions and application containers that are required for use with reUZE Server.
This document assumes that you have already installed on your server machine, OpenLDAP and either Micro Focus Net Express, or Standalone Server, and that the OpenLDAP server is using the default configuration.
mfds -l dc=x 2This will create a file called mfds.schema in the current directory.
objectclass (
1.2.840.113556.1.3.23
NAME 'container'
SUP top
STRUCTURAL
MUST ( cn ) )The container objectclass is used to group collections of like objects within the LDAP server Directory Information Tree in the Micro Focus extensions.Note: It is very important that when this schema file is created there is no trailing whitespace on any of the lines.
include ./schema/cosine.schema include ./schema/inetorgperson.schema include ./schema/container.schema include ./schema/mfds.schema
You can now start the OpenLDAP server.
ldapsearch -x -b "cn=subschema" -s base + > schema.txt
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 +
mfds -e "cn=Micro Focus,dc=my-domain,dc=com" "cn=Enterprise Server Users" "cn=Enterprise Server User Groups" "cn=Enterprise Server Resources" 2 "c:\program files\openldap\mfds_users.ldf"
ldapadd -v -D "cn=Manager,dc=my-domain,dc=com" -w secret -f mfds_users.ldf
ldapsearch -x -b "dc=my-domain,dc=com" -s sub +