Authenticate User with LDAP


H

Hutty

I am new at trying to authenticate users against LDAP. I am getting the error
"Unable to establish secure connection with the server" with my current code.
Here's what I have thus far.

<add name="ADConnectionString"
connectionString="LDAP://ldap-r.hutty.com:389/cn=finmed,ou=roles,dc=hutty,dc=com"/>
<add name="MyADMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web,
Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADConnectionString"
connectionUsername="cn=finmed,ou=roles,dc=hutty,dc=com"
connectionPassword="password" />


This is the information that directory services provided to me.

Name= Value
LDAP Username (Simple Bind)= cn=finmed,ou=roles,dc=hutty,dc=com
LDAP URL= ldaps://ldap-r.hutty.com:636
LDAP Searchbase= ou=people,dc=hutty,dc=com
UserID Attribute Name= uid
Simple or Anonymous Bind?= Simple


Any help appreciated. Thanks.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top