March 5th, 2010, 10:37 AM
Going from ldp.exe to .NET
I've got a program that uses LdapConnection to connect to an LDAP server. I had a test server that I connected to fine, but now I want to use my real LDAP server. I've got ldp.exe, and I can connect to my server using that, but I can't figure out how to do it using LdapConnection. I don't know which settings to set on my LdapConnection object.
Perhaps there is some other mechanism whereby I can use the specified settings to authenticate a user?
These are my settings:
Connection: Port: 636, SSL
Bind: Function Type: Generic, Synchronous, Use Auth. Ident, Method: SSPI