I am trying to set up SharePoint OpenLdap FBA. I think it is close, but not sure where things are breaking down.
web.config membership configuration:
<add name="LdapMembership" type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" server="ldap5.hitachi-hta.com" port="389" useSSL="false" useDNAttribute="false" userNameAttribute="uid" userContainer="ou=HTA,DC=hitachi-hta,DC=com" userObjectClass="person" userFilter="(ObjectClass=person)" scope="Subtree" otherRequiredUserAttributes="uid,cn" connectionUsername="cn=admin,dc=hitachi-hta,dc=com" connectionPassword="xxxxx" />
web.confg role configuration:
<add name="LdapRole" type="Microsoft.Office.Server.Security.LdapRoleProvider, Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" server="ldap5.hitachi-hta.com" port="389" useSSL="false" groupContainer="DC=hitachi-hta,DC=com" userNameAttribute="uid" useUserDNAttribute="false" userFilter="(ObjectClass=person)" groupNameAttribute="cn" dnAttribute="" scope="Subtree" connectionUsername="cn=admin,dc=hitachi-hta,dc=com" connectionPassword="xxxxx" />
I am using WireShark to help me determine where things are not working. This screenshot shows the connectionUsername being used. It appears to be working correctly:
This screenshot shows the next request working:
This next screenshot shows searching for 'dhamilto' user. Not sure why user is not found. Notice the filter being applied '(&(objectClass=groupofuniquenames)(cn=dhamilto))'. I am thinking that is the problem, but am not sure.
This is a screenshot using Softerra LDAP Browser to show the user configured in OpenLdap:
Am I missing something in the web.config file?