Hi,
I created one web application with authentication using the LDAP. We have different domains in forest. My web application is hosted in domain 'A'. When user of Domain 'A' access the application and provides the credential then it authenticates succesfully. when user of Domain 'B' access the application using the url (application is in Domain 'A') in it's domain then login screen appears to user. He provides its credential but it does not validate the credential of Domain 'B' user. I have been stuck in this problem. Can any one can help me to resolve this issue why domain B user does not authentiacte.
I have written the correct code while authenticate the user as LDAP. I gets LDAP connectionstring from the forest domain according to the domain provided.
Like userName = A\sachin LDAP conectionString = LDAP://a.company.com
or = B\sachin LDAP conectionString = LDAP://b.company.com
Can anyone help me to resolve the issue.
Thanks in advance.
Sachin Saxena