Sun Java System Calendar Server 6 2005Q4 Administration Guide

Automatic Creation of User Calendars

This section covers the following topics:

Automatic Calendar Creation Feature

Calendar Server automatically creates a default calendar for a user the first time the user logs in. This feature is called auto-provisioning. Autoprovisioning is enabled by default. However, auto-provisioning is available for user calendars only; resource calendars must be explicitly created.

Calendar Server creates the calendar ID (calid) for this new default calendar from the user ID, unless a calendar by that name already exists.

For example, if John Smith, with a user ID of jsmith, logs into Calendar Server for the first time, Calendar Server automatically creates a default calendar with jsmith as the calid. Each subsequent calendar John Smith creates has a calid with jsmith: prepended to the calendar name. For example, if John Smith later creates a new calendar named meetings, the calid for the new calendar (in a non-hosted environment) is jsmith:meetings.


Note –

Calendar Server returns the Calendar not found error when a user without a default calendar is specified as an attendee.


ProcedureTo Enable Autoprovisioning

Autoprovisioning is enabled by default. However, if you need to turn it on again after disabling it, perform the steps that follow:

  1. Log in as an administrator with permission to change the configuration.

  2. Change to the /etc/opt/SUNWics5/cal/config directory.

  3. Save your old ics.conf file by copying and renaming it.

  4. Edit one or more of the following parameters in the Calendar Server configuration file, ics.conf, as shown in the following table:

    Parameters  

    Description and Default Value  

    local.autoprovision

    Set to “yes”, allows default calendar creation to occur automatically when the user logs in the first time. Autoprovisioning is enabled by default. 

    To turn this feature off, set the value to “no”. 

  5. Verify that the user’s LDAP entry is enabled for calendar.

    The entry must contain the icsCalendarUser object class. Add the class to the user’s LDAP entry if it is not there.

  6. If your site is using hosted domains, the user’s domain must also be calendar enabled before auto-provisioning will work. The domain entry must contain the icsCalendarDomain object class.

  7. Save the file.

  8. Restart Calendar Server.

    cal_svr_base/SUNWics5/cal/sbin/start-cal

ProcedureTo Disable Autoprovisioning

  1. Log in as an administrator with permission to change the configuration.

  2. Change to the /etc/opt/SUNWics5/cal/config directory.

  3. Save your old ics.conf file by copying and renaming it.

  4. Edit one or more of the following parameters in the Calendar Server configuration file, ics.conf, as shown in the following table:

    Parameters  

    Description and Default Value  

    local.autoprovision

    Setting the parameter to no disables autoprovisioning of user calendars.

  5. Save the file.

  6. Restart Calendar Server.

    cal_svr_base/SUNWics5/cal/sbin/start-cal


    Note –

    If autoprovisioning is disabled, calendars must be explicitly created for users before they can successfully log in.