I created a new webapplication, enabled FBA with membership provider named "sm_membership"
Then I modified the following web.config files to setup LDAP connection:
- web application web.config
- Secure Token Service web.config
- central admin web.config
all these web.config now have the correct LDAP connection string:
<add name="sm_membership" type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" server="" port="" useSSL="false" connectionUsername="" connectionPassword="" userDNAttribute="" userNameAttribute="" userContainer="" userObjectClass="inetOrgPerson" userFilter="uid" scope="Subtree" otherRequiredUserAttributes="uid,sn,givenname" />
However, when I try to create a site collection in this webapp and try to add a site collection administrator by putting in a username in people picker I get the following error in ULS:
Error resolving XXXXX from membership provider sm_membership: Microsoft.Office.Server.Security.LdapProviderException: Unexpected exception occurred, please contact administrator to resolve this issue.at Microsoft.Office.Server.Security.LdapMembershipProvider.GetUser(String valueToMatch, String propertyToMatch)
at Microsoft.Office.Server.Security.LdapMembershipProvider.GetUser(String name, Boolean userIsOnline)
at Microsoft.SharePoint.Utilities.SPMembershipProviderPrincipalResolver.ResolvePrincipal(String input, Boolean inputIsEmailOnly, SPPrincipalType scopes, SPPrincipalSource sources, SPUserCollection usersContainer)
at Microsoft.SharePoint.Administration.Claims.SPFormsClaimProvider.Resolve(SPPrincipalResolver resolver, Boolean inputIsEmailOnly, SPPrincipalSource pricipalSource, SPPrincipalType pricipalType, String resolveInput, List`1 resolved)
at Microsoft.SharePoint.Administration.Claims.SPFormsClaimProvider.FillResolve(Uri context, Boolean allZones, String[] entityTypes, String resolveInput, List`1 resolved)
The LDAP team says they can see the LDAP connection getting established but they do not see any query regarding user on their side.
Can anyone tell me what I am missing?