Re: ADAM hierarchy differs from AD hierarchy

Tech-Archive recommends: Fix windows errors by optimizing your registry



Answers inline...

--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net



"Nicolouw M. Kruger via WinServerKB.com" <u33094@uwe> wrote in message
news:729c2a26fcaeb@xxxxxx
Hi

Am starting this new thread after our first phase with ADAM as per

"ADAM Design Question: userProxy and Groups" on this forum

We now want to integrate our working ADAMs with another LAN AD (LAD) that
has
a different hierarchy to the legacy Application AD (AAD) that we are
integrated with at present. We are using userProxyFull between our ADAMs
and
the AAD. The application binds via userPrincipalName (UPN) and all is
working
fine with AAD bind redirection, etc. Now with this LAD we see it has an OU
hierarchy that is quite different to the AAD hierarchy which is actually
quite flat, i.e. just the "CN=Tom Jones, CN=Users, DC=domainX, DC=regionY"
and all users sit within that base DN.

Now I'm wondering is there not an AD functionality to create a "virtual
view"
in the LAD that is similarly flat to the way the AAD appears to me? In
other
words, I do not want to move the existing users from within their OU
structure (mostly branches of the company) in the LAD but just want to
create
another view of all users across all OU's in a "flat" container that is
totally virtual. I'm then hoping to do my integration work from ADAM to
this
virtual view instead of the real OU/branch containers.

AD doesn't have any concept of virtual attributes or views, nor is there
really a product such as Sun's Directory Proxy Server to provide virtual
directory views.

You could utilise MIIS/ IIFP and have a replica of the objects in a flat
ADAM instance and use that, but that's a lot of overhead for little gain.
Although using an ADAM instance which has everything in the metaverse is a
very fat and poor way of doing what Directory Proxy Server does : )


Alternatively I presume I must re-build the current ADAM hierarchies to
match
the "branch" hierachy of the LAD, right? The challenge is that the Groups
now
in ADAM does not exist in the LAD and never will; they are Application
Groups
and the LAD Groups are altogether different. So, I need to construct these
hierarchies and re-build all the existing Groups (as from original AAD) to
now point to the DN of the user as per the DN structure of the LAD instead
of
the DN structure as in present AAD. Note that the Groups in AAD are now
redundant since the Groups are now in ADAM with only the user still
"living"
in the AAD.

Why do the structures need to match. The bindProxy isn't mapped to the AD
object via DN, it's retrieved via SID, so where the objects lie is
irrelevant isn't it?

Re-reading your paragraph it's not clear to me what you are trying to
achieve here. Care to elaborate? I'm not familiar with your previous
posts.


We want the user to "live" in the LAD - that is the challenge.

Finally, just double checking my understanding of how the authentication
process works as initiated from LDAP client into ADAM and then through the
bind redirection to the backend AD. We do the simple bind using two
methods
from what I can see. When the user starts first login then the application
binds with the full DN of the App ID e.g. "CN=ADAMapp, CN=Users,
DC=domainX,
DC=regionY". ADAM then takes this full DN and authenticates against AD
using
that and the event logs do show the SAM name of that account, i.e.
ADAMapp.

When you bind to ADAM, ADAM locates the object that you bind with (there are
multiple supported formats) and then, if the object is a proxy, uses the SID
to retrieve the AD account and authenticates against AD using the
sAMAccountName and the password passed with the simple bind.

As for what is audited, *I think* the ADAM instance audits the simple bind
and both the workstation and the DC audit the [Windows] logon using the AD
credentials by the ADAM server.


Secondly, once the App has checked OK, it then search (this is JBoss doing
this) for the user using the UPN in ADAM, e.g. "tjones" which ADAM then
finds
in its repository, but it then passes through the full DN for that user to
AD
since in the Windows event log I can see the full DN for that user,
although
I have also observed log entries agains the UPN that the user logged in
with
e.g. "tjones"

I don't believe this is the case. The DN might well be there for info.
purposes (I'd need to test and can't now) but the authentication isn't using
the DN as it's not performing a simple bind -it's doing Windows Kerberos or
NTLM authentication using whichever SSPI is negotiated.


Your advice/pointers will once be much appreciated...

Nicolouw

--
Nicolouw Kruger (CISSP)
J2EE Security and Solutions Architect

Message posted via WinServerKB.com
http://www.winserverkb.com/Uwe/Forums.aspx/windows-server-ad/200705/1



.



Relevant Pages

  • Re: ADAM Design Question: userProxy and Groups
    ... from an AAD group to a LAD group as the AAD group just looks like a list of ... DNs from the AAD which will not match the DNs of the LAD users? ... to agree with DNs of ADAM userProxy objects. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Design Question: userProxy and Groups
    ... The two are not integrated in any way, so users log into LAD ... The AAD is used when the ... user logs into App, and it contains ... Our goal is to move all the AAD groups and roles to ADAM and then for every ...
    (microsoft.public.windows.server.active_directory)
  • Re: How Redirect ADAM to AD ?
    ... To use a simple bind, you must create bind proxy objects in ADAM for your AD ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... LDAP bind, then a bind proxy is what you want to create. ...
    (microsoft.public.windows.server.active_directory)
  • Re: adam bind-redirect
    ... could benefit from bind redirect/User Proxy Object ... The store for Azman will also be an ADAM. ... > They have there own SSO solution thats similar to forms authentication. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Sign in Problem
    ... Are you trying to do simple bind with a Windows user? ... By default, ADAM can ... exist in the Adam Instance and ist not disabled. ... account is disabled due a password that does not conform to the ...
    (microsoft.public.windows.server.active_directory)