Open iim.conf.
See iim.conf File Syntax for instructions on locating and modifying iim.conf.
Search for and replace uid with the attribute you want to use for user authentication in the following parameters:
iim_ldap.loginfilter
iim_ldap.usergroupbyidsearchfilter
Save and close the file.