User-1409181380 posted
I have to connect to an LDAP server to authenticate users when the log into a web application. Unfortunately I am a novice when it comes to LDAP. I have given a sample procedure written in PHP that I can use a template. However I have a couple of questions
of how things translate from PHP to .NET and the DirectoryServices.
ldap_connect and ldap_bind:
is this the equivalent of using New DirectoryEntry(<server_name>)? or are there also two statements to connect and bind
ldap_search:
how can i specify the search base (root) from which to begin the search?
ldap_get_dn:
how to I get the DN for an entry that was found using ldap_search.
Any help or pointers would be greatly appreciated?