Creating Views in the Console

Figure 5.4. A Directory Tree with a Virtual DIT View hierarchy

Virtual DIT views behave like normal DITs in that a subtree or a one-level search can be performed with the expected results being returned.

TIP

There is a sample LDIF file with example views entries, Example-views.ldif, installed with Directory Server. This file is in the /usr/share/dirsrv/data directory on Red Hat Enterprise Linux and Solaris and the /opt/dirsrv/share/data directory on HP-UX.

3.1. Creating Views in the Console

To create a view in the Directory Server Console, do the following:

1.Select the Directory tab.

2.In the left navigation tree, create a suffix to hold the views. For instance, for views based on the locality (l) attribute, name this organizational unit Location Views.

3.Right-click ou=Location Views, and select New > Other.

4.Select nsview from the New Object menu, and hit OK.

5.In the Property Editor window, hit the Add Value button, and add the organization unit

163

Page 183
Image 183
HP UX Red Hat Direry Server Software manual Creating Views in the Console