Talk About Network

Google





Software > ADSI General > Authenticate wi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 5275 of 5437
Post > Topic >>

Authenticate with Novell Edirectory with .Net 2.0 DirectoryServices

by andrewt@[EMAIL PROTECTED] May 13, 2008 at 09:39 AM

I have code (VB.NET, .Net 2.0) that authenticates to Novell Edirectory
over LDAP (below). I need to change it to work over SSL, but I can't
get it to work.

        Dim dn As String = "cn=" & username & ",ou=users,o=org"
        Dim path As String = "LDAP://sub.domain.com"
        Dim entry As DirectoryEntry = New DirectoryEntry(path, dn,
pwd, AuthenticationTypes.FastBind)

I have tried changing the AuthenticationType to SecureSocketsLayer
(which is suggested in this article
http://www.codeproject.com/KB/system/arbauthentication.aspx),
but that gives the error: "The server is not operational".  I can see
from the netstat that it is using ldaps....
TCP    r2d2:1295              sub.domain.com:ldaps  TIME_WAIT
TCP    r2d2:1297              sub.domain.com:ldaps  TIME_WAIT

Another potential issue is that it is a self signed certificate, not
one from a trusted CA. From this thread I suspect that may be the
issue.
http://groups.google.com/group/microsoft.public.adsi.general/browse_thread/thread/a120749f1c1522b4/ec3a9651db205107?hl=en&lnk=st&q=edirectory+directoryentry+error+bind#ec3a9651db205107

This article suggests adding the cert to the "Windows certificate
store", unfortunately I don't know what that means. I have googled for
it but it's a vague term.
http://forge.novell.com/pipermail/activex_ldap-dev/2004-December/000857.html

Does anyone have a suggestion?
 




 4 Posts in Topic:
Authenticate with Novell Edirectory with .Net 2.0 DirectoryServi
andrewt@[EMAIL PROTECTED]  2008-05-13 09:39:54 
Re: Authenticate with Novell Edirectory with .Net 2.0 DirectoryS
"Joe Kaplan" &l  2008-05-13 12:33:09 
Re: Authenticate with Novell Edirectory with .Net 2.0
andrewt@[EMAIL PROTECTED]  2008-05-20 15:17:54 
Re: Authenticate with Novell Edirectory with .Net 2.0 DirectoryS
=?Utf-8?B?R2Vvc3Ns?= <  2008-06-24 18:09:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 19:02:29 PST 2009.