SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Need SharePoint Training? Attend a SharePoint Bootcamp!

Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!

Using LdapMembershipProvider in SharePoint, and get it to work!

At my current project we ran into some configuration problems when getting SharePoint to work with the LDAP Membership provider. We are using Dirx as the directory service.

After configuring the settings as described in various articles, we were able to add users to a site and fill the profiles, 

When we tried to log in with the user, a login failed appeared.

One more configuration setting solved the problem (thanx to Lutz Roeder's .NET Reflector)

The setting is useDNAttribute.  We couldn't find any documentation on this setting, but setting it to false worked!

<add name="LdapDirxMembership"
type="Microsoft.Office.Server.Security.LDAPMembershipProvider,
Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral,PublicKeyToken=71E9BCE111E9429C" server="10.145.192.207"
port="389"
useSSL="false"
useDNAttribute="false"
userDNAttribute="distinguishedName"
userNameAttribute="uid"
userContainer="ou=Extranet,o=Business"
userObjectClass="person"
userFilter="(ObjectClass=*)"
scope="Subtree"
otherRequiredUserAttributes="sn,cn"
/>


Posted 12-12-2006 7:52 PM by Unclaimed Blog

Comments

Imagine Think Create Share wrote Configuring LDAP Provider with MOSS 2007
on 07-22-2007 11:05 AM

Hi, Today I wanted to show you the neccessary steps to configure MOSS with the LDAP Provider (we will

Noticias externas wrote Configuring LDAP Provider with MOSS 2007
on 07-22-2007 12:06 PM

Hi, Today I wanted to show you the neccessary steps to configure MOSS with the LDAP Provider (we will

tony wrote re: Using LdapMembershipProvider in SharePoint, and get it to work!
on 10-11-2007 2:35 PM

Thanks,  this post save me.

Connecting Web Parts in SharePoint Portal Server 2003, Part 2 « Sharepoint Musing’s wrote Connecting Web Parts in SharePoint Portal Server 2003, Part 2 &laquo; Sharepoint Musing&#8217;s
on 07-10-2008 4:30 AM

Pingback from  Connecting Web Parts in SharePoint Portal Server 2003, Part 2 &laquo; Sharepoint Musing&#8217;s

Luis wrote re: Using LdapMembershipProvider in SharePoint, and get it to work!
on 04-17-2009 9:11 AM

what about roles? did you get that to work too?

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Need SharePoint Training? Attend a SharePoint Bootcamp!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.