End users can connect to Calendar Server from client machines using a Web graphical user interface (GUI), Sun Java System Communications Express, or through the Connector for Microsoft Outlook, which allows end users to continue using Outlook on their desktop while still taking advantage of the Calendar Server back end. Users must have a unique entry in the LDAP directory. Each user can have one or more calendars and can belong to one or more groups.
Administrators, with the proper permissions, can add, delete or modify user LDAP entries, or resource LDAP entries, using the Delegated Administrator Utility (command-line) or Console (GUI).
For documentation on the Delegated Administrator Utility (commadmin), see Sun Java System Communications Services 6 2005Q4 Delegated Administrator Guide.
For documentation on the Delegated Administrator Console, see the Console's online help.
In addition, when necessary, you can use ldapmodify to modify LDAP entries directly. For information about ldapmodify, refer to the Sun ONE Directory Server Resource Kit 5.2 Tools Reference.
Utility programs used in pre-Java Enterprise System deployments, such as csuser, are still bundled with Calendar Server. If you are using Access Manager in your deployment, do not use these utilities for managing or creating user, domain or resource LDAP entries. There are some exceptions. Where these apply, this guide will direct you to the proper utility.
This section describes the following aspects of user and user calendar administration:
Calendar users, groups, and resources can be administered using one of the following user management tools:
Delegated Administrator Console.
Use this GUI to provision users, groups and resources in LDAP for Calendar Server. For information on using the GUI, see the Delegated Administrator Console online help.
Delegated Administrator Utility (commadmin).
Use these tools to provision users, groups and resources in LDAP for Calendar Server . For detailed instructions, see the Sun Java System Communications Services 6 2005Q4 Delegated Administrator Guide.
Calendar Server utilities.
Use these utilities to manage calendars. In addition, use them for user, group, and resource management if your configuration meets all of the following criteria:
You are not using Access Manager.
You have an earlier version of Calendar Server or Messaging Server installed using Sun LDAP Schema version 1.
You plan to continue using Schema version 1.
See also the command-line utility reference in this guide, Appendix D, Calendar Server Command-Line Utilities Reference.
Delegated Administrator does not manage calendars. To create calendars for users, groups and resources, use the Calendar Server utilities cscal and csresource, or turn on autoprovisioning. With autoprovisioning turned on, the system creates a default calendar under two circumstances: if a user logs in without a default calendar, or a user, group or resource is issued an invitation before the default calendar exists.
You can create users in LDAP using the following tools:
For Schema version 1, create both the user and the calendar at the same time using the Calendar Server csuser utility.
For Schema version 2, use Delegated Administrator Console to create the user with the Create New User wizard. Then create the users default calendar using the Calendar Server Utility cscal. See Appendix D, Calendar Server Command-Line Utilities Reference.
For Schema version 2, use Delegated Administrator Utility, commadmin user create. Then use the Calendar Server Utility cscal.
For further instruction on adding users in this guide, see 14.1 Creating Calendar User LDAP Entries.
For information on using the Delegated Administrator Utility, see Sun Java System Communications Services 6 2005Q4 Delegated Administrator Guide.
Calendar Server requires a LDAP directory server such Sun Java System Directory Server to authenticate users (and to store user preferences).
Calendar Server allows users to customize their views of calendar data by setting user preferences attributes, which are stored in the directory server. User preferences (as opposed to Calendar Server configuration parameters) refer to the user interface representation of calendar data and include items such as user name, email address, and preferred colors to use when rendering calendar views.
For a list of preferences, refer to the get_userprefs and set_userprefs WCAP commands in the Sun Java System Calendar Server 6.3 WCAP Developer’s Guide.
Groups are named collections of users. Each group has an LDAP entry, similar to a user or resource entry. You can use the same group entry for all services, such as calendar and messaging.
The following are a few facts about Calendar Server LDAP groups:
Calendar Server groups can be either static or dynamic.
Groups with calendar service can have their own default calendar.
Calendar Server groups can consist of individuals, resources, and other groups (nested).
For more information about group calendars, see the following section: 1.5.7 Group Calendars Overview for Calendar Server Version 6.3.
Calendar databases can be automatically populated by setting local.autoprovision="yes" in the ics.conf file. In addition, domains must be calendar enabled (have calendar service), meaning the domain LDAP entry must contain the icsCalendar object class.
There are two ways for default calendars to be created automatically:
When a user logs in for the first time, if the user's LDAP entry is found, the system enables it for calendar services and creates a default calendar.
When an LDAP user, group or resource is invited to an event before the default calendar has been created, the system creates a default calendar for that entity.
For example, suppose tchang exists in the directory server but is not yet enabled for calendaring (that is, does not have a default calendar). With autoprovisioning turned on, and with the domain calendar enabled:
When tchang logs into Calendar Server for the first time, the system automatically enables tchang for calendaring and creates a default calendar with the calid email@example.com.
Alternately, if someone invites tchang to an event before the default calendar has been created, the system will automatically create a default calendar for him, if user.invite.autprovision="yes" in the ics.conf file.
For groups invited, the default group calendar is created if the following ics.conf parameter is set: groupAutoprovisioning="yes".
For resources, likewise, the default resource calendar is created if the following ics.conf parameter is set: resource.invite.autoprovision="yes".
For more information about the configuration file parameters necessary for users, resources and groups, see 4.3 Configuring Calendar for LDAP Users, Groups and Resources.
A group calendar can be created for any calendar-enabled LDAP group. This calendar can be scheduled much like an individual's calendar. Invitations sent to the group are scheduled to the group calendar and all individual member calendars. If a group calendar does not yet exist at the time it is invited to an event, and autoprovisioning is turned on, the system creates a calendar with a default set of properties and ACLs.
The following are some facts about group calendars:
Group calendars do not have user interface preference like calendars for individuals because no one logs into a group calendar.
Individuals need to subscribe to the group calendar to view it.
The group's owner is responsible for setting the appropriate ACLs.
Fetching free-busy information for a group calendar produces only the information for the group calendar, not the individual members' calendars.
If a group calendar ACL does not allow invitation by an event organizer, the system returns an error. No group members are invited in this case.
An organizer can invite a group using either its group calendar ID, or its mailing address.
For more information about Calendar Server users, see Chapter 14, Administering Users, Groups, and Resources.
A resource is anything that can be scheduled using a calendar, such as a conference room, or a projector. There is a separate resource LDAP entry for each such item. Create the LDAP entry and its associated calendar using the appropriate tools:
For Schema version 2 - Use Delegated Administrator to create the resource LDAP entry, and the Calendar Server utility resource to create the calendar.
For Schema version 1 - Use the csresource create command which creates both the resource LDAP entry and the calendar.
It is not necessary to explicitly create resource calendars. With autoprovisioning enabled, the first time a resource is invited, the system will automatically create a resource calendar for it. This is the same behavior as for users and groups.