473,503 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LDAP Connection Issue

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
Aug 18 '08 #1
1 2098
On Aug 18, 2:35*pm, Hutty <Hu...@discussions.microsoft.comwrote:
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,d*c=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
http://support.microsoft.com/kb/321051
Aug 18 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4964
by: jeremy | last post by:
Hello. I have an asp.net application that resides on a non-DC / BDC Sharepoint Server (although it is logged into the domain). The application will perform lookups based on the current user...
7
6773
by: Amar | last post by:
I am trying to connect to my college LDAP directory using ASP.NET. This LDap does not have security as it returns only user demographic information. i do not need to bind with a username or...
5
2320
by: Bryan | last post by:
Hello, I have a asp.net app working with directory services on my Windows XP development machine. However when I moved the application over to our production server (Win 2000 Server) it no longer...
2
10722
by: Neil via .NET 247 | last post by:
I have some code vb.net winforms, that works fine most of the time but stops working occasionally such as right now. The code is this Dim objDE As New DirectoryEntry("LDAP://" & DomainName) Dim...
1
21982
by: LDAP Connection stays open | last post by:
Howzit. I am currenlty using .NET C# to connect to the normal eDirectory tree to auth users. My code is 3 lines long, using the Novell LDAP/C# API examples. The code work 100% and the users...
4
6554
by: Terry Miller | last post by:
I have DB2 V8.2 loaded on a Redhat Enterprise Linux version 3 (RHEL 3) box. RHEL is configured to talk to LDAP for authenticaton besides the local passwd file. I can verify this by executing an su...
0
1714
by: sbartz | last post by:
Greetings, My ldap application relies on user input for a ldap server uri, so I am looking for a way to use the ldap api to determine whether the ldap server is up or not. All the docs have to...
7
7018
by: MrHelpMe | last post by:
Sorry everyone, NOTE: I have posted this question to another site but unfortunately, am not getting the answers I need only because those helping haven't worked with ASP. I am in desperate...
1
3974
by: Matrixinline | last post by:
Hi I have a application to search an entry in the LDAP server. I tried to run this application and it runs perfectly. But the issue is I am nnot able to Login to the server and searhc for the...
0
7072
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7319
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4998
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3149
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
373
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.