HP OSMS Blueprint: Directory Services on HP ProLiant and HP Integrity Servers with RHEL5
Table Of Contents
- HP Open Source Middleware Stacks Blueprint:
- Table of Contents
- Introduction
- Typographic Conventions
- HP Encourages Your Comments
- Overview of HP Directory Services OSMS
- Installing and Configuring Symas CDS and Apache Modules
- Managing the Symas CDS Server
- Performing Backups and Recovery with Berkeley DB
- Configuring the Master-Slave Replication
- Integrating the Apache HTTP Server with the mod_authnz_ldap and mod_ldap Modules
- Setting up Security for the CDS Server
- Monitoring OpenLDAP with the HP OpenView Operations CDS Gallery SPIs

Figure 3 Searching for an Entry
Modifying an Entry in the Directory
1. Use a text editor to create an LDIF file, saved as /tmp/modify.ldif, with the following
content:
dn: uid=tomy,dc=osm,dc=example,dc=com
changetype: modify
replace: mail
mail: newmail@example.com
-
add: title
title: added title
-
delete: carLicense
2. Enter the following command:
# /opt/symas/bin/ldapmodify -x -D "cn=Manager,dc=example,dc=com" \
-W -f /tmp/modify.ldif
Figure 4 Modifying an Entry
3. To verify the modification, use the ldapsearch command by entering the following:
# /opt/symas/bin/ldapsearch -x -D "cn=Manager,dc=example,dc=com" \
-W "cn=tom yan"
Deleting an Entry from the Directory
1. To delete one or more entries in the directory, run the ldapdelete command as follows:
# /opt/symas/bin/ldapdelete -x -D "cn=Manager,dc=example,dc=com" \
14