user3251599
user3251599

Reputation: 11

LDAP connection error code {"Unknown error (0x80005000)"}

Dim oEntry As DirectoryEntry
Dim path As String = "ldap://10.0.17.79:389/dc=maxcrc,dc=com"
Dim username As String = "cn=Manager,dc=maxcrc,dc=com"
oEntry = New DirectoryEntry(path, username, "abc")

unable to connect to openLDAP server.

Upvotes: 1

Views: 2897

Answers (1)

Nagaraj S
Nagaraj S

Reputation: 13484

Use LDAP instead of ldap

MSDN says

The section of the Path that identifies the provider (precedes "://") is 
case-sensitive. For example, `"LDAP://"`

Dim path As String = "LDAP://10.0.17.79:389/dc=maxcrc,dc=com"

MSDN

Upvotes: 3

Related Questions