If you are using VS 2003, you cannot dev for .NET 2.0 unfortunately. You
would need a different tool to write .NET 2.0 code, although you can compile
directly with the platform SDK.
I say this is not related to ASP.NET as all of the functionality in question
is in the System.DirectoryServices assembly and ADSI and Windows LDAP (and
other lower layers like auth, network, DNS, etc.). ASP.NET apps can use
LDAP, but they aren't really different from other .NET apps that might want
to do so except that they have more complicated security scenarios in some
cases.
If you want to do client certificate authentication with LDAP, this is
possible and supposedly works with ADSI (and thus System.DirectoryServices).
I've never tested it though. You basically need to configure your
DirectoryEntry objects to use AuthenticationTypes.SecureSocketsLayer and
need to configure the ASP.NET account to have access to the client
certificate and private key. The latter is the hard part. Note that you
don't control the SASL stuff directly though with this. It is all done at a
lower level.
What are you specifically trying to accomplish? Do you need to use a
special SASL provider with an LDAP bind or what?
Joe K.