0

I am setting up claims auth for a site which needs to use LDAP. The connection needs to be made using a certain user account so I need to pass in the password. Does anybody has an example of a connection string that includes a password? I am using the following example to setup the ldap auth:

http://blogs.technet.com/b/speschka/archive/2009/11/05/configuring-forms-based-authentication-in-sharepoint-2010.aspx

And the similar membership and role provider info on that link. Sorry cant copy the info on this post, the editor won't allow it maybe because of the XML format.

Thanks!  

2

1 Answer 1

1

It looks like the link provided by Emon is broken, so I thought I'd provide a configuration here:

<add name="ldapmembership" 
type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral,          PublicKeyToken=71e9bce111e9429c"  
    server="xxxx"
    port="389" 
    useSSL="false" 
    userDNAttribute="uid" 
    userNameAttribute="uid" 
    userContainer="DC=xxxxx" 
    userObjectClass="person" 
    userFilter="(ObjectClass=person)" 
    scope="Subtree"
    useDNAttribute="false"  
    otherRequiredUserAttributes="uid,cn"
    connectionUsername="uid=xxxxx,OU=xxx,OU=xxxx,DC=xxxx"
    connectionPassword="xxxxx" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.