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 3 Topic 5270 of 5437
Post > Topic >>

Authenticate with Novell Edirectory with .Net 2.0 DirectoryServices

by andrewt@[EMAIL PROTECTED] May 8, 2008 at 11:18 AM

I am trying to authenticate with Edirectory with .Net 2.0, and I
always get an Exception with message "Unknown Error" when I try to
bind. Any ideas?

Currently I am trying to use the System.DirectoryServices library.
The connection to EDirectory server is over ssl. (ldaps)
I have tried numerous AuthenticationTypes including
SecureSocketsLayer, and FastBind.
I have also tried numerous paths, some of which are listed below.
        ldap://authldap.domain.edu  (with
AuthenticationTypes.SecureSocketsLayer)
        ldaps://authldap.domain.edu:636
        ldaps://authldap.domain.edu/?uid?sub?(objectClass=inetOrgPerson)
       
ldaps://authldap.domain.com/ou=users,o=org?uid?sub?(objectClass=inetOrgPerson)

        Dim dn As String = "cn=" & username & ",ou=orgunit,o=org"
        Dim path As String = "ldap://authldap.domain.edu"
        Dim entry As DirectoryEntry = New DirectoryEntry(path, dn,
pwd, AuthenticationTypes.SecureSocketsLayer)


I always get the Exception: Message    "Unknown error (0x80005000)"

        StackTrace    "   at
System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_Name()
 




 3 Posts in Topic:
Authenticate with Novell Edirectory with .Net 2.0 DirectoryServi
andrewt@[EMAIL PROTECTED]  2008-05-08 11:18:38 
Re: Authenticate with Novell Edirectory with .Net 2.0 DirectoryS
"Joe Kaplan" &l  2008-05-08 16:01:16 
Re: Authenticate with Novell Edirectory with .Net 2.0
andrewt@[EMAIL PROTECTED]  2008-05-09 14:13:11 

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:38:05 PST 2009.