Re: Authenitcating against ADAM



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.



.



Relevant Pages

  • Re: Security Logging in ADAM
    ... How does an anonymous login authenticate anyone? ... If a bind was performed against ADAM, there should be a matching audit event ... in the security event log on the ADAM machine assuming that logon events are ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Proxy Bind re-direction - In reverse
    ... be to authenticate against ADAM via an LDAP bind and then use Kerberos S4U ... to do protocol transition to create a Windows logon token for the user. ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Authentication
    ... The client app in question is the Windows Address Book. ... Joe Kaplan wrote: ... The ADAM ADSI editor ... then ADAM would be able to authenticate users from HOME. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Authentication
    ... The ADAM ADSI editor ... then ADAM would be able to authenticate users from HOME. ... if I attempt to bind to the ADAM instance using that same ... Lets say my domain username is CAMPUS/aaron. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Security Logging in ADAM
    ... How does an anonymous login authenticate anyone? ... If a bind was performed against ADAM, there should be a matching audit event ... in the security event log on the ADAM machine assuming that logon events are ... security events, and when I log in as that user using ADSI edit, I get ...
    (microsoft.public.windows.server.active_directory)

Loading