I have a web app that uses FBA and LDAP (Active Directory). Users are able to login to the site without any issue. As part of on boarding process, users are redirected to their mysite "edit profile" page where they have to fill in some basic info. The issues on this page:
- Name property is automatically filled out as i:email@example.com
- Work Email is not automatically filled out
During debugging I noticed, user's my settings page (/_layouts/userdisp.aspx?Force=True), show email address as their "name" and "work email" is also set to email address. This is valid for short period of time until the user profile to site sync timer job runs and then the values get updated according to their user profile.
My question is how can I:
- Automatically set a user's Name profile property to their name in AD (Smith, John)
- Set their Work Email to their email address
Also, I don't want to setup UPS for this web app as the requirement is to allow users to update their information.
Following is the ldap configuration
<add name="LdapMember" type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=220.127.116.11, Culture=neutral, PublicKeyToken=71e9bce111e9429c" server="xxxx.xxxx.com" port="389" useSSL="false" userDNAttribute="distinguishedName" userNameAttribute="userPrincipalName" userContainer="dc=xxxx,dc=com" userObjectClass="person" userFilter="(ObjectClass=person)" scope="Subtree" otherRequiredUserAttributes="sn,givenname,cn" />
Thanks and any help will be appreciated.