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.
See iim.conf File Syntax for instructions on locating and modifying iim.conf.
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:
Save and close the file.
Add the index directive to the indexing rules in LDAP:
index loginname eq