Download Dell One Identity Virtual Directory Server 6.1.0 User`s Reference

Transcript
5.3. HOW TO USE VIRTUAL TREES
data stored within your backend repositories. Additionally, you can create static entries within your Virtual Tree
as you require.
It may be useful to note, at this point, that canonicalization is automatically applied to all Virtual Tree nodes,
so that all requests are automatically converted to lower case, essentially rendering the Virtual Tree as caseinsensitive.
Once you have set up your backend DataSources, you will be able to create "Mount Points" within your tree.
Each Mount Point must map onto an available DN within a predefined DataSource. To create a mount point,
simply right click on a virtual entry and select the option to create a ’New mount point’. You will need to specify
an RDN for your mount point. Once you have created a mount point, you will need to specify the DataSource
that should be used for the mapping, and the DN that should be queried within that DataSource.
As incoming LDAP requests are intercepted by the listener, they are decoded and the DN for each request is
read directly from the PDU. If a search request contains a mount point, a subquery is generated to retrieve the
data from the appropriate DN on the appropriate DataSource. These responses are then manipulated so that
they appear to conform to the structure of the Virtual Tree. The responses are finally returned to the client.
5.3.2
Mount Point Roots
An alternate approach to building a Virtual Tree can be taken by creating a Mount Point Root. This approach
allows you to build a Virtual Tree structure using one of your backend servers as the core of the Virtual Tree.
A Mount Point Root can be created in a similar way to a Virtual Root, with the difference that it allows you to
specify the backend server and base DN that will be used to create the Virtual Tree. Once configured, any
query on the Virtual Tree will be transformed into a query within the DIT structure on the backend server. The
advantage is that you can quickly add other Mount Points and Virtual Entries to the Virtual Tree, allowing you
to easily integrate data from other backend servers or branches within the directory. You are also able to use
plugins within processing stages, either in front of the Virtual Tree, or behind it, to further manipulate how data
is presented and how requests and responses are handled.
This approach is similar to specifying a Default DataSource and then using a set of processing stages to achieve
the functionality that you require. Certainly building a Virtual Tree around a Mount Point Root is no different to
creating a Listener with a default DataSource and then implementing processing stages that use the Attach
Trees and Add Entries plugins. However, by creating a Virtual Tree around a Mount Point Root you can achieve
much of this functionality in a single point within your configuration and without using a collection of plugins to
achieve the blueprint against which you want to add more complex processing functionalities.
5.3.3
Mount Points and Virtual Entries inside of existing Mount Points
It is possible to create a Virtual Entry or to add a Mount Point as a child node within a Mount Point that you
have already created. This is a very powerful feature but is not without its own drawbacks. Depending on
the data stored below the parent Mount Point, you may need to add a Manual Processing stage to intercept
redundant searches that could cause one of the Backend systems to return an untruthful error message, since
the Backend system used by the parent Mount Point will be unaware of the virtual contents contained within the
virtual branch.
5.3.4
How searches below the root base are treated
An interesting behavior that results from the use of a Virtual Tree is the manner in which searches below the
root base are treated. Consider a Virtual Tree with its virtual root set to "dc=onecorp,dc=com". In the case of a
level one search on the base DN "dc=com", VDS will return a result populated with "dc=onecorp,dc=com". In
User Reference Manual
56