I have installed OpenLDAP for Windows on my machine, but not able to connect to my local LDAP sever from my ASP.NET application.
The first step I have in my code is the creation a new DirectoryEntry instance:
DirectoryEntry entry = new DirectoryEntry("LDAP://maxcrc.com");
It throws an exception saying "The sever is not operational"
I have tried LDAP clients programs and they seem to connect fine to localhost or (127.0.0.1) with the following DCs:
DC=maxcrc,DC=com
I tried several ways to connect but nothing including (LDAP://localhost, LDAP://DC=maxcrc,DC=com or LDAP://localhost/DC=maxcrc,DC=com)