I am following the link
Trying to implement the same in my application.I am confused about the LDAP connection string beacause i don't have any .com as domain.I do have simple domain like this "aaa-bbbb.xxxx".
I m trying this way "LDAP://ipaddress/cn=users,dc=aaa-bbbb,dc=xxxx" and
<membership defaultProvider="AspNetActiveDirectoryMembershipProvider">
<providers>
<add name="AspNetActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider" connectionStringName="ADConnectionString" connectionUsername="Username" connectionPassword="Password"/>
</providers>
</membership>
but i am unable to validate the user ?