Sun Java System Delegated Administrator 6.4 Administration Guide

Upgrade Customized Service Packages

This section concerns you only if you are upgrading from Communications Services 6 2005Q4 Delegated Administrator to Delegated Administrator 6.4 (the current release), and you created customized service packages in the previous release (6 2005Q4).

In Delegated Administrator 6.4, service package templates are located in a different node in the directory than they were in the previous (6 2005Q4) release.

Sample Class-of-Service Templates

When you run the Delegated Administrator configuration program, the previously installed sample Class-of-Service templates installed by the Delegated Administrator configuration program are upgraded automatically. (In the configuration program, you should select Load sample service packages in the Service Package and Organization Samples panel.)

If you use only the sample templates to assign service packages to users and groups, no action is required.

Customized Service Packages

The configuration program does not upgrade customized service packages created in the 6 2005Q4 release. You must upgrade your customized service packages manually.

For information on how customized service packages are created, see Creating Your Own Service Packages.

ProcedureTo Upgrade Customized Service Packages

Perform the following operations on the LDAP directory:

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


    to this directory node:


    where service_target is one of the following:


    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:

  2. Remove the entries for your service package templates from the original directory node:

  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


<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.