To Configure LDAP Resource Lookup

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

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

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

Edit the parameter shown in the following table:

Parameter

Description/Default

local.lookupldap.resource.use.ugldap

Whether to use the User/Group LDAP server for resource lookup, or the Lookup
server.

“yes” – Use the User/Group LDAP server.

“no” – Use the Lookup server. The default
is “no”.

Save the file as ics.conf.

Restart Calendar Server.

cal_svr_base/SUNWics5/cal/sbin/start-cal

To Configure LDAP Mail-to-Calid Lookup

These parameters are used only for a non-hosted domain environment. If you have
deployed a hosted domain environment, the maillookup parameters
are ignored and the user and group LDAP values (ugldap) are used.

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

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

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

Edit one or more of the parameters in the following table:

Parameter

Description/Default

local.lookupldap.mailtocalid.search

Specifies the mail attributes to use for mail-to-calid lookup. The default is "(|(mail=%s)(mailalternateaddress=%s))”

You can substitute the attribute mailequivalentaddress in
place of mailalternateaddress.

local.maillookupldapbasedn

Specifies the base DN for mail-to-calid lookup. If not specified, uses local.ugldapbasedn.

local.maillookupldapbinddn

Specifies the DN to bind to the host used for mail-to-calid lookup. If not specified
(default is ““), anonymous bind assumed.

local.maillookupldapbindcred

Specifies the password for the DN specified in local.maillookupldapbinddn. No default.

local.maillookupldaphost

Specifies the LDAP host used for mail -to-calid lookup. If not specified, uses local.ugldaphost.

local.maillookupldapmaxpool

Specifies the maximum number of client connections maintained for mail-to-calid
lookup. If not specified, uses local.ugldapmaxpool. The default
is “1024”.

local.maillookupldappoolsize

Specifies the minimum number of client connections to maintain for mail-to-calid
lookup. If not specified, uses local.ugldappoolsize. The default
is “1”.

local.maillookupldapport

Specifies the port for the LDAP mail-to-calid lookup. If not specified, uses local.ugldapport. No default.

Save the file as ics.conf.

Restart Calendar Server.

cal_svr_base/SUNWics5/cal/sbin/start-cal

To Configure Calendar Server to Use the User Preferences LDAP
Directory

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

See Also

If Calendar Server or the server where Calendar Server is running is
not properly shut down, manually delete all files in the ldap_cache directory
to avoid any database corruption that might cause problems during a subsequent restart.

To Enable and Configure the LDAP SDK Cache

The LDAP SDK cache is disabled by default.

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

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

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

Editing one or more of the parameters as shown in the following table:

Parameter

Description and Default Value

service.ldapmemcache

If "yes", enables LDAP SDK cache. The default is “no”.

service.ldapmemcachettl

If service.ldapmemcache is "yes", this
parameter is used to set the maximum number of seconds that an item can be cached.
If “0”, there is no limit to the amount of time that
an item can be cached. The default is “30”.

service.ldapmemcachesize

If service.ldapmemcache is "yes", this
parameter is used to set the maximum amount of memory in bytes that the cache will
consume. If “0”, the cache has no size limit. The default
is “131072”.

Save the file as ics.conf.

Restart Calendar Server.

cal_svr_base/SUNWics5/cal/sbin/start-cal

To Set the Date Range for Free Busy Searches

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

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

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

Edit one or more of the following parameters as shown in the following
table:

Parameter

Description and Default Value

service.wcap.freebusybegin

Specifies the offset from the current time in days for get_freebusy for beginning of the range. The default is “30”.

service.wcap.freebusyend

Specifies the offset from the current time in days for get_freebusy for end of the range. The default is “30”.

Save the file as ics.conf.

Restart Calendar Server.

cal_svr_base/SUNWics5/cal/sbin/start-cal

To Enable Wildcard LDAP Searches of Calendar Properties

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

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

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

Edit the parameter as shown in the following table:

Parameter

Description and Default Value

service.calendarsearch.ldap.

primaryownersearchfilter

The default search filter used for search_calprops searches
for exact matches to the search string. To allow wildcard searches such that matches
are found when the search string is merely contained within the property value, uncomment
this parameter. This enables the system to use the following search filter:

"(&(|(uid=*%s*)(cn=*%s*))
(objectclass=icsCalendarUser))"

Enabling this search filter can negatively impact performance.

Save the file as ics.conf.

Restart Calendar Server.

cal_svr_base/SUNWics5/cal/sbin/start-cal

To Set the LDAP Root Suffix

While it is possible to reset the root suffix for your LDAP organization tree
(Schema 2), or domain component tree (Schema 1), this should be done with great care.
It would be better to rerun the configuration program to do this.

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

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

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

Edit one of the parameters as shown in the following table:

Parameter

Description and Default Value

service.dcroot

Root suffix of the DC tree in the directory. Required for hosted (virtual) domain
mode support using Schema 1. The default is "o=internet".