A resource consists of two data descriptions: a directory entry and a calendar in the Calendar Server database. The directory entry has an attribute, icsCalendar, whose value is the name of the calendar associated with the resource.
You can create a resource with the two data descriptions, using either of the following methods:
Use commadmin resource create to create a directory entry.
The calendar for the resource is created automatically when the resource is first invited to an event. The ics.conf parameter, resource.invite.autoprovision, determines whether a resource's calendar is created automatically when the resource is invited to an event. By default, the value of this parameter is set to Yes.
To create the resource's calendar before any invitations are sent to the resource, use the cscal utility.
Example
Use commadmin resource create to create a directory entry:
commadmin resource create -D amadmin -w ampassword -n blink.sesta.com \ -X blink -p 5555 -d varrius.com -u resourceOne \ -N firstResource -c resourceOneCalendar |
The directory entry is as follows:
dn: uid=resourceONE,ou=People,o=varrius,o=domainroot uid: resrouceONE objectClass: icsCalendarResource objectClass: top cn: firstResource icsStatus: active icsCalendar: resourceOne |
Use the csresource utility by itself. The csresource utility creates a directory entry and a calendar.
However, using csresource to create both the directory entry and the calendar is only recommended if the directory is in a Schema 1 environment and you are not using Access Manager.
You can now log in as any user and invite the resource to an event.
For a detailed description of the csresource and cscal utilities, see Appendix D, Calendar Server Command-Line Utilities Reference, in Sun Java System Calendar Server 6.3 Administration Guide.