Re: Authenticating Web user and domain User with ADAM
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 4 Jul 2008 10:09:34 -0500
One option here would be to create bind proxy objects for the AD users in
your ADAM. This would allow your web app to do LDAP simple bind operations
for both the ADAM users and AD users and have them both be authenticated.
Bind proxy objects are basically just pointers to a Windows user account.
When ADAM receives a simple bind request for them, it forwards the
authentication to the operating system which then authenticates the user
with their Windows password.
An even easier option is to use ADAM pass through authentication. If your
app sends an LDAP secure bind to ADAM for the AD user, ADAM will forward
that directly to the OS so you don't need a bind proxy.
The tricky part of using pass through auth is that your app needs to issue
two different types of binds: simple bind for ADAM users and secure bind for
AD users. It can be tricky to know when to use which one although there are
ways you can design that (such as by using specific UPN suffixes for one or
the other or just trying both).
The downside with bind proxies is that you have to create those objects in
ADAM AND keep them in sync. The plus side is that simple bind will work for
both types of users.
I think the AD membership provider will only do simple bind or secure bind,
so if you wanted to use it to perform the authentication, bind proxy objects
would likely be the best bet.
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
--
"CrisRC600" <crigon@xxxxxxxxx> wrote in message
news:ac5f6418-3e15-43ef-b43d-d6d0eb8e50ba@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I'm trying to build a web application to authenticate users.
I've two scenarios
A - Users are in ADAM OU (most of my users , about 65000)
ex: CN=myUser,OU=41847,OU=Users,O=SistemiWeb
B - Other user are only in my Active Directory (about 250 users)
I would like to give all of them acces to my web apps with their user
name and pwd.
I've looked at ADAM and I'm thinking thad it could accomplish at my
goal, but I'm a beginner whit membership, provider, etc, and I'm not
able to find some clear example on the web.
If anyone could give me a referral I'll be very grateful
(sorry for my english...)
.
- Follow-Ups:
- Re: Authenticating Web user and domain User with ADAM
- From: CrisRC600
- Re: Authenticating Web user and domain User with ADAM
- References:
- Authenticating Web user and domain User with ADAM
- From: CrisRC600
- Authenticating Web user and domain User with ADAM
- Prev by Date: Re: Undo Account Lockout Policy GPO
- Next by Date: Re: How to purge old computers in my AD ?
- Previous by thread: Authenticating Web user and domain User with ADAM
- Next by thread: Re: Authenticating Web user and domain User with ADAM
- Index(es):
Relevant Pages
|
Loading