Creating and Maintaining Databases
96
Red Hat Directory Server Administrator’s Guide • May 2005
Placing a Database in Read-Only Mode
When a database is in read-only mode, you cannot create, modify, or delete any
entries. For example, you must put a database in read-only mode if you are
manually initializing a consumer.
If your Directory Server manages multiple databases, you can place all of them
into read-only mode at the same time by placing your entire server in read-only
mode. For more information, see “Placing the Entire Directory Server in
Read-Only Mode,” on page 40.
This section includes procedures for the following:
• Making a Database Read-Only Using the Console
• Making a Database Read-Only from the Command-Line
Making a Database Read-Only Using the Console
To place a database in read-only mode from the Directory Server Console:
1.
In the Directory Server Console, select the Configuration tab.
2.
Expand Data in the left pane. Expand the suffix containing the database you
want to put in read-only mode.
3.
Select the database you want to put into read-only mode.
4.
Select the Database Settings tab in the right pane.
5.
Select the “Database is read-only” checkbox.
6.
Click Save.
Making a Database Read-Only from the Command-Line
If you want to manually place a database into read-only mode, you must change
the read-only attribute,
nsslapd-readonly
, to
on
. To do so, use the
ldapmodify
command-line utility. The
nsslapd-readonly
attribute for a particular database
is located in the
cn=
database_name
,cn=ldbm database,cn=plugins,cn=config
entry (where
database_name
is the name of the database).
NOTE
By default, the name of the database created at installation time is
userRoot
.
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...