Advertisement
Advertisement
| 05.08.2008 at 12:32PM PDT, ID: 23387364 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
Try
Dim con As New LdapConnection("server")
Dim value As New System.Net.NetworkCredential(username, pwd, domain)
con.AuthType = AuthType.Basic
con.Credential = value
con.Bind()
Catch ex As Protocols.LdapException
MessageBox.Show(ex.Message)
MessageBox.Show(ex.ErrorCode)
|