HP UX Red Hat Direry Server Software manual Using Groups, Deleting Views from the Command Line

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 185
Image 185

Deleting Views from the Command Line

dn: ou=Example View,dc=example,dc=com

objectClass: top

objectClass: organizationalunit

objectClass: nsview ou=Example View nsViewFilter: l=Mountain View description: Example View

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.

ldapdelete -D "cn=directory manager" -w secret -h host -p 389 "ou=Example View,dc=example,dc=com"

2.Remove the view entry. It is not necessary to remove any entries included 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

4. Using Groups

Groups are a mechanism for associating entries for ease of administration. This mechanism was provided with previous versions of Directory Server and should be used primarily for compatibility with older versions of the server.

4.1. Managing Static Groups

Static groups organize entries by specifying the same group value in the DN attribute of any number of users. This section includes the following procedures for creating and modifying static groups:

Section 4.1.1, “Adding a New Static Group”

Section 4.1.2, “Modifying a Static Group”

165

Page 185
Image 185
HP UX Red Hat Direry Server Software manual Using Groups, Deleting Views from the Command Line, Managing Static Groups