Chapter 9. Extending the Directory Schema
314
9.3.4. Deleting Object Classes
Only user-defined object classes can be deleted. You cannot delete standard object classes. To delete
an object class, do the following:
1. In the Directory Server Console, select the
Configuration
tab.
2. In the navigation tree, select the
Schema
folder, and then select the
Object Classes
tab in the
right pane.
3. Select the object class to remove, and click
Delete
.
4. If prompted, confirm the delete.
WARNING
The server immediately deletes the object class. There is no undo.
9.4. Turning Schema Checking On and Off
When schema checking is on, the Directory Server ensures three things:
• The object classes and attributes using are defined in the directory schema.
• The attributes required for an object class are contained in the entry.
• Only attributes allowed by the object class are contained in the entry.
Schema checking is turned on by default in the Directory Server, and the Directory Server should
always run with schema checking turned on. The only situation where is may be beneficial to turn
schema checking off is to accelerate LDAP import operations. However, there is a risk of importing
entries that do not conform to the schema. Consequently, it is impossible to search for these entries.
To turn schema checking on and off, do the following:
1. In the Directory Server Console, select the
Configuration
tab.
2. Highlight the server icon at the top of the navigation tree, then select the
Settings
tab in the right
pane.
3. To enable schema checking, check the
Enable Schema Checking
checkbox; clear it to turn off
schema checking.
4. Click
Save
.
To turn schema checking on and off using LDAP commands, edit the value of the
nsslapd-
schemacheck
attribute. For example:
ldapmodify -h myserver -p 389 -D "cn=directory manager" -w secretpwd
dn: cn=config
changetype: modify
replace: nsslapd-schemacheck: on
nsslapd-schemacheck: off
Содержание 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 ...