Re: Authenitcating against ADAM
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 9 Apr 2007 13:20:42 -0500
If you are writing an ASP.NET 2.0 app, you best bet might be to use the
ActiveDirectoryMembershipProvider that comes with .NET. It does a nice job
of authenticating against both AD and ADAM and will give you good
performance and scalability.
If you need to write the code yourself, the key is to do an LDAP simple bind
or use Digest authentication if you can use S.DS.Protocols (also .NET 2.0).
I have a blog posting on that which may be helpful:
http://www.joekaplan.net/AnotherSDSPonlyFeatureDigestAuthentication.aspx
If you must do a simple bind, then be aware that it won't be secure unless
you SSL-enable ADAM, as the credentials will be passed in plaintext on the
network between the LDAP client and the ADAM server.
Also, chapter 12 from our book is on using AD and ADAM for authentication
purposes. You can find a reference to it in the link in my sig. The code
samples are free. :)
If none of that helps, please post the code you are using so we can see what
isn't working.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"john" <john@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3BD4B3C1-C3DA-435F-B322-10FCE85559F5@xxxxxxxxxxxxxxxx
I am writing a .NET application that needs to authenticate against ADAM.
How
do I go about it? I was able to authenticate against AD, but not having
any
luck with ADAM.
Any help would be greatly appreciated. Thanks.
.
- Prev by Date: Re: identify which DC is authenticated
- Next by Date: Re: Query AD from DMZ via LDAP?
- Previous by thread: Query AD from DMZ via LDAP?
- Next by thread: Re: instituting ad password policy
- Index(es):
Relevant Pages
|
Loading