Re: Authentication via AD

From: VK (VK_at_discussions.microsoft.com)
Date: 05/19/05


Date: Thu, 19 May 2005 06:32:05 -0700

Thanks Joe for the reply. Can you point me to some URLs which shows how to
use authenticate with AD? Also what do you mean wit:

> Another good option is to let Windows authenticate for you. Depending on
> your application architecture (you don't specify), this may or may not be
> possible.

I am kind of new in authentication. Thanks for any suggestions.

"Joe Kaplan (MVP - ADSI)" wrote:

> The preferred method of authenticating against AD is to us the SSPI API with
> the negotiate protocol. This is easy to do in .NET 2.0 with the
> NegotiateStream class, but requires some significant p/invoke in .NET 1.x.
> There are samples online though.
>
> Another good option is to let Windows authenticate for you. Depending on
> your application architecture (you don't specify), this may or may not be
> possible.
>
> LDAP should be possible if you have AD as it supports LDAP natively.
> However, I'd recommend avoiding LDAP authentication unless you have to use
> it.
>
> Joe K.
>
> "VK" <VK@discussions.microsoft.com> wrote in message
> news:0525D57E-3385-44AC-B588-C44526AB808E@microsoft.com...
> > Hello,
> >
> > I want to authenitcate my users against the Active Directory. Do I have
> > to
> > go through the LDAP to do that? We are not using LDAP. I have googled and
> > found several examples - however they all use LDAP.
> >
> > Any suggestions?
> > Thanks
>
>
>