Sun Java System Delegated Administrator 6.4 Administration Guide

ProcedureTo Upgrade Customized Service Packages

Perform the following operations on the LDAP directory:

  1. Copy your service package templates from this directory node:


    o=cosTemplates,o=rootsuffix
    

    to this directory node:


    o=service_target,o=cosTemplates,o=rootsuffix
    

    where service_target is one of the following:


    mailuser
    calendaruser
    mailcalendaruser
    mailgroup

    For example, if a service package template is called myservicepackage, and it provides mail service to users, the service package template's new dn would be:


    o=myservicepackage,o=mailuser,o=cosTemplates,o=rootsuffix
    
  2. Remove the entries for your service package templates from the original directory node:


    o=cosTemplates,o=rootsuffix
    
  3. Edit each customized service package by adding the following line to the ldif file defining the service package:

    daServiceType:service type target


    Note –

    If your ldif file already contains the daServiceType attribute, you can skip this step.


    The daServiceType attribute defines the type of service provided by the service package and the target for the service package.

    The service can be mail or calendar.

    The target can be users or groups.

    For example:


    daServiceType: mail user

    The following example shows what the edited ldif file might look like:


    dn: cn=myservicepackage,o=mailuser,o=cosTemplates,o=mycompanysuffix
    changetype: modify
    replace: daServiceType
    daServiceType: mail user
Use the LDAP directory tool ldapmodify to update the service package in the directory.

For example, you could run the following command:

ldapmodify -D <directory manager> -w <password> -f myservicepackagemodldif

where

<directory manager> is the name of the Directory Server administrator.

<password> is the password of the Directory Service administrator.

myservicepackagemodldif is the name of the ldif file containing the modifications described in the preceding steps.