Sun Java System Instant Messaging 7.2 Administration Guide

Using an Attribute Other than uid for User IDs

If your directory does not use the uid attribute for user IDs, you need to configure the Instant Messaging server with the attribute used by your directory. By default, Instant Messaging uses uid. In addition, you should index the attribute in the directory to help offset any performance degradation caused by searching on unindexed attributes.

Use the iim_ldap.user.uidattr parameter to specify which attribute to use for user IDs.

ProcedureTo Change the Attribute Used for User IDs

  1. Open iim.conf.

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

  2. Specify the attribute you want to use for user IDs as the value for iim_ldap.user.uidattr.

    The default value is uid.

    For example, to use the loginname attribute, set the iim_ldap.user.uidattr attribute as follows:

    iim_ldap.user.uidattr=loginname

  3. Save and close the file.

  4. Add the index directive to the indexing rules in LDAP:

    index loginname eq