Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Authenticate User with LDAP

Reply
Thread Tools

Authenticate User with LDAP

 
 
Hutty
Guest
Posts: n/a
 
      08-12-2008
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.ActiveDirectoryMembershi pProvider, 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.

--
Hutty

--
Hutty
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
python-ldap/win32 or python/ldap/win32 rcmn Python 1 11-06-2006 11:47 PM
Need to wrtie LDAP class to *answer* LDAP queries. junk1@davidbevan.co.uk Java 1 02-21-2006 09:59 PM
Authenticate users using AD and LDAP Sync Walantaji ASP .Net 7 11-17-2004 01:15 AM
using LDAP Controls in ruby-ldap Jason Wold Ruby 5 11-07-2004 03:35 AM
Using Cisco ACS to authenticate against LDAP through SSL Silvio Arcangeli Cisco 0 10-20-2003 11:08 AM



Advertisments