Sun Java System Instant Messaging 7.2 Administration Guide

Modifying How Client Users Search for Contacts

By default the commonname or cn LDAP attribute is used as a search attribute for users. You can configure Instant Messaging to allow users to search on additional attributes. In addition, If your directory is indexed to allow the use of wildcards, you can configure the Instant Messaging server to allow wildcards in searches for contact names.

ProcedureTo Allow Users to Search on Custom Attributes

  1. Open iim.conf.

    See iim.conf File Syntax for instructions on locating and modifying iim.conf.

  2. Modify the iim_ldap.usergroupbynamesearchfilter attribute.

    This parameter specifies the LDAP search string used when searching for users or groups. Provide the attribute value in standard LDAP filter syntax. You can modify it to allow more complex searches. See your Directory Server documentation for more information on modifying search strings.

  3. Save and close the file.

ProcedureTo Allow Wildcards in Searches

  1. Open iim.conf.

    See iim.conf File Syntax for instructions on locating and modifying iim.conf.

  2. Set the iim_ldap.allowwildcardinuid parameter to True.

    This parameter determines if the use of wildcards should be enabled for User IDs while doing a search. Most directory installations have User IDs indexed for exact searches only, so the default value is False.

  3. Ensure that User IDs are indexed for substring search in your directory.

    Setting the iim_ldap.allowwildcardinuid parameter to True can impact performance unless User IDs are indexed for substring search in your directory. See your directory server documentation for instructions on indexing.