Chapter 5. Managing Entries with Roles, Classes of Service, and Views
138
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.
NOTE
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.
5.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 object
class.
6. Name the organization unit according to how to organize the views. For instance,
ou=Sunnyvale
.
Make the
ou
attribute the naming attribute.
7. Hit the
Add Attribute
button, and add the
nsviewfilter
attribute.
8. Create a filter that reflects the views. For example:
Summary of Contents for DIRECTORY SERVER 8.0
Page 18: ...xviii ...
Page 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Page 30: ...12 ...
Page 112: ...94 ...
Page 128: ...110 ...
Page 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Page 224: ...206 ...
Page 324: ...306 ...
Page 334: ...316 ...
Page 358: ...340 ...
Page 410: ...392 ...
Page 420: ...402 ...
Page 444: ...426 ...
Page 454: ...436 ...
Page 464: ...446 ...
Page 484: ...466 ...
Page 512: ...494 ...
Page 522: ...504 ...