Deleting Views from the Directory Server Console
139
(l=Sunnyvale)
9. Hit
OK
to close the attributes box, and hit
OK
again to save the new view entry.
The new view is immediately populated with any entries matching the search filter, and any new
entries added to directory are automatically included in the view.
5.3.2. Deleting Views from the Directory Server Console
To delete a view from the Directory Server Console, do the following:
1. Select the
Directory
tab.
2. Select the view to delete, such as
ou=Sunnyvale,ou=LocationViews,dc=example,dc=com
. To delete all the views, delete the
entire sub suffix,
ou=LocationViews,dc=example,dc=com
.
3. Right-click the entry, and select
Delete
from the drop-down menu.
Alternatively, highlight the entry, and select the
Object
menu and then select
Delete
.
4. A dialog box appears to confirm the deletion of the entry. Click
Yes
.
5.3.3. Creating Views from the Command Line
To create a view from the command line, do the following:
1. Use the
ldapmodify
utility to bind to the server and prepare it to add the new view entry to the
configuration file.
ldapmodify -a -D "cn=directory manager" -w secret -h host -p 389
2. Add the new views container entry, in this example, under the
dc=example,dc=com
root
suffix. This entry must have the
nsview
object class and the
nsViewFilter
attribute. The
nsViewFilter
attribute sets the attribute-value which identifies entries that belong in the view.
dn: ou=Example View,dc=example,dc=com
objectClass: top
objectClass: organizationalunit
objectClass: nsview
ou=Example View
nsViewFilter: l=Mountain View
description: Example View
5.3.4. Deleting Views from the Command Line
To delete a view from the command line, do the following:
1. Use the
ldapdelete
utility to bind to the server and prepare it to remove the view entry to the
configuration file.
Содержание DIRECTORY SERVER 8.0
Страница 18: ...xviii ...
Страница 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Страница 30: ...12 ...
Страница 112: ...94 ...
Страница 128: ...110 ...
Страница 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Страница 224: ...206 ...
Страница 324: ...306 ...
Страница 334: ...316 ...
Страница 358: ...340 ...
Страница 410: ...392 ...
Страница 420: ...402 ...
Страница 444: ...426 ...
Страница 454: ...436 ...
Страница 464: ...446 ...
Страница 484: ...466 ...
Страница 512: ...494 ...
Страница 522: ...504 ...