OpenLdap SharePoint 2010 Setup

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:

WireShark1

This screenshot shows the next request working:

WireShark2

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.

WireShark3

This is a screenshot using Softerra LDAP Browser to show the user configured in OpenLdap:

LdapBrowser1

Am I missing something in the web.config file?


August 28th, 2015 9:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics