S
sck10
Hello,
I am running the routine below and I am getting the following error at For
Each result In srcLDAP.FindAll.
System.Runtime.InteropServices.COMException. The requested authentication
method is not supported by the server.
Any help with this would be appreciated.
--
Thanks in advance,
sck10
Sub LDAP(ByVal strID As String)
Dim strFilter As String = "(employeenumber = " & strID & ")"
Dim strLDAP As String =
"LDAP://ldap-uscentral.post.myaddress.com:389/o=myaddress.com/ou=people"
Dim dsLDAP As New DirectoryEntry(strLDAP)
Dim srcLDAP As New DirectorySearcher(dsLDAP)
Dim result As SearchResult
srcLDAP.Filter = (strFilter)
For Each result In srcLDAP.FindAll
Console.WriteLine(result.GetDirectoryEntry().Path)
Next
END Sub
I am running the routine below and I am getting the following error at For
Each result In srcLDAP.FindAll.
System.Runtime.InteropServices.COMException. The requested authentication
method is not supported by the server.
Any help with this would be appreciated.
--
Thanks in advance,
sck10
Sub LDAP(ByVal strID As String)
Dim strFilter As String = "(employeenumber = " & strID & ")"
Dim strLDAP As String =
"LDAP://ldap-uscentral.post.myaddress.com:389/o=myaddress.com/ou=people"
Dim dsLDAP As New DirectoryEntry(strLDAP)
Dim srcLDAP As New DirectorySearcher(dsLDAP)
Dim result As SearchResult
srcLDAP.Filter = (strFilter)
For Each result In srcLDAP.FindAll
Console.WriteLine(result.GetDirectoryEntry().Path)
Next
END Sub