NOTE: In the steps for this procedure:
rootdn is set to"cn=Manager,dc=example,dc=com" rootpw is set to secret in the slapd.conf file
1.Create a file named webbase.ldif that contains the following lines:
dn: dc=example,dc=com
objectClass: dcObject
objectClass: organization
dc: example
o:example
dn: dc=osm,dc=example,dc=com
objectClass: dcObject
objectClass: organizationalUnit
dc: osm
ou: osm
dn: ou=people,dc=osm,dc=example,dc=com
objectClass: organizationalUnit
ou: people
dn: uid=tomy,ou=people,dc=osm,dc=example,dc=com
objectClass: inetOrgPerson
uid: tomy
sn: tom
cn: tom yan mail:tom.yan@example.com carLicense:sea4321 userPassword: tom
dn: uid=benw,ou=people,dc=osm,dc=example,dc=com
objectClass: inetOrgPerson
uid: benw
sn: ben cn:ben won mail:ben.won@example.com userPassword: ben
dn: ou=groups,dc=osm,dc=example,dc=com
objectClass: organizationalUnit
ou: groups
dn: cn=tomcat,ou=groups,dc=osm,dc=example,dc=com
objectClass: groupOfUniqueNames
cn: tomcat
uniqueMember: uid=benw,ou=people,dc=osm,dc=example,dc=com
2.Add these records into the directory using the ldapadd command by entering the following command:
# /opt/symas/bin/ldapadd
Configuring Apache HTTP Server Services
Use the following procedure to configure the Apache HTTP server services:
Installing, Configuring, and Managing Web Server Middleware Stack Components 45