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:
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.
Use commadmin resource create to create a directory entry and use the csresource utility to create a calendar. For 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 -o test1 -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: firstname.lastname@example.org:resourceOne
NOTE: When you invoke the create command in csresource, the value you enter for the name of the resource must be the same as the value used for the -u option in commadmin resource create.
You can now log in as any user and invite the resource to an event.
For a detailed description of the csresource utility, see the “Calendar Server Command-Line Utilities” in the Sun Java System Calendar Server Administration Guide.