Tutorial by Examples

Set up some constants for the server and authentication information. Assuming LDAPv3, but it's easy enough to change that. // Authentication, and the name of the server. private const string LDAPUser = "cn=example:app:mygroup:accts,ou=Applications,dc=example,dc=com"; private readonly ch...
Assuming LDAPv3, but it's easy enough to change that. This is anonymous, unencrypted LDAPv3 LdapConnection creation. private const string TargetServer = "ldap.example.com"; Actually create the connection with three parts: an LdapDirectoryIdentifier (the server), and NetworkCredentials....

Page 1 of 1