Author: hiteshspatel | Posted on: 5/12/2010 9:47:12 AM | Views : 456

Hi All,
I am able to use LDAP authentication in my program by using following URL:
string LDAPurl = "LDAP://" + Server2.xyz.com 

the following one is also working fine,
string LDAPurl = "LDAP://" + "//OU=people,DC=xyz,DC=com";
 
but if I apply the following then it gives the error:


string LDAPurl = "LDAP://" + Server2.xyz.com + "//OU=people,DC=xyz,DC=com";
(OU=people is dummy entry, I am using valid OU in my source code).
Go to the complete details ...