I implemented LDAP FBA on one of my sites based on this lab: http://www.microsoft.com/en-us/download/details.aspx?id=34684
It works great. I wanted users to login using their email address, changed the userNameAttribute to mail and now users can login with their email address as it shows on the AD.
The problem is that the email address is also set as the display name. After researching I realized this is because how their User Profile is being created so I need to setup User Profile Sync, which I did BUT, the user profiles were created with the samAccountName as the user name so when users login with their email address, it doesn't pickup the profile and still creates a new profile based on the email...
The Profile Sync is configured for the FBA provider and all the users are being synced correctly. I used the following post to try and solve this:
Any help would be greatly appreciated!!!