Change from a Sun ONE Directory Server causes index loss

After an initial installation that uses the Sun ONE Directory Server, changing to another LDAP server causes the loss of certain indexes.

Add the missing indexes manually to the new LDAP server from the er-indexes.conf file on the initial LDAP server. Complete these tasks from the Sun ONE Directory Server administration console:

  1. Navigate to Data=itim_suffix. For example, itim_suffix is a value such as dc=com.

    dc denotes Domain Component.

  2. Click Add attributes.
  3. Add the following attributes:
    index erparent eq 
    index erroles eq 
    index erservice eq
    index ersupervisor eq
    index ersponsor eq
    index erhost eq 
    index erauthorizationowner eq 
    index erprerequisite eq 
    index erenabled eq 
    index errolename pres,eq
    index eraliases eq,sub
    index erservicename pres,eq,sub
    index erobjectprofilename pres,eq
    index ercustomclass eq
    index eroid eq
    index erisdeleted pres
    index erpolicyitemname pres,eq,sub
    index erlabel eq,sub
    index erkeywords eq,sub 
    index erpolicytarget eq,sub
    index erreqpolicytarget eq,sub
    index erpolicymembership eq,sub
    index eroverride eq
    index eruserclass eq
    index erprocessname pres,eq
    index eracl pres
    index eruid eq,sub
    index erdraft eq
    index erscope pres
    index ersystemrolecategory eq
    index erversionid eq
    index erglobalid eq
    index eradministrator eq
    index ercategory eq
    index erformname eq
    index erpersonstatus eq
    index eraccessdescription eq
    index eraccessname eq
    index ertype eq
    index erword eq
    index o eq,sub
    index ou eq,sub
    index owner eq
    index l eq,sub
    index manager eq
    index description eq,sub
    index ergroupdescription eq
  4. Save the attributes.
  5. Add the rules that are specified next to the attribute name.
  6. Navigate to Data=itim_suffix and right-click itim_suffix.

  7. Select the Re-index option.

Parent topic: Troubleshooting IBM Security Directory Server problems