Connecting to LDAP from C# using DirectoryServices

Well, I think your connection string is missing a bit – specifying just the server name isn’t good enough – you also need to specify a “starting point” for your search. In AD, this would typically be something like the “Users” container in your domain, which you’d specify like this in LDAP parlance: LDAP://novellBox.sample.com/cn=Users,dc=YourCompany,dc=com Not … Read more