Prabhakar Bugga commented on Jun 1, 2012

Re: Choosing login values

Please change the Custom attributes statement below.

You can specify a custom attribute if your directory uses a unique login attribute other than, for example, uid, mail, or cn.

cn is also not in User Profiles and loginId in User Profiles need to be populated with cn values from LDAP to use cn.