Sun Java System Calendar Server 6 2005Q4 Administration Guide

ProcedureTo Configure Search Filters for LDAP Attendee Lookup

  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 parameters in the following table:


    Tip –

    In all the parameter descriptions that follow, %s allows only a single attendee.


    Parameter  

    Description/Default  

    local.lookupldap.calid.direct

    The search filter for calid-search-type using direct lookup. The default is: "(icsCalendar=%s)

    %s–The attendee string. 

    local.lookupldap.cn.direct

    The search filter for cn-search-type in direct lookup. The default is:  

    "(&(cn=%s)
    (|(objectclass=groupofuniquenames)
    (objectclass=icsCalendarResource)
    (objectclass=person)))"

    %s – The attendee string.

    local.lookupldap.cn.search

    The search filter for cn-search-type in search dialog lookup. The default is for a single attendee string (%s):

    "(&(cn=%s)
      (|(objectclass=groupofuniquenames)
      (objectclass=icsCalendarResource)
      (objectclass=person)))"

    For a wild card search (multiple search strings): 

    "(&(cn=%w)
      (|(objectclass=groupofuniquenames)
      (objectclass=icsCalendarResource)
      (objectclass=person)))"

    %w – Causes expansion to a list of attendee strings. For example: %w=”Mary Ann Smith” expands to:

    (& (cn=*Mary*) (cn=”*Ann”)
     (cn=*Smith*)

    local.lookupldap.gid

    The search filter for gid search type. The default is:

    "(&(cn=%s)
       (objectclass=groupofuniquenames))"

    %s — A single attendee string.

    local.lookupldap.mailto.indomain

    The search filter for mailto-search-type in the domain specified by local.smtp.defaultdomain. The default is:

    "(|(mail=%s)(mail=%h)(mail=*<%s\>*)
       (uid=%o))"

    %s – The attendee string.

    %o – The attendeeuid.

    %h – The query string without the domain part.

    For example: if %s=jdoe@sesta.com, %o=jdoe@sesta.com and %h=jdoe, then the value is:

    (|(mail=jdoe@varrius.com)
       (mail=jdoe)
       (mail=*<jdoe@varrius.com\>*)
       (uid=jdoe@varrius.com))

    local.lookupldap.mailto.outdomain

    The search filter for mailto-search-type where the domain is not the one specified by local.smtp.defaultdomain. The default is: "(|(mail=%s)(uid=%s))"

    %s – The attendee string.

    local.lookupldap.res

    The search filter for res search type (resource search). The default is:

    "(&(cn=%s)
       (objectclass=icsCalendarResource))"

    $s – The attendee string.

    local.lookupldap.res.ugldap

    The search filter for res search type (resource search) only on the User/Group LDAP server. This is only set when local.lookupldap.resource.use.ugldap is set to “yes”. The default is:

    "(&(cn=%s)
       (objectclass=icsCalendarResource))"

    %s – The attendee string.

    local.lookupldap.uid.direct

    The search filter for uid search type using direct lookup. The default is:

    "(|(uid=%s)(&(cn=%s)
       (|(objectclass=groupofuniquenames)
       (objectclass=icsCalendarResource)
       (objectclass=person))))"

    %s – The attendee string.

    local.lookupldap.uid.search

    The search filter for uid search type lookup using a search dialog. The default is:

     

    "(|(uid=%o)(&(cn=%w)
       (|(objectclass=groupofuniquenames)
       (objectclass=icsCalendarResource)
       (objectclass=person))))"

    %s – The attendee string.

    %w – The attendee string with wildcards.

    %o – The attendee string without wildcards.

  5. Save the file as ics.conf.

  6. Restart Calendar Server.

    cal_svr_base/SUNWics5/cal/sbin/start-cal