Chapter 3. Configuring Directory Databases
dn: cn=database_name,cn=ldbm database,cn=plugins,cn=config
changetype: modify
replace: nsslapd-readonly
nsslapd-readonly: on
NOTE
By default, the name of the database created at installation time is userRoot.
3.2.2.1.3. Placing the Entire Directory Server in Read-Only Mode
If the Directory Server maintains more than one database and all databases need to be placed in
read-only mode, this can be done in a single operation.
WARNING
This operation also makes the Directory Server configuration read-only; therefore, you
cannot update the server configuration, enable or disable plug-ins, or even restart the
Directory Server while it is in read-only mode. Once read-only mode is enabled, it cannot
cannot be undone from the Console; you must modify the configuration files.
NOTE
If Directory Server contains replicas, do not use read-only mode because it will disable
replication.
To put the Directory Server in read-only mode, do the following:
1. In the Directory Server Console, select the Configuration tab, and then select the top entry in the
navigation tree in the left pane.
2. Select the Settings tab in the right pane.
3. Select the Make Entire Server Read-Only checkbox.
4. Click Save, and then restart the server.
3.2.2.2. Deleting a Database
Deleting a database deletes the configuration information and entries for that database only, not the
physical database itself.
1. In the Directory Server Console, select the Configuration tab.
2. In the left navigation pane, locate the database to delete, and select it.
3. From the Object menu, select Delete.
Alternatively, right-click the database and select Delete from the pop-up menu.
52
Need help?
Do you have a question about the DIRECTORY SERVER 8.0 - ADMINISTRATION and is the answer not in the manual?
Questions and answers