You can start with the following elements in your web.config:
<connectionStrings>
<remove name="ADConnectionString"/>
<add name="ADConnectionString" connectionString="LDAP://dc01.mydomain.com/OU=group,DC=mydomain,DC=com"/>
</connectionStrings>
<system.web>
<authentication mode="Forms">
<forms loginUrl="Login.aspx" protection="All" timeout="30" name="AppNameCookie" path="/" requireSSL="true" slidingExpiration="true" defaultUrl="default.aspx" cookieless="UseCookies" enableCrossAppRedirects="false"/>
</authentication>
<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>
<membership defaultProvider="MembershipADProvider">
<providers>
<clear/>
<add name="MembershipADProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider" connectionStringName="ADConnectionString" connectionUsername="admin" connectionPassword="pass"/>
</providers>
</membership>
In your Login.aspx page have the following:
<asp:Login ID="Login1" runat="server" MembershipProvider="MembershipADProvider" >
</asp:Login>
In your login.aspx codebehind have the following event handler for Login1.Authenticate
Protected Sub Login1_Authenticate(ByVal sender As Object, _
ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs) Handles Login1.Authenticate
Dim isValid As Boolean = Membership.ValidateUser(Login1.UserName, Login1.Password)
e.Authenticated = isValid
If isValid Then
FormsAuthentication.RedirectFromLoginPage(Login1.UserName, True)
End If
End Sub

Please remember to "mark as answered" posts that have helped you.
-----
http://lsudotnet.blogspot.com