Red Hat Directory Server-10-Configuration Command and File Reference-en-US PDF
Red Hat Directory Server-10-Configuration Command and File Reference-en-US PDF
Marc Muehlfeld
Red Hat Customer Content Services
[email protected]
Petr Bokoč
Red Hat Customer Content Services
Tomáš Čapek
Red Hat Customer Content Services
Petr Kovář
Red Hat Customer Content Services
This document is licensed by Red Hat under the Creative Commons Attribution-
ShareAlike 3.0 Unported License. If you distribute this document, or a modified version
of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If
the document is modified, all Red Hat trademarks must be removed.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to
assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, OpenShift, Fedora, the
Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States
and other countries.
Linux ® is the registered trademark of Linus Torvalds in the United States and other
countries.
Node.js ® is an official trademark of Joyent. Red Hat Software Collections is not formally
related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack ® Word Mark and OpenStack logo are either registered
trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in
the United States and other countries and are used with the OpenStack Foundation's
permission. We are not affiliated with, endorsed or sponsored by the OpenStack
Foundation, or the OpenStack community.
Abstract
This is a reference for the server schema, files, and command-line tools.
Table of Contents
Table of Contents
.ABOUT
. . . . . THIS
. . . . REFERENCE
............................................................4
.........
1. DIRECTORY SERVER OVERVIEW 4
.CHAPTER
. . . . . . . 1.
. . INTRODUCTION
............................................................5
.........
1.1. DIRECTORY SERVER CONFIGURATION 5
1.2. DIRECTORY SERVER INSTANCE FILE REFERENCE 5
1.3. USING DIRECTORY SERVER COMMAND-LINE UTILITIES 5
1.4. USING DIRECTORY SERVER COMMAND-LINE SCRIPTS 5
.CHAPTER
. . . . . . . 2.
. . FILE
. . . .LOCATIONS
. . . . . . . . . OVERVIEW
...............................................6
.........
2.1. DIRECTORY SERVER INSTANCE-INDEPENDENT FILES AND DIRECTORIES 6
2.2. DIRECTORY SERVER INSTANCE-SPECIFIC FILES AND DIRECTORIES 6
2.3. ADMINISTRATION SERVER FILES AND DIRECTORIES 19
. . . . . . . . 3.
CHAPTER . . CORE
. . . . .SERVER
. . . . . . CONFIGURATION
. . . . . . . . . . . . . .REFERENCE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
..........
3.1. CORE SERVER CONFIGURATION ATTRIBUTES REFERENCE 20
3.2. CONFIGURATION OBJECT CLASSES 227
3.3. ROOT DSE ATTRIBUTES 242
3.4. LEGACY ATTRIBUTES 246
.CHAPTER
. . . . . . . 4.
. . PLUG-IN
. . . . . . .IMPLEMENTED
. . . . . . . . . . . .SERVER
. . . . . . FUNCTIONALITY
. . . . . . . . . . . . .REFERENCE
. . . . . . . . . . . . . . . . . . . . 249
...........
4.1. SERVER PLUG-IN FUNCTIONALITY REFERENCE 249
4.2. LIST OF ATTRIBUTES COMMON TO ALL PLUG-INS 292
4.3. ATTRIBUTES ALLOWED BY CERTAIN PLUG-INS 297
4.4. DATABASE PLUG-IN ATTRIBUTES 300
4.5. DATABASE LINK PLUG-IN ATTRIBUTES (CHAINING ATTRIBUTES) 344
4.6. PAM PASS THROUGH AUTH PLUG-IN ATTRIBUTES 356
4.7. ACCOUNT POLICY PLUG-IN ATTRIBUTES 361
4.8. AD DN PLUG-IN ATTRIBUTES 365
4.9. AUTO MEMBERSHIP PLUG-IN ATTRIBUTES 366
4.10. DISTRIBUTED NUMERIC ASSIGNMENT PLUG-IN ATTRIBUTES 371
4.11. LINKED ATTRIBUTES PLUG-IN ATTRIBUTES 382
4.12. MANAGED ENTRIES PLUG-IN ATTRIBUTES 384
4.13. MEMBEROF PLUG-IN ATTRIBUTES 386
4.14. ATTRIBUTE UNIQUENESS PLUG-IN ATTRIBUTES 389
4.15. POSIX WINSYNC API PLUG-IN ATTRIBUTES 392
4.16. RETRO CHANGELOG PLUG-IN ATTRIBUTES 394
4.17. ROOTDN ACCESS CONTROL PLUG-IN ATTRIBUTES 397
.CHAPTER
. . . . . . . 5.
. . DIRECTORY
. . . . . . . . . ENTRY
. . . . . .SCHEMA
. . . . . . .REFERENCE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
...........
5.1. ABOUT DIRECTORY SERVER SCHEMA 401
5.2. ENTRY ATTRIBUTE REFERENCE 411
5.3. ENTRY OBJECT CLASS REFERENCE 522
.CHAPTER
. . . . . . . 6.
. . OPERATIONAL
. . . . . . . . . . . .ATTRIBUTES
. . . . . . . . . .AND
. . . OBJECT
. . . . . . CLASSES
. . . . . . . . . . . . . . . . . . . . . . . . . . . 621
...........
6.1. ACCOUNTUNLOCKTIME 621
6.2. ACI 621
6.3. ALTSERVER 621
6.4. CREATETIMESTAMP 622
6.5. CREATORSNAME 622
6.6. DITCONTENTRULES 622
6.7. DITSTRUCTURERULES 623
6.8. ENTRYUSN 623
1
Configuration, Command, and File Reference
. . . . . . . . 7.
CHAPTER . . LOG
. . . .FILE
. . . REFERENCE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641
...........
7.1. ACCESS LOG REFERENCE 641
7.2. ERROR LOG REFERENCE 657
7.3. AUDIT LOG REFERENCE 667
7.4. LDAP RESULT CODES 669
2
Table of Contents
.CHAPTER
. . . . . . . 8.
. . CONFIGURATION
. . . . . . . . . . . . . FILE
. . . . REFERENCE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675
...........
8.1. CERTMAP.CONF 675
. . . . . . . . 9.
CHAPTER . . COMMAND-LINE
. . . . . . . . . . . . .UTILITIES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
...........
9.1. COMMAND-LINE UTILITIES QUICK REFERENCE 678
9.2. LDIF 678
9.3. DBSCAN 679
9.4. DS-LOGPIPE.PY 683
9.5. DN2RDN 687
. . . . . . . . 10.
CHAPTER . . .COMMAND-LINE
. . . . . . . . . . . . .SCRIPTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688
...........
10.1. FINDING AND EXECUTING COMMAND-LINE SCRIPTS 688
10.2. COMMAND-LINE SCRIPTS QUICK REFERENCE 688
10.3. SHELL SCRIPTS 692
10.4. PERL SCRIPTS 719
.CHAPTER
. . . . . . . 11.
. . .GUI
. . . UTILITIES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 765
...........
11.1. REDHAT-IDM-CONSOLE 765
. . . . . . . . .A.
APPENDIX . .USING
. . . . . THE
. . . .NS-SLAPD
. . . . . . . . COMMAND-LINE
. . . . . . . . . . . . .UTILITIES
. . . . . . . . . . . . . . . . . . . . . . . . . . . 767
...........
A.1. OVERVIEW OF NS-SLAPD 767
A.2. FINDING AND EXECUTING THE NS-SLAPD COMMAND-LINE UTILITIES 767
A.3. UTILITIES FOR EXPORTING DATABASES: DB2LDIF 767
A.4. UTILITIES FOR RESTORING AND BACKING UP DATABASES: LDIF2DB 769
A.5. UTILITIES FOR RESTORING AND BACKING UP DATABASES: ARCHIVE2DB 771
A.6. UTILITIES FOR RESTORING AND BACKING UP DATABASES: DB2ARCHIVE 771
A.7. UTILITIES FOR CREATING AND REGENERATING INDEXES: DB2INDEX 772
.APPENDIX
. . . . . . . .B.
. .TESTING
. . . . . . .SCRIPTS
. . . . . . .AVAILABLE
. . . . . . . . .WITH
. . . . .DIRECTORY
. . . . . . . . .SERVER
. . . . . . . . . . . . . . . . . . . . 774
...........
B.1. LDCLT (LOAD STRESS TESTS) 774
B.2. RSEARCH (SEARCH STRESS TESTS) 791
. . . . . . . . .C.
APPENDIX . .ADMINISTRATION
. . . . . . . . . . . . . .SERVER
. . . . . . COMMAND-LINE
. . . . . . . . . . . . . TOOLS
. . . . . . . . . . . . . . . . . . . . . . . . 803
...........
C.1. SEC-ACTIVATE 803
C.2. MODUTIL 803
. . . . . . . . .D.
APPENDIX . .REPLICATION
. . . . . . . . . . .AGREEMENT
. . . . . . . . . .STATUS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 818
...........
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 822
GLOSSARY ...........
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840
INDEX ...........
. . . . . . . . .E.
APPENDIX . .REVISION
. . . . . . . .HISTORY
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 914
...........
3
Configuration, Command, and File Reference
This reference covers the server configuration and the command-line utilities. It is designed
primarily for directory administrators and experienced directory users who want to use the
command-line to access the directory. After configuring the server, use this reference to
help maintain it.
The Directory Server can also be managed through the Directory Server Console, a
graphical user interface. The Red Hat Directory Server Administration Guide describes how
to do this and explains individual administration tasks more fully.
SNMP agent – Can monitor the Directory Server using the Simple Network
Management Protocol (SNMP).
4
CHAPTER 1. INTRODUCTION
CHAPTER 1. INTRODUCTION
Directory Server is based on an open-systems server protocol called the Lightweight
Directory Access Protocol (LDAP). The Directory Server is a robust, scalable server designed
to manage large scale directories to support an enterprise-wide directory of users and
resources, extranets, and e-commerce applications over the Internet. The Directory Server
runs as the ns-slapd process or service on the machine. The server manages the directory
databases and responds to client requests.
This reference deals with the other methods of managing the Directory Server by altering
the server configuration attributes using the command line and using command-line utilities
and scripts.
5
Configuration, Command, and File Reference
Type Location
/usr/sbin/
/etc/systemd/system/dirsrv.target.wants/
The following are the Directory Server's instance-specific default file and directory
locations:
Type Location
6
CHAPTER 2. FILE LOCATIONS OVERVIEW
Type Location
The configuration information for Red Hat Directory Server is stored as LDAP entries within
the directory itself. Therefore, changes to the server configuration must be implemented
through the use of the server itself rather than by simply editing configuration files. The
principal advantage of this method of configuration storage is that it allows a directory
administrator to reconfigure the server using LDAP while it is still running, thus avoiding the
need to shut the server down for most configuration changes.
When the Directory Server is set up, its default configuration is stored as a series of LDAP
entries within the directory, under the subtree cn=config. When the server is started, the
contents of the cn=config subtree are read from a file (dse.ldif) in LDIF format. This
dse.ldif file contains all of the server configuration information. The latest version of this
file is called dse.ldif, the version prior to the last modification is calleddse.ldif.bak, and
the latest file with which the server successfully started is called dse.ldif.startOK.
Many of the features of the Directory Server are designed as discrete modules that plug
into the core server. The details of the internal configuration for each plug-in are contained
in separate entries under cn=plugins,cn=config. For example, the configuration of the
Telephone Syntax Plug-in is contained in this entry:
cn=Telephone Syntax,cn=plugins,cn=config
The following diagram illustrates how the configuration data fits within the cn=config
directory information tree.
7
Configuration, Command, and File Reference
The Directory Server configuration data are stored in LDIF files in the
/etc/dirsrv/slapd-instance directory. Thus, if a server identifier is phonebook, then for a
Directory Server on Red Hat Enterprise Linux 7, the configuration LDIF files are all stored
under /etc/dirsrv/slapd-phonebook.
Schema configuration is also stored in LDIF format, and these files are located in the
/etc/dirsrv/schema directory.
The following table lists all of the configuration files that are supplied with the
Directory Server, including those for the schema of other compatible servers. Each file is
preceded by a number which indicates the order in which they should be loaded (in
ascending numerical and then alphabetical order).
8
CHAPTER 2. FILE LOCATIONS OVERVIEW
9
Configuration, Command, and File Reference
The dse.ldif file contains all configuration information including directory-specific entries
created by the directory at server startup, such as entries related to the database. The file
includes the root Directory Server entry (or DSE, named by "") and the contents of
cn=config and cn=monitor.
When the server generates the dse.ldif file, it lists the entries in hierarchical order in the
order that the entries appear in the directory under cn=config, which is usually the same
order in which an LDAP search of subtree scope for base cn=config returns the entries.
10
CHAPTER 2. FILE LOCATIONS OVERVIEW
dse.ldif also contains the cn=monitor entry, which is mostly read-only, but can have ACIs
set on it.
NOTE
The dse.ldif file does not contain every attribute incn=config. If the
attribute has not been set by the administrator and has a default value, the
server will not write it to dse.ldif. To see every attribute incn=config, use
ldapsearch.
Within a configuration entry, each attribute is represented as an attribute name. The value
of the attribute corresponds to the attribute's configuration.
The following code sample is an example of part of the dse.ldif file for a Directory Server.
The example shows, among other things, that schema checking has been enabled; this is
represented by the attribute nsslapd-schemacheck, which takes the value on.
dn: cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsslapdConfig
nsslapd-accesslog-logging-enabled: on
nsslapd-enquote-sup-oc: off
nsslapd-localhost: phonebook.example.com
nsslapd-schemacheck: on
nsslapd-port: 389
nsslapd-localuser: dirsrv
...
The configuration for each part of Directory Server plug-in functionality has its own
separate entry and set of attributes under the subtree cn=plugins,cn=config. The
following code sample is an example of the configuration entry for an example plug-in, the
Telephone Syntax plug-in.
Some of these attributes are common to all plug-ins, and some may be particular to a
specific plug-in. Check which attributes are currently being used by a given plug-in by
performing an ldapsearch on the cn=config subtree.
11
Configuration, Command, and File Reference
The o=NetscapeRoot and cn=UserRoot subtrees under the database plug-in entry contain
configuration data for the databases containing the o=NetscapeRoot suffix and the default
suffix created during setup, such as dc=example,dc=com.
These entries and their children have many attributes used to configure different database
settings, like the cache sizes, the paths to the index files and transaction logs, entries and
attributes for monitoring and statistics; and database indexes.
Configuration information for indexing is stored as entries in the Directory Server under the
following information-tree nodes:
cn=index,o=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config
cn=index,cn=UserRoot,cn=ldbm database,cn=plugins,cn=config
For more information about indexes in general, see the Red Hat Directory Server
Administration Guide. For information about the index configuration attributes, see
Section 4.4.1, “Database Attributes under cn=config,cn=ldbm
database,cn=plugins,cn=config”.
This section discusses access control for configuration entries and describes the various
ways in which the server configuration can be viewed and modified. It also covers
restrictions to the kinds of modification that can be made and discusses attributes that
require the server to be restarted for changes to take effect.
When the Directory Server is installed, a default set of access control instructions (ACIs) is
implemented for all entries under cn=config. The following code sample is an example of
these default ACIs.
12
CHAPTER 2. FILE LOCATIONS OVERVIEW
These default ACIs allow all LDAP operations to be carried out on all configuration attributes
by the following users:
The user acting as the administrator, the admin account that was configured at
setup. By default, this is the same user account which is logged into the Console.
The SIE (Server Instance Entry) group, usually assigned using the Set Access
Permissions process the main console.
For more information on access control, see the Red Hat Directory Server
Administration Guide.
Server attributes can be viewed and changed in one of three ways: through the
Directory Server Console, by performing ldapsearch and ldapmodify commands, or by
manually editing the dse.ldif file.
NOTE
Before editing the dse.ldif file, the server must be stopped; otherwise, the
changes are lost. Editing the dse.ldif file is recommended only for changes
to attributes which cannot be altered dynamically. See Section 2.2.1.2.2.3,
“Configuration Changes Requiring Server Restart” for further information.
The following sections describe how to modify entries using LDAP (both by using
Directory Server Console and by using the command line), the restrictions that apply to
modifying entries, the restrictions that apply to modifying attributes, and the configuration
changes requiring restart.
The configuration entries in the directory can be searched and modified using LDAP either
using the Directory Server Console or by performing ldapsearch and ldapmodify
operations in the same way as other directory entries. The advantage of using LDAP to
modify entries is changes can be made while the server is running.
For further information, see the "Creating Directory Entries" chapter in the Red Hat
Directory Server Administration Guide. However, certain changes do require the server to
be restarted before they are taken into account. See Section 2.2.1.2.2.3, “Configuration
Changes Requiring Server Restart” for further information.
NOTE
As with any set of configuration files, care should be taken when changing or
deleting nodes in the cn=config subtree as this risks affecting
Directory Server functionality.
The entire configuration, including attributes that always take default values, can be
viewed by performing an ldapsearch operation on the cn=config subtree:
13
Configuration, Command, and File Reference
bindDN is the DN chosen for the Directory Manager when the server was installed
(cn=Directory Manager by default).
The cn=monitor entry and its child entries are read-only and cannot be modified,
except to manage ACIs.
Some configuration attributes cannot be altered while the server is running. In these cases,
for the changes to take effect, the server needs to be shut down and restarted. The
modifications should be made either through the Directory Server Console or by manually
editing the dse.ldif file. Some of the attributes that require a server restart for any
changes to take effect are listed below. This list is not exhaustive; to see a complete list,
run ldapsearch and search for the nsslapd-requiresrestart attribute. For example:
nsslapd-cachesize nsslapd-certdir
nsslapd-dbcachesize nsslapd-dbncache
nsslapd-plugin nsslapd-changelogdir
nsslapd-changelogmaxage nsslapd-changelogmaxentries
nsslapd-port nsslapd-schemadir
14
CHAPTER 2. FILE LOCATIONS OVERVIEW
nsslapd-saslpath nsslapd-secureport
nsslapd-tmpdir nsSSL2
nsSSL3 nsSSLclientauth
nsSSLSessionTimeout nsslapd-conntablesize
nsslapd-lockdir nsslapd-maxdescriptors
nsslapd-reservedescriptors nsslapd-listenhost
nsslapd-schema-ignore-trailing- nsslapd-securelistenhost
spaces
nsslapd-workingdir nsslapd-return-exact-case
nsslapd-maxbersize [a]
[a] Although this attribute requires a restart, it is not returned in the search.
All core configuration attributes are present, even if they are not written in the
/etc/dirsrv/slapd-instance-name/dse.ldif file, because they all have default values
used by the server.
For details about deleting core configuration attributes and a list of attributes that cannot
be deleted, see the corresponding section in the Red Hat Directory Server
Administration Guide.
db.00x files — Used internally by the database and should not be moved, deleted,
or modified in any way.
15
Configuration, Command, and File Reference
NOTE
./ entrydn.db* parentid.db*
../ givenName.db* sn.db*
DBVERSION* id2entry.db* uid.db*
aci.db* nsUniqueId.db* uniquemember.db*
ancestorid.db* numsubordinates.db*
cn.db* objectclass.db*
The NetscapeRoot subdirectories contain an index_name.db file for every index currently
defined in the database. In addition to these files, the NetscapeRoot and userRoot
subdirectories contain the following files:
id2entry.db — Contains the actual directory database entries. All other database
files can be recreated from this one, if necessary.
European.ldif
Example.ldif
Example-roles.ldif
16
CHAPTER 2. FILE LOCATIONS OVERVIEW
Example-views.ldif
NOTE
The lock mechanisms control how many copies of the Directory Server process can be
running at one. For example, if there is an import job, then a lock is placed in the imports/
directory to prevent any other ns-slapd (normal), ldif2db (another import), or db2ldif
(export) operations from running. If the server is running as normal, there is a lock in the
server/ directory, which prevents import operations (but not export operations), while if
there is an export operation, the lock in the exports/ directory allows normal server
operations but prevents import operations.
The number of available locks can affect overall Directory Server performance. The number
of locks is set in the nsslapd-db-locks attribute. Tuning that attribute value is described in
the Performance Tuning Guide.
17
Configuration, Command, and File Reference
The content of the access, audit, and error log files is dependent on the log
configuration.
Chapter 7, Log File Reference contains a solid overview of the access, error, and audit log
file formats and the information in them.
2.2.7. Tools
Directory Server tools are stored in these directories on Red Hat Enterprise Linux 7:
/usr/bin
/usr/sbin
The contents of those directories are listed below. Chapter 9, Command-Line Utilities has
more information on command-line scripts.
dbscan ldif
dbscan-bin ldif-bin
2.2.8. Scripts
On Red Hat Enterprise Linux 7.3 and later, the command-line scripts Directory Server uses
are stored in the /usr/sbin/ directory. Use the -Z instance_name option with the
commands in order to set the instance the script should be executed on.
18
CHAPTER 2. FILE LOCATIONS OVERVIEW
NOTE
For further details and a list of scripts, see Chapter 10, Command-Line Scripts.
Type Location
/usr/sbin/
19
Configuration, Command, and File Reference
The configuration information stored in the dse.ldif file is organized as an information tree
under the general configuration entry cn=config, as shown in the following diagram.
Most of these configuration tree nodes are covered in the following sections.
NOTE
Some of the entries and attributes described in this chapter may change in
future releases of the product.
3.1.1. cn=config
General configuration entries are stored in the cn=config entry. The cn=config entry is an
instance of the nsslapdConfig object class, which in turn inherits fromextensibleObject
object class.
20
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This attribute specifies the path and filename of the log used to record each LDAP access.
The following information is recorded by default in the log file:
IP address (IPv4 or IPv6) of the client machine that accessed the database.
Result of the access (for example, the number of entries returned or an error code).
For more information on turning access logging off, see the "Monitoring Server and
Database Activity" chapter in the Red Hat Directory Server Administration Guide.
For access logging to be enabled, this attribute must have a valid path and parameter, and
the nsslapd-accesslog-logging-enabled configuration attribute must be switched to on.
The table lists the four possible combinations of values for these two configuration
attributes and their outcome in terms of disabling or enabling of access logging.
nsslapd-accesslog-logging- on Disabled
enabled
empty string
nsslapd-accesslog
nsslapd-accesslog-logging- on Enabled
enabled
filename
nsslapd-accesslog
Parameter Description
Entry DN cn=config
Syntax DirectoryString
21
Configuration, Command, and File Reference
Parameter Description
Example nsslapd-accesslog:
/var/log/dirsrv/slapd-instance/access
Parameter Description
Entry DN cn=config
Valid Values
0 - No access logging
Syntax Integer
This read-only attribute, which cannot be set, provides a list of access log files used in
access log rotation.
Parameter Description
Entry DN cn=config
Valid Values
22
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
When set to off, the server writes all access log entries directly to disk. Buffering allows
the server to use access logging even when under a heavy load without impacting
performance. However, when debugging, it is sometimes useful to disable buffering in
order to see the operations and their results right away instead of having to wait for the log
entries to be flushed to the file. Disabling log buffering can severely impact performance in
heavily loaded servers.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
This attribute specifies the maximum age that a log file is allowed to reach before it is
deleted. This attribute supplies only the number of units. The units are provided by the
nsslapd-accesslog-logexpirationtimeunit attribute.
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
23
Configuration, Command, and File Reference
Parameter Description
Example nsslapd-accesslog-logexpirationtime: 2
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Disables and enables accesslog logging but only in conjunction with the nsslapd-
accesslog attribute that specifies the path and parameter of the log used to record each
database access.
For access logging to be enabled, this attribute must be switched to on, and the nsslapd-
accesslog configuration attribute must have a valid path and parameter. The table lists the
four possible combinations of values for these two configuration attributes and their
outcome in terms of disabling or enabling of access logging.
nsslapd-accesslog-logging- on Disabled
enabled
empty string
nsslapd-accesslog
nsslapd-accesslog-logging- on Enabled
enabled
filename
nsslapd-accesslog
24
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
This attribute specifies the maximum amount of disk space in megabytes that the access
logs are allowed to consume. If this value is exceeded, the oldest access log is deleted.
When setting a maximum disk space, consider the total number of log files that can be
created due to log file rotation. Also, remember that there are three different log files
(access log, audit log, and error log) maintained by the Directory Server, each of which
consumes disk space. Compare these considerations to the total amount of disk space for
the access log.
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
25
Configuration, Command, and File Reference
Parameter Description
This attribute sets the minimum allowed free disk space in megabytes. When the amount of
free disk space falls below the value specified on this attribute, the oldest access logs are
deleted until enough disk space is freed to satisfy this attribute.
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
Example nsslapd-accesslog-logminfreediskspace: -1
This attribute sets whether access log rotation is to be synchronized with a particular time
of the day. Synchronizing log rotation this way can generate log files at a specified time
during a day, such as midnight to midnight every day. This makes analysis of the log files
much easier because they then map directly to the calendar.
For access log rotation to be synchronized with time-of-day, this attribute must be enabled
with the nsslapd-accesslog-logrotationsynchour and nsslapd-accesslog-
logrotationsyncmin attribute values set to the hour and minute of the day for rotating log
files.
For example, to rotate access log files every day at midnight, enable this attribute by
setting its value to on, and then set the values of thensslapd-accesslog-
logrotationsynchour and nsslapd-accesslog-logrotationsyncmin attributes to 0.
Parameter Description
Entry DN cn=config
26
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
Example nsslapd-accesslog-logrotationsync-enabled: on
This attribute sets the hour of the day for rotating access logs. This attribute must be used
in conjunction with nsslapd-accesslog-logrotationsync-enabled and nsslapd-
accesslog-logrotationsyncmin attributes.
Parameter Description
Entry DN cn=config
Default Value 0
Syntax Integer
Example nsslapd-accesslog-logrotationsynchour: 23
This attribute sets the minute of the day for rotating access logs. This attribute must be
used in conjunction with nsslapd-accesslog-logrotationsync-enabled and nsslapd-
accesslog-logrotationsynchour attributes.
Parameter Description
Entry DN cn=config
Default Value 0
Syntax Integer
Example nsslapd-accesslog-logrotationsyncmin: 30
This attribute sets the time between access log file rotations. The access log is rotated
27
Configuration, Command, and File Reference
when this time interval is up, regardless of the current size of the access log. This attribute
supplies only the number of units. The units (day, week, month, and so forth) are given by
the nsslapd-accesslog-logrotationtimeunit attribute.
Although it is not recommended for performance reasons to specify no log rotation since
the log grows indefinitely, there are two ways of specifying this. Either set the nsslapd-
accesslog-maxlogsperdir attribute value to 1 or set the nsslapd-accesslog-
logrotationtime attribute to -1. The server checks the nsslapd-accesslog-
maxlogsperdir attribute first, and, if this attribute value is larger than1, the server then
checks the nsslapd-accesslog-logrotationtime attribute. See Section 3.1.1.16,
“nsslapd-accesslog-maxlogsperdir (Access Log Maximum Number of Log Files)” for more
information.
Parameter Description
Entry DN cn=config
Default Value 1
Syntax Integer
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute sets the maximum access log size in megabytes. When this value is reached,
the access log is rotated. That means the server starts writing log information to a new log
28
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
When setting a maximum log size, consider the total number of log files that can be
created due to log file rotation. Also, remember that there are three different log files
(access log, audit log, and error log) maintained by the Directory Server, each of which
consumes disk space. Compare these considerations to the total amount of disk space for
the access log.
Parameter Description
Entry DN cn=config
Syntax Integer
This attribute sets the total number of access logs that can be contained in the directory
where the access log is stored. Each time the access log is rotated, a new log file is created.
When the number of files contained in the access log directory exceeds the value stored in
this attribute, then the oldest version of the log file is deleted. For performance reasons,
Red Hat recommends not setting this value to 1 because the server does not rotate the log,
and it grows indefinitely.
If the value for this attribute is higher than 1, then check the nsslapd-accesslog-
logrotationtime attribute to establish whether log rotation is specified. If thensslapd-
accesslog-logrotationtime attribute has a value of -1, then there is no log rotation. See
Section 3.1.1.13, “nsslapd-accesslog-logrotationtime (Access Log Rotation Time)” for more
information.
Parameter Description
Entry DN cn=config
Default Value 10
Syntax Integer
29
Configuration, Command, and File Reference
Parameter Description
Example nsslapd-accesslog-maxlogsperdir: 10
This attribute sets the access mode or file permission with which access log files are to be
created. The valid values are any combination of 000 to 777 (these mirror the numbered or
absolute UNIX file permissions). The value must be a 3-digit number, the digits varying from
0 through 7:
0 - None
1 - Execute only
2 - Write only
4 - Read only
In the 3-digit number, the first digit represents the owner's permissions, the second digit
represents the group's permissions, and the third digit represents everyone's permissions.
When changing the default value, remember that 000 does not allow access to the logs and
that allowing write permissions to everyone can result in the logs being overwritten or
deleted by anyone.
The newly configured access mode only affects new logs that are created; the mode is set
when the log rotates to a new file.
Parameter Description
Entry DN cn=config
Syntax Integer
3.1.1.18. nsslapd-allow-anonymous-access
If a user attempts to connect to the Directory Server without supplying any bind DN or
password, this is an anonymous bind. Anonymous binds simplify common search and read
30
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
operations, like checking the directory for a phone number or email address, by not
requiring users to authenticate to the directory first.
However, there are risks with anonymous binds. Adequate ACIs must be in place to restrict
access to sensitive information and to disallow actions like modifies and deletes.
Additionally, anonymous binds can be used for denial of service attacks or for malicious
people to gain access to the server.
Anonymous binds can be disabled to increase security (off). By default, anonymous binds
are allowed (on) for search and read operations. This allows access to regular directory
entries, which includes user and group entries as well as configuration entries like the root
DSE. A third option, rootdse, allows anonymous search and read access to search the root
DSE itself, but restricts access to all other directory entries.
Optionally, resource limits can be placed on anonymous binds using the nsslapd-
anonlimitsdn attribute as described in Section 3.1.1.22, “nsslapd-anonlimitsdn”.
Changes to this value will not take effect until the server is restarted.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-allow-anonymous-access: on
3.1.1.19. nsslapd-allow-hashed-passwords
This parameter disables the pre-hashed password checks. By default, the Directory Server
does not allow pre-hashed passwords to be set by anyone other than the Directory
Manager. You can delegate this privilege to other users when you add them to the
Password Administrators group. However in some scenarios, like when the replication
partner already controls the pre-hashed passwords checking, this feature has to be
disabled on the Directory Server.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
31
Configuration, Command, and File Reference
Parameter Description
3.1.1.20. nsslapd-allow-unauthenticated-binds
Unauthenticated binds are connections to Directory Server where a user supplies an empty
password. Using the default settings, Directory Server denies access in this scenario for
security reasons.
WARNING
You do not have to restart the server for this setting to take effect.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.21. nsslapd-allowed-sasl-mechanisms
Per default, the root DSE lists all mechanisms the SASL library supports. However in some
environments only certain ones are preferred. The nsslapd-allowed-sasl-mechanisms
attribute allows you to enable only some defined SASL mechanisms.
The mechanism names must consist of uppercase letters, numbers, and underscores. Each
mechanism can be separated by commas or spaces.
32
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
NOTE
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.22. nsslapd-anonlimitsdn
Resource limits can be set on authenticated binds. The resource limits can set a cap on how
many entries can be searched in a single operation (nsslapd-sizeLimit), a time limit
(nsslapd-timelimit) and time out period (nsslapd-idletimeout) for searches, and the
total number of entries that can be searched (nsslapd-lookthroughlimit). These
resource limits prevent denial of service attacks from tying up directory resources and
improve overall performance.
Resource limits are set on a user entry. An anonymous bind, obviously, does not have a user
entry associated with it. This means that resource limits usually do not apply to anonymous
operations.
To set resource limits for anonymous binds, a template entry can be created, with the
appropriate resource limits. The nsslapd-anonlimitsdn configuration attribute can then be
added that points to this entry and applies the resource limits to anonymous binds.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
33
Configuration, Command, and File Reference
Parameter Description
3.1.1.23. nsslapd-attribute-name-exceptions
This attribute allows non-standard characters in attribute names to be used for backwards
compatibility with older servers, such as "_" in schema-defined attributes.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-attribute-name-exceptions: on
This attribute sets the path and filename of the log used to record changes made to each
database.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-auditlog:
/var/log/dirsrv/slapd-instance/audit
For audit logging to be enabled, this attribute must have a valid path and parameter, and
the nsslapd-auditlog-logging-enabled configuration attribute must be switched to on.
The table lists the four possible combinations of values for these two configuration
attributes and their outcome in terms of disabling or enabling of audit logging.
34
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
nsslapd-auditlog-logging- on Disabled
enabled
empty string
nsslapd-auditlog
nsslapd-auditlog-logging- on Enabled
enabled
filename
nsslapd-auditlog
3.1.1.25. nsslapd-auditlog-list
Parameter Description
Entry DN cn=config
Valid Values
Syntax DirectoryString
This attribute sets the maximum age that a log file is allowed to be before it is deleted. This
attribute supplies only the number of units. The units (day, week, month, and so forth) are
given by the nsslapd-auditlog-logexpirationtimeunit attribute.
Parameter Description
Entry DN cn=config
35
Configuration, Command, and File Reference
Parameter Description
Default Value -1
Syntax Integer
Example nsslapd-auditlog-logexpirationtime: 1
This attribute sets the units for the nsslapd-auditlog-logexpirationtime attribute. If the
unit is unknown by the server, then the log never expires.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Parameter Description
Entry DN cn=config
Syntax DirectoryString
36
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
For audit logging to be enabled, this attribute must have a valid path and parameter and
the nsslapd-auditlog-logging-enabled configuration attribute must be switched to on.
The table lists the four possible combinations of values for these two configuration
attributes and their outcome in terms of disabling or enabling of audit logging.
nsslapd-auditlog-logging- on Disabled
enabled
empty string
nsslapd-auditlog
nsslapd-auditlog-logging- on Enabled
enabled
filename
nsslapd-auditlog
This attribute sets the maximum amount of disk space in megabytes that the audit logs are
allowed to consume. If this value is exceeded, the oldest audit log is deleted.
When setting a maximum disk space, consider the total number of log files that can be
created due to log file rotation. Also remember that there are three different log files
(access log, audit log, and error log) maintained by the Directory Server, each of which
consumes disk space. Compare these considerations with the total amount of disk space
for the audit log.
Parameter Description
Entry DN cn=config
Default Value -1
37
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
This attribute sets the minimum permissible free disk space in megabytes. When the
amount of free disk space falls below the value specified by this attribute, the oldest audit
logs are deleted until enough disk space is freed to satisfy this attribute.
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
Example nsslapd-auditlog-logminfreediskspace: -1
This attribute sets whether audit log rotation is to be synchronized with a particular time of
the day. Synchronizing log rotation this way can generate log files at a specified time
during a day, such as midnight to midnight every day. This makes analysis of the log files
much easier because they then map directly to the calendar.
For audit log rotation to be synchronized with time-of-day, this attribute must be enabled
with the nsslapd-auditlog-logrotationsynchour and nsslapd-auditlog-
logrotationsyncmin attribute values set to the hour and minute of the day for rotating log
files.
For example, to rotate audit log files every day at midnight, enable this attribute by setting
its value to on, and then set the values of thensslapd-auditlog-logrotationsynchour
and nsslapd-auditlog-logrotationsyncmin attributes to 0.
Parameter Description
Entry DN cn=config
38
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
Example nsslapd-auditlog-logrotationsync-enabled: on
This attribute sets the hour of the day for rotating audit logs. This attribute must be used in
conjunction with nsslapd-auditlog-logrotationsync-enabled and nsslapd-auditlog-
logrotationsyncmin attributes.
Parameter Description
Entry DN cn=config
Syntax Integer
Example nsslapd-auditlog-logrotationsynchour: 23
This attribute sets the minute of the day for rotating audit logs. This attribute must be used
in conjunction with nsslapd-auditlog-logrotationsync-enabled and nsslapd-
auditlog-logrotationsynchour attributes.
Parameter Description
Entry DN cn=config
Syntax Integer
Example nsslapd-auditlog-logrotationsyncmin: 30
39
Configuration, Command, and File Reference
This attribute sets the time between audit log file rotations. The audit log is rotated when
this time interval is up, regardless of the current size of the audit log. This attribute
supplies only the number of units. The units (day, week, month, and so forth) are given by
the nsslapd-auditlog-logrotationtimeunit attribute. If the nsslapd-auditlog-
maxlogsperdir attribute is set to 1, the server ignores this attribute.
Although it is not recommended for performance reasons to specify no log rotation, as the
log grows indefinitely, there are two ways of specifying this. Either set the nsslapd-
auditlog-maxlogsperdir attribute value to 1 or set the nsslapd-auditlog-
logrotationtime attribute to -1. The server checks the nsslapd-auditlog-
maxlogsperdir attribute first, and, if this attribute value is larger than1, the server then
checks the nsslapd-auditlog-logrotationtime attribute. See Section 3.1.1.37, “nsslapd-
auditlog-maxlogsperdir (Audit Log Maximum Number of Log Files)” for more information.
Parameter Description
Entry DN cn=config
Default Value 1
Syntax Integer
Parameter Description
Entry DN cn=config
Syntax DirectoryString
40
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This attribute sets the maximum audit log size in megabytes. When this value is reached,
the audit log is rotated. That means the server starts writing log information to a new log
file. If nsslapd-auditlog-maxlogsperdir to 1, the server ignores this attribute.
When setting a maximum log size, consider the total number of log files that can be
created due to log file rotation. Also, remember that there are three different log files
(access log, audit log, and error log) maintained by the Directory Server, each of which
consumes disk space. Compare these considerations to the total amount of disk space for
the audit log.
Parameter Description
Entry DN cn=config
Syntax Integer
Example nsslapd-auditlog-maxlogsize: 50
This attribute sets the total number of audit logs that can be contained in the directory
where the audit log is stored. Each time the audit log is rotated, a new log file is created.
When the number of files contained in the audit log directory exceeds the value stored on
this attribute, then the oldest version of the log file is deleted. The default is 1 log. If this
default is accepted, the server will not rotate the log, and it grows indefinitely.
If the value for this attribute is higher than 1, then check the nsslapd-auditlog-
logrotationtime attribute to establish whether log rotation is specified. If thensslapd-
auditlog-logrotationtime attribute has a value of -1, then there is no log rotation. See
Section 3.1.1.34, “nsslapd-auditlog-logrotationtime (Audit Log Rotation Time)” for more
information.
Parameter Description
Entry DN cn=config
Default Value 1
Syntax Integer
41
Configuration, Command, and File Reference
Parameter Description
Example nsslapd-auditlog-maxlogsperdir: 10
This attribute sets the access mode or file permissions with which audit log files are to be
created. The valid values are any combination of 000 to 777 since they mirror numbered or
absolute UNIX file permissions. The value must be a combination of a 3-digit number, the
digits varying from 0 through 7:
0 - None
1 - Execute only
2 - Write only
4 - Read only
In the 3-digit number, the first digit represents the owner's permissions, the second digit
represents the group's permissions, and the third digit represents everyone's permissions.
When changing the default value, remember that 000 does not allow access to the logs and
that allowing write permissions to everyone can result in the logs being overwritten or
deleted by anyone.
The newly configured access mode only affects new logs that are created; the mode is set
when the log rotates to a new file.
Parameter Description
Entry DN cn=config
Syntax Integer
This attribute sets the path and filename of the log used to record failed LDAP
modifications.
42
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-auditfaillog:
/var/log/dirsrv/slapd-instance/audit
To enable the audit fail log, this attribute must have a valid path and the nsslapd-
auditfaillog-logging-enabled attribute must be set to on
3.1.1.40. nsslapd-auditfaillog-list
Parameter Description
Entry DN cn=config
Valid Values
Syntax DirectoryString
Example nsslapd-auditfaillog-list:
auditfaillog2,auditfaillog3
This attribute sets the maximum age of a log file before it is removed. It supplies to the
number of units. Specify the units, such as day, week, month, and so forth in the nsslapd-
auditfaillog-logexpirationtimeunit attribute.
43
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
Example nsslapd-auditfaillog-logexpirationtime: 1
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Parameter Description
Entry DN cn=config
44
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
This attribute sets the maximum amount of disk space in megabytes the audit fail logs are
can consume. If the size exceed the limit, the oldest audit fail log is deleted.
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
This attribute sets the minimum permissible free disk space in megabytes. When the
amount of free disk space is lower than the specified value, the oldest audit fail logs are
deleted until enough disk space is freed.
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
Example nsslapd-auditfaillog-logminfreediskspace: -1
45
Configuration, Command, and File Reference
This attribute sets whether audit fail log rotation is to be synchronized with a particular time
of the day. Synchronizing log rotation this way can generate log files at a specified time
during a day, such as midnight to midnight every day. This makes analysis of the log files
much easier because they then map directly to the calendar.
For audit fail log rotation to be synchronized with time-of-day, this attribute must be
enabled with the nsslapd-auditfaillog-logrotationsynchour and nsslapd-
auditfaillog-logrotationsyncmin attribute values set to the hour and minute of the day
for rotating log files.
For example, to rotate audit fail log files every day at midnight, enable this attribute by
setting its value to on, and then set the values of thensslapd-auditfaillog-
logrotationsynchour and nsslapd-auditfaillog-logrotationsyncmin attributes to 0.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-auditfaillog-logrotationsync-enabled:
on
This attribute sets the hour of the day the audit fail log is rotated. This attribute must be
used in conjunction with nsslapd-auditfaillog-logrotationsync-enabled and nsslapd-
auditfaillog-logrotationsyncmin attributes.
Parameter Description
Entry DN cn=config
Syntax Integer
Example nsslapd-auditfaillog-logrotationsynchour: 23
46
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This attribute sets the minute the audit fail log is rotated. This attribute must be used in
conjunction with nsslapd-auditfaillog-logrotationsync-enabled and nsslapd-
auditfaillog-logrotationsynchour attributes.
Parameter Description
Entry DN cn=config
Syntax Integer
Example nsslapd-auditfaillog-logrotationsyncmin: 30
This attribute sets the time between audit fail log file rotations. The audit fail log is rotated
when this time interval ends, regardless of the current size of the audit fail log. This
attribute supplies only the number of units. The units (day, week, month, and so forth) are
given by the nsslapd-auditfaillog-logrotationtimeunit attribute. If the nsslapd-
auditfaillog-maxlogsperdir attribute is set to 1, the server ignores this attribute.
Although it is not recommended for performance reasons to specify no log rotation, as the
log grows indefinitely, there are two ways of specifying this. Either set the nsslapd-
auditfaillog-maxlogsperdir attribute value to 1 or set the nsslapd-auditfaillog-
logrotationtime attribute to -1. The server checks the nsslapd-auditfaillog-
maxlogsperdir attribute first, and, if this attribute value is larger than1, the server then
checks the nsslapd-auditfaillog-logrotationtime attribute. See Section 3.1.1.52,
“nsslapd-auditfaillog-maxlogsperdir (Audit Fail Log Maximum Number of Log Files)” for
more information.
Parameter Description
Entry DN cn=config
Default Value 1
Syntax Integer
47
Configuration, Command, and File Reference
Parameter Description
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute sets the maximum audit fail log size in megabytes. When this value is
reached, the audit fail log is rotated. That means the server starts writing log information to
a new log file. If the nsslapd-auditfaillog-maxlogsperdir parameter is set to 1, the
server ignores this attribute.
Parameter Description
Entry DN cn=config
Syntax Integer
Example nsslapd-auditfaillog-maxlogsize: 50
This attribute sets the total number of audit fail logs that can be contained in the directory
48
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
where the audit log is stored. Each time the audit fail log is rotated, a new log file is
created. When the number of files contained in the audit log directory exceeds the value
stored on this attribute, then the oldest version of the log file is deleted. The default is 1
log. If this default is accepted, the server will not rotate the log, and it grows indefinitely.
If the value for this attribute is higher than 1, then check the nsslapd-auditfaillog-
logrotationtime attribute to establish whether log rotation is specified. If thensslapd-
auditfaillog-logrotationtime attribute has a value of -1, then there is no log rotation.
See Section 3.1.1.49, “nsslapd-auditfaillog-logrotationtime (Audit Fail Log Rotation Time)”
for more information.
Parameter Description
Entry DN cn=config
Default Value 1
Syntax Integer
Example nsslapd-auditfaillog-maxlogsperdir: 10
This attribute sets the access mode or file permissions with which audit fail log files are to
be created. The valid values are any combination of 000 to 777 since they mirror numbered
or absolute UNIX file permissions. The value must be a combination of a 3-digit number, the
digits varying from 0 through 7:
0 - None
1 - Execute only
2 - Write only
4 - Read only
In the 3-digit number, the first digit represents the owner's permissions, the second digit
represents the group's permissions, and the third digit represents everyone's permissions.
When changing the default value, remember that 000 does not allow access to the logs and
that allowing write permissions to everyone can result in the logs being overwritten or
deleted by anyone.
49
Configuration, Command, and File Reference
The newly configured access mode only affects new logs that are created; the mode is set
when the log rotates to a new file.
Parameter Description
Entry DN cn=config
Syntax Integer
This is the full path to the directory holding the certificate and key databases for a
Directory Server instance. This directory must contain only the certificate and key
databases for this instance and no other instances. This directory must be owned and allow
read-write access for the server user ID. No other user should have read-right access to this
directory. The default location is the configuration file directory,
/etc/dirsrv/slapd-instance.
Changes to this value will not take effect until the server is restarted.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example /etc/dirsrv/slapd-phonebook
This attribute can be used when client authentication is performed using TLS certificates in
order to avoid limitations of the security subsystem certificate mapping, configured in the
/etc/dirsrv/slapd-instance_name/certmap.conf file. Depending on the configuration in
this file, the certificate mapping may be done using a directory subtree search based at the
root DN. If the search is based at the root DN, then the nsslapd-certmap-basedn attribute
may force the search to be based at some entry other than the root. The valid value for
this attribute is the DN of the suffix or subtree to use for certificate mapping.
50
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
Example nsslapd-certmap-basedn:
ou=People,dc=example,dc=com
3.1.1.56. nsslapd-config
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
3.1.1.57. nsslapd-cn-uses-dn-syntax-in-dns
The Directory Server DN normalizer follows RFC4514 and keeps a white space if the RDN
attribute type is not based on the DN syntax. However the Directory Server's configuration
entry sometimes uses a cn attribute to store a DN value. For example indn:
cn="dc=A,dc=com", cn=mapping tree,cn=config, the cn should be normalized following
the DN syntax.
Parameter Description
Entry DN cn=config
51
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
3.1.1.58. nsslapd-connection-buffer
0: Disable buffering. Only single Protocol Data Units (PDU) are read at a time.
The value 2 provides a better performance if the client sends a large amount of data at
once. This is, for example, the case for large add and modify operations, or when many
asynchronous requests are received over a single connections like during a replication.
Parameter Description
Entry DN cn=config
Default Value 1
Syntax Integer
Example nsslapd-connection-buffer: 1
3.1.1.59. nsslapd-connection-nocanon
This option allows you to enable or disable the SASL NOCANON flag. Disabling avoids the
Directory Server looking up DNS reverse entries for outgoing connections.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
52
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Example nsslapd-connection-nocanon: on
3.1.1.60. nsslapd-conntablesize
This attribute sets the connection table size, which determines the total number of
connections supported by the server.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config
Syntax Integer
Increase the value of this attribute if Directory Server is refusing connections because it is
out of connection slots. When this occurs, the Directory Server's error log file records the
message Not listening for new connections -- too many fds open.
It may be necessary to increase the operating system limits for the number of open files
and number of open files per process, and it may be necessary to increase the ulimit for
the number of open files (ulimit -n) in the shell that starts the Directory Server. See
Section 3.1.1.115, “nsslapd-maxdescriptors (Maximum File Descriptors)” for more
information.
3.1.1.61. nsslapd-counters
The nsslapd-counters attribute enables and disables Directory Server database and server
performance counters.
There can be a performance impact by keeping track of the larger counters. Turning off 64-
bit integers for counters can have a minimal improvement on performance, although it
negatively affects long term statistics tracking.
This parameter is enabled by default. To disable counters, stop the Directory Server, edit
the dse.ldif file directly, and restart the server.
53
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-counters: on
3.1.1.62. nsslapd-csnlogging
This attribute sets whether change sequence numbers (CSNs), when available, are to be
logged in the access log. By default, CSN logging is turned on.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-csnlogging: on
3.1.1.63. nsslapd-defaultnamingcontext
This attribute gives the naming context, of all configured naming contexts, which clients
should use by default as a search base. This value is copied over to the root DSE as the
defaultNamingContext attribute, which allows clients to query the root DSE to obtain the
context and then to initiate a search with the appropriate base.
Parameter Description
Entry DN cn=config
Syntax DN
54
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Example nsslapd-defaultnamingcontext:
dc=example,dc=com
3.1.1.64. nsslapd-disk-monitoring
This attribute enables a thread which runs every ten (10) seconds to check the available
disk space on the disk or mount where the Directory Server database is running. If the
available disk space drops below a configured threshold, then the server begins reducing
logging levels, disabling access or audit logs, and deleting rotated logs. If that does not free
enough available space, then the server shuts down gracefully (after a wanring and grace
period).
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-disk-monitoring: on
3.1.1.65. nsslapd-disk-monitoring-grace-period
Sets a grace period to wait before shutting down the server after it hits half of the disk
space limit set in nsslapd-disk-monitoring-threshold. This gives the administrator time to
clean out the disk and prevent a shutdown.
Parameter Description
Entry DN cn=config
Default Value 60
Syntax Integer
Example nsslapd-disk-monitoring-grace-period: 45
3.1.1.66. nsslapd-disk-monitoring-logging-critical
55
Configuration, Command, and File Reference
Sets whether to shut down the server if the log directories pass the halfway point set in the
disk space limit, nsslapd-disk-monitoring-threshold.
If this is enabled, then logging is not disabled and rotated logs arenot deleted as means of
reducing disk usage by the server. The server simply goes toward a shutdown process.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-disk-monitoring-logging-critical: on
3.1.1.67. nsslapd-disk-monitoring-threshold
Sets the threshold, in bytes, to use to evaluate whether the server has enough available
disk space. Once the space reaches half of this threshold, then the server begins a shut
down process.
For example, if the threshold is 2MB (the default), then once the available disk space
reaches 1MB, the server will begin to shut down.
By default, the threshold is evaluated backs on the disk space used by the configuration,
transaction, and database directories for the Directory Server instance. If the nsslapd-disk-
monitoring-logging-critical attribute is enabled, then the log directory is included in the
evaluation.
Parameter Description
Entry DN cn=config
Valid Values
0 to the maximum 32-bit integer value
(2147483647) on 32-bit systems
Syntax DirectoryString
56
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
3.1.1.68. nsslapd-dn-validate-strict
The nsslapd-syntaxcheck attribute enables the server to verify that any new or modified
attribute value matches the required syntax for that attribute.
However, the syntax rules for DNs have grown increasingly strict. Attempting to enforce DN
syntax rules in RFC 4514 could break many servers using older syntax definitions. By
default, then nsslapd-syntaxcheck validates DNs using RFC 1779 or RFC 2253.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.69. nsslapd-ds4-compatible-schema
Makes the schema in cn=schema compatible with 4.x versions of Directory Server.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.70. nsslapd-enable-nunc-stans
57
Configuration, Command, and File Reference
WARNING
The service must be restarted for changes to this attribute to take effect.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.71. nsslapd-enable-turbo-mode
This parameter allows you to enable or disable the turbo mode feature.
The connection code contains a turbo mode feature, that lets a worker thread continuously
read a connection, without passing it back to the polling mechanism. This can enhance
performance on very active connections. If single operations like adding entries take a long
time, disabling the turbo mode can improve the speed by applying the operations in
parallel.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
This attribute is deprecated and will be removed in a future version of Directory Server.
This attribute controls whether quoting in the objectclass attributes contained in the
58
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
cn=schema entry conforms to the quoting specified by Internet draft RFC 2252. By default,
the Directory Server conforms to RFC 2252, which indicates that this value should not be
quoted. Only very old clients need this value set to on, so leave it off.
Turning this attribute on or off does not affect Directory Server Console.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.73. nsslapd-entryusn-global
You do not have to restart the server for this setting to take effect.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.74. nsslapd-entryusn-import-initval
Entry update sequence numbers (USNs) are not preserved when entries are exported from
one server and imported into another, including when initializing a database for replication.
By default, the entry USNs for imported entries are set to zero.
It is possible to configure a different initial value for entry USNs using nsslapd-entryusn-
import-initval. This sets a starting USN which is used for all imported entries.
59
Configuration, Command, and File Reference
An integer, which is the explicit start number used for every imported entry.
next, which means that every imported entry uses whatever the highest entry USN
value was on the server before the import operation, incremented by one.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
This attribute sets the path and filename of the log used to record error messages
generated by the Directory Server. These messages can describe error conditions, but more
often they contain informative conditions, such as:
This log contains differing amounts of information depending on the current setting of the
Log Level attribute. See Section 3.1.1.76, “nsslapd-errorlog-level (Error Log Level)” for more
information.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-errorlog:
/var/log/dirsrv/slapd-instance/errors
For error logging to be enabled, this attribute must have a valid path and filename, and the
nsslapd-errorlog-logging-enabled configuration attribute must be switched to on. The
table lists the four possible combinations of values for these two configuration attributes
and their outcome in terms of disabling or enabling of error logging.
60
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
nsslapd-errorlog-logging- on Disabled
enabled
empty string
nsslapd-errorlog
nsslapd-errorlog-logging- on Enabled
enabled
filename
nsslapd-errorlog
This attribute sets the level of logging for the Directory Server. The log level is additive;
that is, specifying a value of 3 includes both levels 1 and 2.
Parameter Description
Entry DN cn=config
61
Configuration, Command, and File Reference
Parameter Description
Valid Values
1 — Trace function calls. Logs a
message when the server enters and
exits a function.
8 — Connection management.
Syntax Integer
62
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
3.1.1.77. nsslapd-errorlog-list
Parameter Description
Entry DN cn=config
Valid Values
Syntax DirectoryString
This attribute sets the maximum age that a log file is allowed to reach before it is deleted.
This attribute supplies only the number of units. The units (day, week, month, and so forth)
are given by the nsslapd-errorlog-logexpirationtimeunit attribute.
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
Example nsslapd-errorlog-logexpirationtime: 1
This attribute sets the units for the nsslapd-errorlog-logexpirationtime attribute. If the
unit is unknown by the server, then the log never expires.
Parameter Description
Entry DN cn=config
63
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-errorlog-logging-enabled: on
This attribute sets the maximum amount of disk space in megabytes that the error logs are
allowed to consume. If this value is exceeded, the oldest error log is deleted.
When setting a maximum disk space, consider the total number of log files that can be
created due to log file rotation. Also, remember that there are three different log files
(access log, audit log, and error log) maintained by the Directory Server, each of which
consumes disk space. Compare these considerations to the total amount of disk space for
the error log.
Parameter Description
Entry DN cn=config
64
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Default Value -1
Syntax Integer
This attribute sets the minimum allowed free disk space in megabytes. When the amount of
free disk space falls below the value specified on this attribute, the oldest error log is
deleted until enough disk space is freed to satisfy this attribute.
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
Example nsslapd-errorlog-logminfreediskspace: -1
This attribute sets whether error log rotation is to be synchronized with a particular time of
the day. Synchronizing log rotation this way can generate log files at a specified time
during a day, such as midnight to midnight every day. This makes analysis of the log files
much easier because they then map directly to the calendar.
For error log rotation to be synchronized with time-of-day, this attribute must be enabled
with the nsslapd-errorlog-logrotationsynchour and nsslapd-errorlog-
logrotationsyncmin attribute values set to the hour and minute of the day for rotating log
files.
For example, to rotate error log files every day at midnight, enable this attribute by setting
its value to on, and then set the values of thensslapd-errorlog-logrotationsynchour
and nsslapd-errorlog-logrotationsyncmin attributes to 0.
Parameter Description
Entry DN cn=config
65
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
Example nsslapd-errorlog-logrotationsync-enabled: on
This attribute sets the hour of the day for rotating error logs. This attribute must be used in
conjunction with nsslapd-errorlog-logrotationsync-enabled and nsslapd-errorlog-
logrotationsyncmin attributes.
Parameter Description
Entry DN cn=config
Default Value 0
Syntax Integer
Example nsslapd-errorlog-logrotationsynchour: 23
This attribute sets the minute of the day for rotating error logs. This attribute must be used
in conjunction with nsslapd-errorlog-logrotationsync-enabled and nsslapd-
errorlog-logrotationsynchour attributes.
Parameter Description
Entry DN cn=config
Default Value 0
Syntax Integer
66
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Example nsslapd-errorlog-logrotationsyncmin: 30
This attribute sets the time between error log file rotations. The error log is rotated when
this time interval is up, regardless of the current size of the error log. This attribute supplies
only the number of units. The units (day, week, month, and so forth) are given by the
nsslapd-errorlog-logrotationtimeunit (Error Log Rotation Time Unit) attribute.
Although it is not recommended for performance reasons to specify no log rotation, as the
log grows indefinitely, there are two ways of specifying this. Either set the nsslapd-
errorlog-maxlogsperdir attribute value to 1 or set the nsslapd-errorlog-
logrotationtime attribute to -1. The server checks the nsslapd-errorlog-
maxlogsperdir attribute first, and, if this attribute value is larger than1, the server then
checks the nsslapd-errorlog-logrotationtime attribute. See Section 3.1.1.89, “nsslapd-
errorlog-maxlogsperdir (Maximum Number of Error Log Files)” for more information.
Parameter Description
Entry DN cn=config
Default Value 1
Syntax Integer
This attribute sets the units for nsslapd-errorlog-logrotationtime (Error Log Rotation
Time). If the unit is unknown by the server, then the log never expires.
Parameter Description
Entry DN cn=config
67
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
This attribute sets the maximum error log size in megabytes. When this value is reached,
the error log is rotated, and the server starts writing log information to a new log file. If
nsslapd-errorlog-maxlogsperdir is set to 1, the server ignores this attribute.
When setting a maximum log size, consider the total number of log files that can be
created due to log file rotation. Also, remember that there are three different log files
(access log, audit log, and error log) maintained by the Directory Server, each of which
consumes disk space. Compare these considerations to the total amount of disk space for
the error log.
Parameter Description
Entry DN cn=config
Syntax Integer
This attribute sets the total number of error logs that can be contained in the directory
where the error log is stored. Each time the error log is rotated, a new log file is created.
When the number of files contained in the error log directory exceeds the value stored on
this attribute, then the oldest version of the log file is deleted. The default is 1 log. If this
default is accepted, the server does not rotate the log, and it grows indefinitely.
If the value for this attribute is higher than 1, then check the nsslapd-errorlog-
logrotationtime attribute to establish whether log rotation is specified. If thensslapd-
errorlog-logrotationtime attribute has a value of -1, then there is no log rotation. See
Section 3.1.1.86, “nsslapd-errorlog-logrotationtime (Error Log Rotation Time)” for more
information.
68
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=config
Default Value 1
Syntax Integer
Example nsslapd-errorlog-maxlogsperdir: 10
This attribute sets the access mode or file permissions with which error log files are to be
created. The valid values are any combination of 000 to 777 since they mirror numbered or
absolute UNIX file permissions. That is, the value must be a combination of a 3-digit
number, the digits varying from 0 through 7:
0 - None
1 - Execute only
2 - Write only
4 - Read only
In the 3-digit number, the first digit represents the owner's permissions, the second digit
represents the group's permissions, and the third digit represents everyone's permissions.
When changing the default value, remember that 000 does not allow access to the logs and
that allowing write permissions to everyone can result in the logs being overwritten or
deleted by anyone.
The newly configured access mode only affects new logs that are created; the mode is set
when the log rotates to a new file.
Parameter Description
Entry DN cn=config
69
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
3.1.1.91. nsslapd-force-sasl-external
When establishing a TLS connection, a client sends its certificate first and then issues a
BIND request using the SASL/EXTERNAL mechanism. Using SASL/EXTERNAL tells the
Directory Server to use the credentials in the certificate for the TLS handshake. However,
some clients do not use SASL/EXTERNAL when they send their BIND request, so the
Directory Server processes the bind as a simple authentication request or an anonymouse
request and the TLS connection fails.
Parameter Description
Entry DN cn=config
Syntax String
Example nsslapd-force-sasl-external: on
3.1.1.92. nsslapd-groupevalnestlevel
This attribute is deprecated, and documented here only for historical purposes.
The Access Control Plug-in does not use the value specified by the nsslapd-
groupevalnestlevel attribute to set the number of levels of nesting that access control
performs for group evaluation. Instead, the number of levels of nesting is hardcoded as 5.
Parameter Description
Entry DN cn=config
Valid Range 0 to 5
Default Value 5
70
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax Integer
Example nsslapd-groupevalnestlevel: 5
This attribute sets the amount of time in seconds after which an idle LDAP client connection
is closed by the server. A value of 0 means that the server never closes idle connections.
This setting applies to all connections and all users. Idle timeout is enforced when the
connection table is walked, when poll() does not return zero. Therefore, a server with a
single connection never enforces the idle timeout.
Use the nsIdleTimeout operational attribute, which can be added to user entries, to
override the value assigned to this attribute. For details, see the "Setting Resource Limits
Based on the Bind DN" section in the Red Hat Directory Server Administration Guide.
NOTE
For very large databases, with millions of entries, this attribute must have a
high enough value that the online initialization process can complete or
replication will fail when the connection to the server times out. Alternatively,
the nsIdleTimeout attribute can be set to a high value on the entry used as
the supplier bind DN.
Parameter Description
Entry DN cn=config
Default Value 0
Syntax Integer
Example nsslapd-idletimeout: 0
3.1.1.94. nsslapd-ignore-virtual-attrs
This parameter allows to disable the virtual attribute lookup in a search entry.
If you do not require virtual attributes, you can disable virtual attribute lookups in search
results to increase the speed of searches.
71
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute is deprecated. There are now separate configuration parameters for instance-
specific paths, such as nsslapd-certdir and nsslapd-lockdir. See the documentation for
the specific directory path that is set.
This attribute sets the amount of time in milliseconds after which the connection to a
stalled LDAP client is closed. An LDAP client is considered to be stalled when it has not
made any I/O progress for read or write operations.
Parameter Description
Entry DN cn=config
Syntax Integer
This attribute sets whether the Directory Server maintains the creatorsName,
createTimestamp, modifiersName, and modifyTimestamp operational attributes for newly
created or updated entries.
IMPORTANT
72
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
You do not have to restart the server for this setting to take effect.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-lastmod: on
The nsslapd-ldapiautobind sets whether the server will allow users to autobind to
Directory Server using LDAPI. Autobind maps the UID or GUID number of a system user to a
Directory Server user, and automatically authenticates the user to Directory Server based
on those credentials. The Directory Server connection occurs over UNIX socket.
Along with enabling autobind, configuring autobind requires configuring mapping entries.
The nsslapd-ldapimaprootdn maps a root user on the system to the Directory Manager.
The nsslapd-ldapimaptoentries maps regular users to Directory Server users, based on
the parameters defined in the nsslapd-ldapiuidnumbertype, nsslapd-
ldapigidnumbertype, and nsslapd-ldapientrysearchbase attributes.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
With autobind, it is possible to map system users to Directory Server user entries, based on
the system user's UID and GUID numbers. This requires setting Directory Server
parameters for which attribute to use for the UID number (nsslapd-ldapiuidnumbertype)
and GUID number (nsslapd-ldapigidnumbertype) and setting the search base to use to
search for matching user entries.
73
Configuration, Command, and File Reference
The nsslapd-ldapientrysearchbase gives the subtree to search for user entries to use for
autobind.
Parameter Description
Entry DN cn=config
Valid Values DN
Syntax DN
Example nsslapd-ldapientrysearchbase:
ou=people,dc=example,dc=om
LDAPI connects a user to an LDAP server over a UNIX socket rather than TCP. In order to
configure LDAPI, the server must be configured to communicate over a UNIX socket. The
UNIX socket to use is set in the nsslapd-ldapifilepath attribute.
Parameter Description
Entry DN cn=config
Autobind can be used to authenticate system users to the server automatically and connect
to the server using a UNIX socket. To map the system user to a Directory Server user for
authentication, the system user's UID and GUID numbers should be mapped to be a
Directory Server attribute. The nsslapd-ldapigidnumbertype attribute points to the
Directory Server attribute to map system GUIDs to user entries.
Users can only connect to the server with autobind if LDAPI is enabled (nsslapd-
ldapilisten and nsslapd-ldapifilepath), autobind is enabled (nsslapd-
ldapiautobind), and autobind mapping is enabled for regular users (nsslapd-
74
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
ldapimaptoentries).
Parameter Description
Entry DN cn=config
Syntax DirectoryString
The nsslapd-ldapilisten enables LDAPI connections to the Directory Server. LDAPI allows
users to connect to the Directory Server over a UNIX socket rather than a standard TCP
port. Along with enabling LDAPI by setting nsslapd-ldapilisten to on, there must also be
a UNIX socket set for LDAPI in the nsslapd-ldapifilepath attribute.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
With autobind, a system user is mapped to a Directory Server user and then automatically
authenticated to the Directory Server over a UNIX socket.
The root system user (the user with a UID of 0) is mapped to whatever Directory Server
entry is specified in the nsslapd-ldapimaprootdn attribute.
Parameter Description
Entry DN cn=config
75
Configuration, Command, and File Reference
Parameter Description
Syntax DN
With autobind, a system user is mapped to a Directory Server user and then automatically
authenticated to the Directory Server over a UNIX socket. This mapping is automatic for
root users, but it must be enabled for regular system users through the nsslapd-
ldapimaptoentries attribute. Setting this attribute toon enables mapping for regular
system users to Directory Server entries. If this attribute is not enabled, then only root
users can use autobind to authenticate to the Directory Server, and all other users connect
anonymously.
Users can only connect to the server with autobind if LDAPI is enabled (nsslapd-
ldapilisten and nsslapd-ldapifilepath) and autobind is enabled (nsslapd-
ldapiautobind).
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-ldapimaptoentries: on
3.1.1.105. nsslapd-ldapiuidnumbertype
Autobind can be used to authenticate system users to the server automatically and connect
to the server using a UNIX socket. To map the system user to a Directory Server user for
authentication, the system user's UID and GUID numbers must be mapped to be a
Directory Server attribute. The nsslapd-ldapiuidnumbertype attribute points to the
Directory Server attribute to map system UIDs to user entries.
Users can only connect to the server with autobind if LDAPI is enabled (nsslapd-
ldapilisten and nsslapd-ldapifilepath), autobind is enabled (nsslapd-
76
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.106. nsslapd-ldifdir
Directory Server exports files in LDAP Data Interchange Format (LDIF) format to the
directory set in this parameter when using the db2ldif or db2ldif.pl. The directory must
be owned by the Directory Server user and group. Only this user and group must have read
and write access in this directory.
The service must be restarted for changes to this attribute to take effect.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-ldifdir:
/var/lib/dirsrv/slapd-instance_name/ldif/
3.1.1.107. nsslapd-listen-backlog-size
This attribute sets the maximum of the socket connection backlog. The listen service sets
the number of sockets available to receive incoming connections. The backlog setting sets
a maximum length for how long the queue for the socket (sockfd) can grow before refusing
connections.
Parameter Description
Entry DN cn=config
77
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
This attribute allows multiple Directory Server instances to run on a multihomed machine
(or makes it possible to limit listening to one interface of a multihomed machine). There
can be multiple IP addresses associated with a single hos tname, and these IP addresses
can be a mix of both IPv4 and IPv6. This parameter can be used to restrict the
Directory Server instance to a single IP interface.
If a host name is given as the nsslapd-listenhost value, then the Directory Server
responds to requests for every interface associated with the host name. If a single IP
interface (either IPv4 or IPv6) is given as the nsslapd-listenhost value, Directory Server
only responds to requests sent to that specific interface. Either an IPv4 or IPv6 address can
be used.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
This attribute specifies the host machine on which the Directory Server runs. This attribute
creates the referral URL that forms part of the MMR protocol. In a high-availability
configuration with failover nodes, that referral should point to the virtual name of the
cluster, not the local host name.
78
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute sets the user as whom the Directory Server runs. The group as which the user
runs is derived from this attribute by examining the user's primary group. Should the user
change, then all of the instance-specific files and directories for this instance need to be
changed to be owned by the new user, using a tool such as chown.
The value for the nsslapd-localuser is set initially when the server instance is configured.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
This is the full path to the directory the server uses for lock files. The default value is
/var/lock/dirsrv/slapd-instance. Changes to this value will not take effect until the
server is restarted.
Parameter Description
Entry DN cn=config
79
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
3.1.1.112. nsslapd-localssf
The nsslapd-localssf parameter sets the security strength factor (SSF) for LDAPI
connections. Directory Server allows LDAPI connections only if the value set in nsslapd-
localssf is greater or equal than the value set in thensslapd-minssf parameter.
Therefore, LDAPI connections meet the minimum SSF set in nsslapd-minssf.
You do not have to restart the server for this setting to take effect.
Parameter Description
Entry DN cn=config
Default Value 71
Syntax Integer
Example nsslapd-localssf: 71
Controls whether logs will use high resolution timestamps with nanosecond precision, or
standard resolution timestamps with one second precision. Enabled by default. Set this
option to off to revert log timestamps back to one second precision, which was used in
Red Hat Directory Server 10.0 and earlier.
This setting does not require restarting the server to take effect.
Parameter Description
Entry DN cn=config
Default Value on
80
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
Example nsslapd-logging-hr-timestamps-enabled: on
Defines the maximum size in bytes allowed for an incoming message. This limits the size of
LDAP requests that can be handled by the Directory Server. Limiting the size of requests
prevents some kinds of denial of service attacks.
The limit applies to the total size of the LDAP request. For example, if the request is to add
an entry and if the entry in the request is larger than the configured value or the default,
then the add request is denied. However, the limit is not applied to replication processes.
Be cautious before changing this attribute.
Parameter Description
Entry DN cn=config
Syntax Integer
This attribute sets the maximum, platform-dependent number of file descriptors that the
Directory Server tries to use. A file descriptor is used whenever a client connects to the
server and also for some server activities, such as index maintenance. File descriptors are
also used by access logs, error logs, audit logs, database files (indexes and transaction
logs), and as sockets for outgoing connections to other servers for replication and chaining.
The number of descriptors available for TCP/IP to serve client connections is determined by
nsslapd-conntablesize, and is equal to thensslapd-maxdescriptors attribute minus the
number of file descriptors used by the server as specified in the nsslapd-
reservedescriptors attribute for non-client connections, such as index management and
managing replication. The nsslapd-reservedescriptors attribute is the number of file
descriptors available for other uses as described above. See Section 3.1.1.141, “nsslapd-
reservedescriptors (Reserved File Descriptors)”.
81
Configuration, Command, and File Reference
The number given here should not be greater than the total number of file descriptors that
the operating system allows the ns-slapd process to use. This number differs depending on
the operating system.
If this value is set too high, the Directory Server queries the operating system for the
maximum allowable value, and then use that value. It also issues a warning in the error
log. If this value is set to an invalid value remotely, by using the Directory Server Console
or ldapmodify, the server rejects the new value, keep the old value, and respond with an
error.
Some operating systems let users configure the number of file descriptors available to a
process. See the operating system documentation for details on file descriptor limits and
configuration. The dsktune program (explained in the Red Hat Directory Server
Installation Guide) can be used to suggest changes to the system kernel or TCP/IP tuning
attributes, including increasing the number of file descriptors if necessary. Increased the
value on this attribute if the Directory Server is refusing connections because it is out of file
descriptors. When this occurs, the following message is written to the Directory Server's
error log file:
See Section 3.1.1.60, “nsslapd-conntablesize” for more information about increasing the
number of incoming connections.
NOTE
UNIX shells usually have configurable limits on the number of file descriptors.
See the operating system documentation for further information about limit
and ulimit, as these limits can often cause problems.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config
Syntax Integer
When a user is authenticated to the Directory Server over SASL GSS-API, the server must
allocate a certain amount of memory to the client to perform LDAP operations, according to
how much memory the client requests. It is possible for an attacker to send such a large
packet size that it crashes the Directory Server or ties it up indefinitely as part of a denial of
service attack.
82
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
The packet size which the Directory Server will allow for SASL clients can be limited using
the nsslapd-maxsasliosize attribute. This attribute sets the maximum allowed SASL IO
packet size that the server will accept.
When an incoming SASL IO packet is larger than the nsslapd-maxsasliosize limit, the
server immediately disconnects the client and logs a message to the error log, so that an
administrator can adjust the setting if necessary.
Parameter Description
Entry DN cn=config
Valid Range
-1 (unlimited) to the maximum 32-bit integer
value (2147483647) on 32-bit systems
Syntax Integer
Defines the maximum number of threads that a connection should use. For normal
operations where a client binds and only performs one or two operations before unbinding,
use the default value. For situations where a client binds and simultaneously issues many
requests, increase this value to allow each connection enough resources to perform all the
operations. This attribute is not available from the server console.
Parameter Description
Entry DN cn=config
Default Value 5
Syntax Integer
Example nsslapd-maxthreadsperconn: 5
83
Configuration, Command, and File Reference
3.1.1.118. nsslapd-minssf
TLS and SASL connections can be mixed in a connection to the Directory Server. These
connections generally have different SSFs. The higher of the two SSFs is used to compare
to the minimum SSF requirement.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.119. nsslapd-minssf-exclude-rootdse
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.120. nsslapd-moddn-aci
84
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This parameter controls the ACI checks when directory entries are moved from one subtree
to another and using source and target restrictions in moddn operations. For backward
compatibility, you can disable the ACI checks.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-moddn-aci: on
3.1.1.121. nsslapd-malloc-mmap-threshold
Instead of manually editing the service files to set the M_MMAP_THRESHOLD environment
variable, the nsslapd-malloc-mmap-threshold parameter enables you to set the value in
the Directory Server configuration. For further details, see the M_MMAP_THRESHOLD
parameter description in the mallopt(3) man page.
This setting does not require restarting the server to take effect.
Parameter Description
Entry DN cn=config
Syntax Integer
3.1.1.122. nsslapd-malloc-mxfast
85
Configuration, Command, and File Reference
Instead of manually editing the service files to set the M_MXFAST environment variable, the
nsslapd-malloc-mxfast parameter enables you to set the value in the Directory Server
configuration. For further details, see the M_MXFAST parameter description in the mallopt(3)
man page.
This setting does not require restarting the server to take effect.
Parameter Description
Entry DN cn=config
Syntax Integer
3.1.1.123. nsslapd-malloc-trim-threshold
Instead of manually editing the service files to set the M_TRIM_THRESHOLD environment
variable, the nsslapd-malloc-trim-threshold parameter enables you to set the value in
the Directory Server configuration. For further details, see the M_TRIM_THRESHOLD
parameter description in the mallopt(3) man page.
This setting does not require restarting the server to take effect.
Parameter Description
Entry DN cn=config
Syntax Integer
3.1.1.124. nsslapd-nagle
When the value of this attribute is off, the TCP_NODELAY option is set so that LDAP
86
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
responses (such as entries or result messages) are sent back to a client immediately. When
the attribute is turned on, default TCP behavior applies; specifically, sending data is delayed
so that additional data can be grouped into one packet of the underlying network MTU size,
typically 1500 bytes for Ethernet.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
3.1.1.125. nsslapd-ndn-cache-enabled
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-ndn-cache-enabled: on
3.1.1.126. nsslapd-ndn-cache-max-size
If a DN requested is not cached already, it is normalized and added. When the cache size
limit is exceeded, Directory Server removes the least recently used 10,000 DNs from the
cache. However, a minimum of 10,000 DNs is always kept cached.
87
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=config
Syntax Integer
3.1.1.127. nsslapd-outbound-ldap-io-timeout
This attribute limits the I/O wait time for all outbound LDAP connections. The default is
300000 milliseconds (5 minutes). A value of 0 means that the server does not impose a limit
on I/O wait time.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute sets the maximum number of entries to return from a search operation
specifically which uses the simple paged results control. This overrides the nsslapd-
sizelimit attribute for paged searches.
If this value is set to zero, then the nsslapd-sizelimit attribute is used for paged
searches as well as non-paged searches.
Parameter Description
Entry DN cn=config
88
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Default Value
Syntax Integer
3.1.1.129. nsslapd-plug-in
This read-only attribute lists the DNs of the plug-in entries for the syntax and matching rule
plug-ins loaded by the server.
3.1.1.130. nsslapd-plugin-binddn-tracking
Sets the bind DN used for an operation as the modifier of an entry, even if the operation
itself was initiated by a server plug-in. The specific plug-in which performed the operation is
listed in a separate operational attribute, internalModifiersname.
One change can trigger other, automatic changes in the directory tree. When a user is
deleted, for example, that user is automatically removed from any groups it belonged to by
the Referential Integrity Plug-in. The initial deletion of the user is performed by whatever
user account is bound to the server, but the updates to the groups (by default) are shown
as being performed by the plug-in, with no information about which user initiated that
update. The nsslapd-plugin-binddn-tracking attribute allows the server to track which
user originated an update operation, as well as the internal plug-in which actually
performed it. For example:
dn: cn=my_group,ou=groups,dc=example,dc=com
modifiersname: uid=jsmith,ou=people,dc=example,dc=com
internalModifiersname: cn=referential integrity
plugin,cn=plugins,cn=config
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-plugin-binddn-tracking: on
89
Configuration, Command, and File Reference
3.1.1.131. nsslapd-plugin-logging
By default, even if access logging is set to record internal operations, plug-in internal
operations are not logged in the access log file. Instead of enabling the logging in each
plug-in's configuration, you can control it globally with this parameter.
When enabled, plug-ins use this global setting and log access and audit events if enabled.
In case nsslapd-plugin-logging is not set, unindexed searches from plug-ins are still
logged in the Directory Server error log.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute gives the TCP/IP port number used for standard LDAP communications. To run
TLS over this port, use the Start TLS extended operation. This selected port must be unique
on the host system; make sure no other application is attempting to use the same port
number. Specifying a port number of less than 1024 means the Directory Server has to be
started as root.
The server sets its uid to the nsslapd-localuser value after startup. When changing the
port number for a configuration directory, the corresponding server instance entry in the
configuration directory must be updated.
The server has to be restarted for the port number change to be taken into account.
Parameter Description
Entry DN cn=config
Syntax Integer
90
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
NOTE
Set the port number to zero (0) to disable the LDAP port if the LDAPS port is
enabled.
3.1.1.133. nsslapd-privatenamespaces
This read-only attribute contains the list of the private naming contexts cn=config,
cn=schema, and cn=monitor.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
When the fine-grained password syntax is not set, new or updated passwords are not
checked even though the global password syntax is configured. To inherit the global fine-
grained password syntax, set this attribute to on.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
91
Configuration, Command, and File Reference
If this attribute has a value of off, all entries (except for cn=Directory Manager) in the
directory are subjected to the global password policy; the server ignores any defined
subtree/user level password policy.
If this attribute has a value of on, the server checks for password policies at the subtree-
and user-level and enforce those policies.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute sets whether the whole server is in read-only mode, meaning that neither
data in the databases nor configuration information can be modified. Any attempt to modify
a database in read-only mode returns an error indicating that the server is unwilling to
perform the operation.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This multi-valued attribute specifies the LDAP URLs to be returned by the suffix when the
server receives a request for an entry not belonging to the local tree; that is, an entry
whose suffix does not match the value specified on any of the suffix attributes. For
example, assume the server contains only entries:
92
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
ou=People,dc=example,dc=com
ou=Groups,dc=example,dc=com
In this case, the referral would be passed back to the client in an attempt to allow the LDAP
client to locate a server that contains the requested entry. Although only one referral is
allowed per Directory Server instance, this referral can have multiple values.
NOTE
For more information on managing referrals, see the "Configuring Directory Databases"
chapter in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
Example nsslapd-referral:
ldap://ldap.example.com/dc=example,dc=com
When set, this attribute sends back the referral for any request on any suffix.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
93
Configuration, Command, and File Reference
Parameter Description
Example nsslapd-referralmode:
ldap://ldap.example.com
3.1.1.139. nsslapd-require-secure-binds
This parameter requires that a user authenticate to the directory over a protected
connection such as TLS, StartTLS, or SASL, rather than a regular connection.
NOTE
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-require-secure-binds: on
3.1.1.140. nsslapd-requiresrestart
This parameter lists what other core configuration attributes require that the server be
restarted after a modification. This means that if any attribute listed in nsslapd-
requiresrestart is changed, the new setting does not take effect until after the server is
restarted. The list of attributes can be returned in an ldapsearch:
Parameter Description
Entry DN cn=config
Default Value
94
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
This attribute specifies the number of file descriptors that Directory Server reserves for
managing non-client connections, such as index management and managing replication.
The number of file descriptors that the server reserves for this purpose subtracts from the
total number of file descriptors available for servicing LDAP client connections (See
Section 3.1.1.115, “nsslapd-maxdescriptors (Maximum File Descriptors)”).
Most installations of Directory Server should never need to change this attribute. However,
consider increasing the value on this attribute if all of the following are true:
The server is replicating to a large number of consumer servers (more than 10), or
the server is maintaining a large number of index files (more than 30).
There are error messages reporting that the server is unable to open file descriptors
(the actual error message differs depending on the operation that the server is
attempting to perform), but these error messages are not related to managing
client LDAP connections.
Increasing the value on this attribute may result in more LDAP clients being unable to
access the directory. Therefore, the value on this attribute is increased, also increase the
value on the nsslapd-maxdescriptors attribute. It may not be possible to increase the
nsslapd-maxdescriptors value if the server is already using the maximum number of file
descriptors that the operating system allows a process to use; see the operating system
documentation for details. If this is the case, then reduce the load on the server by causing
LDAP clients to search alternative directory replicas. See Section 3.1.1.60, “nsslapd-
conntablesize” for information about file descriptor usage for incoming connections.
To assist in computing the number of file descriptors set for this attribute, use the following
formula:
NglobalIndex is the total number of configured indexes for all databases including
system indexes. (By default 8 system indexes and 17 additional indexes per
database).
ReplicationDescriptor is eight (8) plus the number of replicas in the server that can
act as a supplier or hub (NSupplierReplica).
95
Configuration, Command, and File Reference
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config
Default Value 64
Syntax Integer
Example nsslapd-reservedescriptors: 64
Returns the exact case of attribute type names as requested by the client. Although
LDAPv3-compliant clients must ignore the case of attribute names, some client applications
require attribute names to match exactly the case of the attribute as it is listed in the
schema when the attribute is returned by the Directory Server as the result of a search or
modify operation. However, most client applications ignore the case of attributes;
therefore, by default, this attribute is disabled. Do not modify it unless there are legacy
clients that can check the case of attribute names in results returned from the server.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
3.1.1.143. nsslapd-rewrite-rfc1274
96
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This attribute is used only for LDAPv2 clients that require attribute types to be returned
with their RFC 1274 names. Set the value to on for those clients. The default isoff.
This attribute sets the distinguished name (DN) of an entry that is not subject to access
control restrictions, administrative limit restrictions for operations on the directory, or
resource limits in general. There does not have to be an entry corresponding to this DN,
and by default there is not an entry for this DN, thus values like cn=Directory Manager are
acceptable.
For information on changing the root DN, see the "Creating Directory Entries" chapter in
the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Default Value
Syntax DN
This attribute sets the password associated with the Manager DN. When the root password
is provided, it is encrypted according to the encryption method selected for the nsslapd-
rootpwstoragescheme attribute. When viewed from the server console, this attribute
shows the value *****. When viewed from the dse.ldif file, this attribute shows the
encryption method followed by the encrypted string of the password. The example shows
the password as displayed in the dse.ldif file, not the actual password.
WARNING
97
Configuration, Command, and File Reference
IMPORTANT
When resetting the Directory Manager's password from the command line, do
not use curly braces ({}) in the password. The root password is stored in the
format {password-storage-scheme}hashed_password. Any characters in curly
braces are interpreted by the server as the password storage scheme for the
root password. If that text is not a valid storage scheme or if the password that
follows is not properly hashed, then the Directory Manager cannot bind to the
server.
Parameter Description
Entry DN cn=config
Default Value
This attribute sets the method used to encrypt the Directory Server's manager password
stored in the nsslapd-rootpw attribute. For further details, such as recommended strong
password storage schemes, see Section 4.1.43, “Password Storage Schemes”.
This setting does not require restarting the server to take effect.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.147. nsslapd-rundir
98
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This parameter sets the absolute path to the directory in which Directory Server stores run-
time information, such as the PID file. The directory must be owned by the Directory Server
user and group. Only this user and group must have read and write access in this directory.
The service must be restarted for changes to this attribute to take effect.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.148. nsslapd-sasl-mapping-fallback
By default, only first matching SASL mapping is checked. If this mapping fails, the bind
operation will fail even if there are other matching mappings that might have worked. SASL
mapping fallback will keep checking all of the matching mappings.
You do not have to restart the server for this setting to take effect.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.149. nsslapd-sasl-max-buffer-size
Parameter Description
Entry DN cn=config
99
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
3.1.1.150. nsslapd-saslpath
Sets the absolute path to the directory containing the Cyrus-SASL SASL2 plug-ins. Setting
this attribute allows the server to use custom or non-standard SASL plug-in libraries. This is
usually set correctly during installation, and Red Hat strongly recommends not changing
this attribute. If the attribute is not present or the value is empty, this means the
Directory Server is using the system provided SASL plug-in libraries which are the correct
version.
If this parameter is set, the server uses the specified path for loading SASL plug-ins. If this
parameter is not set, the server uses the SASL_PATH environment variable. If neither
nsslapd-saslpath or SASL_PATH are set, the server attempts to load SASL plug-ins from
the default location, /usr/lib/sasl2.
Changes made to this attribute will not take effect until the server is restarted.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Ignores trailing spaces in object class names. By default, the attribute is turned off. If the
directory contains entries with object class values that end in one or more spaces, turn this
attribute on. It is preferable to remove the trailing spaces because the LDAP standards do
not allow them.
For performance reasons, server restart is required for changes to take effect.
An error is returned by default when object classes that include trailing spaces are added to
100
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
an entry. Additionally, during operations such as add, modify, and import (when object
classes are expanded and missing superiors are added) trailing spaces are ignored, if
appropriate. This means that even when nsslapd-schema-ignore-trailing-spaces is on,
a value such as top is not added if top is already there. An error message is logged and
returned to the client if an object class is not found and it contains trailing spaces.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-schema-ignore-trailing-spaces: on
This attribute sets whether the database schema is enforced when entries are added or
modified. When this attribute has a value of on, Directory Server will not check the schema
of existing entries until they are modified. The database schema defines the type of
information allowed in the database. The default schema can be extended using the object
classes and attribute types. For information on how to extend the schema using the
Directory Server Console, see the "Extending the Directory Schema" chapter in the Red Hat
Directory Server Administration Guide.
WARNING
Red Hat strongly discourages turning off schema checking. This can lead
to severe interoperability problems. This is typically used for very old or
non-standard LDAP data that must be imported into the Directory Server.
If there are not a lot of entries that have this problem, consider using the
extensibleObject object class in those entries to disable schema
checking on a per entry basis.
101
Configuration, Command, and File Reference
NOTE
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-schemacheck: on
3.1.1.153. nsslapd-schemadir
This is the absolute path to the directory containing the Directory Server instance-specific
schema files. When the server starts up, it reads the schema files from this directory, and
when the schema is modified through LDAP tools, the schema files in this directory are
updated. This directory must be owned by the server user ID, and that user must have read
and write permissions to the directory.
Changes made to this attribute will not take effect until the server is restarted.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-schemadir:
/etc/dirsrv/instance_name/schem
3.1.1.154. nsslapd-schemamod
102
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Online schema modifications require a lock protection that are impacting the performance.
If schema modifications are disabled, setting this parameter to off can increase the
performance.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-schemamod: on
3.1.1.155. nsslapd-schemareplace
Determines whether modify operations that replace attribute values are allowed on the
cn=schema entry.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.156. nsslapd-search-return-original-type-switch
If the attribute list passed to a search contains a space followed by other characters, the
same string is returned to the client. For example:
This behavior is disabled by default, but can be enabled using this configuration parameter.
Parameter Description
Entry DN cn=config
103
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
3.1.1.157. nsslapd-securelistenhost
This attribute allows multiple Directory Server instances to run on a multihomed machine
(or makes it possible to limit listening to one interface of a multihomed machine). There
can be multiple IP addresses associated with a single host name, and these IP addresses
can be a mix of both IPv4 and IPv6. This parameter can be used to restrict the
Directory Server instance to a single IP interface; this parameter also specifically sets what
interface to use for TLS traffic rather than regular LDAP connections.
If a host name is given as the nsslapd-securelistenhost value, then the Directory Server
responds to requests for every interface associated with the host name. If a single IP
interface (either IPv4 or IPv6) is given as the nsslapd-securelistenhost value,
Directory Server only responds to requests sent to that specific interface. Either an IPv4 or
IPv6 address can be used.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
This attribute sets the TCP/IP port number used for TLS communications. This selected port
must be unique on the host system; make sure no other application is attempting to use
the same port number. Specifying a port number of less than 1024 requires that
Directory Server be started as root. The server sets its uid to the nsslapd-localuser
value after startup.
The server only listens to this port if it has been configured with a private key and a
certificate, and nsslapd-security is set to on; otherwise, it does not listen on this port.
104
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
The server has to be restarted for the port number change to be taken into account.
Parameter Description
Entry DN cn=config
Syntax Integer
This attribute sets whether the Directory Server is to accept TLS communications on its
encrypted port. This attribute should be set to on for secure connections. To run with
security on, the server must be configured with a private key and server certificate in
addition to the other TLS configuration.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute sets the maximum number of entries to return from a search operation. If this
limit is reached, ns-slapd returns any entries it has located that match the search request,
as well as an exceeded size limit error.
When no limit is set, ns-slapd returns every matching entry to the client regardless of the
number found. To set a no limit value whereby the Directory Server waits indefinitely for
the search to complete, specify a value of -1 for this attribute in the dse.ldif file.
105
Configuration, Command, and File Reference
NOTE
Parameter Description
Entry DN cn=config
Syntax Integer
3.1.1.161. nsslapd-snmp-index
This parameter controls the SNMP index number of the Directory Server instance.
If you have multiple Directory Server instances on the same host listening all on port 389
but on different network interfaces, this parameter allows you to set different SNMP index
numbers for each instance.
Parameter Description
Entry DN cn=config
Default Value 0
Syntax Integer
Example nsslapd-snmp-index: 0
3.1.1.162. nsslapd-SSLclientAuth
106
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
NOTE
This attribute sets whether an TLS-enabled Directory Server should verify authenticity of a
request by matching the host name against the value assigned to the common name (cn)
attribute of the subject name (subjectDN field) in the certificate being presented. By
default, the attribute is set to on. If it is on and if the host name does not match thecn
attribute of the certificate, appropriate error and audit messages are logged.
For example, in a replicated environment, messages similar to the following are logged in
the supplier server's log files if it finds that the peer server's host name does not match the
name specified in its certificate:
Red Hat recommends turning this attribute on to protect Directory Server's outbound TLS
connections against a man in the middle (MITM) attack.
NOTE
DNS and reverse DNS must be set up correctly in order for this to work;
otherwise, the server cannot resolve the peer IP address to the host name in
the subject DN in the certificate.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-ssl-check-hostname: on
107
Configuration, Command, and File Reference
3.1.1.164. nsslapd-syntaxcheck
This attribute validates all modifications to entry attributes to make sure that the new or
changed values conform to the required syntax for that attribute type. Any changes which
do not conform to the proper syntax are rejected, when this attribute is enabled. All
attribute values are validated against the syntax definitions in RFC 4514.
Syntax validation is only run against new or modified attributes; it does not validate the
syntax of existing attribute values. Syntax validation is triggered for LDAP operations such
as adds and modifies; it does not happen after operations like replication, since the validity
of the attribute syntax should be checked on the originating supplier.
This validates all supported attribute types for Directory Server, with the exception of
binary syntaxes (which cannot be verified) and non-standard syntaxes, which do not have a
defined required format. The unvalidated syntaxes are as follows:
Fax (binary)
OctetString (binary)
JPEG (binary)
Binary (non-standard)
URI (non-standard)
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example nnsslapd-syntaxcheck: on
3.1.1.165. nsslapd-syntaxlogging
This attribute sets whether to log syntax validation failures to the errors log. By default,
this is turned off.
108
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
syntaxcheck is disabled, then invalid changes are allowed to proceed, but a warning
message is written to the error log.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This performance tuning-related value sets the number of threads, Directory Server creates
at startup. If the value is set to -1 (default), Directory Server enables the optimized auto-
tuning based on the available hardware. Note that if auto-tuning is enabled, the nsslapd-
threadnumber shows the auto-generated number of threads while Directory Server is
running.
NOTE
For further details, see the corresponding section in the Red Hat Directory Server
Performance Tuning Guide.
Parameter Description
Entry DN cn=config
Default Value -1
Syntax Integer
Example nsslapd-threadnumber: -1
109
Configuration, Command, and File Reference
This attribute sets the maximum number of seconds allocated for a search request. If this
limit is reached, Directory Server returns any entries it has located that match the search
request, as well as an exceeded time limit error.
When no limit is set, ns-slapd returns every matching entry to the client regardless of the
time it takes. To set a no limit value whereby Directory Server waits indefinitely for the
search to complete, specify a value of -1 for this attribute in the dse.ldif file. A value of
zero (0) causes no time to be allowed for searches. The smallest time limit is 1 second.
NOTE
Parameter Description
Entry DN cn=config
Syntax Integer
3.1.1.168. nsslapd-tmpdir
This is the absolute path of the directory the server uses for temporary files. The directory
must be owned by the server user ID and the user must have read and write access. No
other user ID should have read or write acces to the directory. The default value is /tmp.
Changes made to this attribute will not take effect until the server is restarted.
3.1.1.169. nsslapd-validate-cert
If the Directory Server is configured to run in TLS and its certificate expires, then the
Directory Server cannot be started. The nsslapd-validate-cert parameter sets how the
Directory Server should respond when it attempts to start with an expired certificate:
warn allows the Directory Server to start successfully with an expired certificate, but
it sends a warning message that the certificate has expired. This is the default
setting.
on validates the certificate and will prevent the server from restarting if the
certificate is expired. This sets a hard failure for expired certificates.
110
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
off disables all certificate expiration validation, so the server can start with an
expired certificate without logging a warning.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.170. nsslapd-versionstring
This attribute sets the server version number. The build data is automatically appended
when the version string is displayed.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
3.1.1.171. nsslapd-workingdir
This is the absolute path of the directory that the server uses as its current working
directory after startup. This is the value that the server would return as the value of the
getcwd() function, and the value that the system process table shows as its current
working directory. This is the directory a core file is generated in. The server user ID must
have read and write access to the directory, and no other user ID should have read or write
access to it. The default value for this attribute is the same directory containing the error
log, which is usually /var/log/dirsrv/slapd-instance.
Changes made to this attribute will not take effect until the server is restarted.
3.1.1.172. passwordAllowChangeTime
This attribute specifies the length of time that must pass before the user is allowed to
change his password.
111
Configuration, Command, and File Reference
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
Example passwordAllowChangeTime: 5h
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Example passwordChange: on
This attribute sets whether the password syntax is checked before the password is saved.
The password syntax checking mechanism checks that the password meets or exceeds the
password minimum length requirement and that the string does not contain any trivial
words, such as the user's name or user ID or any attribute value stored in the uid, cn, sn,
givenName, ou, or mail attributes of the user's directory entry.
The length of string or tokens to use to compare when checking for trivial words in
the password (for example, if the token length is three, then no string of three
sequential characters in the user's UID, name, email address, or other parameters
can be used in the password)
112
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Indicates whether user passwords expire after a given number of seconds. By default, user
passwords do not expire. Once password expiration is enabled, set the number of seconds
after which the password expires using the passwordMaxAge attribute.
For more information on password policies, see the "Managing User Accounts" chapter in
the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example passwordExp: on
113
Configuration, Command, and File Reference
3.1.1.176. passwordExpirationTime
This attribute specifies the length of time that passes before the user’s password expires.
Parameter Description
Entry DN cn=config
Syntax GeneralizedTime
3.1.1.177. passwordExpWarned
This attribute indicates that a password expiration warning has been sent to the user.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute is only applicable if password expiration is enabled. After the user's password
has expired, the server allows the user to connect for the purpose of changing the
password. This is called a grace login. The server allows only a certain number of attempts
before completely locking out the user. This attribute is the number of grace logins allowed.
A value of 0 means the server does not allow grace logins.
Parameter Description
Entry DN cn=config
Default Value 0
114
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax Integer
Example passwordGraceLimit: 3
Enables password history. Password history refers to whether users are allowed to reuse
passwords. By default, password history is disabled, and users can reuse passwords. If this
attribute is set to on, the directory stores a given number of old passwords and prevents
users from reusing any of the stored passwords. Set the number of old passwords the
Directory Server stores using the passwordInHistory attribute.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Example passwordHistory: on
Indicates the number of passwords the Directory Server stores in history. Passwords that
are stored in history cannot be reused by users. By default, the password history feature is
disabled, meaning that the Directory Server does not store any old passwords, and so users
can reuse passwords. Enable password history using the passwordHistory attribute.
To prevent users from rapidly cycling through the number of passwords that are tracked,
use the passwordMinAge attribute.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
115
Configuration, Command, and File Reference
Parameter Description
Default Value 6
Syntax Integer
Example passwordInHistory: 7
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.182. passwordLegacyPolicy
Enables legacy password behavior. Older LDAP clients expected to receive an error to lock
a user account once the maximum failure limit was exceeded. For example, if the limit were
three failures, then the account was locked at the fourth failed attempt. Newer clients,
however, expect to receive the error message when the failure limit is reached. For
example, if the limit is three failures, then the account should be locked at the third failed
attempt.
Because locking the account when the failure limit is exceeded is the older behavior, it is
considered legacy behavior. It is enabled by default, but can be disabled to allow the new
LDAP clients to receive the error at the expected time.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
116
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Example passwordLegacyPolicy: on
Indicates whether users are locked out of the directory after a given number of failed bind
attempts. By default, users are not locked out of the directory after a series of failed bind
attempts. If account lockout is enabled, set the number of failed bind attempts after which
the user is locked out using the passwordMaxFailure attribute.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Indicates the amount of time in seconds during which users are locked out of the directory
after an account lockout. The account lockout feature protects against hackers who try to
break into the directory by repeatedly trying to guess a user's password. Enable and
disable the account lockout feature using the passwordLockout attribute.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
117
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
Indicates the number of seconds after which user passwords expire. To use this attribute,
password expiration has to be enabled using the passwordExp attribute.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Syntax Integer
Indicates the number of failed bind attempts after which a user is locked out of the
directory. By default, account lockout is disabled. Enable account lockout by modifying the
passwordLockout attribute.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Default Value 3
118
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax Integer
Example passwordMaxFailure: 3
Maximum number of times the same character can appear sequentially in the password.
Zero (0) is off. Integer values reject any password which used a character more than that
number of times; for example, 1 rejects characters that are used more than once a ( a) and 2
rejects characters used more than twice (aaa).
Parameter Description
Entry DN cn=config
Valid Range 0 to 64
Default Value 0
Syntax Integer
Example passwordMaxRepeats: 1
This sets the minimum number of 8-bit characters the password must contain.
NOTE
Parameter Description
Entry DN cn=config
Valid Range 0 to 64
Default Value 0
Syntax Integer
Example passwordMin8Bit: 0
119
Configuration, Command, and File Reference
Indicates the number of seconds that must pass before a user can change their password.
Use this attribute in conjunction with the passwordInHistory (number of passwords to
remember) attribute to prevent users from quickly cycling through passwords so that they
can use their old password again. A value of zero (0) means that the user can change the
password immediately.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Default Value 0
Syntax Integer
This attribute sets the minimum number of alphabetic characters password must contain.
Parameter Description
Entry DN cn=config
Valid Range 0 to 64
Default Value 0
Syntax Integer
Example passwordMinAlphas: 4
This sets the minimum number of character categories that are represented in the
password. The categories are:
Numbers
120
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
8-bit characters
For example, if the value of this attribute were set to 2, and the user tried to change the
password to aaaaa, the server would reject the password because it contains only lower
case characters, and therefore contains characters from only one category. A password of
aAaAaA would pass because it contains characters from two categories, uppercase and
lowercase.
The default is 3, which means that if password syntax checking is enabled, valid passwords
have to have three categories of characters.
Parameter Description
Entry DN cn=config
Valid Range 0 to 5
Default Value 0
Syntax Integer
Example passwordMinCategories: 2
Parameter Description
Entry DN cn=config
Valid Range 0 to 64
Default Value 0
Syntax Integer
Example passwordMinDigits: 3
This attribute specifies the minimum number of characters that must be used in
Directory Server user password attributes. In general, shorter passwords are easier to
crack. Directory Server enforces a minimum password of eight characters. This is long
enough to be difficult to crack but short enough that users can remember the password
without writing it down.
121
Configuration, Command, and File Reference
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Default Value 6
Syntax Integer
Example passwordMinLength: 6
This attribute sets the minimum number of lower case letters password must contain.
Parameter Description
Entry DN cn=config
Valid Range 0 to 64
Default Value 0
Syntax Integer
Example passwordMinLowers: 1
This attribute sets the minimum number of special, or not alphanumeric, characters a
password must contain.
Parameter Description
Entry DN cn=config
Valid Range 0 to 64
Default Value 0
Syntax Integer
122
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Example passwordMinSpecials: 1
This attribute sets the smallest attribute value length that is used for trivial words checking.
For example, if the PasswordMinTokenLength is set to 3, then a givenName of DJ does not
result in a policy that rejects DJ from being in the password, but the policy rejects a
password comtaining the givenName of Bob.
Parameter Description
Entry DN cn=config
Valid Range 1 to 64
Default Value 3
Syntax Integer
Example passwordMinTokenLength: 3
This sets the minimum number of uppercase letters password must contain.
Parameter Description
Entry DN cn=config
Valid Range 0 to 64
Default Value 0
Syntax Integer
Example passwordMinUppers: 2
Indicates whether users must change their passwords when they first bind to the
Directory Server or when the password has been reset by the Manager DN.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
123
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Indicates the amount of time in seconds after which the password failure counter resets.
Each time an invalid password is sent from the user's account, the password failure counter
is incremented. If the passwordLockout attribute is set to on, users are locked out of the
directory when the counter reaches the number of failures specified by the
passwordMaxFailure attribute (within 600 seconds by default). After the amount of time
specified by the passwordLockoutDuration attribute, the failure counter is reset to zero
(0).
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Syntax Integer
3.1.1.200. passwordSendExpiringTime
When a client requests the password expiring control, Directory Server returns the "time to
expire" value only if the password is within the warning period. To provide compatibility
with existing clients that always expect this value to be returned - regardless if the
password expiration time is within the warning period - the passwordSendExpiringTime
parameter can be set to on.
124
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=config
Syntax DirectoryString
This attribute sets the method used to encrypt user passwords stored in userPassword
attributes. For further details, such as recommended strong password storage schemes,
see Section 4.1.43, “Password Storage Schemes”.
NOTE
Red Hat recommends not setting this attribute. I the value is not set,
Directory Server automatically uses the strongest supported password storage
scheme available. If a future Directory Server update changes the default
value to increase security, passwords will be automatically encrypted using
the new storage scheme if a user set a passwords.
This setting does not require restarting the server to take effect.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.1.202. passwordTrackUpdateTime
Sets whether to record a separate timestamp specifically for the last time that the
password for an entry was changed. If this is enabled, then it adds the pwdUpdateTime
operational attribute to the user account entry (separate from other update times, like
modifyTime).
125
Configuration, Command, and File Reference
Using this timestamp can make it easier to synchronize password changes between
different LDAP stores, such as Active Directory.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
Indicates whether users are locked out of the directory for a specified amount of time or
until the administrator resets the password after an account lockout. The account lockout
feature protects against hackers who try to break into the directory by repeatedly trying to
guess a user's password. If this passwordUnlock attribute is set to off and the operational
attribute accountUnlockTime has a value of 0, then the account is locked indefinitely.
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Default Value on
Syntax DirectoryString
Indicates the number of seconds before a user's password is due to expire that the user
receives a password expiration warning control on their next LDAP operation. Depending on
the LDAP client, the user may also be prompted to change their password at the time the
warning is sent.
126
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
For more information on password policies, see the "Managing User Authentication" chapter
in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config
Syntax Integer
3.1.1.205. retryCountResetTime
This attribute specifies the length of time that passes before the passwordRetryCount
attribute is reset.
Parameter Description
Entry DN cn=config
Syntax Integer
Example retryCountResetTime: 15
3.1.2. cn=changelog5,cn=config
Multi-master replication changelog configuration entries are stored under the
cn=changelog5 entry. The cn=changelog5,cn=config entry is an instance of the
extensibleObject object class.
top
extensibleObject
127
Configuration, Command, and File Reference
NOTE
3.1.2.1. cn
This required attribute sets the relative distinguished name (RDN) of a changelog entry.
Parameter Description
Entry DN cn=changelog5,cn=config
Syntax DirectoryString
Example cn=changelog5
3.1.2.2. nsslapd-changelogcompactdb-interval
The Berkeley database does not reuse free pages unless the database is explicitly
compacted. The compact operation returns the unused pages to the file system and the
database file size shrinks. This parameter defines the interval in seconds when the
changelog database is compacted. Note that compacting the database is resource-
intensive, and thus should not be done to frequently.
Parameter Description
Entry DN cn=changelog5,cn=config
Syntax Integer
Example nsslapd-changelogcompactdb-interval:
2592000
3.1.2.3. nsslapd-changelogdir
128
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This required attribute specifies the name of the directory in which the changelog entry is
created. Whenever a changelog configuration entry is created, it must contain a valid
directory; otherwise, the operation is rejected. The GUI proposes by default that this entry
be stored in /var/lib/dirsrv/slapd-instance/changelogdb/.
WARNING
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=changelog5,cn=config
Syntax DirectoryString
Example nsslapd-changelogdir:
/var/lib/dirsrv/slapd-instance/changelogdb/
When synchronizing with a consumer, each update is stored in the changelog with a time
stamp. The nsslapd-changelogmaxage parameter sets the maximum age of a record
stored in the changelog. Older records, that were successfully transferred to all replicas,
are removed automatically. If the nsslapd-changelogmaxage and nsslapd-
changelogmaxentries parameters are not set, all records are kept.
NOTE
The file size of the replication changelog is not automatically reduced if you set
a lower value in the nsslapd-changelogmaxentries parameter. For further
details, see the corresponding sections in the
Red Hat Directory Administration Guide.
129
Configuration, Command, and File Reference
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=changelog5,cn=config
Default Value 0
When synchronizing with a consumer, each update is stored in the changelog. The
nsslapd-changelogmaxentries parameter sets the maximum number of records stored in
the changelog. The oldest records, that were successfully transferred to all replicas and
exceeding this number, are removed automatically. If the nsslapd-changelogmaxentries
and nsslapd-changelogmaxage parameters are not set, all records are kept.
NOTE
The file size of the replication changelog is not automatically reduced if you set
a lower value in the nsslapd-changelogmaxentries parameter. For further
details, see the corresponding sections in the
Red Hat Directory Administration Guide.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=changelog5,cn=config
Default Value 0
130
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax Integer
This attribute specifies the value used to initialize the new semaphore that controls the
concurrent writes to the changelog. For information on the changelog, see Section 3.1.2.3,
“nsslapd-changelogdir”.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=changelog5,cn=config
Default Value 2
Syntax DirectoryString
Example nsslapd-changelogmaxconcurrentwrites: 4
Directory Server repeatedly runs a trimming process on the changelog. To change the time
between two runs, update the nsslapd-changelogtrim-interval parameter and set the
interval in seconds.
Parameter Description
Entry DN cn=changelog5,cn=config
Syntax DirectoryString
131
Configuration, Command, and File Reference
Parameter Description
This attribute specifies the encryption algorithm used to encrypt the changelog. To enable
the changelog encryption, the server certificate must be installed on the directory server.
For information on the changelog, see Section 3.1.2.3, “nsslapd-changelogdir”.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=changelog5,cn=config
Syntax DirectoryString
3.1.2.9. nsSymmetricKey
This attribute stores the internally-generated symmetric key. For information on the
changelog, see Section 3.1.2.3, “nsslapd-changelogdir”.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=changelog5,cn=config
Syntax DirectoryString
Example None
132
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
3.1.3.1. changes
This attribute contains the changes made to the entry for add and modify operations in
LDIF format.
OID 2.16.840.1.113730.3.1.8
Syntax Binary
3.1.3.2. changeLog
This attribute contains the distinguished name of the entry which contains the set of
entries comprising the server’s changelog.
OID 2.16.840.1.113730.3.1.35
Syntax DN
3.1.3.3. changeNumber
This attribute is always present. It contains an integer which uniquely identifies each
change made to a directory entry. This number is related to the order in which the change
occurred. The higher the number, the later the change.
OID 2.16.840.1.113730.3.1.5
Syntax Integer
3.1.3.4. changeTime
This attribute defines a time, in a YYMMDDHHMMSS format, when the entry was added.
OID 2.16.840.1.113730.3.1.77
Syntax DirectoryString
133
Configuration, Command, and File Reference
3.1.3.5. changeType
This attribute specifies the type of LDAP operation, add, delete, modify, or modrdn. For
example:
changeType: modify
OID 2.16.840.1.113730.3.1.7
Syntax DirectoryString
3.1.3.6. deleteOldRdn
In the case of modrdn operations, this attribute specifies whether the old RDN was deleted.
A value of zero (0) will delete the old RDN. Any other non-zero value will keep the old RDN.
(Non-zero values can be negative or positive integers.)
OID 2.16.840.1.113730.3.1.10
Syntax Boolean
3.1.3.7. filterInfo
OID 2.16.840.1.113730.3.1.206
Syntax DirectoryString
134
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
3.1.3.8. newRdn
In the case of modrdn operations, this attribute specifies the new RDN of the entry.
OID 2.16.840.1.113730.3.1.9
Syntax DN
3.1.3.9. newSuperior
In the case of modrdn operations, this attribute specifies the new parent (superior) entry for
the moved entry.
OID 2.16.840.1.113730.3.1.11
Syntax DN
3.1.3.10. targetDn
This attribute contains the DN of the entry that was affected by the LDAP operation. In the
case of a modrdn operation, the targetDn attribute contains the DN of the entry before it
was modified or moved.
OID 2.16.840.1.113730.3.1.6
Syntax DN
3.1.4. cn=encryption
Encryption related attributes are stored under the cn=encryption,cn=config entry. The
cn=encryption,cn=config entry is an instance of the nsslapdEncryptionConfig object
class.
3.1.4.1. allowWeakCipher
135
Configuration, Command, and File Reference
This attribute controls whether weak ciphers are allowed or rejected. The default depends
on the value set in the nsSSL3Ciphers parameter.
Exportable ciphers are labeled EXPORT in the cipher name. For example, in
TLS_RSA_EXPORT_WITH_RC4_40_MD5.
Symmetrical ciphers use the same cryptographic keys for both encryption and
decryption.
The server has to be restarted for changes to this attribute to take effect.
Entry DN cn=encryption,cn=config
Syntax DirectoryString
Example allowWeakCipher: on
3.1.4.2. allowWeakDHParam
The network security services (NSS) libraries linked with Directory Server requires minimum
of 2048-bit Diffie-Hellman (DH) parameters. However, some clients connecting to
Directory Server, such as Java 1.6 and 1.7 clients, only support 1024-bit DH parameters.
The allowWeakDHParam parameter allows you to enable support for weak 1024-bit DH
parameters in Directory Server.
The server has to be restarted for changes to this attribute to take effect.
Parameter Description
Entry DN cn=encryption,cn=config
Syntax DirectoryString
136
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
3.1.4.3. nsSSL2
NOTE
The SSLv2 protocol is no longer supported in Directory Server and the nsSSL2
parameter is ignored if set. Use TLS v1.1 or higher for secure communications.
3.1.4.4. nsSSL2Ciphers
This attribute previously specified the set of encryption ciphers Directory Server used
during SSL communications.
NOTE
3.1.4.5. nsSSL3
WARNING
The SSLv2 and SSLv3 protocols are deprecated due to the CVE-2014-3566
(POODLE) vulnerability, and Red Hat strongly discourages using it. Use
TLS v1.1 or higher for secure communications.
If the sslVersionMin and sslVersionMax parameters are set in conjunction with nsSSL3
and nsTLS1, Directory Server selects the most secure settings from these parameters.
The server has to be restarted for changes to this attribute to take effect.
Parameter Description
Entry DN cn=encryption,cn=config
137
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
Example nsSSL3: on
3.1.4.6. nsSSL3Ciphers
This attribute specifies the set of SSLv3 and TLS encryption ciphers Directory Server uses
during encrypted communications.
The value set in this parameter influences the default value of the allowWeakCipher
parameter. For details, see Section 3.1.4.1, “allowWeakCipher”.
WARNING
The SSLv2 and SSLv3 protocols are deprecated due to the CVE-2014-3566
(POODLE) vulnerability, and Red Hat strongly discourages using it. Use
TLS v1.1 or higher for secure communications.
Parameter Description
Entry DN cn=encryption,cn=config
138
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
Example nsSSL3Ciphers:
+TLS_RSA_AES_128_SHA,+TLS_RSA_AES_256_S
HA,+TLS_RSA_WITH_AES_128_GCM_SHA256,-
RSA_NULL_SHA
For details how to list all supported ciphers, see the corresponding section in the Red Hat
Directory Server Administration Guide.
3.1.4.7. nsSSL3SessionTimeout
This attribute sets the lifetime duration of an SSLv3 connection. The minimum timeout
value is 5 seconds. If a smaller value is set, then it is automatically replaced by5 seconds.
A value greater than the maximum value in the valid range below is replaced by the
maximum value in the range.
The server has to be restarted for changes to this attribute to go into effect.
WARNING
The SSLv2 and SSLv3 protocols are deprecated due to the CVE-2014-3566
(POODLE) vulnerability, and Red Hat strongly discourages using it. Use
TLS v1.1 or higher for secure communications.
Entry DN cn=encryption,cn=config
Syntax Integer
Example nsSSL3SessionTimeout: 5
139
Configuration, Command, and File Reference
3.1.4.8. nsSSLActivation
This attribute shows whether an TLS cipher family is enabled for a given security module.
Entry DN cn=encryptionType,cn=encryption,cn=config
Default Value
Syntax DirectoryString
Example nsSSLActivation: on
3.1.4.9. nsSSLClientAuth
This attribute shows how the Directory Server enforces client authentication. It accepts the
following values:
allowed (default) - the Directory Server will accept client authentication, but not
require it
IMPORTANT
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config
Syntax DirectoryString
3.1.4.10. nsSSLEnabledCiphers
140
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
The attribute is read-only and displays the ciphers Directory Server currently uses. The list
might not be the same as you set in the nsSSL2Ciphers and nsSSL3Ciphers attribute. For
example, if you set weak ciphers in the nsSSL3Ciphers attribute, but allowWeakCipher is
disabled, the nsSSLEnabledCiphers attribute neither lists the weak ciphers nor does
Directory Server use them.
Parameter Description
Entry DN cn=config
Default Value
Syntax DirectoryString
Example nsSSLClientAuth:
TLS_RSA_WITH_AES_256_CBC_SHA::AES::SHA1:
:256
3.1.4.11. nsSSLPersonalitySSL
Entry DN cn=encryption,cn=config
Default Value
Syntax DirectoryString
3.1.4.12. nsSSLSessionTimeout
This attribute sets the lifetime duration of a TLS connection. The minimum timeout value is
5 seconds. If a smaller value is set, then it is automatically replaced by5 seconds. A value
greater than the maximum value in the valid range below is replaced by the maximum
value in the range.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=encryption,cn=config
141
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
Example nsSSLSessionTimeout: 5
3.1.4.13. nsSSLSupportedCiphers
WARNING
The SSLv2 and SSLv3 protocols are deprecated due to the CVE-2014-3566
(POODLE) vulnerability, and Red Hat strongly discourages using it. Use
TLS v1.1 or higher for secure communications.
Entry DN cn=encryption,cn=config
Default Value
Syntax DirectoryString
Example: nsSSLSupportedCiphers:
TLS_RSA_WITH_AES_256_CBC_SHA::AES::SHA1:
:256
3.1.4.14. nsSSLToken
This attribute contains the name of the token (security module) used by the server.
Entry DN cn=encryption,cn=config
Default Value
142
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Syntax DirectoryString
3.1.4.15. nsTLS1
Enables TLS version 1. The ciphers used with TLS are defined along with the SSLv3 ciphers
in the nsSSL3Ciphers attribute.
If the sslVersionMin and sslVersionMax parameters are set in conjunction with nsSSL3
and nsTLS1, Directory Server selects the most secure settings from these parameters.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=encryption,cn=config
Default Value on
Syntax DirectoryString
Example nsTLS1: on
3.1.4.16. sslVersionMin
The server has to be restarted for changes to this attribute to go into effect.
WARNING
The SSLv2 and SSLv3 protocols are deprecated due to the CVE-2014-3566
(POODLE) vulnerability, and Red Hat strongly discourages using it. Use
TLS v1.1 or higher for secure communications.
If the sslVersionMin and sslVersionMax parameters are set in conjunction with nsSSL3
and nsTLS1, Directory Server selects the most secure settings from these parameters.
Entry DN cn=encryption,cn=config
143
Configuration, Command, and File Reference
Syntax DirectoryString
3.1.4.17. sslVersionMax
Sets the maximum version of the SSL or TLS protocol to be used. By default this value is
set to the newest available protocol version in the NSS library installed on the system.
The server has to be restarted for changes to this attribute to go into effect.
WARNING
The SSLv2 and SSLv3 protocols are deprecated due to the CVE-2014-3566
(POODLE) vulnerability, and Red Hat strongly discourages using it. Use
TLS v1.1 or higher for secure communications.
If the sslVersionMin and sslVersionMax parameters are set in conjunction with nsSSL3
and nsTLS1, Directory Server selects the most secure settings from these parameters.
Entry DN cn=encryption,cn=config
Syntax DirectoryString
3.1.5. cn=features
There are not attributes for the cn=features entry itself. This entry is only used as a
parent container entry, with the nsContainer object class.
The child entries contain an oid attribute to identify the feature and the
directoryServerFeature object class, plus optional identifying information about the
feature, such as specific ACLs. For example:
dn: oid=2.16.840.1.113730.3.4.9,cn=features,cn=config
objectClass: top
objectClass: directoryServerFeature
144
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
oid: 2.16.840.1.113730.3.4.9
cn: VLV Request Control
aci: (targetattr != "aci")(version 3.0; acl "VLV Request Control"; allow(
read, search, compare, proxy ) userdn = "ldap:///all";)
creatorsName: cn=server,cn=plugins,cn=config
modifiersName: cn=server,cn=plugins,cn=config
createTimestamp: 20190129132357Z
modifyTimestamp: 20190129132357Z
3.1.5.1. oid
The oid attribute contains an object identifier assigned to a directory service feature.oid is
used as the naming attribute for these directory features.
OID 2.16.840.1.113730.3.1.215
Syntax DirectoryString
For example, a suffix is the root entry in the directory tree, such as
dc=example,dc=com.
You must write the suffix DN in quotes because it contains characters such as equals signs
(=), commas (,), and space characters. By using quotes, the DN appears correctly as a
value in another DN. For example: cn="dc=example,dc=com",cn=mapping
tree,cn=config
145
Configuration, Command, and File Reference
For further details, see the corresponding section in the Directory Server Administration
Guide.
3.1.7.1. cn
This mandatory attribute sets the relative distinguished name (RDN) of a new suffix.
Parameter Description
Default Value
Syntax DirectoryString
3.1.7.2. nsslapd-backend
This parameter sets the name of the database or database link used to process requests. It
is multi-valued, with one database or database link per value. This attribute is required
when the value of the nsslapd-state attribute is set to backend or referral on update.
Set the value to the name of the back-end database entry instance under cn=ldbm
database,cn=plugins,cn=config. For example: o=NetscapeRoot,cn=ldbm
database,cn=plugins,cn=config
Parameter Description
Default Value
Syntax DirectoryString
3.1.7.3. nsslapd-distribution-function
For further details about the custom distribution function, see the corresponding section in
the Directory Server Administration Guide.
146
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Default Value
Syntax DirectoryString
Example nsslapd-distribution-plugin:
distribution_function_name
3.1.7.4. nsslapd-distribution-plugin
The nssldap-distribution-plugin sets the shared library to be used with the custom
distribution function. You must set this attribute when you set more than one database in
the nsslapd-backend attribute.
For further details about the custom distribution function, see the corresponding section in
the Directory Server Administration Guide.
Parameter Description
Default Value
Syntax DirectoryString
Example nsslapd-distribution-plugin:
/path/to/shared/library
3.1.7.5. nsslapd-parent
If you want to create a sub suffix, use the nsslapd-parent attribute to define the parent
suffix.
If the attribute is not set, the new suffix is created as a root suffix.
Parameter Description
147
Configuration, Command, and File Reference
Parameter Description
Default Value
Syntax DirectoryString
3.1.7.6. nsslapd-referral
This attribute sets the LDAP URL of the referral to be returned by the suffix. You can add
the nssldap-referral attribute multiple times to set multiple referral URLs.
You must set this attribute if you set the nsslapd-state parameter to referral or on
update.
Parameter Description
Default Value
Syntax DirectoryString
3.1.7.7. nsslapd-state
This parameter determines how a suffix handles operations. The attribute takes the
following values:
disabled: The database is not available for processing operations. The server
returns a No such search object error in response to requests made by client
applications.
referral: Directory Server returns a referral URL for requests to this suffix.
referral on update: The database is used for all operations. Only for update
requests is a referral sent.
Parameter Description
148
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
top
extensibleObject
nsds5replica
3.1.8.1. cn
Sets the naming attribute for the replica. The cn attribute must be set to replica.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Syntax DirectoryString
Example cn=replica
3.1.8.2. nsds5DebugReplicaTimeout
This attribute gives an alternate timeout period to use when the replication is run with
149
Configuration, Command, and File Reference
debug logging. This can set only the time or both the time and the debug level:
nsds5debugreplicatimeout: seconds[:debuglevel]
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value
Syntax DirectoryString
3.1.8.3. nsDS5Flags
This attribute sets replica properties that were previously defined in flags. At present only
one flag exists, which sets whether the log changes.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value 0
Syntax Integer
Example nsDS5Flags: 0
3.1.8.4. nsDS5ReplConflict
Although this attribute is not in the cn=replica entry, it is used in conjunction with
replication. This multi-valued attribute is included on entries that have a change conflict
that cannot be resolved automatically by the synchronization process. To check for
replication conflicts requiring administrator intervention, perform an LDAP search for
(nsDS5ReplConflict=*). For example:
150
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
3.1.8.5. nsDS5ReplicaAutoReferral
This attribute sets whether the Directory Server follows configured referrals for the
database.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value
Syntax DirectoryString
Example nsDS5ReplicaAutoReferral: on
3.1.8.6. nsState
This attribute stores information on the state of the clock. It is designed only for internal
use to ensure that the server cannot generate a change sequence number (csn) inferior to
existing ones required for detecting backward clock errors.
3.1.8.7. nsDS5ReplicaAbortCleanRUV
This read-only attribute specifies whether the background task that removes old RUV
entries for obsolete or missing suppliers is being aborted. See Section 3.1.16.13, “cn=abort
cleanallruv” for more information about this task. A value of 0 means that the task is
inactive, and a value of 1 means that the task is active.
This attribute is present to allow the abort task to be resumed after a server restart. When
the task completes, the attribute is deleted.
The server ignores the modify request if this value is set manually.
151
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Syntax Integer
Example nsDS5ReplicaAbortCleanRUV: 1
These attributes are used in environments with heavy replication traffic, where updates
need to be sent as fast as possible.
By default, if a remote replica is busy, the replication protocol will go into a "back off" state,
and it will retry to send it updates at the next interval of the back-off timer. By default, the
timer starts at 3 seconds, and has a maximum wait period of 5 minutes. As these default
settings maybe not be sufficient under certain circumstances, you can use
nsds5ReplicaBackoffMin and nsds5ReplicaBackoffMax to configure the minimum and
maximum wait times.
The configuration settings can be applied while the server is online, and do not require a
server restart. If invalid settings are used, then the default values are used instead. The
configuration must be handled through CLI tools.
3.1.8.9. nsDS5ReplicaBindDN
This multi-valued attribute specifies the DN to use when binding. Although there can be
more than one value in this cn=replica entry, there can only be one supplier bind DN per
replication agreement. Each value should be the DN of a local entry on the consumer
server. If replication suppliers are using client certificate-based authentication to connect to
the consumers, configure the certificate mapping on the consumer to map the subjectDN
in the certificate to a local entry.
IMPORTANT
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
152
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Default Value
Syntax DirectoryString
3.1.8.10. nsDS5ReplicaBindDNGroup
The nsDS5ReplicaBindDNGroup attribute specifies a group DN. This group is then expanded
and its members, including the members of its subgroups, are added to the
replicaBindDNs attribute at startup or when the replica object is modified. This extends
the current functionality provided by the nsDS5ReplicaBindDN attribute, as it allows to set
a group DN.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value
Syntax DirectoryString
Example nsDS5ReplicaBindDNGroup:
cn=sample_group,ou=groups,dc=example,dc=c
om
3.1.8.11. nsDS5ReplicaBindDNGroupCheckInterval
Directory Server checks for any changes in the groups specified in the
nsDS5ReplicaBindDNGroup attribute and automatically rebuilds the list for the
replicaBindDN parameter accordingly. These operations have a negative effect on
performance and are therefore performed only at a specified interval set in the
nsDS5ReplicaBindDNGroupCheckInterval attribute.
-1: Disables the dynamic check at runtime. The administrator must restart the
instance when the nsDS5ReplicaBindDNGroup attribute changes.
0: Directory Server rebuilds the lists immediately after the groups are changed.
Any positive 32-bit integer value: Minimum number of seconds that are required to
pass since the last rebuild.
153
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value -1
Syntax Integer
Example nsDS5ReplicaBindDNGroupCheckInterval: 0
3.1.8.12. nsDS5ReplicaChangeCount
This read-only attribute shows the total number of entries in the changelog and whether
they still remain to be replicated. When the changelog is purged, only the entries that are
still to be replicated remain.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value
Syntax Integer
3.1.8.13. nsDS5ReplicaCleanRUV
This read-only attribute specifies whether the background task that removes old RUV
entries for obsolete or missing suppliers is active. See Section 3.1.16.12, “cn=cleanallruv”
for more information about this task. A value of 0 means that the task is inactive, and a
value of 1 means that the task is active.
This attribute is present to allow the cleanup task to be resumed after a server restart.
When the task completes, the attribute is deleted.
The server ignores the modify request if this value is set manually.
154
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Syntax Integer
Example nsDS5ReplicaCleanRUV: 0
3.1.8.14. nsDS5ReplicaId
This attribute sets the unique ID for suppliers in a given replication environment.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value
Syntax Integer
Example nsDS5ReplicaId: 1
3.1.8.15. nsDS5ReplicaLegacyConsumer
If this attribute is absent or has a value of false, then it means that the replica is not a
legacy consumer.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Syntax DirectoryString
155
Configuration, Command, and File Reference
Parameter Description
3.1.8.16. nsDS5ReplicaName
This attribute specifies the name of the replica with a unique identifier for internal
operations. If it is not specified, this unique identifier is allocated by the server when the
replica is created.
NOTE
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Valid Values
Default Value
3.1.8.17. nsds5ReplicaProtocolTimeout
When stopping the server, disabling replication, or removing a replication agreement, there
is a timeout on how long to wait before stopping replication when the server is under load.
The nsds5ReplicaProtocolTimeout attribute can be used to configure this timeout and its
default value is 120 seconds.
There may be scenarios where a timeout of 2 minutes is too long, or not long enough. For
example, a particular replication agreement may need more time before ending a
replication session during a shutdown.
This attribute can be added to the main replication configuration entry for a back end:
156
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=
mapping tree,cn=config
Syntax Integer
3.1.8.18. nsDS5ReplicaPurgeDelay
This attribute controls the maximum age of deleted entries (tombstone entries) and state
information.
The Directory Server stores tombstone entries and state information so that when a conflict
occurs in a multi-master replication process, the server resolves the conflicts based on the
timestamp and replica ID stored in the change sequence numbers.
Not every tombstone and state information may be removed because, with multi-master
replication, the server may need to keep a small number of the latest updates to prime
replication, even if they are older than the value of the attribute.
This attribute specifies the interval, in seconds, to perform internal purge operations on an
entry. When setting this attribute, ensure that the purge delay is longer than the longest
replication cycle in the replication policy to preserve enough information to resolve
replication conflicts and to prevent the copies of data stored in different servers from
diverging.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
157
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
3.1.8.19. nsDS5ReplicaReapActive
This read-only attribute specifies whether the background task that removes old
tombstones (deleted entries) from the database is active. See Section 3.1.8.23,
“nsDS5ReplicaTombstonePurgeInterval” for more information about this task. A value of 0
means that the task is inactive, and a value of 1 means that the task is active. The server
ignores the modify request if this value is set manually.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value
Syntax Integer
Example nsDS5ReplicaReapActive: 0
3.1.8.20. nsDS5ReplicaReferral
This multi-valued attribute specifies the user-defined referrals. This should only be defined
on a consumer. User referrals are only returned when a client attempts to modify data on a
read-only consumer. This optional referral overrides the referral that is automatically
configured by the consumer by the replication protocol.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value
158
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
Example nsDS5ReplicaReferral:
ldap://server.example.com:389
3.1.8.21. nsDS5ReplicaReleaseTimeout
This attribute, when used on masters and hubs in multi-master scenarios, determines a
timeout period (in seconds) after which a master will release a replica. This is useful in
situations when problems such as a slow network connection causes one master to acquire
access to a replica and hold it for a long time, preventing all other masters from accessing
it and sending updates. If this attribute is set, replicas are released by masters after the
specified period, resulting in improved replication performance.
Setting this attribute to 0 disables the timeout. Any other value determines the length of
the timeout in seconds.
IMPORTANT
Avoid setting this attribute to values between 1 and 30. In most scenarios,
short timeouts decrease the replication performance.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Default Value 60
Syntax Integer
Example nsDS5ReplicaReleaseTimeout: 60
3.1.8.22. nsDS5ReplicaRoot
This attribute sets the DN at the root of a replicated area. This attribute must have the
same value as the suffix of the database being replicated and cannot be modified.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
159
Configuration, Command, and File Reference
Parameter Description
Default Value
Syntax DirectoryString
3.1.8.23. nsDS5ReplicaTombstonePurgeInterval
This attribute specifies the time interval in seconds between purge operation cycles.
Periodically, the server runs an internal housekeeping operation to purge old update and
state information from the changelog and the main database. See Section 3.1.8.18,
“nsDS5ReplicaPurgeDelay”.
When setting this attribute, remember that the purge operation is time-consuming,
especially if the server handles many delete operations from clients and suppliers.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
Syntax Integer
3.1.8.24. nsDS5ReplicaType
Defines the type of replication relationship that exists between this replica and the others.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
160
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
0 means unknown
3 consumer/supplier (updateable)
Default Value
Syntax Integer
Example nsDS5ReplicaType: 2
3.1.8.25. nsds5Task
This attribute launches a replication task, such as dumping the database contents to an
LDIF file or removing obsolete masters from the replication topology.
You can set the nsds5Task attribute to one of the following values:
cleanruv: Removes a Replica Update Vector (RUV) from the master where you run
the operation.
You do not have to restart the server for this setting to take effect.
Parameter Description
Entry DN cn=replica,cn=suffixDN,cn=mapping
tree,cn=config
161
Configuration, Command, and File Reference
Parameter Description
Valid Values
cl2ldif
ldif2cl
cleanruv
cleanallruv
Default Value
Syntax DirectoryString
3.1.9.1. cn
This attribute is used for naming. Once this attribute has been set, it cannot be modified.
This attribute is required for setting up a replication agreement.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
3.1.9.2. description
Free form text description of the replication agreement. This attribute can be modified.
162
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
3.1.9.3. nsDS5ReplicaBindDN
This attribute sets the DN to use when binding to the consumer during replication. The
value of this attribute must be the same as the one in cn=replica on the consumer replica.
This may be empty if certificate-based authentication is used, in which case the DN used is
the subject DN of the certificate, and the consumer must have appropriate client certificate
mapping enabled. This can also be modified.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
3.1.9.4. nsDS5ReplicaBindMethod
This attribute sets the method for the server to use to bind to the consumer server.
Empty or SIMPLE: The server uses password-based authentication. When using this
bind method, additionally, set the nsds5ReplicaBindDN and
nsds5ReplicaCredentials parameters to provide a user name and password.
163
Configuration, Command, and File Reference
SASL/GSSAPI: Enables Kerberos authentication using SASL. This requires that the
supplier server have a Kerberos keytab, and the consumer server a SASL mapping
entry configured to map the supplier's Kerberos principal to the replication manager
entry.
For further details, see the following sections in the Red Hat Directory Server
Administration Guide:
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Syntax DirectoryString
3.1.9.5. nsDS5ReplicaBusyWaitTime
This attribute sets the amount of time in seconds a supplier should wait after a consumer
sends back a busy response before making another attempt to acquire access. The default
value is three (3) seconds. If the attribute is set to a negative value, Directory Server sends
the client a message and an LDAP_UNWILLING_TO_PERFORM error code.
Parameter Description
164
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value 3
Syntax Integer
Example nsDS5ReplicaBusyWaitTime: 3
3.1.9.6. nsDS5ReplicaChangesSentSinceStartup
This read-only attribute shows the number of changes sent to this replica since the server
started. The actual value in the attribute is stored as a binary blob; in the
Directory Server Console, this value is a ratio, in the form
replica_id:changes_sent/changes_skipped. For example, for 100 changes sent and no
changes skipped for replica 7, the attribute value is displayed in the Console as 7:100/0.
In the command line, the attribute value is shown in a binary form. For example:
nsds5replicaChangesSentSinceStartup:: MToxLzAg
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax Integer
Example nsds5replicaChangesSentSinceStartup::
MToxLzAg
3.1.9.7. nsDS5ReplicaCredentials
This attribute sets the credentials for the bind DN (specified in the nsDS5ReplicaBindDN
attribute) on the remote server containing the consumer replica. The value for this attribute
can be modified. When certificate-based authentication is used, this attribute may not have
a value. The example shows the dse.ldif entry, not the actual password. If this value over
LDAP or using the Console, set it to the cleartext credentials, and let the server encrypt the
value.
165
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Example nsDS5ReplicaCredentials:{DES}
9Eko69APCJfF08A0aD0C
3.1.9.8. nsds5ReplicaEnabled
This attribute sets whether a replication agreement is active, meaning whether replication
is occurring per that agreement. The default is on, so that replication is enabled.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value on
Syntax DirectoryString
3.1.9.9. nsds5ReplicaFlowControlPause
This parameters sets the time in milliseconds to pause after reaching the number of entries
and updates set in the nsds5ReplicaFlowControlWindow parameter is reached. Updating
both the nsds5ReplicaFlowControlWindow and nsds5ReplicaFlowControlPause
parameters enables you to fine-tune the replication throughput. For further details, see
Section 3.1.9.10, “nsds5ReplicaFlowControlWindow”.
This setting does not require restarting the server to take effect.
Parameter Description
Entry DN cn=replication_agreement_name,cn=replica,cn
=suffix_DN,cn=mapping tree,cn=config
166
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax Integer
3.1.9.10. nsds5ReplicaFlowControlWindow
This attribute sets the maximum number of entries and updates sent by a supplier, which
are not acknowledged by the consumer. After reaching the limit, the supplier pauses the
replication agreement for the time set in the nsds5ReplicaFlowControlPause parameter.
Updating both the nsds5ReplicaFlowControlWindow and nsds5ReplicaFlowControlPause
parameters enables you to fine-tune the replication throughput.
Update this setting if the supplier sends entries and updates faster than the consumer can
import or update, and acknowledge the data. In this case, the following message is logged
in the supplier's error log file:
Total update flow control gives time (2000 msec) to the consumer before
sending more entries [ msgid sent: xxx, rcv: yyy])
If total update fails you can try to increase nsds5ReplicaFlowControlPause
and/or decrease nsds5ReplicaFlowControlWindow in the replica agreement
configuration
This setting does not require restarting the server to take effect.
Parameter Description
Entry DN cn=replication_agreement_name,cn=replica,cn
=suffix_DN,cn=mapping tree,cn=config
Syntax Integer
3.1.9.11. nsDS5ReplicaHost
This attribute sets the host name for the remote server containing the consumer replica.
Once this attribute has been set, it cannot be modified.
167
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
3.1.9.12. nsDS5ReplicaLastInitEnd
This optional, read-only attribute states when the initialization of the consumer replica
ended.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax GeneralizedTime
3.1.9.13. nsDS5ReplicaLastInitStart
This optional, read-only attribute states when the initialization of the consumer replica
started.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
168
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Default Value
Syntax GeneralizedTime
3.1.9.14. nsDS5ReplicaLastInitStatus
This optional, read-only attribute provides status for the initialization of the consumer.
There is typically a numeric code followed by a short string explaining the status. Zero (0)
means success.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax String
3.1.9.15. nsDS5ReplicaLastUpdateEnd
This read-only attribute states when the most recent replication schedule update ended.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
169
Configuration, Command, and File Reference
Parameter Description
Default Value
Syntax GeneralizedTime
Example nsDS5ReplicaLastUpdateEnd:
20190502175801Z
3.1.9.16. nsDS5ReplicaLastUpdateStart
This read-only attribute states when the most recent replication schedule update started.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax GeneralizedTime
Example nsDS5ReplicaLastUpdateStart:
20190504122055Z
3.1.9.17. nsds5replicaLastUpdateStatus
170
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
3.1.9.18. nsDS5ReplicaPort
This attribute sets the port number for the remote server containing the replica. Once this
attribute has been set, it cannot be modified.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax Integer
Example nsDS5ReplicaPort:389
3.1.9.19. nsDS5ReplicaReapActive
This read-only attribute specifies whether the background task that removes old
tombstones (deleted entries) from the database is active. See Section 3.1.8.23,
“nsDS5ReplicaTombstonePurgeInterval” for more information about this task. A value of
zero (0) means that the task is inactive, and a value of1 means that the task is active. If
this value is set manually, the server ignores the modify request.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
171
Configuration, Command, and File Reference
Parameter Description
Default Value
Syntax Integer
Example nsDS5ReplicaReapActive: 0
3.1.9.20. nsDS5BeginReplicaRefresh
Initializes the replica. This attribute is absent by default. However, if this attribute is added
with a value of start, then the server initializes the replica and removes the attribute
value. To monitor the status of the initialization procedure, poll for this attribute. When
initialization is finished, the attribute is removed from the entry, and the other monitoring
attributes can be used for detailed status inquiries.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
3.1.9.21. nsDS5ReplicaRoot
This attribute sets the DN at the root of a replicated area. This attribute must have the
same value as the suffix of the database being replicated and cannot be modified.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
172
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
3.1.9.22. nsDS5ReplicaSessionPauseTime
This attribute sets the amount of time in seconds a supplier should wait between update
sessions. The default value is 0. If the attribute is set to a negative value, Directory Server
sends the client a message and an LDAP_UNWILLING_TO_PERFORM error code.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value 0
Syntax Integer
Example nsDS5ReplicaSessionPauseTime: 0
173
Configuration, Command, and File Reference
3.1.9.23. nsds5ReplicaStripAttrs
Fractional replication allows a list of attributes which are removed from replication updates
(nsDS5ReplicatedAttributeList). However, a change to an excluded attribute still
triggers a modify event and generates an empty replication update.
If a replication event is not empty, the stripped attributes are replicated. These attributes
are removed from updates only if the event would otherwise be emtpy.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
3.1.9.24. nsDS5ReplicatedAttributeList
This allowed attribute specifies any attributes that are not replicated to a consumer server.
Fractional replication allows databases to be replicated across slow connections or to less
secure consumers while still protecting sensitive information. By default, all attributes are
replicated, and this attribute is not present. For more information on fractional replication,
see the "Managing Replication" chapter in the Red Hat Directory Server
Administration Guide.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Valid Range
Default Value
Syntax DirectoryString
174
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
3.1.9.25. nsDS5ReplicatedAttributeListTotal
This allowed attribute specifies any attributes that are not replicated to a consumer server
during a total update.
Fractional replication only replicates specified attributes. This improves the overall network
performance. However, there may be times when administrators want to restrict some
attributes using fractional replication during an incremental update but allow those
attributes to be replicated during a total update (or vice versa).
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Valid Range
Default Value
Syntax DirectoryString
Example nsDS5ReplicatedAttributeListTotal:
(objectclass=*) $ EXCLUDE accountlockout
3.1.9.26. nsDS5ReplicaTimeout
This allowed attribute specifies the number of seconds outbound LDAP operations waits for
a response from the remote replica before timing out and failing. If the server writes
Warning: timed out waiting messages in the error log file, then increase the value of
this attribute.
Find out the amount of time the operation actually lasted by examining the access log on
the remote machine, and then set the nsDS5ReplicaTimeout attribute accordingly to
optimize performance.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
175
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
3.1.9.27. nsDS5ReplicaTransportInfo
This attribute sets the type of transport used for transporting data to and from the replica.
This attribute cannot be modified once it is set.
LDAP: The connection uses the unencrypted LDAP protocol. This value is also used, if
the nsDS5ReplicaTransportInfo attribute is not set.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Syntax DirectoryString
3.1.9.28. nsDS5ReplicaUpdateInProgress
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
176
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
3.1.9.29. nsDS5ReplicaUpdateSchedule
This multi-valued attribute specifies the replication schedule and can be modified. Changes
made to this attribute take effect immediately. Modifying this value can be useful to pause
replication and resume it later. For example, if this value to 0000-0001 0, this in effect
causes the server to stop sending updates for this replication agreement. The server
continues to store them for replay later. If the value is later changed back to 0000-2359
0123456, this makes replication immediately resume and sends all pending changes.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
Syntax Integer
3.1.9.30. nsDS5ReplicaWaitForAsyncResults
Note that if you set the parameter to 0, the default value is used.
Parameter Description
Entry DN cn=ReplicationAgreementName,cn=replica,cn
=suffixDN,cn=mapping tree,cn=config
177
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
3.1.9.31. nsDS50ruv
This attribute stores the last replica update vector (RUV) read from the consumer of this
replication agreement. It is always present and must not be changed.
3.1.9.32. nsruvReplicaLastModified
This attribute contains the most recent time that an entry in the replica was modified and
the changelog was updated.
3.1.9.33. nsds5ReplicaProtocolTimeout
When stopping the server, disabling replication, or removing a replication agreement, there
is a timeout on how long to wait before stopping replication when the server is under load.
The nsds5ReplicaProtocolTimeout attribute can be used to configure this timeout and its
default value is 120 seconds.
There may be scenarios where a timeout of 2 minutes is too long, or not long enough. For
example, a particular replication agreement may need more time before ending a
replication session during a shutdown.
This attribute can be added to the main replication configuration entry for a back end:
Parameter Description
Entry DN cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=
mapping tree,cn=config
Syntax Integer
178
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
cn=syncAgreementName,cn=WindowsReplica,cn=suffixName,cn=mapping
tree,cn=config
The synchronization attributes that concern the synchronization agreement are stored
under cn=syncAgreementName, cn=WindowsReplica,cn=suffixDN, cn=mapping
tree,cn=config. The cn=syncAgreementName entry is an instance of the
nsDSWindowsReplicationAgreement object class. For synchronization agreement
configuration attributes to be taken into account by the server, this object class (in addition
to the top object class) must be present in the entry. Synchronization agreements are
configured only on databases that are enabled to synchronize with Windows Active
Directory servers.
cn nsDS5ReplicaLastUpdateEnd
description nsDS5ReplicaLastUpdateStart
nsDS5ReplicaBindMethod nsDS5ReplicaPort
nsDS5ReplicaBusyWaitTime nsDS5ReplicaRoot
nsDS5ReplicaChangesSentSinceStartup nsDS5ReplicaSessionPauseTime
nsDS5ReplicaLastInitEnd nsDS5ReplicaUpdateInProgress
nsDS5ReplicaLastInitStart nsDS5ReplicaUpdateSchedule
nsDS5ReplicaLastInitStatus nsDS50ruv
winSyncMoveAction winSyncInterval
nsds5ReplicaStripAttrs
3.1.10.1. nsds7DirectoryReplicaSubtree
179
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=syncAgreementName,cn=replica,cn=suffix
DN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
Example nsDS7DirectoryReplicaSubtree:
ou=People,dc=example,dc=com
3.1.10.2. nsds7DirsyncCookie
This string is created by Active Directory DirSync and gives the state of the Active
Directory Server at the time of the last synchronization. The old cookie is sent to Active
Directory with each Directory Server update; a new cookie is returned along with the
Windows directory data. This means only entries which have changed since the last
synchronization are retrieved.
Parameter Description
Entry DN cn=syncAgreementName,cn=replica,cn=suffix
DN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
Example nsDS7DirsyncCookie::khDKJFBZsjBDSCkjsdhIU7
4DJJVBXDhfvjmfvbhzxj
3.1.10.3. nsds7NewWinGroupSyncEnabled
This attribute sets whether a new group created in the Windows sync peer is automatically
synchronized by creating a new group on the Directory Server.
Parameter Description
Entry DN cn=syncAgreementName,cn=replica,cn=suffix
DN,cn=mapping tree,cn=config
180
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Default Value
Syntax DirectoryString
Example nsDS7NewWinGroupSyncEnabled: on
3.1.10.4. nsds7NewWinUserSyncEnabled
This attribute sets whether a new entry created in the Windows sync peer is automatically
synchronized by creating a new entry on the Directory Server.
Parameter Description
Entry DN cn=syncAgreementName,cn=replica,cn=suffix
DN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
Example nsDS7NewWinUserSyncEnabled: on
3.1.10.5. nsds7WindowsDomain
This attribute sets the name of the Windows domain to which the Windows sync peer
belongs.
Parameter Description
Entry DN cn=syncAgreementName,cn=replica,cn=suffix
DN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
3.1.10.6. nsds7WindowsReplicaSubtree
181
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=syncAgreementName,cn=replica,cn=suffix
DN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
Example nsDS7WindowsReplicaSubtree:
cn=Users,dc=domain,dc=com
3.1.10.7. oneWaySync
This attribute sets which direction to perform synchronization. This can either be from the
Active Directory server to the Directory Server or from the Directory Server to the
Active Directory server.
If this attribute is absent (the default), then the synchronization agreement is bi-directional,
so changes made in both domains are synchronized.
Parameter Description
Entry DN cn=syncAgreementName,cn=replica,cn=suffix
DN,cn=mapping tree,cn=config
Default Value
Syntax DirectoryString
3.1.10.8. winSyncInterval
This attribute sets how frequently, in seconds, the Directory Server polls the Windows sync
peer to look for changes in the Active Directory entries. If this entry is not set, the
Directory Server checks the Windows server every five (5) minutes, meaning the default
value is 300 (300 seconds).
This value can be set lower to write Active Directory changes over to the Directory Server
faster or raised if the directory searches are taking too long.
182
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=syncAgreementName,cn=replica,cn=suffix
DN,cn=mapping tree,cn=config
Syntax Integer
3.1.10.9. winSyncMoveAction
The synchronization process starts at the root DN to begin evaluating entries for
synchronization. Entries are correlated based on the samAccount in the Active Directory
and the uid attribute in Directory Server. The synchronization plug-in notes if a previously
synced entry (based on the samAccount/uid relationship) is removed from the synced
subtree either because it is deleted or moved, then the synchronization plug-in recognizes
that the entry is no longer to be synced.
none takes no action, so if a synced Directory Server entry exists, it may be synced
over to or create an Active Directory entry within scope. If no synced
Directory Server entry exists, nothing happens at all (this is the default behavior).
IMPORTANT
There is a risk when unsyncing entries that the Active Directory entry
may be deleted at a later time, and the Directory Server entry will be
left intact. This can create data inconsistency issues, especially if the
Directory Server entry is ever used to recreate the entry on the
Active Directory side later.
delete deletes the corresponding entry on the Directory Server side, regardless of
whether it was ever synced with Active Directory (this was the default behavior in
9.0).
IMPORTANT
183
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=syncAgreementName,cn=replica,cn=suffix
DN,cn=mapping tree,cn=config
Syntax DirectoryString
3.1.11. cn=monitor
Information used to monitor the server is stored under cn=monitor. This entry and its
children are read-only; clients cannot directly modify them. The server updates this
information automatically. This section describes the cn=monitor attributes. The only
attribute that can be changed by a user to set access control is the aci attribute.
If the nsslapd-counters attribute in cn=config is set to on (the default setting), then all of
the counters kept by the Directory Server instance increment using 64-bit integers, even on
32-bit machines or with a 32-bit version of Directory Server. For the cn=monitor entry, the
64-bit integers are used with the opsinitiated, opscompleted, entriessent, and
bytessent counters.
NOTE
connection
This attribute lists open connections. These are given in the following format:
connection: A:YYYYMMDDhhmmssZ:B:C:D:E
For example:
A is the connection number, which is the number of the slot in the connection table
associated with this connection. This is the number logged as slot=A in the access
log message when this connection was opened, and usually corresponds to the file
descriptor associated with the connection. The attribute dTableSize shows the total
size of the connection table.
184
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
D is r if the server is in the process of reading BER from the network, empty
otherwise. This value is usually empty (as in the example).
E this is the bind DN. This may be empty or have value ofNULLDN for anonymous
connections.
currentConnections
This attribute shows the number of currently open and active Directory Server connections.
totalConnections
This attribute shows the total number of Directory Server connections. This number
includes connections that have been opened and closed since the server was last started in
addition to the currentConnections.
dTableSize
This attribute shows the size of the Directory Server connection table. Each connection is
associated with a slot in this table, and usually corresponds to the file descriptor used by
this connection. See Section 3.1.1.60, “nsslapd-conntablesize” for more information.
readWaiters
This attribute shows the number of connections where some requests are pending and not
currently being serviced by a thread in Directory Server.
opsInitiated
This attribute shows the number of Directory Server operations initiated.
opsCompleted
This attribute shows the number of Directory Server operations completed.
entriesSent
This attribute shows the number of entries sent by Directory Server.
bytesSent
This attribute shows the number of bytes sent by Directory Server.
currentTime
This attribute shows the current time, given in Greenwich Mean Time (indicated by
generalizedTime syntax Z notation; for example, 20190202131102Z).
startTime
This attribute shows the Directory Server start time given in Greenwich Mean Time,
indicated by generalizedTime syntax Z notation. For example, 20190202131102Z.
version
This attribute shows the Directory Server vendor, version, and build number. For example,
Red Hat/10.3.1 B2019.274.08.
threads
185
Configuration, Command, and File Reference
This attribute shows the number of threads used by the Directory Server. This should
correspond to nsslapd-threadnumber in cn=config.
nbackEnds
This attribute shows the number of Directory Server database back ends.
backendMonitorDN
This attribute shows the DN for each Directory Server database backend. For further
information on monitoring the database, see the following sections:
3.1.12. cn=replication
This entry has no attributes. When configuring legacy replication, those entries are stored
under this cn=replication node, which serves as a placeholder.
3.1.13. cn=sasl
Entries which contain SASL mapping configurations are stored under
cn=mapping,cn=sasl,cn=config. The cn=sasl entry is an instance of the nsContainer
object class. Each mapping underneath it is an instance of the nsSaslMapping object class.
3.1.13.1. nsSaslMapBaseDNTemplate
This attribute contains the search base DN template used in SASL identity mapping.
Parameter Description
Entry DN cn=mapping_name,cn=mapping,cn=sasl,cn=co
nfig
Default Value
Syntax IA5String
Example nsSaslMapBaseDNTemplate:
ou=People,dc=example,dc=com
186
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
3.1.13.2. nsSaslMapFilterTemplate
This attribute contains the search filter template used in SASL identity mapping.
Parameter Description
Entry DN cn=mapping_name,cn=mapping,cn=sasl,cn=co
nfig
Default Value
Syntax IA5String
3.1.13.3. nsSaslMapPriority
Directory Server enables you to set multiple simple authentication and security layer (SASL)
mappings. If SASL fallback is enabled by the nsslapd-sasl-mapping-fallback parameter,
you can set the nsSaslMapPriority attribute to prioritize the individual SASL mappings.
Parameter Description
Entry DN cn=mapping_name,cn=mapping,cn=sasl,cn=co
nfig
Syntax Integer
3.1.13.4. nsSaslMapRegexString
This attribute contains a regular expression used to map SASL identity strings.
Parameter Description
Entry DN cn=mapping_name,cn=mapping,cn=sasl,cn=co
nfig
187
Configuration, Command, and File Reference
Parameter Description
Default Value
Syntax IA5String
3.1.14. cn=SNMP
SNMP configuration attributes are stored under cn=SNMP,cn=config. The cn=SNMP entry is
an instance of the nsSNMP object class.
3.1.14.1. nssnmpenabled
Parameter Description
Entry DN cn=SNMP,cn=config
Default Value on
Syntax DirectoryString
3.1.14.2. nssnmporganization
This attribute sets the organization to which the Directory Server belongs.
Parameter Description
Entry DN cn=SNMP,cn=config
Default Value
Syntax DirectoryString
3.1.14.3. nssnmplocation
188
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This attribute sets the location within the company or organization where the
Directory Server resides.
Parameter Description
Entry DN cn=SNMP,cn=config
Default Value
Syntax DirectoryString
3.1.14.4. nssnmpcontact
This attribute sets the email address of the person responsible for maintaining the
Directory Server.
Parameter Description
Entry DN cn=SNMP,cn=config
Default Value
Syntax DirectoryString
3.1.14.5. nssnmpdescription
Parameter Description
Entry DN cn=SNMP,cn=config
Default Value
Syntax DirectoryString
189
Configuration, Command, and File Reference
Parameter Description
3.1.14.6. nssnmpmasterhost
Parameter Description
Entry DN cn=SNMP,cn=config
Syntax DirectoryString
3.1.14.7. nssnmpmasterport
The nssnmpmasterport attribute was deprecated with the introduction ofnet-snmp. The
attribute still appears in dse.ldif but without a default value.
Parameter Description
Entry DN cn=SNMP,cn=config
Syntax Integer
190
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
since startup. Some of these attributes are not used by or are not applicable to the
Directory Server but are still required to be present by SNMP clients.
If the nsslapd-counters attribute in cn=config is set to on (the default setting), then all of
the counters kept by the Directory Server instance increment using 64-bit integers, even on
32-bit machines or with a 32-bit version of Directory Server. All of the SNMP statistics
attributes use the 64-bit integers, if it is configured.
NOTE
Attribute Description
191
Configuration, Command, and File Reference
Attribute Description
192
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Attribute Description
[a] CacheEntries and CacheHits are updated every ten (10) seconds. Red Hat strongly encourages
using the database back end specific monitor entries for this and other database information.
3.1.16. cn=tasks
Some core Directory Server tasks can be initiated by editing a directory entry using LDAP
tools. These task entries are contained in cn=tasks. Each task can be invoked by updating
an entry such as the following:
dn: cn=task_id,cn=task_type,cn=tasks,cn=config
...
In Red Hat Directory Server deployments before Directory Server 8.0, many
Directory Server tasks were managed by the Administration Server. These tasks were
moved to the core Directory Server configuration in version 8.0 and are invoked and
administered by Directory Server under the cn=tasks entry.
cn=import
cn=export
cn=backup
cn=restore
cn=index
cn=memberof task
193
Configuration, Command, and File Reference
cn=syntax validate
cn=cleanallruv
cn=abort cleanallruv
The common attributes for these tasks are listed in Section 3.1.16.1, “Task Invocation
Attributes for Entries under cn=tasks”.
The cn=tasks entry itself has no attributes and serves as the parent and container entry for
the individual task entries.
IMPORTANT
Task entries are not permanent configuration entries. They only exist in the
configuration file for as long as the task operation is running or until the ttl
period expires. Then, the entry is deleted automatically by the server.
Five tasks which administer Directory Server instances have configuration entries which
initiate and identify individual operations. These task entries are instances of the same
object class, extensibleObject, and have certain common attributes which describe the
state and behavior of Directory Server tasks. The task types can be import, export, backup,
restore, index, schema reload, and memberof.
cn
The cn attribute identifies a new task operation to initiate. Thecn attribute value can be
anything, as long as it defines a new task.
Parameter Description
Entry DN cn=task_name,cn=task_type,cn=tasks,cn=conf
ig
Default Value
Syntax DirectoryString
nsTaskStatus
194
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This attribute contains changing information about the status of the task, such as
cumulative statistics or its current output message. The entire contents of the attribute
may be updated periodically for as long as the process is running.
This attribute value is set by the server and should not be edited.
Parameter Description
Entry DN cn=task_name,cn=task_type,cn=tasks,cn=conf
ig
Default Value
nsTaskLog
This entry contains all of the log messages for the task, including bothwarning and
information messages. New messages are appended to the end of the entry value, so this
attribute value grows larger, without erasing the original contents, by default.
Successful task operations, which have an nsTaskExitCode of 0, are only recorded in the
nsTaskLog attribute. Any non-zero response, which indicates an error, may be recorded in
the error log as an error, but the error message is only recorded in the nsTaskLog attribute.
For this reason, use the information in the nsTaskLog attribute to find out what errors
actuall occurred.
This attribute value is set by the server and should not be edited.
Parameter Description
Entry DN cn=task_name,cn=task_type,cn=tasks,cn=conf
ig
Default Value
nsTaskExitCode
This attribute contains the exit code for the task. This attribute only exists after the task is
completed and any value is only valid if the task is complete. The result code can be any
LDAP exit code, as listed in Section 7.4, “LDAP Result Codes”, but only a 0 value equals
195
Configuration, Command, and File Reference
This attribute value is set by the server and should not be edited.
Parameter Description
Entry DN cn=task_name,cn=task_type,cn=tasks,cn=conf
ig
Default Value
Syntax Integer
Example nsTaskExitCode: 0
nsTaskCurrentItem
This attribute shows the number of subtask which the task operation has completed,
assuming the task can be broken down into subtasks. If there is only one task, then
nsTaskCurrentItem is 0 while the task is running, and 1 when the task is complete. In this
way, the attribute is analogous to a progress bar. When the nsTaskCurrentItem attribute
has the same value as nsTaskTotalItems, then the task is completed.
This attribute value is set by the server and should not be edited.
Parameter Description
Entry DN cn=task_name,cn=task_type,cn=tasks,cn=conf
ig
Default Value
Syntax Integer
nsTaskTotalItems
This attribute shows the total number of subtasks that must be completed for the task
operation. When the nsTaskCurrentItem attribute has the same value as
nsTaskTotalItems, then the task is completed.
This attribute value is set by the server and should not be edited.
196
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=task_name,cn=task_type,cn=tasks,cn=conf
ig
Default Value
Syntax Integer
nsTaskCancel
This attribute allows a task to be aborted while in progress. This attribute can be modified
by users.
Parameter Description
Entry DN cn=task_name,cn=task_type,cn=tasks,cn=conf
ig
Default Value
ttl
This attribute sets the amount of time (in seconds) the task entry will remain in the DSE
after the task has finished or aborted. Setting a ttl attribute allows the task entry to be
polled for new status information without missing the exit code. Setting the ttl attribute to
0 means that the entry is not cached.
Parameter Description
Entry DN cn=task_name,cn=task_type,cn=tasks,cn=conf
ig
Default Value
197
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
3.1.16.2. cn=import
An LDIF file or multiple LDIF files can be imported through the command line by creating a
special task entry which defines the parameters of the task and initiates the task. As soon
as the task is complete, the task entry is removed from the directory.
The cn=import entry is a container entry for import task operations. Thecn=import entry
itself has no attributes, but each of the task entries within this entry, such as cn=task_ID,
cn=import, cn=tasks, cn=config, uses the following attributes to define the import task.
An import task entry under cn=import must contain the LDIF file to import (in the
nsFilename attribute) and the name of the instance into which to import the file (in the
nsInstance attribute). Additionally, it must contain a uniquecn to identify the task. For
example:
As the import operation runs, the task entry will contain all of the server-generated task
attributes listed in Section 3.1.16.1, “Task Invocation Attributes for Entries under
cn=tasks”.
There are some optional attributes which can be used to refine the import operation,
similar to the options for the ldif2db and ldif2db.pl scripts:
nsFilename
198
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
The nsFilename attribute contains the path and filenames of the LDIF files to import into
the Directory Server instance. To import multiple files, add multiple instances of this
attribute. For example:
nsFilename: file1.ldif
nsFilename: file2.ldif
Parameter Description
Entry DN cn=task_name,cn=import,cn=tasks,cn=config
Default Value
nsInstance
This attribute supplies the name of the database instance into which to import the files,
such as NetscapeRoot or slapd-example.
Parameter Description
Entry DN cn=task_name,cn=import,cn=tasks,cn=config
Default Value
nsIncludeSuffix
This attribute identifies a specific suffix or subtree to import from the LDIF file.
Parameter Description
Entry DN cn=task_name,cn=import,cn=tasks,cn=config
Default Value
199
Configuration, Command, and File Reference
Parameter Description
Example nsIncludeSuffix:
ou=people,dc=example,dc=com
nsExcludeSuffix
This attribute identifies suffixes or subtrees in the LDIF file to exclude from the import.
Parameter Description
Entry DN cn=task_name,cn=import,cn=tasks,cn=config
Default Value
Example nsExcludeSuffix:
ou=machines,dc=example,dc=com
nsImportChunkSize
This attribute defines the number of chunks to have during the import operation, which
overrides the server's detection during the import of when to start a new pass and merges
the chunks.
Parameter Description
Entry DN cn=task_name,cn=import,cn=tasks,cn=config
Default Value 0
Syntax Integer
Example nsImportChunkSize: 10
nsImportIndexAttrs
This attribute sets whether to index the attributes that are imported into database
instance.
200
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=task_name,cn=import,cn=tasks,cn=config
nsUniqueIdGenerator
This sets whether to generate a unique ID for the imported entries. By default, this attribute
generates time-based IDs.
Parameter Description
Entry DN cn=task_name,cn=import,cn=tasks,cn=config
Example nsUniqueIdGenerator:
nsUniqueIdGeneratorNamespace
This attribute defines how to generate name-based IDs; the attribute sets the namespace
to use to generate the IDs. This option is useful to import the same LDIF file into two
Directory Server instances when the entries need to have the same IDs.
Parameter Description
Entry DN cn=task_name,cn=import,cn=tasks,cn=config
Default Value
201
Configuration, Command, and File Reference
3.1.16.3. cn=export
A database or multiple databases can be exported through the command line by creating a
special task entry which defines the parameters of the task and initiates the task. As soon
as the task is complete, the task entry is removed from the directory.
While the export operation is running, the task entry contains all of the server-generated
task attributes listed in Section 3.1.16.1, “Task Invocation Attributes for Entries under
cn=tasks”.
You can create export tasks manually or use the db2ldif.pl command. The following table
displays the db2ldif.pl command-line options and their corresponding attributes:
nsFilename
The nsFilename attribute contains the path and filenames of the LDIF files to which to
export the Directory Server instance database.
202
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
Default Value
nsInstance
This attribute supplies the name of the database instance from which to export the
database, such as NetscapeRoot or userRoot.
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
Default Value
nsIncludeSuffix
This attribute identifies a specific suffix or subtree to export to an LDIF file.
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
Default Value
Example nsIncludeSuffix:
ou=people,dc=example,dc=com
203
Configuration, Command, and File Reference
nsExcludeSuffix
This attribute identifies suffixes or subtrees in the database to exclude from the exported
LDIF file.
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
Default Value
Example nsExcludeSuffix:
ou=machines,dc=example,dc=com
nsUseOneFile
This attribute sets whether to export all Directory Server instances to a single LDIF file or
separate LDIF files.
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
nsExportReplica
This attribute identifies whether the exported database will be used in replication. For
replicas, the proper attributes and settings will be included with the entry to initialize the
replica automatically.
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
204
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
nsPrintKey
This attribute sets whether to print the entry ID number as the entry is processed by the
export task.
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
nsUseId2Entry
The nsUseId2Entry attribute uses the main database index,id2entry, to define the
exported LDIF entries.
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
nsNoWrap
This attribute sets whether to wrap long lines in the LDIF file.
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
205
Configuration, Command, and File Reference
Parameter Description
nsDumpUniqId
This attribute sets that the unique IDs for the exported entries are not exported.
Parameter Description
Entry DN cn=task_name,cn=export,cn=tasks,cn=config
3.1.16.4. cn=backup
A database can be backed up through the command line by creating a special task entry
which defines the parameters of the task and initiates the task. As soon as the task is
complete, the task entry is removed from the directory.
The cn=backup entry is a container entry for backup task operations. Thecn=backup entry
itself has no attributes, but each of the task entries within this entry, such as cn=task_ID,
cn=backup, cn=tasks, cn=config, uses the following attributes to define the backup task.
A backup task entry under cn=backup must contain the location of the directory to which to
copy the archive copy (in the nsArchiveDir attribute) and the type of database being
backed up (in the nsDatabaseType attribute). Additionally, it must contain a uniquecn to
identify the task. For example:
As the backup operation runs, the task entry will contain all of the server-generated task
attributes listed in Section 3.1.16.1, “Task Invocation Attributes for Entries under
cn=tasks”.
206
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
nsArchiveDir
This attribute gives the location of the directory to which to write the backup.
If this attribute is not included with the cn=backup task, the task will fail with an LDAP
object class violation error (65).
Parameter Description
Entry DN cn=task_name,cn=backup,cn=tasks,cn=config
Default Value
nsDatabaseType
This attribute gives the kind of database being archived. Setting the database types signals
what kind of backup plug-in the Directory Server should use to archive the database.
Parameter Description
Entry DN cn=task_name,cn=backup,cn=tasks,cn=config
3.1.16.5. cn=restore
A database can be restored through the command line by creating a special task entry
which defines the parameters of the task and initiates the task. As soon as the task is
complete, the task entry is removed from the directory.
The cn=restore entry is a container entry for task operations to restore a database. The
cn=restore entry itself has no attributes, but each of the task entries within this entry,
such as cn=task_ID, cn=restore, cn=tasks, cn=config, uses the following attributes to
define the restore task.
A restore task entry under cn=restore must contain the location of the directory from
which to retrieve the archive copy (in the nsArchiveDir attribute) and the type of database
being restored (in the nsDatabaseType attribute). Additionally, it must contain a uniquecn
to identify the task. For example:
207
Configuration, Command, and File Reference
As the restore operation runs, the task entry will contain all of the server-generated task
attributes listed in Section 3.1.16.1, “Task Invocation Attributes for Entries under
cn=tasks”.
nsArchiveDir
This attribute gives the location of the directory to which to write the backup.
Parameter Description
Entry DN cn=task_name,cn=restore,cn=tasks,cn=config
Default Value
nsDatabaseType
This attribute gives the kind of database being archived. Setting the database types signals
what kind of backup plug-in the Directory Server should use to archive the database.
Parameter Description
Entry DN cn=task_name,cn=restore,cn=tasks,cn=config
3.1.16.6. cn=index
Directory attributes can be indexed though the command line by creating a special task
entry which defines the parameters of the task and initiates the task. As soon as the task is
complete, the task entry is removed from the directory.
208
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
The cn=index entry is a container entry for index task operations. Thecn=index entry itself
has no attributes, but each of the task entries within this entry, such as cn=task_ID,
cn=index, cn=tasks, cn=config, uses the following attributes to define the backup task.
An index task entry under cn=index can create a standard index by identifying the
attribute to be indexed and the type of index to create, both defined in the
nsIndexAttribute attribute.
Alternatively, the index task can be used to generate virtual list view (VLV) indexes for an
attribute using the nsIndexVLVAttribute attribute. This is the same as running the
vlvindex script.
For example:
As the index operation runs, the task entry will contain all of the server-generated task
attributes listed in Section 3.1.16.1, “Task Invocation Attributes for Entries under
cn=tasks”.
nsIndexAttribute
This attribute gives the name of the attribute to index and the types of indexes to apply.
The format of the attribute value is the attribute name and a comma-separated list of index
types, enclosed in double quotation marks. For example:
nsIndexAttribute: attribute:index1,index2
Parameter Description
Entry DN cn=task_name,cn=index,cn=tasks,cn=config
Valid Values
Any attribute
Default Value
209
Configuration, Command, and File Reference
Parameter Description
Example
nsIndexAttribute: "cn:pres,eq"
nsIndexAttribute: "description:sub"
nsIndexVLVAttribute
This attribute gives the name of the target entry for a VLV index. A virtual list view is based
on a browsing index entry (as described in the Administration Guide), which defines the
virtual list base DN, scope, and filter. The nsIndexVLVAttribute value is the browsing
index entry, and the VLV creation task is run according to the browsing index entry
parameters.
Parameter Description
Entry DN cn=task_name,cn=index,cn=tasks,cn=config
Default Value
Syntax DirectoryString
The directory schema is loaded when the directory instance is started or restarted. Any
changes to the directory schema, including adding custom schema elements, are not
loaded automatically and available to the instance until the server is restarted or by
initiating a schema reload task.
Custom schema changes can be reloaded dynamically, without having to restart the
Directory Server instance. This is done by initiating a schema reload task through creating a
new task entry under the cn=tasks entry.
The custom schema file can be located in any directory; if not specified with the schemadir
attribute, the server reloads the schema from the default
/etc/dirsrv/slapd-instance/schema directory.
IMPORTANT
Any schema loaded from another directory must be copied into the schema
directory or the schema will be lost when the server.
210
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
The schemd reload task is initiated though the command line by creating a special task
entry which defines the parameters of the task and initiates the task. As soon as the task is
complete, the task entry is removed from the directory. For example:
The cn=schema reload task entry is a container entry for schema reload operations. The
cn=schema reload task entry itself has no attributes, but each of the task entries within
this entry, such as cn=task_ID, cn=schema reload task, cn=tasks, cn=config, uses the
schema reload attributes to define the individual reload task.
cn
The cn attribute identifies a new task operation to initiate. Thecn attribute value can be
anything, as long as it defines a new task.
Parameter Description
Default Value
Syntax DirectoryString
schemadir
This contains the full path to the directory containing the custom schema file.
Parameter Description
Syntax DirectoryString
211
Configuration, Command, and File Reference
The memberOf attribute is created and managed by the Directory Server automatically to
display group membership on the members' user entries. When the member attribute on a
group entry is changed, all of the members' associated directory entries are automatically
updated with their corresponding memberOf attributes.
The cn=memberof task (and the related fixup-memberof.pl script) is used to create the
initial memberOf attributes on the member's user entries in the directory. After the
memberOf attributes are created, then the MemberOf Plug-in manages the memberOf
attributes automatically.
The memberOf update task must give the DN of the entry or subtree to run the update task
against (set in the basedn attribute). Optionally, the task can include a filter to identify the
members' user entries to update (set in the filter attribute). For example:
When the task is complete, the task entry is removed from the directory.
The cn=memberof task entry is a container entry formemberOf update operations. The
cn=memberof task entry itself has no attributes, but each of the task entries beneath this
entry, such as cn=task_ID, cn=memberof task, cn=tasks, cn=config, uses its attributes to
define the individual update task.
basedn
This attribute gives the base DN to use to search for the user entries to update the
memberOf attribute.
Parameter Description
Entry DN cn=task_name,cn=memberof
task,cn=tasks,cn=config
Default Value
Syntax DN
filter
This attribute gives an optional LDAP filter to use to select which user entries to update the
memberOf attribute. Each member of a group has a corresponding user entry in the
directory.
212
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Entry DN cn=task_name,cn=memberof
task,cn=tasks,cn=config
Syntax DirectoryString
The Directory Server has a Linked Attributes Plug-in which allows one attribute, set in one
entry, to update another attribute in another entry automatically. Both entries have DNs for
values. The DN value in the first entry points to the entry for the plug-in to update; the
attribute in the second entry contains a DN back-pointer to the first entry.
This is similar to the way that the MemberOf Plug-in uses the member attribute in group
entries to set memberOf attribute in user entries. With linked attributes, any attribute can be
defined as a "link," and then another attribute is "managed" in affected entries.
The cn=fixup linked attributes (and the related fixup-linkedattrs.pl script) creates
the managed attributes — based on link attributes that already exist in the database — in
the user entries once the linking plug-in instance is created. After the linked and managed
attributes are set, the Linked Attributes Plug-in maintains the managed attributes
dynamically, as users change the link attributes.
The linked attributes update task can specify which linked attribute plug-in instance to
update, set in the optional linkdn attribute. If this attribute is not set on the task entry, then
all configured linked attributes are updated.
When the task is complete, the task entry is removed from the directory.
The cn=fixup linked attributes entry is a container entry for any linked attribute
update operation. The cn=fixup linked attributes entry itself has no attributes related
to individual tasks, but each of the task entries beneath this entry, such as cn=task_ID,
cn=fixup linked attributes, cn=tasks, cn=config, uses its attributes to define the
individual update task.
linkdn
Each linked-managed attribute pair is configured in a linked attributes plug-in instance. The
linkdn attribute sets the specific linked attribute plug-in used to update the entries by
giving the plug-in instance DN. For example:
213
Configuration, Command, and File Reference
Parameter Description
Syntax DN
Syntax validation checks every modification to attributes to make sure that the new value
has the required syntax for that attribute type. Attribute syntaxes are validated against the
definitions in RFC 4514.
Syntax validation is enabled by default. However, syntax validation only audits changes to
attribute values, such as when an attribute is added or modified. It does not validate the
syntax of existing attribute values.
Validation of the existing syntax can be done with the syntax validation task. This task
checks entries under a specified subtree (in the basedn attribute) and, optionally, only
entries which match a specified filter (in the filter attribute).
When the task is complete, the task entry is removed from the directory.
If syntax validation is disabled or if a server is migrated, then there may be data in the
server which does not conform to attribute syntax requirements. The syntax validation task
can be run to evaluate those existing attribute values before enabling syntax validation.
The cn=syntax validate entry is a container entry for any syntax validation operation.
The cn=syntax validate entry itself has no attributes that are specific to any task. Each of
the task entries beneath this entry, such as cn=task_ID, cn=syntax validate, cn=tasks,
cn=config, uses its attributes to define the individual update task.
basedn
Gives the subtree against which to run the syntax validation task. For example:
214
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
basedn: ou=people,dc=example,dc=com
Parameter Description
Entry DN cn=task_name,cn=syntax
validate,cn=tasks,cn=config
Syntax DN
filter
Contains an optional LDAP filter which can be used to identify specific entries beneath the
given basedn against which to run the syntax validation task. If this attribute is not set on
the task, then every entry within the basedn is audited. For example:
filter: "(objectclass=person)"
Parameter Description
Entry DN cn=task_name,cn=syntax
validate,cn=tasks,cn=config
Syntax DirectoryString
If the USN Plug-in is enabled, then update sequence numbers (USNs) are set on every entry
whenever a directory write operation, like add or modify, occurs on that entry. This is
reflected in the entryUSN operational attribute. This USN is set even when an entry is
deleted, and the tombstone entries are maintained by the Directory Server instance.
The cn=USN tombstone cleanup task (and the related usn-tombstone-cleanup.pl script)
deletes the tombstone entries maintained by the instance according to the back end
database (in the backend attribute) or the suffix (in thesuffix attribute). Optionally, only a
subset of tombstone entries can be deleted by specifying a maximum USN to delete (in the
max_usn_to_delete attribute), which preserves the most recent tombstone entries.
215
Configuration, Command, and File Reference
IMPORTANT
Attempting to create this task entry for a replicated back end will return this
error in the command line:
In the error log, there is a more explicit message that the suffix cannot have
tombstone removed because it is replicated.
When the task is complete, the task entry is removed from the directory.
The cn=USN tombstone cleanup task entry is a container entry for all USN tombstone
delete operations. The cn=USN tombstone cleanup task entry itself has no attributes
related to any individual task, but each of the task entries beneath this entry, such as
cn=task_ID, cn=USN tombstone cleanup task, cn=tasks, cn=config, uses its attributes to
define the individual update task.
backend
This gives the Directory Server instance back end, or database, to run the cleanup
operation against. If the back end is not specified, then the suffix must be specified.
Parameter Description
Syntax DirectoryString
216
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
max_usn_to_delete
This gives the highest USN value to delete when removing tombstone entries. All
tombstone entries up to and including that number are deleted. Tombstone entries with
higher USN values (that means more recent entries) are not deleted.
Parameter Description
Syntax Integer
suffix
This gives the suffix or subtree in the Directory Server to run the cleanup operation against.
If the suffix is not specified, then the back end must be given.
Parameter Description
Syntax DN
3.1.16.12. cn=cleanallruv
Information about the replication topology — all of the suppliers which are supplying
updates to each other and other replicas within the same replication group — is contained
in a set of metadata called the replica update vector (RUV). The RUV contains information
about the supplier like its ID and URL, its latest change state number for changes made on
the local server, and the CSN of the first change. Both suppliers and consumers store RUV
information, and they use it to control replication updates.
When one supplier is removed from the replication topology, it may remain in another
replica's RUV. When the other replica is restarted, it can record errors in its log that the
replication plug-in does not recognize the (removed) supplier.
217
Configuration, Command, and File Reference
When the supplier is permanently removed from the topology, then any lingering metadata
about that supplier should be purged from every other supplier's RUV entry.
The cn=cleanallruv task propagates through all servers in the replication topology and
removes the RUV entries associated with the specified missing or obsolete supplier.
When the task is complete, the task entry is removed from the directory.
The cn=cleanallruv entry is a container entry for all clean RUV operations. The
cn=cleanallruv entry itself has no attributes related to any individual task, but each of
the task entries beneath this entry, such as cn=task_ID,cn=cleanallruv,
cn=tasks,cn=config, uses its attributes to define the individual update task.
Each clean RUV task must specify the replica ID number of the replica RUV entries to
remove, the based DN of the replicated database, and whether remaining updates from the
missing supplier should be applied before removing the RUV data.
replica-base-dn
This gives the Directory Server base DN associated with the replicated database. This is the
base DN for the replicated suffix.
Parameter Description
Entry DN cn=task_name,cn=cleanallruv,cn=tasks,cn=con
fig
218
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
replica-id
This gives the replica ID (defined in the nsDS5ReplicaId attribute for the replica
configuration entry) of the replica to be removed from the replication topology.
Parameter Description
Entry DN cn=task_name,cn=cleanallruv,cn=tasks,cn=con
fig
Syntax Integer
Example replica-id: 55
replica-force-cleaning
This sets whether any outstanding updates from the replica to be removed should be
applied (no) or whether the clean RUV operation should force-continue and lose any
remaining updates (yes).
Parameter Description
Entry DN cn=task_name,cn=cleanallruv,cn=tasks,cn=con
fig
Syntax DirectoryString
Example replica-force-cleaning: no
The Section 3.1.16.12, “cn=cleanallruv” task can take several minutes to propagate among
all servers in the replication topology, even longer if the task processes all updates first. For
performance or other maintenance considerations, it is possible to terminate a clean RUV
219
Configuration, Command, and File Reference
task, and that termination is also propagated across all servers in the replication topology.
When the task is complete, the task entry is removed from the directory.
The cn=abort cleanallruv entry is a container entry for all clean RUV operations. The
cn=abort cleanallruv entry itself has no attributes related to any individual task, but
each of the task entries beneath this entry, such as cn=task_ID,cn=abort cleanallruv,
cn=tasks,cn=config, uses its attributes to define the individual update task.
Each clean RUV task must specify the replica ID number of the replica RUV entries to which
are currently being removed, the based DN of the replicated database, and whether the
terminate task should complete when it has completed on all servers in the topology or just
locally.
replica-base-dn
This gives the Directory Server base DN associated with the replicated database. This is the
base DN for the replicated suffix.
Parameter Description
Entry DN cn=task_name,cn=abort
cleanallruv,cn=tasks,cn=config
Syntax DirectoryString
replica-id
This gives the replica ID (defined in the nsDS5ReplicaId attribute for the replica
configuration entry) of the replica in the process of being removed from the replication
topology.
Parameter Description
Entry DN cn=task_name,cn=abort
cleanallruv,cn=tasks,cn=config
220
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax Integer
Example replica-id: 55
replica-certify-all
This sets whether the task should complete successfully on all servers in the replication
topology before completing the task locally (yes) or whether the task should show
complete as soon as it completes locally (no).
Parameter Description
Entry DN cn=task_name,cn=abort
cleanallruv,cn=tasks,cn=config
Syntax DirectoryString
The Auto Member Plug-in only runs when new entries are added to the directory. The plug-
in ignores existing entries or entries which are edited to match an automembership rule.
The cn=automember rebuild membership task runs the current automembership rules
against existing entries to update or rebuild group membership. All configured
automembership rules are run against the identified entries (though not all rules may apply
to a given entry).
basedn
This gives the Directory Server base DN to use to search for user entries. The entries in the
specified DN are then updated according to the automembership rules.
Parameter Description
221
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
filter
This attribute gives an LDAP filter to use to identify which user entries to update according
to the configured automembership rules.
Parameter Description
Syntax DirectoryString
scope
This attribute gives an LDAP search scope to use when searching the given base DN.
Parameter Description
Syntax DirectoryString
222
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
This task runs against existing entries in the directory and exports the results of what users
would have been added to what groups, based on the rules. This is useful for testing
existing rules against existing users to see how your real deployment are performing.
The automembership-related changes are not executed. The proposed changes are written
to a specified LDIF file.
basedn
This gives the Directory Server base DN to use to search for user entries. A test-run of the
automembership rules will be run against the identified entries.
Parameter Description
Syntax DirectoryString
filter
This attribute gives an LDAP filter to use to identify which user entries to test-run the
automembership rules.
Parameter Description
Syntax DirectoryString
scope
This attribute gives an LDAP search scope to use when searching the given base DN.
Parameter Description
223
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
ldif
This attribute sets the full path and filename of an LDIF file to which to write the proposed
changes from the test-run of the automembership rules. This file must be local to the
system from which the task is initiated.
Parameter Description
Syntax DirectoryString
This task runs against entries within an LDIF file (new entries or, potentially, test entries)
and then writes the proposed changes to those user entries to an LDIF file. This can be
very useful for testing a new rule, before applying it to (real) new or existing user entries.
The automembership-related changes are not executed. The proposed changes are written
to a specified LDIF file.
ldif_in
This attribute sets the full path and filename of an LDIF file from which to import entries to
test with the configured automembership rules. These entries are not imported into the
directory and the changes are not performed. The entries are loaded and used by the test-
run only.
This file must be local to the system from which the task is initiated.
224
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Parameter Description
Syntax DirectoryString
ldif_out
This attribute sets the full path and filename of an LDIF file to which to write the proposed
changes from the test-run of the automembership rules. This file must be local to the
system from which the task is initiated.
Parameter Description
Syntax DirectoryString
3.1.16.17. cn=des2aes
This task searches for all reversible password entries in the specified user database which
are encoded using the outdated DES cipher, and converts them to the more secure AES
cipher.
Previously, this task was being performed automatically on all suffixes during
Directory Server startup. However, since the search for DES passwords was typically
unindexed, it could take a very long time to perform on suffixes containing large amounts
of entries, which in turn caused Directory Server to time out and fail to start. For that
reason, the search is now performed only on cn=config, but to convert passwords in any
other database you must run this task manually.
suffix
This multivalued attribute specifies a suffix to check for DES passwords and convert them
to AES. If this attribute is omitted then all the back ends/suffixes are checked.
225
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=task_name,cn=des2aes,cn=tasks,cn=config
Syntax DirectoryString
nsstate
This attribute saves the state of the unique ID generator across server restarts. This
attribute is maintained by the server. Do not edit it.
Parameter Description
Valid Values
Default Value
Syntax DirectoryString
Example nsstate:
AbId0c3oMIDUntiLCyYNGgAAAAAAAAAA
3.1.18.1. nsslapd-return-default-opattr
Directory Server does not display the operational attributes in Root DSE searches. For
example, if you are running the ldapsearch utility with the -s base -b "" parameters,
only the user attributes are displayed. For clients expecting operational attributes in Root
DSE search output, you can enable this behavior to provide backward compatibility:
226
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
nsslapd-return-default-opattr: supportedsaslmechanisms
nsslapd-return-default-opattr: nsBackendSuffix
nsslapd-return-default-opattr: subschemasubentry
nsslapd-return-default-opattr: supportedldapversion
nsslapd-return-default-opattr: supportedcontrol
nsslapd-return-default-opattr: ref
nsslapd-return-default-opattr: vendorname
nsslapd-return-default-opattr: vendorVersion
nsslapd-return-default-opattr: supportedextension
nsslapd-return-default-opattr: namingcontexts
Parameter Description
Default Value
Syntax DirectoryString
Example nsslapd-return-default-opattr:
supportedsaslmechanisms
Superior Class
top
OID
2.16.840.1.113730.3.2.1
227
Configuration, Command, and File Reference
Required Attributes
Allowed Attributes
Superior Class
top
OID
2.16.840.1.113730.3.2.40
Required Attributes
Attribute Definition
228
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Allowed Attributes
Attribute Definition
Superior Class
top
OID
2.16.840.1.113730.3.2.109
Required Attributes
Attribute Definition
Superior Class
top
OID
2.16.840.1.113730.3.2.82
Allowed Attributes
229
Configuration, Command, and File Reference
Attribute Definition
Information on the attributes for this object class are listed with the core configuration
attributes in chapter 2 of the Directory Server Configuration, Command, and File Reference.
Superior Class
top
OID
2.16.840.1.113730.3.2.108
Required Attributes
Allowed Attributes
230
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Superior Class
top
OID
2.16.840.1.113730.3.2.103
Required Attributes
Allowed Attributes
231
Configuration, Command, and File Reference
232
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Superior Class
top
OID
2.16.840.1.113730.3.2.503
233
Configuration, Command, and File Reference
Required Attributes
Allowed Attributes
234
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
235
Configuration, Command, and File Reference
3.2.8. nsEncryptionConfig
The nsEncryptionConfig object class stores the configuration information for allowed
encryption options, such as protocols and cipher suites. This is defined in the
Administrative Services.
Superior Class
top
OID
nsEncryptionConfig-oid
Required Attributes
Attribute Definition
Allowed Attributes
236
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Attribute Definition
3.2.9. nsEncryptionModule
The nsEncryptionModule object class stores the encryption module information. This is
defined in the Administrative Services.
Superior Class
top
OID
nsEncryptionModule-oid
Required Attributes
Attribute Definition
237
Configuration, Command, and File Reference
Allowed Attributes
Attribute Definition
Superior Class
top
OID
2.16.840.1.113730.3.2.110
Required Attributes
Attribute Definition
Superior Class
top
OID
2.16.840.1.113730.3.2.317
Required Attributes
238
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Superior Class
top
OID
2.16.840.1.113730.3.2.39
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
Superior Class
top
OID
2.16.840.1.113730.3.2.13
Required Attributes
239
Configuration, Command, and File Reference
Attribute Definition
Allowed Attributes
Attribute Definition
passwordMaxAge (Password Maximum Age) Sets the number of seconds after which user
passwords expire.
passwordLockout (Account Lockout) Identifies whether or not users are locked out
of the directory after a given number of failed
bind attempts.
passwordMaxFailure (Maximum Password Sets the number of failed bind attempts after
Failures) which a user will be locked out of the
directory.
passwordUnlock (Unlock Account) Identifies whether a user is locked out until the
password is reset by an administrator or
whether the user can log in again after a given
lockout duration. The default is to allow a user
to log back in after the lockout period.
passwordLockoutDuration (Lockout Duration) Sets the time, in seconds, that users will be
locked out of the directory.
240
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Attribute Definition
passwordMinAge (Password Minimum Age) Sets the number of seconds that must pass
before a user can change their password.
passwordResetFailureCount (Reset Password Sets the time, in seconds, after which the
Failure Count After) password failure counter will be reset. Each
time an invalid password is sent from the
user's account, the password failure counter is
incremented.
passwordMaxRepeats (Password Syntax) Sets the maximum number of times that the
same character can be used in row.
241
Configuration, Command, and File Reference
Attribute Definition
PasswordMinTokenLength (Password Syntax) Sets the length to check for trivial words.
The DSE is a special entry, outside the normal DIT, and can be returned by searching with a
null search base. For example:
3.3.1. dataversion
This attribute contains a timestamp which shows the most recent edit time for any data in
the directory.
dataversion: 020090923175302020090923175302
OID
Syntax GeneralizedTime
3.3.2. defaultNamingContext
Corresponds to the naming context, out of all configured naming contexts, which clients
should use by default.
OID
Syntax DN
242
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
3.3.3. lastusn
The USN Plug-in assigns a sequence number to every entry whenever a write operation —
add, modify, delete, and modrdn — is performed for that entry. The USN is assigned in the
entryUSN operational attribute for the entry.
In local mode, each database maintained for a server instance has its own instance of the
USN Plug-in with a separate USN counter per back end database. The most recent USN
assigned for any entry in the database is displayed in the lastusn attribute. When the USN
Plug-in is set to local mode, the lastUSN attribute shows both the database which assigned
the USN and the USN:
lastusn;database_name:USN
For example:
lastusn;example1: 213
lastusn;example2: 207
In global mode, when the database uses a shared USN counter, the lastUSN value shows
the latest USN assigned by any database:
lastusn: 420
NOTE
This attribute does not count internal server operations. Only normal write
operations in the back end database — add, modify, delete, and modrdn —
increment the USN count.
Syntax Integer
3.3.4. namingContexts
Corresponds to a naming context the server is mastering or shadowing. When the
Directory Server does not master any information (such as when it is an LDAP gateway to a
public X.500 directory), this attribute is absent. When the Directory Server believes it
contains the entire directory, the attribute has a single value, and that value is the empty
string (indicating the null DN of the root).This attribute permits a client contacting a server
to choose suitable base objects for searching.
OID 1.3.6.1.4.1.1466.101.120.5
Syntax DN
243
Configuration, Command, and File Reference
3.3.5. netscapemdsuffix
This attribute contains the DN for the top suffix of the directory tree for machine data
maintained in the server. The DN itself points to an LDAP URL. For example:
cn=ldap://dc=server_name,dc=example,dc=com:389
OID 2.16.840.1.113730.3.1.212
Syntax DN
3.3.6. supportedControl
The values of this attribute are the object identifiers (OIDs) that identify the controls
supported by the server. When the server does not support controls, this attribute is
absent.
OID 1.3.6.1.4.1.1466.101.120.13
Syntax DirectoryString
3.3.7. supportedExtension
The values of this attribute are the object identifiers (OIDs) that identify the extended
operations supported by the server. When the server does not support extended
operations, this attribute is absent.
OID 1.3.6.1.4.1.1466.101.120.7
Syntax DirectoryString
244
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
3.3.8. supportedFeatures
This attribute contains features supported by the current version of Red Hat
Directory Server.
OID 1.3.6.1.4.1.4203.1.3.5
Syntax OID
3.3.9. supportedLDAPVersion
This attribute identifies the versions of the LDAP protocol implemented by the server.
OID 1.3.6.1.4.1.1466.101.120.15
Syntax Integer
3.3.10. supportedSASLMechanisms
This attribute identifies the names of the SASL mechanisms supported by the server. When
the server does not support SASL attributes, this attribute is absent.
OID 1.3.6.1.4.1.1466.101.120.14
Syntax DirectoryString
3.3.11. vendorName
This attribute contains the name of the server vendor.
OID 1.3.6.1.1.4
Syntax DirectoryString
245
Configuration, Command, and File Reference
3.3.12. vendorVersion
This attribute shows the vendor's version number for the server.
OID 1.3.6.1.1.5
Syntax DirectoryString
This object class identifies the LDAP server information. It is defined by Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.35
Required Attributes
Attribute Definition
Allowed Attributes
246
CHAPTER 3. CORE SERVER CONFIGURATION REFERENCE
Attribute Definition
3.4.1.2. changeLogMaximumAge
This sets the maximum age for the changelog maintained by the server.
OID 2.16.840.1.113730.3.1.200
Syntax DirectoryString
3.4.1.3. changeLogMaximumConcurrentWrites
This attribute sets the maximum number of concurrent writes that can be written to the
changelog.
OID 2.16.840.1.113730.3.1.205
Syntax DirectoryString
3.4.1.4. changeLogMaximumSize
247
Configuration, Command, and File Reference
OID 2.16.840.1.113730.3.1.201
Syntax DirectoryString
3.4.1.5. generation
This attribute contains a byte vector that uniquely identifies that specific server and
version. This number distinguishes between servers during replication.
OID 2.16.840.1.113730.3.1.612
Syntax IA5String
3.4.1.6. nsSynchUniqueAttribute
OID 2.16.840.1.113730.3.1.407
Syntax DirectoryString
3.4.1.7. nsSynchUserIDFormat
OID 2.16.840.1.113730.3.1.406
Syntax DirectoryString
248
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
The configuration for each part of Directory Server plug-in functionality has its own
separate entry and set of attributes under the subtree cn=plugins,cn=config.
Some of these attributes are common to all plug-ins while others may be particular to a
specific plug-in. Check which attributes are currently being used by a given plug-in by
performing an ldapsearch on the cn=config subtree.
All plug-ins are instances of the nsSlapdPlugin object class, which in turn inherits from the
extensibleObject object class. For plug-in configuration attributes to be taken into
account by the server, both of these object classes (in addition to the top object class)
must be present in the entry, as shown in the following example:
dn:cn=ACL Plugin,cn=plugins,cn=config
objectclass:top
objectclass:nsSlapdPlugin
objectclass:extensibleObject
Plug-in ID NS7bitAtt
249
Configuration, Command, and File Reference
Type preoperation
Default Setting on
Dependencies Database
Plug-in ID acl
Type accesscontrol
Default Setting on
Dependencies Database
250
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Plug-in ID acl
Type preoperation
Default Setting on
Dependencies Database
Plug-in ID none
251
Configuration, Command, and File Reference
Type object
Dependencies Database
Plug-in ID acctusability
Type preoperation
Default Setting on
Dependencies Database
252
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
4.1.6. AD DN Plug-in
Plug-in ID addn
Type preoperation
Dependencies None
Plug-in ID NSUniqueAttr
Type preoperation
253
Configuration, Command, and File Reference
Dependencies Database
Type preoperation
254
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Configurable Arguments None for the main plug-in entry. The definition
entry must specify an LDAP scope, LDAP filter,
default group, and member attribute format.
The optional regular expression child entry can
specify inclusive and exclusive expressions
and a different target group.
Dependencies Database
WARNING
Plug-in ID bin-syntax
Type syntax
Default Setting on
255
Configuration, Command, and File Reference
Dependencies None
Further Information
Plug-in ID bitstring-syntax
Type syntax
Default Setting on
Dependencies None
Plug-in ID bitwise
256
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Type matchingrule
Default Setting on
Dependencies None
Plug-in ID boolean-syntax
Type syntax
Default Setting on
Dependencies None
257
Configuration, Command, and File Reference
Plug-in ID ces-syntax
Type syntax
Default Setting on
Dependencies None
Further Information
Plug-in ID directorystring-syntax
258
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Type syntax
Default Setting on
Dependencies None
Further Information
Type database
Default Setting on
Dependencies None
259
Configuration, Command, and File Reference
Plug-in ID cos
Type object
Default Setting on
Dependencies
Type: Database
260
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Plug-in ID content-sync-plugin
Type object
Plug-in ID countrystring-syntax
Type syntax
Default Setting on
261
Configuration, Command, and File Reference
Dependencies None
Plug-in ID delivery-syntax
Type syntax
Default Setting on
Dependencies None
Plug-in ID Dereference
262
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Type preoperation
Default Setting on
Dependencies Database
Plug-in ID dn-syntax
Type syntax
Default Setting on
Dependencies None
263
Configuration, Command, and File Reference
Type preoperation
Configurable Arguments
Dependencies Database
Further Information
Plug-in ID enhancedguide-syntax
Type syntax
264
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Default Setting on
Dependencies None
Plug-in ID facsimile-syntax
Type syntax
Default Setting on
Dependencies None
265
Configuration, Command, and File Reference
Plug-in ID fax-syntax
Type syntax
Default Setting on
Dependencies None
Plug-in ID time-syntax
Type syntax
Default Setting on
266
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Dependencies None
WARNING
Plug-in ID guide-syntax
Type syntax
Default Setting on
Dependencies None
267
Configuration, Command, and File Reference
Plug-in ID http-client
Type preoperation
Default Setting on
Dependencies Database
Performance-Related Information
Further Information
Plug-in ID int-syntax
Type syntax
268
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Default Setting on
Dependencies None
Plug-in ID orderingrule
Type matchingrule
Default Setting on
Dependencies None
269
Configuration, Command, and File Reference
Plug-in ID jpeg-syntax
Type syntax
Default Setting on
Dependencies None
Plug-in ID ldbm-backend
Type database
270
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Configurable Options
Default Setting on
Dependencies
Syntax
matchingRule
Type preoperation
271
Configuration, Command, and File Reference
Configurable Arguments None for the main plug-in entry. Each plug-in
instance has three possible attributes:
Dependencies Database
Type preoperation
272
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Configurable Arguments None for the main plug-in entry. Each plug-in
instance has four possible attributes:
Dependencies Database
Further Information
Plug-in ID memberOf
Type postoperation
Configurable Arguments
memberOfAttr sets the attribute to generate
in people's entries to show their group
membership.
273
Configuration, Command, and File Reference
Dependencies Database
Further Information
Plug-in ID replication-multimaster
Type object
Default Setting on
Dependencies
Named: ldbm database
Named: DES
Performance-Related Information
Further Information Turn this plug-in off if one server will never
replicate. See the "Managing Replication"
chapter in the Red Hat Directory Server
Administration Guide.
274
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Plug-in ID nameoptuid-syntax
Type syntax
Default Setting on
Dependencies None
Plug-in ID numstr-syntax
Type syntax
275
Configuration, Command, and File Reference
Default Setting on
Dependencies None
NOTE
Plug-in ID octetstring-syntax
Type syntax
Default Setting on
Dependencies None
276
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Plug-in ID oid-syntax
Type syntax
Default Setting on
Dependencies None
Plug-in ID pam_passthruauth
Type preoperation
Default Setting on
277
Configuration, Command, and File Reference
Dependencies Database
Performance-Related Information
Plug-in ID passthruauth
Type preoperation
Dependencies Database
278
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
container.
WARNING
Red Hat recommends not disabling the password scheme plug-ins nor to
change the configurations of the plug-ins to prevent unpredictable
authentication behavior.
PBKDF2_SHA256
NOTE
SSHA512 (default)
The salted secure hashing algorithm (SSHA) implements an enhanced version of the
secure hashing algorithm (SHA), that uses a randomly generated salt to increase
the security of the hashed password. SSHA512 implements the hashing algorithm
using 512 bits.
279
Configuration, Command, and File Reference
[a]
[b]
[b]
SSHA256 SSHA384
[a] Directory Server only supports authentication using this scheme. You can no longer use it to encrypt
passwords.
IMPORTANT
Only continue using a weak scheme over a short time frame, as it increases
security risks.
Plug-in ID posix-winsync-plugin
Type preoperation
280
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Configurable Arguments
on | off
Dependencies database
Plug-in ID postaladdress-syntax
Type syntax
Default Setting on
Dependencies None
281
Configuration, Command, and File Reference
Plug-in ID printablestring-syntax
Type syntax
Default Setting on
Dependencies None
Plug-in ID referint
Type postoperation
282
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Dependencies Database
Further Information See the "Managing Indexes" chapter for information about how
to index attributes used for referential integrity checking and
the "Configuring Directory Databases" chapter in the Red Hat
Directory Server Administration Guide.
Plug-in ID retrocl
Type object
283
Configuration, Command, and File Reference
Dependencies
Type: Database
Plug-in ID roles
Type object
Default Setting on
Dependencies
Type: Database
284
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Plug-in ID rootdn-access-control
Type internalpreoperation
Configurable Attributes
rootdn-open-time and rootdn-close-
time for time-based access controls
rootdn-allow-host, rootdn-deny-host,
rootdn-allow-ip, and rootdn-deny-ip for
host-based access controls
Dependencies None
285
Configuration, Command, and File Reference
Plug-in ID schemareload
Type object
Default Setting on
Dependencies None
Performance-Related Information
Further Information
Plug-in ID none
Type syntax
Default Setting on
Dependencies None
286
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Plug-in ID statechange
Type postoperation
Default Setting on
Dependencies None
Performance-Related Information
Further Information
Plug-in ID none
287
Configuration, Command, and File Reference
Type object
Default Setting on
Dependencies None
Performance-Related Information
Plug-in ID tele-syntax
Type syntax
Default Setting on
Dependencies None
288
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Plug-in ID teletextermid-syntax
Type syntax
Default Setting on
Dependencies None
Plug-in ID telex-syntax
289
Configuration, Command, and File Reference
Type syntax
Default Setting on
Dependencies None
Plug-in ID none
Type syntax
Default Setting on
Dependencies None
290
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Plug-in ID USN
Type object
Dependencies Database
Further Information
Plug-in ID views
291
Configuration, Command, and File Reference
Type object
Default Setting on
Dependencies
Type: Database
Further Information
Superior Class
top
OID
2.16.840.1.113730.3.2.41
Required Attributes
Attribute Definition
292
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Attribute Definition
4.2.2. nsslapd-logAccess
This attribute enables you to log search operations run by the plug-in to the file set in the
nsslapd-accesslog parameter in cn=config.
Syntax DirectoryString
4.2.3. nsslapd-logAudit
This attribute enables you to log and audit modifications to the database originated from
the plug-in.
293
Configuration, Command, and File Reference
Successful modification events are logged in the audit log, if the nsslapd-auditlog-
logging-enabled parameter is enabled in cn=config. To log failed modification database
operations by a plug-in, enable the nsslapd-auditfaillog-logging-enabled attribute in
cn=config.
Syntax DirectoryString
4.2.4. nsslapd-pluginDescription
This attribute provides a description of the plug-in.
Valid Values
Syntax DirectoryString
4.2.5. nsslapd-pluginEnabled
This attribute specifies whether the plug-in is enabled. This attribute can be changed over
protocol but will only take effect when the server is next restarted.
Default Value on
294
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Syntax DirectoryString
Example nsslapd-pluginEnabled: on
4.2.6. nsslapd-pluginId
This attribute specifies the plug-in ID.
Syntax DirectoryString
4.2.7. nsslapd-pluginInitfunc
This attribute specifies the plug-in function to be initiated.
Syntax DirectoryString
4.2.8. nsslapd-pluginPath
This attribute specifies the full path to the plug-in.
295
Configuration, Command, and File Reference
Syntax DirectoryString
4.2.9. nsslapd-pluginPrecedence
This attribute sets the precedence or priority for the execution order of a plug-in.
Precedence defines the execution order of plug-ins, which allows more complex
environments or interactions since it can enable a plug-in to wait for a completed operation
before being executed. This is more important for pre-operation and post-operation plug-
ins.
Plug-ins with a value of 1 have the highest priority and are run first; plug-ins with a value of
99 have the lowest priority. The default is 50.
Valid Values 1 to 99
Default Value 50
Syntax Integer
Example nsslapd-pluginPrecedence: 3
4.2.10. nsslapd-pluginType
This attribute specifies the plug-in type. See Section 4.3.5, “nsslapd-plugin-depends-on-
type” for further information.
Syntax DirectoryString
296
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
4.2.11. nsslapd-pluginVendor
This attribute specifies the vendor of the plug-in.
Syntax DirectoryString
4.2.12. nsslapd-pluginVersion
This attribute specifies the plug-in version.
Syntax DirectoryString
4.3.1. nsslapd-dynamic-plugins
Directory Server supports dynamic plug-ins that can be enabled without restarting the
server. The nsslapd-dynamic-plugins attribute specifies whether the server is configured
to allow for dynamic plug-ins. By default, dynamic plug-ins are disabled.
Some plug-ins cannot be configured as dynamic, and they require the server to be
restarted.
297
Configuration, Command, and File Reference
Entry DN cn=config
Syntax DirectoryString
Example nsslapd-dynamic-plugins: on
4.3.2. nsslapd-pluginConfigArea
Some plug-in entries are container entries, and multiple instances of the plug-in are
created beneath this container in cn=plugins,cn=config. However, the
cn=plugins,cn=config is not replicated, which means that the plug-in configurations
beneath those container entries must be configured manually, in some way, on every
Directory Server instance.
Default Value
Syntax DN
4.3.3. nsslapd-pluginLoadNow
This attribute specifies whether to load all of the symbols used by a plug-in immediately
(true), as well as all symbols references by those symbols, or to load the symbol the first
time it is used (false).
298
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Syntax DirectoryString
4.3.4. nsslapd-pluginLoadGlobal
This attribute specifies whether the symbols in dependent libraries are made visible locally
(false) or to the executable and to all shared objects t
( rue).
Syntax DirectoryString
4.3.5. nsslapd-plugin-depends-on-type
Multi-valued attribute used to ensure that plug-ins are called by the server in the correct
order. Takes a value which corresponds to the type number of a plug-in, contained in the
attribute nsslapd-pluginType. See Section 4.2.10, “nsslapd-pluginType” for further
information. All plug-ins with a type value which matches one of the values in the following
valid range will be started by the server prior to this plug-in. The following postoperation
Referential Integrity Plug-in example shows that the database plug-in will be started prior to
the postoperation Referential Integrity Plug-in.
Default Value
Syntax DirectoryString
299
Configuration, Command, and File Reference
4.3.6. nsslapd-plugin-depends-on-named
Multi-valued attribute used to ensure that plug-ins are called by the server in the correct
order. Takes a value which corresponds to the cn value of a plug-in. The plug-in with acn
value matching one of the following values will be started by the server prior to this plug-in.
If the plug-in does not exist, the server fails to start. The following postoperation Referential
Integrity Plug-in example shows that the Views plug-in is started before Roles. If Views is
missing, the server is not going to start.
Default Value
Syntax DirectoryString
Example
nsslapd-plugin-depends-on-named: Views
nsslapd-pluginId: roles
300
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
All plug-in technology used by the database instances is stored in the cn=ldbm database
plug-in node. This section presents the additional attribute information for each of the
nodes in bold in the cn=ldbm database,cn=plugins,cn=config information tree.
4.4.1.1. nsslapd-backend-opt-level
Possible values:
1: The replication update vector is not written to the database during the
transaction
2: Changes the order of taking the back end lock and starts the transaction
All parameters can be combined. For example 7 enables all optimisation features.
WARNING
This parameter is experimental. Never change its value unless you are
specifically told to do so by the Red Hat support.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 0
Syntax Integer
Example nsslapd-backend-opt-level: 0
4.4.1.2. nsslapd-cache-autosize
301
Configuration, Command, and File Reference
This performance tuning-related attribute sets the percentage of free memory that is used
in total for the database and entry cache. For example, if the value is set to 10, 10% of the
system's free RAM is used for both caches. If this value is set to a value greater than 0,
auto-sizing is enabled for the database and entry cache.
For optimized performance, Red Hat recommends not to disable auto-sizing. However, in
certain situations in can be necessary to disable auto-sizing. In this case, set the nsslapd-
cache-autosize attribute to 0 and manually set:
For further details about auto-sizing, see the corresponding section in the
Red Hat Directory Server Performance Tuning Guide.
NOTE
nsslapd-cache-autosize: 10
nsslapd-cache-autosize-split: 40
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 10
Syntax Integer
Example nsslapd-cache-autosize: 10
4.4.1.3. nsslapd-cache-autosize-split
This performance tuning-related attribute sets the percentage of RAM that is used for the
database cache. The remaining percentage is used for the entry cache. For example, if the
value is set to 40, the database cache uses 40%, and the entry cache the remaining 60% of
the free RAM reserved in the nsslapd-cache-autosize attribute.
For further details about auto-sizing, see the corresponding section in the
Red Hat Directory Server Performance Tuning Guide.
302
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
NOTE
nsslapd-cache-autosize: 10
nsslapd-cache-autosize-split: 40
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 40
Syntax Integer
Example nsslapd-cache-autosize-split: 40
4.4.1.4. nsslapd-dbcachesize
This performance tuning-related attribute specifies the database index cache size, in bytes.
This is one of the most important values for controlling how much physical RAM the
directory server uses.
This is not the entry cache. This is the amount of memory the Berkeley database back end
will use to cache the indexes (the .db files) and other files. This value is passed to the
Berkeley DB API function set_cachesize. If automatic cache resizing is activated, this
attribute is overridden when the server replaces these values with its own guessed values
at a later stage of the server startup.
For more technical information on this attribute, see the cache size section of the Berkeley
DB reference guide at
https://docs.oracle.com/cd/E17076_04/html/programmer_reference/general_am_conf.html#am_conf_ca
Attempting to set a value that is not a number or is too big for a 32-bit signed integer
returns an LDAP_UNWILLING_TO_PERFORM error message with additional error information
explaining the problem.
NOTE
Do not set the database cache size manually. Red Hat recommends to use the
database cache auto-sizing feature for optimized performance. For further see
the corresponding section in the Red Hat Directory Server Performance Tuning
Guide.
303
Configuration, Command, and File Reference
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value
Syntax Integer
4.4.1.5. nsslapd-db-checkpoint-interval
This sets the amount of time in seconds after which the Directory Server sends a
checkpoint entry to the database transaction log. The database transaction log contains a
sequential listing of all recent database operations and is used for database recovery only.
A checkpoint entry indicates which database operations have been physically written to the
directory database. The checkpoint entries are used to determine where in the database
transaction log to begin recovery after a system failure. The nsslapd-db-checkpoint-
interval attribute is absent from dse.ldif. To change the checkpoint interval, add the
attribute to dse.ldif. This attribute can be dynamically modified usingldapmodify. For
further information on modifying this attribute, see the "Tuning Directory Server
Performance" chapter in the Red Hat Directory Server Administration Guide.
This attribute is provided only for system modification/diagnostics and should be changed
only with the guidance of Red Hat Technical Support or Red Hat Consulting. Inconsistent
settings of this attribute and other configuration attributes may cause the Directory Server
to be unstable.
For more information on database transaction logging, see the "Monitoring Server and
Database Activity" chapter in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 60
Syntax Integer
304
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
4.4.1.6. nsslapd-db-circular-logging
This attribute specifies circular logging for the transaction log files. If this attribute is
switched off, old transaction log files are not removed and are kept renamed as old log
transaction files. Turning circular logging off can severely degrade server performance and,
as such, should only be modified with the guidance of Red Hat Technical Support or Red
Hat Consulting.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-db-circular-logging: on
4.4.1.7. nsslapd-db-compactdb-interval
The Berkeley database does not reuse free pages unless the database is explicitly
compacted. The compact operation returns the unused pages to the file system and the
database file size shrinks. This parameter defines the interval in seconds when the
database is compacted. Note that compacting the database is resource-intensive, and thus
should not be done to frequently.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
4.4.1.8. nsslapd-db-debug
305
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax DirectoryString
4.4.1.9. nsslapd-db-durable-transactions
This attribute sets whether database transaction log entries are immediately written to the
disk. The database transaction log contains a sequential listing of all recent database
operations and is used for database recovery only. With durable transactions enabled,
every directory change will always be physically recorded in the log file and, therefore, able
to be recovered in the event of a system failure. However, the durable transactions feature
may also slow the performance of the Directory Server. When durable transactions is
disabled, all transactions are logically written to the database transaction log but may not
be physically written to disk immediately. If there were a system failure before a directory
change was physically written to disk, that change would not be recoverable. The nsslapd-
db-durable-transactions attribute is absent from dse.ldif. To disable durable
transactions, add the attribute to dse.ldif.
This attribute is provided only for system modification/diagnostics and should be changed
only with the guidance of Red Hat Technical Support or Red Hat Consulting. Inconsistent
settings of this attribute and other configuration attributes may cause the Directory Server
to be unstable.
For more information on database transaction logging, see the "Monitoring Server and
Database Activity" chapter in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-db-durable-transactions: on
4.4.1.10. nsslapd-db-home-directory
306
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
To move the database to another physical location for performance reasons, use this
parameter to specify the home directory.
This situation will occur only for certain combinations of the database cache size, the size of
physical memory, and kernel tuning attributes. In particular, this situation should not occur
if the database cache size is less than 100 megabytes.
The disk is heavily used (more than 1 megabyte per second of data transfer).
Also, if there are multiple Directory Servers on the same machine, their nsslapd-db-home-
directory attributes must be configured with different directories. Failure to do so will
result in the databases for both directories becoming corrupted.
The use of this attribute causes internal Directory Server database files to be moved to the
directory referenced by the attribute. It is possible, but unlikely, that the server will no
longer start after the files have been moved because not enough memory can be allocated.
This is a symptom of an overly large database cache size being configured for the server. If
this happens, reduce the size of the database cache size to a value where the server will
start again.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
4.4.1.11. nsslapd-db-idl-divisor
This attribute specifies the index block size in terms of the number of blocks per database
page. The block size is calculated by dividing the database page size by the value of this
attribute. A value of 1 makes the block size exactly equal to the page size. The default
307
Configuration, Command, and File Reference
value of 0 sets the block size to the page size minus an estimated allowance for internal
database overhead. For the majority of installations, the default value should not be
changed unless there are specific tuning needs.
Before modifying the value of this attribute, export all databases using the db2ldif script.
Once the modification has been made, reload the databases using the ldif2db script.
WARNING
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Valid Range 0 to 8
Default Value 0
Syntax Integer
Example nsslapd-db-idl-divisor: 2
4.4.1.12. nsslapd-db-locks
Lock mechanisms in Directory Server control how many copies of Directory Server
processes can run at the same time. The nsslapd-db-locks parameter sets the maximum
number of locks.
Only set this parameter to a higher value if Directory Server runs out of locks and logs
libdb: Lock table is out of available locks error messages. If you set a higher
value without a need, this increases the size of the
/var/lib/dirsrv/slapd-instance_name/db__db.* files without any benefit. For more
information about monitoring the logs and determining a realistic value, see the
corresponding section in the Directory Server Performance Tuning Guide.
The service must be restarted for changes to this attribute to take effect.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
308
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax Integer
4.4.1.13. nsslapd-db-logbuf-size
This attribute specifies the log information buffer size. Log information is stored in memory
until the buffer fills up or the transaction commit forces the buffer to be written to disk.
Larger buffer sizes can significantly increase throughput in the presence of long running
transactions, highly concurrent applications, or transactions producing large amounts of
data. The log information buffer size is the transaction log size divided by four.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
4.4.1.14. nsslapd-db-logdirectory
This attribute specifies the path to the directory that contains the database transaction log.
The database transaction log contains a sequential listing of all recent database operations.
Directory Server uses this information to recover the database after an instance shut down
unexpectedly.
By default, the database transaction log is stored in the same directory as the directory
database. To update this parameter, you must manually update the
/etc/dirsrv/slapd-instance_name/dse.ldif file. For details, see the Changing the
Transaction Log Directory section in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
309
Configuration, Command, and File Reference
Parameter Description
Default Value
Syntax DirectoryString
Example nsslapd-db-logdirectory:
/var/lib/dirsrv/slapd-instance_name/db/
4.4.1.15. nsslapd-db-logfile-size
This attribute specifies the maximum size of a single file in the log in bytes. By default, or if
the value is set to 0, a maximum size of 10 megabytes is used. The maximum size is an
unsigned 4-byte value.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
Example nsslapd-db-logfile-size: 10 MB
4.4.1.16. nsslapd-db-page-size
This attribute specifies the size of the pages used to hold items in the database in bytes.
The minimum size is 512 bytes, and the maximum size is 64 kilobytes. If the page size is
not explicitly set, Directory Server defaults to a page size of 8 kilobytes. Changing this
default value can have a significant performance impact. If the page size is too small, it
results in extensive page splitting and copying, whereas if the page size is too large it can
waste disk space.
Before modifying the value of this attribute, export all databases using the db2ldif script.
Once the modification has been made, reload the databases using the ldif2db script.
Parameter Description
310
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
4.4.1.17. nsslapd-db-spin-count
This attribute specifies the number of times that test-and-set mutexes should spin without
blocking.
WARNING
Never touch this value unless you are very familiar with the inner
workings of Berkeley DB or are specifically told to do so by Red Hat
support.
The default value of 0 causes BDB to calculate the actual value by multiplying the number
of available CPU cores (as reported by the nproc utility or the
sysconf(_SC_NPROCESSORS_ONLN) call) by 50. For example, with a processor with 8 logical
cores, leaving this attribute set to 0 is equivalent to setting it to400. It is not possible to
turn spinning off entirely - if you want to minimize the amount of times test-and-set
mutexes will spin without blocking, set this attribute to 1.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 0
Syntax Integer
Example nsslapd-db-spin-count: 0
311
Configuration, Command, and File Reference
4.4.1.18. nsslapd-db-transaction-batch-max-wait
WARNING
This parameter is experimental. Never change its value unless you are
specifically told to do so by the Red Hat support.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 50
Syntax Integer
Example nsslapd-db-transaction-batch-max-wait: 50
4.4.1.19. nsslapd-db-transaction-batch-min-wait
WARNING
This parameter is experimental. Never change its value unless you are
specifically told to do so by the Red Hat support.
Parameter Description
312
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 50
Syntax Integer
Example nsslapd-db-transaction-batch-min-wait: 50
4.4.1.20. nsslapd-db-transaction-batch-val
This attribute specifies how many transactions will be batched before being committed. This
attribute can improve update performance when full transaction durability is not required.
This attribute can be dynamically modified using ldapmodify. For further information on
modifying this attribute, see the "Tuning Directory Server Performance" chapter in the
Red Hat Directory Server Administration Guide.
WARNING
Setting this value will reduce data consistency and may lead to loss of
data. This is because if there is a power outage before the server can
flush the batched transactions, those transactions in the batch will be
lost.
If this attribute is not defined or is set to a value of 0, transaction batching will be turned
off, and it will be impossible to make remote modifications to this attribute using LDAP.
However, setting this attribute to a value greater than 0 causes the server to delay
committing transactions until the number of queued transactions is equal to the attribute
value. A value greater than 0 also allows modifications to this attribute remotely using
LDAP. A value of 1 for this attribute allows modifications to the attribute setting remotely
using LDAP, but results in no batching behavior. A value of 1 at server startup is therefore
useful for maintaining normal durability while also allowing transaction batching to be
turned on and off remotely when required. Remember that the value for this attribute may
require modifying the nsslapd-db-logbuf-size attribute to ensure sufficient log buffer
size for accommodating the batched transactions.
NOTE
313
Configuration, Command, and File Reference
For more information on database transaction logging, see the "Monitoring Server and
Database Activity" chapter in the Red Hat Directory Server Administration Guide.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Valid Range 0 to 30
Syntax Integer
Example nsslapd-db-transaction-batch-val: 5
4.4.1.21. nsslapd-db-trickle-percentage
This attribute sets that at least the specified percentage of pages in the shared-memory
pool are clean by writing dirty pages to their backing files. This is to ensure that a page is
always available for reading in new information without having to wait for a write.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 40
Syntax Integer
Example nsslapd-db-trickle-percentage: 40
4.4.1.22. nsslapd-db-verbose
This attribute specifies whether to record additional informational and debugging messages
when searching the log for checkpoints, doing deadlock detection, and performing
recovery. This parameter is meant for troubleshooting, and enabling the parameter may
slow down the Directory Server.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
314
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax DirectoryString
4.4.1.23. nsslapd-dbncache
This attribute can split the LDBM cache into equally sized separate pieces of memory. It is
possible to specify caches that are large enough so that they cannot be allocated
contiguously on some architectures; for example, some systems limit the amount of
memory that may be allocated contiguously by a process. If nsslapd-dbncache is 0 or 1,
the cache will be allocated contiguously in memory. If it is greater than 1, the cache will be
broken up into ncache, equally sized separate pieces of memory.
To configure a dbcache size larger than 4 gigabytes, add the nsslapd-dbncache attribute to
cn=config,cn=ldbm database,cn=plugins,cn=config between the nsslapd-
dbcachesize and nsslapd-db-logdirectory attribute lines.
Set this value to an integer that is one-quarter (1/4) the amount of memory in gigabytes.
For example, for a 12 gigabyte system, set the nsslapd-dbncache value to 3; for an 8
gigabyte system, set it to 2.
This attribute is provided only for system modification/diagnostics and should be changed
only with the guidance of Red Hat technical support or Red Hat professional services.
Inconsistent settings of this attribute and other configuration attributes may cause the
Directory Server to be unstable.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Valid Values 1 to 4
Default Value 1
Syntax Integer
Example nsslapd-dbncache: 1
4.4.1.24. nsslapd-directory
This attribute specifies absolute path to database instance. If the database instance is
315
Configuration, Command, and File Reference
manually created then this attribute must be included, something which is set by default
(and modifiable) in the Directory Server Console. Once the database instance is created, do
not modify this path as any changes risk preventing the server from accessing data.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
Example nsslapd-directory:
/var/lib/dirsrv/slapd-instance/db
4.4.1.25. nsslapd-exclude-from-export
Do not remove any of the default values for this attribute, since that may affect server
performance.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax DirectoryString
4.4.1.26. nsslapd-idlistscanlimit
This performance-related attribute, present by default, specifies the number of entry IDs
that are searched during a search operation. Attempting to set a value that is not a number
or is too big for a 32-bit signed integer returns an LDAP_UNWILLING_TO_PERFORM error
message, with additional error information explaining the problem. It is advisable to keep
the default value to improve search performance.
316
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
This parameter can be changed while the server is running, and the new value will affect
subsequent searches.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
4.4.1.27. nsslapd-import-cache-autosize
This performance tuning-related attribute automatically sets the size of the import cache
(importCache) to be used during the command-line-based import process of LDIF files to
the database (the ldif2db operation).
In Directory Server, the import operation can be run as a server task or exclusively on the
command-line. In the task mode, the import operation runs as a general Directory Server
operation. The nsslapd-import-cache-autosize attribute enables the import cache to be
set automatically to a predetermined size when the import operation is run on the
command-line. The attribute can also be used by Directory Server during the task mode
import for allocating a specified percentage of free memory for import cache.
317
Configuration, Command, and File Reference
NOTE
There are three caches in the context of Directory Server: database cache, entry cache,
and import cache. The import cache is only used during the import operation. The
nsslapd-cache-autosize attribute, which is used for autosizing the entry cache and
database cache, is used during the Directory Server operations only and not during the
ldif2db command-line operation; the attribute value is the percentage of free physical
memory to be allocated for the entry cache and database cache.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
Example nsslapd-import-cache-autosize: -1
4.4.1.28. nsslapd-import-cachesize
This performance tuning-related attribute determines the size, in bytes, of the database
cache used in the bulk import process. Setting this attribute value so that the maximum
available system physical memory is used for the database cache during bulk importing
optimizes bulk import speed. Attempting to set a value that is not a number or is too big for
a 32-bit signed integer returns an LDAP_UNWILLING_TO_PERFORM error message, with
additional error information explaining the problem.
318
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
NOTE
A cache is created for each load that occurs. For example, if the user sets the
nsslapd-import-cachesize attribute to 1 gigabyte, then 1 gigabyte is used
when loading one database, 2 gigabytes is used when loading two databases,
and so on. Ensure there is sufficient physical memory to prevent swapping
from occurring, as this would result in performance degradation.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
4.4.1.29. nsslapd-lookthroughlimit
This performance-related attribute specifies the maximum number of entries that the
Directory Server will check when examining candidate entries in response to a search
request. The Directory Manager DN, however, is, by default, unlimited and overrides any
other settings specified here. It is worth noting that binder-based resource limits work for
this limit, which means that if a value for the operational attribute nsLookThroughLimit is
present in the entry as which a user binds, the default limit will be overridden. Attempting
to set a value that is not a number or is too big for a 32-bit signed integer returns an
LDAP_UNWILLING_TO_PERFORM error message with additional error information explaining
the problem.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
319
Configuration, Command, and File Reference
4.4.1.30. nsslapd-mode
This attribute specifies the permissions used for newly created index files.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
4.4.1.31. nsslapd-pagedidlistscanlimit
This performance-related attribute specifies the number of entry IDs that are searched,
specifically, for a search operation using the simple paged results control.
This attribute works the same as the nsslapd-idlistscanlimit attribute, except that it
only applies to searches with the simple paged results control.
If this attribute is not present or is set to zero, then the nsslapd-idlistscanlimit is used
to paged searches as well as non-paged searches.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 0
Syntax Integer
4.4.1.32. nsslapd-pagedlookthroughlimit
320
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
This performance-related attribute specifies the maximum number of entries that the
Directory Server will check when examining candidate entries for a search which uses the
simple paged results control.
This attribute works the same as the nsslapd-lookthroughlimit attribute, except that it
only applies to searches with the simple paged results control.
If this attribute is not present or is set to zero, then the nsslapd-lookthroughlimit is used
to paged searches as well as non-paged searches.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value 0
Syntax Integer
4.4.1.33. nsslapd-rangelookthroughlimit
This performance-related attribute specifies the maximum number of entries that the
Directory Server will check when examining candidate entries in response to a range
search request.
Range searches use operators to set a bracket to search for and return an entire subset of
entries within the directory. For example, this searches for every entry modified at or after
midnight on January 1:
(modifyTimestamp>=20190101010101Z)
The nature of a range search is that it must evaluate every single entry within the directory
to see if it is within the range given. Essentially, a range search is always an all IDs search.
For most users, the look-through limit kicks in and prevents range searches from turning
into an all IDs search. This improves overall performance and speeds up range search
results. However, some clients or administrative users like Directory Manager may not have
a look-through limit set. In that case, a range search can take several minutes to complete
or even continue indefinitely.
This allows clients and administrative users to have high look-through limits while still
allowing a reasonable limit to be set on potentially performance-impaired range searches.
321
Configuration, Command, and File Reference
NOTE
Unlike other resource limits, this applies to searches by any user, including
the Directory Manager, regular users, and other LDAP clients.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
4.4.1.34. nsslapd-subtree-rename-switch
Every directory entry is stored as a key in an entry index file. The index key maps the
current entry DN to its meta entry in the index. This mapping is done either by the RDN of
the entry or by the full DN of the entry.
When a subtree entry is allowed to be renamed (meaning, an entry with children entries,
effectively renaming the whole subtree), its entries are stored in the entryrdn.db index,
which associates parent and child entries by an assigned ID rather than their DN. If subtree
rename operations are not allowed, then the entryrdn.db index is disabled and the
entrydn.db index is used, which simply uses full DNs, with the implicit parent-child
relationships.
Parameter Description
Entry DN cn=config,cn=ldbm
database,cn=plugins,cn=config
Default Value on
Syntax DirectoryString
Example nsslapd-subtree-rename-switch: on
322
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
dbcachehits
This attribute shows the requested pages found in the database.
dbcachetries
This attribute shows the total cache lookups.
dbcachehitratio
This attribute shows the percentage of requested pages found in the database cache
(hits/tries).
dbcachepagein
This attribute shows the pages read into the database cache.
dbcachepageout
This attribute shows the pages written from the database cache to the backing file.
dbcacheroevict
This attribute shows the clean pages forced from the cache.
dbcacherwevict
This attribute shows the dirty pages forced from the cache.
The cn=userRoot subtree is called userRoot by default. However, this is not hard-coded
and, given the fact that there are going to be multiple database instances, this name is
changed and defined by the user as and when new databases are added. The cn=userRoot
database referenced can be any user database.
4.4.3.1. nsslapd-cachesize
This attribute has been deprecated. To resize the entry cache, use nsslapd-cachememsize.
This performance tuning-related attribute specifies the cache size in terms of the number of
entries it can hold. However, this attribute is deprecated in favor of the nsslapd-
cachememsize attribute, which sets an absolute allocation of RAM for the entry cache size,
323
Configuration, Command, and File Reference
Attempting to set a value that is not a number or is too big for a 32-bit signed integer (on
32-bit systems) returns an LDAP_UNWILLING_TO_PERFORM error message with additional
error information explaining the problem.
The server has to be restarted for changes to this attribute to go into effect.
NOTE
The performance counter for this setting goes to the highest 64-bit integer,
even on 32-bit systems, but the setting itself is limited on 32-bit systems to
the highest 32-bit integer because of how the system addresses memory.
Parameter Description
Entry DN cn=database_name,cn=ldbm
database,cn=plugins,cn=config
Default Value -1
Syntax Integer
Example nsslapd-cachesize: -1
4.4.3.2. nsslapd-cachememsize
This performance tuning-related attribute specifies the size, in bytes, for the available
memory space for the entry cache. The simplest method is limiting cache size in terms of
memory occupied. Activating automatic cache resizing overrides this attribute, replacing
these values with its own guessed values at a later stage of the server startup.
Attempting to set a value that is not a number or is too big for a 32-bit signed integer (on
32-bit systems) returns an LDAP_UNWILLING_TO_PERFORM error message with additional
error information explaining the problem.
The performance counter for this setting goes to the highest 64-bit integer, even on 32-bit
systems, but the setting itself is limited on 32-bit systems to the highest 32-bit integer
because of how the system addresses memory.
NOTE
Do not set the database cache size manually. Red Hat recommends to use the
entry cache auto-sizing feature for optimized performance. For further see the
corresponding section in the Red Hat Directory Server Performance Tuning
Guide.
324
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Entry DN cn=database_name,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
4.4.3.3. nsslapd-directory
This attribute specifies the path to the database instance. If it is a relative path, it starts
from the path specified by nsslapd-directory in the global database entry
cn=config,cn=ldbm database,cn=plugins,cn=config. The database instance directory is
named after the instance name and located in the global database directory, by default.
After the database instance has been created, do not modify this path, because any
changes risk preventing the server from accessing data.
Parameter Description
Entry DN cn=database_name,cn=ldbm
database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
Example nsslapd-directory:
/var/lib/dirsrv/slapd-instance/db/userRoot
4.4.3.4. nsslapd-dncachememsize
This performance tuning-related attribute specifies the size, in bytes, for the available
memory space for the DN cache. The DN cache is similar to the entry cache for a database,
only its table stores only the enrty ID and the entry DN. This allows faster lookups for
rename and moddn operations.
Attempting to set a value that is not a number or is too big for a 32-bit signed integer (on
32-bit systems) returns an LDAP_UNWILLING_TO_PERFORM error message with additional
error information explaining the problem.
325
Configuration, Command, and File Reference
NOTE
The performance counter for this setting goes to the highest 64-bit integer,
even on 32-bit systems, but the setting itself is limited on 32-bit systems to
the highest 32-bit integer because of how the system addresses memory.
Parameter Description
Entry DN cn=database_name,cn=ldbm
database,cn=plugins,cn=config
Syntax Integer
4.4.3.5. nsslapd-readonly
This attribute specifies read-only mode for a single back-end instance. If this attribute has a
value of off, then users have all read, write, and execute permissions allowed by their
access permissions.
Parameter Description
Entry DN cn=database_name,cn=ldbm
database,cn=plugins,cn=config
Syntax DirectoryString
4.4.3.6. nsslapd-require-index
When switched to on, this attribute allows one to refuse unindexed searches. This
performance-related attribute avoids saturating the server with erroneous searches.
Parameter Description
326
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Entry DN cn=database_name,cn=ldbm
database,cn=plugins,cn=config
Syntax DirectoryString
4.4.3.7. nsslapd-suffix
This attribute specifies the suffix of the database link. This is a single-valued attribute
because each database instance can have only one suffix. Previously, it was possible to
have more than one suffix on a single database instance, but this is no longer the case. As a
result, this attribute is single-valued to enforce the fact that each database instance can
only have one suffix entry. Any changes made to this attribute after the entry has been
created take effect only after the server containing the database link is restarted.
Parameter Description
Entry DN cn=database_name,cn=ldbm
database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
4.4.3.8. vlvBase
This attribute sets the base DN for which the browsing or virtual list view (VLV) index is
created.
For more information on VLV indexes, see the indexing chapter in the Administration Guide.
NOTE
327
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=index_name,cn=userRoot,cn=ldbm
database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
4.4.3.9. vlvEnabled
This attribute sets whether the browsing or virtual list view (VLV) index is enabled.
For more information on VLV indexes, see the indexing chapter in the Administration Guide.
NOTE
Parameter Description
Entry DN cn=index_name,cn=userRoot,cn=ldbm
database,cn=plugins,cn=config
Default Value 1
Syntax DirectoryString
Example vlvEnbled: 0
4.4.3.10. vlvFilter
The browsing or virtual list view (VLV) index is created by running a search according to a
filter and including entries which match that filter in the index. The filter is specified in the
vlvFilter attribute.
For more information on VLV indexes, see the indexing chapter in the Administration Guide.
328
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
NOTE
Parameter Description
Entry DN cn=index_name,cn=userRoot,cn=ldbm
database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
A browsing index or virtual list view (VLV) index dynamically generates an abbreviated
index of entry headers that makes it much faster to visually browse large indexes. A VLV
index definition has two parts: one which defines the index and one which defines the
search used to identify entries to add to the index. The vlvIndex object class defines the
index entry.
Superior Class
top
OID
2.16.840.1.113730.3.2.42
Required Attributes
Attribute Definition
Allowed Attributes
329
Configuration, Command, and File Reference
Attribute Definition
4.4.3.12. vlvScope
This attribute sets the scope of the search to run for entries in the browsing or virtual list
view (VLV) index.
For more information on VLV indexes, see the indexing chapter in the Administration Guide.
NOTE
Parameter Description
Entry DN cn=index_name,cn=userRoot,cn=ldbm
database,cn=plugins,cn=config
Valid Values
1 (one-level or children search)
2 (subtree search)
Default Value
Syntax Integer
Example vlvScope: 2
A browsing index or virtual list view (VLV) index dynamically generates an abbreviated
index of entry headers that makes it much faster to visually browse large indexes. A VLV
index definition has two parts: one which defines the index and one which defines the
search used to identify entries to add to the index. The vlvSearch object class defines the
search filter entry.
Superior Class
top
OID
330
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
2.16.840.1.113730.3.2.38
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
4.4.3.14. vlvSort
This attribute sets the sort order for returned entries in the browsing or virtual list view
(VLV) index.
NOTE
The entry for this attribute is a vlvIndex entry beneath the vlvSearch entry.
For more information on VLV indexes, see the indexing chapter in the Administration Guide.
NOTE
Parameter Description
Entry DN cn=index_name,cn=index_name,cn=userRoot,
cn=ldbm database,cn=plugins,cn=config
331
Configuration, Command, and File Reference
Parameter Description
Default Value
Syntax DirectoryString
4.4.3.15. vlvUses
This attribute contains the count for the browsing or virtual list view (VLV) index.
For more information on VLV indexes, see the indexing chapter in the Administration Guide.
NOTE
Parameter Description
Entry DN cn=index_name,cn=userRoot,cn=ldbm
database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
If the nsslapd-counters attribute in cn=config is set to on, then some of the counters kept
by the Directory Server instance increment using 64-bit integers, even on 32-bit machines
or with a 32-bit version of Directory Server. For database monitoring, the entrycachehits
and entrycachetries counters use 64-bit integers.
NOTE
332
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
currentNormalizedDNcachecount
Number of normalized cached DNs.
currentNormalizedDNcachesize
Current size of the normalized DN cache in bytes.
normalizedDNcachehitratio
Percentage of the normalized DNs found in the cache.
normalizedDNcachehits
Normalized DNs found within the cache.
normalizedDNcachemisses
Normalized DNs not found within the cache.
normalizedDNcachetries
Total number of cache lookups since the instance was started.
maxNormalizedDNcachesize
Current value of the nsslapd-ndn-cache-max-size parameter. For details how to update
this setting, see Section 3.1.1.126, “nsslapd-ndn-cache-max-size”.
If the nsslapd-counters attribute in cn=config is set to on, then some of the counters kept
by the Directory Server instance increment using 64-bit integers, even on 32-bit machines
or with a 32-bit version of Directory Server. For the database monitoring, the
entrycachehits and entrycachetries counters use 64-bit integers.
NOTE
nsslapd-db-abort-rate
This attribute shows the number of transactions that have been aborted.
nsslapd-db-active-txns
This attribute shows the number of transactions that are currently active.
nsslapd-db-cache-hit
This attribute shows the requested pages found in the cache.
nsslapd-db-cache-try
333
Configuration, Command, and File Reference
nsslapd-db-cache-region-wait-rate
This attribute shows the number of times that a thread of control was forced to wait before
obtaining the region lock.
nsslapd-db-cache-size-bytes
This attribute shows the total cache size in bytes.
nsslapd-db-clean-pages
This attribute shows the clean pages currently in the cache.
nsslapd-db-commit-rate
This attribute shows the number of transactions that have been committed.
nsslapd-db-deadlock-rate
This attribute shows the number of deadlocks detected.
nsslapd-db-dirty-pages
This attribute shows the dirty pages currently in the cache.
nsslapd-db-hash-buckets
This attribute shows the number of hash buckets in buffer hash table.
nsslapd-db-hash-elements-examine-rate
This attribute shows the total number of hash elements traversed during hash table
lookups.
nsslapd-db-hash-search-rate
This attribute shows the total number of buffer hash table lookups.
nsslapd-db-lock-conflicts
This attribute shows the total number of locks not immediately available due to conflicts.
nsslapd-db-lock-region-wait-rate
This attribute shows the number of times that a thread of control was forced to wait before
obtaining the region lock.
nsslapd-db-lock-request-rate
This attribute shows the total number of locks requested.
nsslapd-db-lockers
This attribute shows the number of current lockers.
nsslapd-db-log-bytes-since-checkpoint
This attribute shows the number of bytes written to this log since the last checkpoint.
nsslapd-db-log-region-wait-rate
334
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
This attribute shows the number of times that a thread of control was forced to wait before
obtaining the region lock.
nsslapd-db-log-write-rate
This attribute shows the number of megabytes and bytes written to this log.
nsslapd-db-longest-chain-length
This attribute shows the longest chain ever encountered in buffer hash table lookups.
nsslapd-db-page-create-rate
This attribute shows the pages created in the cache.
nsslapd-db-page-read-rate
This attribute shows the pages read into the cache.
nsslapd-db-page-ro-evict-rate
This attribute shows the clean pages forced from the cache.
nsslapd-db-page-rw-evict-rate
This attribute shows the dirty pages forced from the cache.
nsslapd-db-page-trickle-rate
This attribute shows the dirty pages written using the memp_trickle interface.
nsslapd-db-page-write-rate
This attribute shows the pages read into the cache.
nsslapd-db-pages-in-use
This attribute shows all pages, clean or dirty, currently in use.
nsslapd-db-txn-region-wait-rate
This attribute shows the number of times that a thread of control was force to wait before
obtaining the region lock.
currentdncachecount
This attribute shows the number of DNs currently present in the DN cache.
currentdncachesize
This attribute shows the total size, in bytes, of DNs currently present in the DN cache.
maxdncachesize
This attribute shows the maximum size, in bytes, of DNs that can be maintained in the
database DN cache.
335
Configuration, Command, and File Reference
to cause unnecessary disruptions. For further information on indexes, see the "Managing
Indexes" chapter in the Red Hat Directory Server Administration Guide.
4.4.6.1. cn
Parameter Description
Syntax DirectoryString
4.4.6.2. nsIndex
This object class defines an index in the back end database. This object is defined in
Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.44
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
336
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Attribute Definition
4.4.6.3. nsIndexType
This optional, multi-valued attribute specifies the type of index for Directory Server
operations and takes the values of the attributes to be indexed. Each required index type
has to be entered on a separate line.
Parameter Description
Valid Values
pres = presence index
eq = equality index
Default Value
Syntax DirectoryString
Example nsIndexType: eq
4.4.6.4. nsMatchingRule
This optional, multi-valued attribute specifies the ordering matching rule name or OID used
to match values and to generate index keys for the attribute. This is most commonly used
to ensure that equality and range searches work correctly for languages other than English
(7-bit ASCII).
This is also used to allow range searches to work correctly for integer syntax attributes that
do not specify an ordering matching rule in their schema definition. uidNumber and
gidNumber are two commonly used attributes that fall into this category.
For example, for a uidNumber that uses integer syntax, the rule attribute could be
nsMatchingRule: integerOrderingMatch.
337
Configuration, Command, and File Reference
NOTE
Any change to this attribute will not take effect until the change is saved and
the index is rebuilt using db2index, which is described in more detail in the
"Managing Indexes" chapter of the Red Hat Directory Server
Administration Guide).
Parameter Description
Syntax DirectoryString
4.4.6.5. nsSystemIndex
This mandatory attribute specifies whether the index is a system index, an index which is
vital for Directory Server operations. If this attribute has a value of true, then it is system-
essential. System indexes should not be removed, as this will seriously disrupt server
functionality.
Parameter Description
Default Value
Syntax DirectoryString
338
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
dbfilenamenumber
This attribute gives the name of the file and provides a sequential integer identifier
(starting at 0) for the file. All associated statistics for the file are given this same numerical
identifier.
dbfilecachehit
This attribute gives the number of times that a search requiring data from this file was
performed and that the data were successfully obtained from the cache.
dbfilecachemiss
This attribute gives the number of times that a search requiring data from this file was
performed and that the data could not be obtained from the cache.
dbfilepagein
This attribute gives the number of pages brought to the cache from this file.
dbfilepageout
This attribute gives the number of pages for this file written from cache to disk.
For example, the index file for the aci attribute under o=UserRoot appears in the
Directory Server as follows:
dn:cn=aci,cn=index,cn=UserRoot,cn=ldbm database,cn=plugins,cn=config
objectclass:top
objectclass:nsIndex
cn:aci
nsSystemIndex:true
nsIndexType:pres
339
Configuration, Command, and File Reference
These entries share all of the indexing attributes listed for the default indexes in
Section 4.4.6, “Database Attributes under cn=default indexes,cn=config,cn=ldbm
database,cn=plugins,cn=config”. For further information about indexes, see the "Managing
Indexes" chapter in the Red Hat Directory Server Administration Guide.
4.4.8.1. nsIndexIDListScanLimit
This multi-valued parameter defines a search limit for certain indices or to use no ID list.
For further information, see the corresponding section in the Directory Server Performance
Tuning Guide.
Parameter Description
Entry DN cn=attribute_name,cn=index,cn=database_na
me,cn=ldbm database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
4.4.8.2. nsSubStrBegin
By default, for a search to be indexed, the search string must be at least three characters
long, without counting any wildcard characters. For example, the string abc would be an
indexed search while ab* would not be. Indexed searches are significantly faster than
unindexed searches, so changing the minimum length of the search key is helpful to
increase the number of indexed searches.
This substring length can be edited based on the position of any wildcard characters. The
nsSubStrBegin attribute sets the required number of characters for an indexed search for
the beginning of a search string, before the wildcard. For example:
abc*
If the value of this attribute is changed, then the index must be regenerated using
db2index.
Parameter Description
Entry DN cn=attribute_name,cn=index,cn=database_na
me,cn=ldbm database,cn=plugins,cn=config
340
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Default Value 3
Syntax Integer
Example nsSubStrBegin: 2
4.4.8.3. nsSubStrEnd
By default, for a search to be indexed, the search string must be at least three characters
long, without counting any wildcard characters. For example, the string abc would be an
indexed search while ab* would not be. Indexed searches are significantly faster than
unindexed searches, so changing the minimum length of the search key is helpful to
increase the number of indexed searches.
This substring length can be edited based on the position of any wildcard characters. The
nsSubStrEnd attribute sets the required number of characters for an indexed search for the
end of a search string, after the wildcard. For example:
*xyz
If the value of this attribute is changed, then the index must be regenerated using
db2index.
Parameter Description
Entry DN cn=attribute_name,cn=index,cn=database_na
me,cn=ldbm database,cn=plugins,cn=config
Default Value 3
Syntax Integer
Example nsSubStrEnd: 2
4.4.8.4. nsSubStrMiddle
By default, for a search to be indexed, the search string must be at least three characters
long, without counting any wildcard characters. For example, the string abc would be an
indexed search while ab* would not be. Indexed searches are significantly faster than
unindexed searches, so changing the minimum length of the search key is helpful to
increase the number of indexed searches.
This substring length can be edited based on the position of any wildcard characters. The
nsSubStrMiddle attribute sets the required number of characters for an indexed search
where a wildcard is used in the middle of a search string. For example:
341
Configuration, Command, and File Reference
ab*z
If the value of this attribute is changed, then the index must be regenerated using
db2index.
Parameter Description
Entry DN cn=attribute_name,cn=index,cn=database_na
me,cn=ldbm database,cn=plugins,cn=config
Default Value 3
Syntax Integer
Example nsSubStrMiddle: 3
For example, the database encryption file for the userPassword attribute under o=UserRoot
appears in the Directory Server as follows:
342
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
cn:userPassword
nsEncryptionAlgorithm:AES
This object class is used for core configuration entries which identify and encrypt selected
attributes within a Directory Server database.
Superior Class
top
OID
2.16.840.1.113730.3.2.316
Required Attributes
4.4.9.2. nsEncryptionAlgorithm
Parameter Description
Entry DN cn=attributeName,cn=encrypted
attributes,cn=databaseName,cn=ldbm
database,cn=plugins,cn=config
Default Value
343
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
All plug-in technology used by the database link instances is stored in the cn=chaining
database plug-in node. This section presents the additional attribute information for the
three nodes marked in bold in the cn=chaining database,cn=plugins,cn=config
information tree in Figure 4.4, “Database Link Plug-in”.
4.5.1.1. nsActiveChainingComponents
This attribute lists the components using chaining. A component is any functional unit in
the server. The value of this attribute overrides the value in the global configuration
attribute. To disable chaining on a particular database instance, use the value None. This
attribute also allows the components used to chain to be altered. By default, no
components are allowed to chain, which explains why this attribute will probably not
appear in a list of cn=config,cn=chaining database,cn=config attributes, as LDAP
considers empty attributes to be non-existent.
344
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Entry DN cn=config,cn=chaining
database,cn=plugins,cn=config
Syntax DirectoryString
4.5.1.2. nsMaxResponseDelay
This error detection, performance-related attribute specifies the maximum amount of time
it can take a remote server to respond to an LDAP operation request made by a database
link before an error is suspected. Once this delay period has been met, the database link
tests the connection with the remote server.
Parameter Description
Entry DN cn=config,cn=chaining
database,cn=plugins,cn=config
Syntax Integer
Example nsMaxResponseDelay: 60
4.5.1.3. nsMaxTestResponseDelay
This error detection, performance-related attribute specifies the duration of the test issued
by the database link to check whether the remote server is responding. If a response from
the remote server is not returned before this period has passed, the database link assumes
the remote server is down, and the connection is not used for subsequent operations.
Parameter Description
Entry DN cn=config,cn=chaining
database,cn=plugins,cn=config
345
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
Example nsMaxTestResponseDelay: 15
4.5.1.4. nsTransmittedControls
This attribute, which can be both a global (and thus dynamic) configuration or an instance
(that is, cn=database link instance, cn=chaining database,cn=plugins,cn=config)
configuration attribute, allows the controls the database link forwards to be altered. The
following controls are forwarded by default by the database link:
Other controls, such as dereferencing and simple paged results for searches, can be added
to the list of controls to forward.
Parameter Description
Entry DN cn=config,cn=chaining
database,cn=plugins,cn=config
Syntax Integer
Example nsTransmittedControls:
1.2.840.113556.1.4.473
4.5.2.1. nsAbandonedSearchCheckInterval
346
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
This attribute shows the number of seconds that pass before the server checks for
abandoned operations.
Parameter Description
Default Value 1
Syntax Integer
Example nsAbandonedSearchCheckInterval: 10
4.5.2.2. nsBindConnectionsLimit
This attribute shows the maximum number of TCP connections the database link
establishes with the remote server.
Parameter Description
Default Value 3
Syntax Integer
Example nsBindConnectionsLimit: 3
4.5.2.3. nsBindRetryLimit
Contrary to what the name suggests, this attribute does not specify the number of times a
database link retries to bind with the remote server but the number of times ittries to bind
with the remote server. A value of 1 here indicates that the database link only attempts to
bind once.
NOTE
Retries only occur for connection failures and not for other types of errors,
such as invalid bind DNs or bad passwords.
347
Configuration, Command, and File Reference
Parameter Description
Valid Range 0 to 5
Default Value 3
Syntax Integer
Example nsBindRetryLimit: 3
4.5.2.4. nsBindTimeout
This attribute shows the amount of time before the bind attempt times out. There is no real
valid range for this attribute, except reasonable patience limits.
Parameter Description
Default Value 15
Syntax Integer
Example nsBindTimeout: 15
4.5.2.5. nsCheckLocalACI
Reserved for advanced use only. This attribute controls whether ACIs are evaluated on the
database link as well as the remote data server. Changes to this attribute only take effect
once the server has been restarted.
Parameter Description
Syntax DirectoryString
348
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Example nsCheckLocalACI: on
4.5.2.6. nsConcurrentBindLimit
This attribute shows the maximum number of concurrent bind operations per TCP
connection.
Parameter Description
Default Value 10
Syntax Integer
Example nsConcurrentBindLimit: 10
4.5.2.7. nsConcurrentOperationsLimit
Parameter Description
Default Value 2
Syntax Integer
Example nsConcurrentOperationsLimit: 5
4.5.2.8. nsConnectionLife
This attribute specifies connection lifetime. Connections between the database link and the
remote server can be kept open for an unspecified time or closed after a specific period of
time. It is faster to keep the connections open, but it uses more resources. When the value
is 0 and a list of failover servers is provided in thensFarmServerURL attribute, the main
server is never contacted after failover to the alternate server.
349
Configuration, Command, and File Reference
Parameter Description
Default Value 0
Syntax Integer
Example nsConnectionLife: 0
4.5.2.9. nsOperationConnectionsLimit
This attribute shows the maximum number of LDAP connections the database link
establishes with the remote server.
Parameter Description
Default Value 20
Syntax Integer
Example nsOperationConnectionsLimit: 10
4.5.2.10. nsProxiedAuthorization
Reserved for advanced use only. If you disable proxied authorization, binds for chained
operations are executed as the user set in the nsMultiplexorBindDn attribute.
Parameter Description
Default Value on
Syntax DirectoryString
350
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Example nsProxiedAuthorization: on
4.5.2.11. nsReferralOnScopedSearch
This attribute controls whether referrals are returned by scoped searches. This attribute can
be used to optimize the directory because returning referrals in response to scoped
searches is more efficient. A referral is returned to all the configured farm servers.
Parameter Description
Syntax DirectoryString
4.5.2.12. nsSizeLimit
This attribute shows the default size limit for the database link in bytes.
Parameter Description
Syntax Integer
4.5.2.13. nsTimeLimit
This attribute shows the default search time limit for the database link.
351
Configuration, Command, and File Reference
Parameter Description
Syntax Integer
4.5.3.1. nsBindMechanism
This attribute sets a bind mechanism for the farm server to connect to the remote server. A
farm server is a server containing data in one or more databases. This attribute configures
the connection type, either standard, TLS, or SASL.
EXTERNAL. This uses an TLS certificate to authenticate the farm server to the
remote server. Either the farm server URL must be set to the secure URL (ldaps) or
the nsUseStartTLS attribute must be set to on.
Additionally, the remote server must be configured to map the farm server's
certificate to its bind identity. Certificate mapping is described in the
Administration Guide.
GSSAPI. This uses Kerberos-based authentication over SASL. The farm server must
be connected over the standard port, meaning the URL has ldap, because the
Directory Server does not support SASL/GS-API over TLS.
The farm server must be configured with a Kerberos keytab, and the remote server
must have a defined SASL mapping for the farm server's bind identity. Setting up
Kerberos keytabs and SASL mappings is described in the Administration Guide.
352
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Entry DN cn=database_link_name,cn=chaining
database,cn=plugins,cn=config
Valid Values
empty
EXTERNAL
DIGEST-MD5
GSSAPI
Syntax DirectoryString
4.5.3.2. nsFarmServerURL
This attribute gives the LDAP URL of the remote server. A farm server is a server containing
data in one or more databases. This attribute can contain optional servers for failover,
separated by spaces. If using cascading changing, this URL can point to another database
link.
Parameter Description
Entry DN cn=database_link_name,cn=chaining
database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
4.5.3.3. nsMultiplexorBindDN
This attribute gives the DN of the administrative entry used to communicate with the
remote server. The multiplexor is the server that contains the database link and
communicates with the farm server. This bind DN cannot be the Directory Manager, and, if
this attribute is not specified, the database link binds as anonymous.
353
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=database_link_name,cn=chaining
database,cn=plugins,cn=config
Valid Values
Syntax DirectoryString
4.5.3.4. nsMultiplexorCredentials
Password for the administrative user, given in plain text. If no password is provided, it
means that users can bind as anonymous. The password is encrypted in the configuration
file. The example below is what is shown, not what is typed.
Parameter Description
Entry DN cn=database_link_name,cn=chaining
database,cn=plugins,cn=config
Default Value
Syntax DirectoryString
4.5.3.5. nshoplimit
This attribute specifies the maximum number of times a database is allowed to chain; that
is, the number of times a request can be forwarded from one database link to another.
Parameter Description
Entry DN cn=database_link_name,cn=chaining
database,cn=plugins,cn=config
354
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Default Value 10
Syntax Integer
Example nsHopLimit: 3
4.5.3.6. nsUseStartTLS
This attribute sets whether to use Start TLS to initiate a secure, encrypted connection over
an insecure port. This attribute can be used if the nsBindMechanism attribute is set to
EXTERNAL but the farm server URL set to the standard URL l ( dap) or if the
nsBindMechanism attribute is left empty.
Parameter Description
Entry DN cn=database_link_name,cn=chaining
database,cn=plugins,cn=config
Syntax DirectoryString
Example nsUseStartTLS: on
nsAddCount
This attribute gives the number of add operations received.
nsDeleteCount
This attribute gives the number of delete operations received.
nsModifyCount
This attribute gives the number of modify operations received.
nsRenameCount
This attribute gives the number of rename operations received.
nsSearchBaseCount
355
Configuration, Command, and File Reference
nsSearchOneLevelCount
This attribute gives the number of one-level searches received.
nsSearchSubtreeCount
This attribute gives the number of subtree searches received.
nsAbandonCount
This attribute gives the number of abandon operations received.
nsBindCount
This attribute gives the number of bind requests received.
nsUnbindCount
This attribute gives the number of unbinds received.
nsCompareCount
This attribute gives the number of compare operations received.
nsOperationConnectionCount
This attribute gives the number of open connections for normal operations.
nsOpenBindConnectionCount
This attribute gives the number of open connections for bind operations.
PAM pass-through authentication is configured in child entries beneath the PAM Pass
Through Auth Plug-in container entry. All of the possible configuration attributes for PAM
authentication (defined in the 60pam-plugin.ldif schema file) are available to a child
entry; the child entry must be an instance of the PAM configuration object class.
356
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
nsslapd-pluginVersion: 9.0.0
nsslapd-pluginVendor: Red Hat
nsslapd-pluginDescription: PAM pass through authentication plugin
The PAM configuration, at a minimum, must define a mapping method (a way to identify
what the PAM user ID is from the Directory Server entry), the PAM server to use, and
whether to use a secure connection to the service.
pamIDMapMethod: RDN
pamSecure: FALSE
pamService: ldapserver
The configuration can be expanded for special settings, such as to exclude or specifically
include subtrees or to map a specific attribute value to the PAM user ID.
Superior Class
top
OID
2.16.840.1.113730.3.2.318
Allowed Attributes
pamExcludeSuffix
pamIncludeSuffix
pamMissingSuffix
pamFilter
pamIDAttr
357
Configuration, Command, and File Reference
pamIDMapMethod
pamFallback
pamSecure
pamService
nsslapd-pluginConfigArea
4.6.2. pamExcludeSuffix
This attribute specifies a suffix to exclude from PAM authentication.
OID 2.16.840.1.113730.3.1.2068
Syntax DN
4.6.3. pamFallback
Sets whether to fallback to regular LDAP authentication if PAM authentication fails.
OID 2.16.840.1.113730.3.1.2072
Syntax Boolean
4.6.4. pamFilter
Sets an LDAP filter to use to identify specific entries within the included suffixes for which
to use PAM pass-through authentication. If not set, all entries within the suffix are targeted
by the configuration entry.
OID 2.16.840.1.113730.3.1.2131
Syntax Boolean
358
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
4.6.5. pamIDAttr
This attribute contains the attribute name which is used to hold the PAM user ID.
OID 2.16.840.1.113730.3.1.2071
Syntax DirectoryString
4.6.6. pamIDMapMethod
Gives the method to use to map the LDAP bind DN to a PAM identity.
NOTE
Directory Server user account inactivation is only validated using the ENTRY
mapping method. With RDN or DN, a Directory Server user whose account is
inactivated can still bind to the server successfully.
OID 2.16.840.1.113730.3.1.2070
Syntax DirectoryString
4.6.7. pamIncludeSuffix
This attribute sets a suffix to include for PAM authentication.
OID 2.16.840.1.113730.3.1.2067
Syntax DN
4.6.8. pamMissingSuffix
Identifies how to handle missing include or exclude suffixes. The options are ERROR (which
causes the bind operation to fail); ALLOW, which logs an error but allows the operation to
proceed; and IGNORE, which allows the operation and does not log any errors.
359
Configuration, Command, and File Reference
OID 2.16.840.1.113730.3.1.2069
Syntax DirectoryString
4.6.9. pamSecure
Requires secure TLS connection for PAM authentication.
OID 2.16.840.1.113730.3.1.2073
Syntax Boolean
4.6.10. pamService
Contains the service name to pass to PAM. This assumes that the service specified has a
configuration file in the /etc/pam.d/ directory.
IMPORTANT
IMPORTANT
OID 2.16.840.1.113730.3.1.2074
Syntax IA5String
360
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
The Account Policy Plug-in itself only accept on argument, which points to a plug-in
configuration entry.
The account policy configuration entry defines, for the entire server, what attributes to use
for account policies. Most of the configuration defines attributes to use to evaluate account
policies and expiration times, but the configuration also defines what object class to use to
identify subtree-level account policy definitions.
One the plug-in is configured globally, account policy entries can be created within the user
subtrees, and then these policies can be applied to users and to roles through classes of
service.
dn: cn=AccountPolicy,dc=example,dc=com
objectClass: top
objectClass: ldapsubentry
objectClass: extensibleObject
objectClass: accountpolicy
# 86400 seconds per day * 30 days = 2592000 seconds
accountInactivityLimit: 2592000
cn: AccountPolicy
Any entry, both individual users and roles or CoS templates, can be an account policy
361
Configuration, Command, and File Reference
subentry. Every account policy subentry has its creation and login times tracked against
any expiration policy.
dn: uid=scarter,ou=people,dc=example,dc=com
...
lastLoginTime: 20060527001051Z
acctPolicySubentry: cn=AccountPolicy,dc=example,dc=com
4.7.1. altstateattrname
Account expiration policies are based on some timed criteria for the account. For example,
for an inactivity policy, the primary criteria may be the last login time, lastLoginTime.
However, there may be instances where that attribute does not exist on an entry, such as a
user who never logged into his account. The altstateattrname attribute provides a
backup attribute for the server to reference to evaluate the expiration time.
Parameter Description
Syntax DirectoryString
4.7.2. alwaysRecordLogin
By default, only entries which have an account policy directly applied to them — meaning,
entries with the acctPolicySubentry attribute — have their login times tracked. If account
policies are applied through classes of service or roles, then the acctPolicySubentry
attribute is on the template or container entry, not the user entries themselves.
The alwaysRecordLogin attribute sets that every entry records its last login time. This
allows CoS and roles to be used to apply account policies.
Parameter Description
362
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Default Value no
Syntax DirectoryString
Example alwaysRecordLogin: no
4.7.3. alwaysRecordLoginAttr
The Account Policy plug-in uses the attribute name set in thealwaysRecordLoginAttr
parameter to store the time of the last successful login in this attribute in the user's
directory entry. For further information, see the corresponding section in the
Directory Server Administration Guide.
Parameter Description
Syntax DirectoryString
4.7.4. limitattrname
The account policy entry in the user directory defines the time limit for the account lockout
policy. This time limit can be set in any time-based attribute, and a policy entry could have
multiple time-based attributes in ti. The attribute within the policy to use for the account
inactivation limit is defined in the limitattrname attribute in the Account Policy Plug-in,
and it is applied globally to all account policies.
Parameter Description
Syntax DirectoryString
363
Configuration, Command, and File Reference
Parameter Description
4.7.5. specattrname
There are really two configuration entries for an account policy: the global settings in the
plug-in configuration entry and then yser- or subtree-level settings in an entry within the
user directory. An account policy can be set directly on a user entry or it can be set as part
of a CoS or role configuration. The way that the plug-in identifies which entries are account
policy configuration entries is by identifying a specific attribute on the entry which flags it
as an account policy. This attribute in the plug-in configuration is is specattrname; its will
usually be set to acctPolicySubentry.
Parameter Description
Syntax DirectoryString
4.7.6. stateattrname
Account expiration policies are based on some timed criteria for the account. For example,
for an inactivity policy, the primary criteria may be the last login time, lastLoginTime. The
primary time attribute used to evaluate an account policy is set in the stateattrname
attribute.
Parameter Description
Syntax DirectoryString
364
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
4.8.1. cn
Sets the domain name of the configuration entry. The plug-in uses the domain name from
the authenticating user name to select the corresponding configuration entry.
Parameter Description
Entry DN cn=domain_name,cn=addn,cn=plugins,cn=conf
ig
Syntax DirectoryString
4.8.2. addn_base
Sets the base DN under which Directory Server searches the user's DN.
Parameter Description
Entry DN cn=domain_name,cn=addn,cn=plugins,cn=conf
ig
Syntax DirectoryString
4.8.3. addn_filter
Sets the search filter. Directory Server replaces the %s variable automatically with the non-
domain part of the authenticating user. For example, if the user name in the bind is
[email protected], the filter searches the corresponding DN which is(&
(objectClass=account)(uid=user_name)).
365
Configuration, Command, and File Reference
Parameter Description
Entry DN cn=domain_name,cn=addn,cn=plugins,cn=conf
ig
Syntax DirectoryString
The Auto Membership Plug-in itself is a container entry. Each automember definition is a
child of the Auto Membership Plug-in. The automember definition defines the LDAP search
base and filter to identify entries and a default group to add them to.
Each automember definition can have its own child entry that defines additional conditions
for assigning the entry to group. Regular expressions can be used to include or exclude
entries and assign them to specific groups based on those conditions.
If the entry matches the main definition and not any of the regular expression conditions,
then it uses the group in the main definition. If it matches a regular expression condition,
then it is added to the regular expression condition group.
366
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
This attribute identifies the entry as an automember definition. This entry must be a child
of the Auto Membership Plug-in, cn=Auto Membership Plugin,cn=plugins,cn=config.
Allowed Attributes
autoMemberScope
autoMemberFilter
autoMemberDefaultGroup
autoMemberGroupingAttr
4.9.2. autoMemberDefaultGroup
This attribute sets a default or fallback group to add the entry to as a member. If only the
definition entry is used, then this is the group to which all matching entries are added. If
regular expression conditions are used, then this group is used as a fallback if an entry
which matches the LDAP search filter do not match any of the regular expressions.
Parameter Description
Syntax DirectoryString
Example autoMemberDefaultGroup:
cn=hostgroups,ou=groups,dc=example,dc=com
4.9.3. autoMemberFilter
This attribute sets a standard LDAP search filter to use to search for matching entries.
Parameter Description
367
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
Example autoMemberFilter:objectclass=ntUser
4.9.4. autoMemberGroupingAttr
This attribute gives the name of the member attribute in the group entry and the attribute
in the object entry that supplies the member attribute value, in the format
group_member_attr:entry_attr.
This structures how the Automembership Plug-in adds a member to the group, depending
on the group configuration. For example, for a groupOfUniqueNames user group, each
member is added as a uniqueMember attribute. The value of uniqueMember is the DN of the
user entry. In essence, each group member is identified by the attribute-value pair of
uniqueMember: user_entry_DN. The member entry format, then, isuniqueMember:dn.
Parameter Description
Syntax DirectoryString
4.9.5. autoMemberScope
This attribute sets the subtree DN to search for entries. This is the search base.
Parameter Description
368
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax DirectoryString
Allowed Attributes
autoMemberInclusiveRegex
autoMemberExclusiveRegex
autoMemberTargetGroup
4.9.7. autoMemberExclusiveRegex
This attribute sets a single regular expression to use to identify entries to exclude. If an
entry matches the exclusion condition, then it is not included in the group. Multiple regular
expressions could be used, and if an entry matches any one of those expressions, it is
excluded in the group.
The format of the expression is a Perl-compatible regular expression (PCRE). For more
information on PCRE patterns, see the pcresyntax(3) man page.
NOTE
Exclude conditions are evaluated first and take precedence over include
conditions.
Parameter Description
Syntax DirectoryString
Example autoMemberExclusiveRegex:
fqdn=^www\.web[0-9]+\.example\.com
369
Configuration, Command, and File Reference
4.9.8. autoMemberInclusiveRegex
This attribute sets a single regular expression to use to identify entries to include. Multiple
regular expressions could be used, and if an entry matches any one of those expressions, it
is included in the group (assuming it does not match an exclude expression).
The format of the expression is a Perl-compatible regular expression (PCRE). For more
information on PCRE patterns, see the pcresyntax(3) man page.
Parameter Description
Syntax DirectoryString
Example autoMemberInclusiveRegex:
fqdn=^www\.web[0-9]+\.example\.com
4.9.9. autoMemberTargetGroup
This attribute sets which group to add the entry to as a member, if it meets the regular
expression conditions.
Parameter Description
Syntax DirectoryString
Example autoMemberTargetGroup:
cn=webservers,cn=hostgroups,ou=groups,dc=e
xample,dc=com
370
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Distributed numeric assignment can be configured to work with single attribute types or
multiple attribute types, and is only applied to specific suffixes and specific entries within
the subtree.
Superior Class
top
OID
2.16.840.1.113730.3.2.324
Allowed Attributes
dnaType
dnaPrefix
dnaNextValue
dnaMaxValue
dnaInterval
dnaMagicRegen
dnaFilter
dnaScope
dnaSharedCfgDN
dnaThreshold
dnaNextRange
dnaRangeRequestTimeout
371
Configuration, Command, and File Reference
cn
4.10.2. dnaFilter
This attribute sets an LDAP filter to use to search for and identify the entries to which to
apply the distributed numeric assignment range.
Parameter Description
Syntax DirectoryString
4.10.3. dnaInterval
This attribute sets an interval to use to increment through numbers in a range. Essentially,
this skips numbers at a predefined rate. If the interval is 3 and the first number in the range
is 1, then the next number used in the ragen is 4, then 7, then 10, incrementing by three
for every new number assignment.
Parameter Description
Syntax Integer
Example dnaInterval: 3
4.10.4. dnaMagicRegen
This attribute sets a user-defined value that instructs the plug-in to assign a new value for
the entry. The magic value can be used to assign new unique numbers to existing entries
or as a standard setting when adding new entries.
372
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
The magic entry should be outside of the defined range for the server so that it cannot be
triggered by accident. Note that this attribute does not have to be a number when used on
a DirectoryString or other character type. However, in most cases the DNA plug-in is used
on attributes which only accept integer values, and in such cases the dnamagicregen value
must also be an integer.
Parameter Description
Syntax DirectoryString
Example dnaMagicRegen: -1
4.10.5. dnaMaxValue
This attribute sets the maximum value that can be assigned for the range. The default is -
1, which is the same as setting the highest 64-bit integer.
Parameter Description
Default Value -1
Syntax Integer
4.10.6. dnaNextRange
This attribute defines the next range to use when the current range is exhausted. This
value is automatically set when range is transferred between servers, but it can also be
manually set to add a range to a server if range requests are not used.
The dnaNextRange attribute should be set explicitly only if a separate, specific range has to
be assigned to other servers. Any range set in the dnaNextRange attribute must be unique
from the available range for the other servers to avoid duplication. If there is no request
373
Configuration, Command, and File Reference
from the other servers and the server where dnaNextRange is set explicitly has reached its
set dnaMaxValue, the next set of values (part of the dnaNextRange) is allocated from this
deck.
The dnaNextRange allocation is also limited by thednaThreshold attribute that is set in the
DNA configuration. Any range allocated to another server for dnaNextRange cannot violate
the threshold for the server, even if the range is available on the deck of dnaNextRange.
NOTE
Parameter Description
Syntax DirectoryString
4.10.7. dnaNextValue
This attribute gives the next available number which can be assigned. After being initially
set in the configuration entry, this attribute is managed by the Distributed Numeric
Assignment Plug-in.
Parameter Description
Default Value -1
374
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax Integer
Example dnaNextValue: 1
4.10.8. dnaPrefix
This attribute defines a prefix that can be prepended to the generated number values for
the attribute. For example, to generate a user ID such as user1000, the dnaPrefix setting
would be user.
dnaPrefix can hold any kind of string. However, some possible values fordnaType (such as
uidNumber and gidNumber) require only integer values. To use a prefix string, consider
using a custom attribute for dnaType which allows strings.
Parameter Description
Example dnaPrefix: id
4.10.9. dnaRangeRequestTimeout
One potential situation with the Distributed Numeric Assignment Plug-in is that one server
begins to run out of numbers to assign. The dnaThreshold attribute sets a threshold of
available numbers in the range, so that the server can request an additional range from the
other servers before it is unable to perform number assignments.
Parameter Description
375
Configuration, Command, and File Reference
Parameter Description
Default Value 10
Syntax Integer
Example dnaRangeRequestTimeout: 15
4.10.10. dnaScope
This attribute sets the base DN to search for entries to which to apply the distributed
numeric assignment. This is analogous to the base DN in an ldapsearch.
Parameter Description
Syntax DirectoryString
4.10.11. dnaSharedCfgDN
This attribute defines a shared identity that the servers can use to transfer ranges to one
another. This entry is replicated between servers and is managed by the plug-in to let the
other servers know what ranges are available. This attribute must be set for range transfers
to be enabled.
NOTE
The entry identified by this setting must be manually created by the administrator. The
server will automatically contain a sub-entry beneath it to transfer ranges.
376
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax DN
4.10.12. dnaThreshold
One potential situation with the Distributed Numeric Assignment Plug-in is that one server
begins to run out of numbers to assign, which can cause problems. The Distributed Numeric
Assignment Plug-in allows the server to request a new range from the available ranges on
other servers.
So that the server can recognize when it is reaching the end of its assigned range, the
dnaThreshold attribute sets a threshold of remaining available numbers in the range. When
the server hits the threshold, it sends a request for a new range.
Parameter Description
Syntax Integer
4.10.13. dnaType
This attribute sets which attributes have unique numbers being generated for them. In this
case, whenever the attribute is added to the entry with the magic number, an assigned
value is automatically supplied.
377
Configuration, Command, and File Reference
If the dnaPrefix attribute is set, then the prefix value is prepended to whatever value is
generated by dnaType. The dnaPrefix value can be any kind of string, but some reasonable
values for dnaType (such as uidNumber and gidNumber) require only integer values. To use
a prefix string, consider using a custom attribute for dnaType which allows strings.
Parameter Description
Superior Class
top
OID
2.16.840.1.113730.3.2.325
Allowed Attributes
dnaHostname
dnaPortNum
dnaSecurePortNum
dnaRemainingValues
4.10.15. dnaHostname
This attribute identifies the host name of a server in a shared range, as part of the DNA
range configuration for that specific host in multi-master replication. Available ranges are
tracked by host and the range information is replicated among all masters so that if any
master runs low on available numbers, it can use the host information to contact another
master and request an new range.
Parameter Description
378
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax DirectoryString
4.10.16. dnaPortNum
This attribute gives the standard port number to use to connect to the host identified in
dnaHostname.
Parameter Description
Syntax Integer
4.10.17. dnaRemainingValues
This attribute contains the number of values that are remaining and available to a server to
assign to entries.
Parameter Description
Entry DN dnaHostname=host_name+dnaPortNum=port_
number,ou=ranges,dc=example,dc=com
Syntax Integer
379
Configuration, Command, and File Reference
Parameter Description
4.10.18. dnaRemoteBindCred
Specifies the Replication Manager's password. If you set a bind method in the
dnaRemoteBindMethod attribute that requires authentication, additionally set the
dnaRemoteBindDN and dnaRemoteBindCred parameter for every server in the replication
deployment in the plug-in configuration entry under the cn=config entry.
Set the parameter in plain text. The value is automatically AES-encrypted before it is
stored.
Parameter Description
Default Value
4.10.19. dnaRemoteBindDN
Specifies the Replication Manager DN. If you set a bind method in the
dnaRemoteBindMethod attribute that requires authentication, additionally set the
dnaRemoteBindDN and dnaRemoteBindCred parameter for every server in the replication
deployment in the plug-in configuration under the cn=config entry.
Parameter Description
380
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax DirectoryString
Default Value
4.10.20. dnaRemoteBindMethod
Specifies the remote bind method. If you set a bind method in this attribute that requires
authentication, additionally set the dnaRemoteBindDN and dnaRemoteBindCred parameter
for every server in the replication deployment in the plug-in configuration entry under the
cn=config entry.
Parameter Description
Entry DN dnaHostname=host_name+dnaPortNum=port_
number,ou=ranges,dc=example,dc=com
Syntax DirectoryString
Default Value
4.10.21. dnaRemoteConnProtocol
Specifies the remote connection protocol.
Parameter Description
Entry DN dnaHostname=host_name+dnaPortNum=port_
number,ou=ranges,dc=example,dc=com
Syntax DirectoryString
381
Configuration, Command, and File Reference
Parameter Description
Default Value
4.10.22. dnaSecurePortNum
This attribute gives the secure (TLS) port number to use to connect to the host identified in
dnaHostname.
Parameter Description
Entry DN dnaHostname=host_name+dnaPortNum=port_
number,ou=ranges,dc=example,dc=com
Syntax Integer
The Linked Attributes Plug-in allows one attribute, set in one entry, to update another
attribute in another entry automatically. The first attribute has a DN value, which points to
the entry to update; the second entry attribute also has a DN value which is a back-pointer
to the first entry. The link attribute which is set by users and the dynamically-updated
"managed" attribute in the affected entries are both defined by administrators in the
Linked Attributes Plug-in instance.
Conceptually, this is similar to the way that the MemberOf Plug-in uses the member attribute
in group entries to set memberOf attribute in user entries. Only with the Linked Attributes
Plug-in, all of the link/managed attributes are user-defined and there can be multiple
instances of the plug-in, each reflecting different link-managed relationships.
382
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Both the link attribute and the managed attribute must have DNs as values. The DN
in the link attribute points to the entry to add the managed attribute to. The
managed attribute contains the linked entry DN as its value.
4.11.1. linkScope
This restricts the scope of the plug-in, so it operates only in a specific subtree or suffix. If
no scope is given, then the plug-in will update any part of the directory tree.
Parameter Description
Entry DN cn=plugin_instance,cn=Linked
Attributes,cn=plugins,cn=config
Syntax DN
4.11.2. linkType
This sets the user-managed attribute. This attribute is modified and maintained by users,
and then when this attribute value changes, the linked attribute is automatically updated in
the targeted entries.
Parameter Description
Entry DN cn=plugin_instance,cn=Linked
Attributes,cn=plugins,cn=config
Syntax DirectoryString
4.11.3. managedType
This sets the managed, or plug-in maintained, attribute. This attribute is managed
dynamically by the Linked Attributes Plug-in instance. Whenever a change is made to the
383
Configuration, Command, and File Reference
managed attribute, then the plug-in updates all of the linked attributes on the targeted
entries.
Parameter Description
Entry DN cn=plugin_instance,cn=Linked
Attributes,cn=plugins,cn=config
Syntax DN
The scope of the plug-in, meaning the subtree and the search filter to use to
identify entries which require a corresponding managed entry
A template entry that defines what the managed entry should look like
4.12.1. managedBase
This attribute sets the subtree under which to create the managed entries. This can be any
entry in the directory tree.
Parameter Description
Syntax DirectoryString
Example managedBase:
ou=groups,dc=example,dc=com
4.12.2. managedTemplate
384
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
This attribute identifies the template entry to use to create the managed entry. This entry
can be located anywhere in the directory tree; however, it is recommended that this entry
is in a replicated suffix so that all masters and consumers in replication are using the same
template.
The attributes used to create the managed entry template are described in the Red Hat
Directory Server 10 Configuration, Command, and File Reference.
Parameter Description
Syntax DirectoryString
4.12.3. originFilter
This attribute sets the search filter to use to search for and identify the entries within the
subtree which require a managed entry. The filter allows the managed entries behavior to
be limited to a specific type of entry or subset of entries. The syntax is the same as a
regular search filter.
Parameter Description
Syntax DirectoryString
4.12.4. originScope
This attribute sets the scope of the search to use to see which entries the plug-in monitors.
If a new entry is created within the scope subtree, then the Managed Entries Plug-in
creates a new managed entry that corresponds to it.
385
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
The MemberOf Plug-in synchronizes the group membership in group members with the
members' individual directory entries by identifying changes to a specific member attribute
(such as member) in the group entry and then working back to write the membership
changes over to a specific attribute in the members' user entries.
4.13.1. cn
Sets the name of the plug-in instance.
Parameter Description
Default Value
Syntax DirectoryString
4.13.2. memberOfAllBackends
This attribute specifies whether to search the local suffix for user entries or all available
suffixes. This can be desirable in directory trees where users may be distributed across
multiple databases so that group membership is evaluated comprehensively and
consistently.
386
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax DirectoryString
Example memberOfAllBackends: on
4.13.3. memberOfAttr
This attribute specifies the attribute in the user entry for the Directory Server to manage to
reflect group membership. The MemberOf Plug-in generates the value of the attribute
specified here in the directory entry for the member. There is a separate attribute for every
group to which the user belongs.
Parameter Description
Syntax DirectoryString
4.13.4. memberOfAutoAddOC
To enable the memberOf plug-in to add the memberOf attribute to a user, the user object
must contain an object class that allows this attribute. If an entry does not have an object
class that allows the memberOf attribute then the memberOf plugin will automatically add
the object class listed in the memberOfAutoAddOC parameter.
This setting does not require restarting the server to take effect.
Parameter Description
387
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
4.13.5. memberOfEntryScope
If you configured several back ends or multiple-nested suffixes, the multi-valued
memberOfEntryScope parameter enables you to set what suffixes theMemberOf plug-in
works on. If the parameter is not set, the plug-in works on all suffixes. The value set in the
memberOfEntryScopeExcludeSubtree parameter has a higher priority than values set in
memberOfEntryScope.
For further details, see the corresponding section in the Directory Server Administration
Guide.
This setting does not require restarting the server to take effect.
Parameter Description
Default Value
Syntax DirectoryString
Example memberOfEntryScope:
ou=people,dc=example,dc=com
4.13.6. memberOfEntryScopeExcludeSubtree
If you configured several back ends or multiple-nested suffixes, the multi-valued
memberOfEntryScopeExcludeSubtree parameter enables you to set what suffixes the
MemberOf plug-in excludes. The value set in thememberOfEntryScopeExcludeSubtree
parameter has a higher priority than values set in memberOfEntryScope. If the scopes set in
both parameters overlap, the MemberOf plug-in only works on the non-overlapping directory
entries.
For further details, see the corresponding section in the Directory Server Administration
Guide.
This setting does not require restarting the server to take effect.
Parameter Description
388
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Default Value
Syntax DirectoryString
Example memberOfEntryScopeExcludeSubtree:
ou=sample,dc=example,dc=com
4.13.7. memberOfGroupAttr
This attribute specifies the attribute in the group entry to use to identify the DNs of group
members. By default, this is the member attribute, but it can be any membership-related
attribute that contains a DN value, such as uniquemember or member.
NOTE
Any attribute can be used for the memberOfGroupAttr value, but the
MemberOf Plug-in only works if the value of the target attribute contains the
DN of the member entry. For example, the member attribute contains the DN of
the member's user entry:
member: uid=jsmith,ou=People,dc=example,dc=com
Parameter Description
Syntax DirectoryString
389
Configuration, Command, and File Reference
4.14.1. cn
Sets the name of the Attribute Uniqueness plug-in configuration record. You can use any
string, but Red Hat recommends naming the configuration record attribute_name
Attribute Uniqueness.
Parameter Description
Entry DN cn=attribute_uniqueness_configuration_record_
name,cn=plugins,cn=config
Syntax DirectoryString
4.14.2. uniqueness-attribute-name
Sets the name of the attribute whose values must be unique. This attribute is multi-valued.
Parameter Description
Entry DN cn=attribute_uniqueness_configuration_record_
name,cn=plugins,cn=config
Syntax DirectoryString
4.14.3. uniqueness-subtrees
Sets the DN under which the plug-in checks for uniqueness of the attribute's value. This
attribute is multi-valued.
Parameter Description
Entry DN cn=attribute_uniqueness_configuration_record_
name,cn=plugins,cn=config
390
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax DirectoryString
Example uniqueness-subtrees:
ou=Sales,dc=example,dc=com
4.14.4. uniqueness-across-all-subtrees
If enabled (on), the plug-in checks that the attribute is unique across all subtrees set. If you
set the attribute to off, uniqueness is only enforced within the subtree of the updated
entry.
Parameter Description
Entry DN cn=attribute_uniqueness_configuration_record_
name,cn=plugins,cn=config
Syntax DirectoryString
4.14.5. uniqueness-top-entry-oc
Directory Server searches this object class in the parent entry of the updated object. If it
was not found, the search continues at the next higher level entry up to the root of the
directory tree. If the object class was found, Directory Server verifies that the value of the
attribute set in uniqueness-attribute-name is unique in this subtree.
Parameter Description
Entry DN cn=attribute_uniqueness_configuration_record_
name,cn=plugins,cn=config
Syntax DirectoryString
391
Configuration, Command, and File Reference
4.14.6. uniqueness-subtree-entries-oc
Optionally, when using the uniqueness-top-entry-oc parameter, you can configure that
the Attribute Uniqueness plug-in only verifies if an attribute is unique, if the entry
contains the object class set in this parameter.
Parameter Description
Entry DN cn=attribute_uniqueness_configuration_record_
name,cn=plugins,cn=config
Syntax DirectoryString
The Posix Winsync API Plug-in synchronizes POSIX attributes between Active Directory and
Directory Server entries.
NOTE
This plug-in is disabled by default and must be enabled before any Posix
attributes will be synchronized from the Active Directory entry to the
Directory Server entry.
4.15.1. posixWinsyncCreateMemberOfTask
This attribute sets whether to run the memberOf fix-up task immediately after a sync run in
order to update group memberships for synced users. This is disabled by default because
the memberOf fix-up task can be resource-intensive and cause performance issues if it is
392
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
4.15.2. posixWinsyncLowerCaseUID
This attribute sets whether to store (and, if necessary, convert) the UID value in the
memberUID attribute in lower case.
Parameter Description
4.15.3. posixWinsyncMapMemberUID
This attribute sets whether to map the memberUID attribute in an Active Directory group to
the uniqueMember attribute in a Directory Server group.
Parameter Description
4.15.4. posixWinsyncMapNestedGrouping
393
Configuration, Command, and File Reference
Parameter Description
4.15.5. posixWinsyncMsSFUSchema
This attribute sets whether to the older Microsoft System Services for Unix 3.0 (msSFU30)
schema when syncing Posix attributes from Active Directory. By default, the Posix Winsync
API Plug-in uses Posix schema for modern Active Directory servers: 2005, 2008, and later
versions. There are slight differences between the modern Active Directory Posix schema
and the Posix schema used by Windows Server 2003 and older Windows servers. If an
Active Directory domain is using the older-style schema, then the older-style schema can
be used instead.
Parameter Description
This Retro Changelog Plug-in is used to record modifications made to a supplier server.
When the supplier server's directory is modified, an entry is written to the Retro Changelog
that contains both of the following:
A number that uniquely identifies the modification. This number is sequential with
respect to other entries in the changelog.
394
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
The modification action; that is, exactly how the directory was modified.
It is through the Retro Changelog Plug-in that the changes performed to the
Directory Server are accessed using searches to cn=changelog suffix.
4.16.1. isReplicated
This optional attribute sets a flag to indicate on a change in the changelog whether the
change is newly made on that server or whether it was replicated over from another server.
Parameter Description
OID 2.16.840.1.113730.3.1.2085
Syntax Boolean
4.16.2. nsslapd-attribute
This attribute explicitly specifies another Directory Server attribute which must be included
in the retro changelog entries.
Many operational attributes and other types of attributes are commonly excluded from the
retro changelog, but these attributes may need to be present for a third-party application
to use the changelog data. This is done by listing the attribute in the retro changelog plug-
in configuration using the nsslapd-attribute parameter.
It is also possible to specify an optional alias for the specified attribute within the nsslapd-
attribute value.
nsslapd-attribute: attribute:alias
Using an alias for the attribute can help avoid conflicts with other attributes in an external
server or application which may use the retro changelog records.
NOTE
395
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
4.16.3. nsslapd-changelogdir
This attribute specifies the name of the directory in which the changelog database is
created the first time the plug-in is run. By default, the database is stored with all the other
databases under /var/lib/dirsrv/slapd-instance/changelogdb.
NOTE
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Syntax DirectoryString
Example nsslapd-changelogdir:
/var/lib/dirsrv/slapd-instance/changelogdb
396
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
NOTE
Parameter Description
Default Value 0
The RootDN Access Control Plug-in sets normal access controls — host and IP address
restrictions, time-of-day restrictions, and day of week restrictions — on the root user.
4.17.1. rootdn-allow-host
This sets what hosts, by fully-qualified domain name, the root user is allowed to use to
access the Directory Server. Any hosts not listed are implicitly denied.
This attribute can be used multiple times to specify multiple hosts, domains, or subdomains.
Parameter Description
397
Configuration, Command, and File Reference
Parameter Description
Syntax DirectoryString
4.17.2. rootdn-allow-ip
This sets what IP addresses, either IPv4 or IPv6, for machines the root user is allowed to use
to access the Directory Server. Any IP addresses not listed are implicitly denied.
This attribute can be used multiple times to specify multiple addresses, domains, or
subnets.
Parameter Description
Syntax DirectoryString
4.17.3. rootdn-close-time
This sets part of a time period or range when the root user is allowed to access the
Directory Server. This sets when the time-based access ends, when the root user is no
longer allowed to access the Directory Server.
Parameter Description
398
CHAPTER 4. PLUG-IN IMPLEMENTED SERVER FUNCTIONALITY REFERENCE
Parameter Description
Syntax Integer
4.17.4. rootdn-days-allowed
This gives a comma-separated list of what days the root user is allowed to use to access the
Directory Server. Any days listed are implicitly denied. This can be used with rootdn-
close-time and rootdn-open-time to combine time-based access and days-of-week or it
can be used by itself (with all hours allowed on allowed days).
Parameter Description
Valid Values
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Syntax DirectoryString
4.17.5. rootdn-deny-ip
This sets what IP addresses, either IPv4 or IPv6, for machines the root user is not allowed to
use to access the Directory Server. Any IP addresses not listed are implicitly allowed.
399
Configuration, Command, and File Reference
NOTE
This attribute can be used multiple times to specify multiple addresses, domains, or
subnets.
Parameter Description
Syntax DirectoryString
4.17.6. rootdn-open-time
This sets part of a time period or range when the root user is allowed to access the
Directory Server. This sets when the time-based access begins.
Parameter Description
Syntax Integer
400
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Basically, the schema files are lists of the kinds of entries that can be create (the object
classes) and the ways that those entries can be described (theattributes). The schema
defines what the object classes and attributes are. The schema also defines the format that
the attribute values contain (the attribute's syntax) and whether there can only be a single
instance of that attribute.
Additional schema files can be added to the Directory Server configuration and loaded in
the server, so the schema is customizable and can be extended as required.
For more detailed information about object classes, attributes, and how the
Directory Server uses the schema, see the Deployment Guide.
WARNING
The Directory Server fails to start if the schema definitions contain too
few or too many characters. Use exactly one space in those places where
the LDAP standards allow the use of zero or many spaces; for example,
the place between the NAME keyword and the name of an attribute type.
In LDAP, an object class defines the set of attributes that can be used to define an entry.
The LDAP standard provides object classes for many common types of entries, such as
people (person and inetOrgPerson), groups (groupOfUniqueNames), locations (locality),
organizations and divisions (organization and organizationalUnit), and equipment
(device).
In a schema file, an object class is identified by the objectclasses line, then followed by
its OID, name, a description, its direct superior object class (an object class which is
required to be used in conjunction with the object class and which shares its attributes with
this object class), and the list of required (MUST) and allowed (MAY) attributes.
401
Configuration, Command, and File Reference
Every object class defines a number of required attributes and of allowed attributes.
Required attributes must be present in entries using the specified object class, while
allowed attributes are permissible and available for the entry to use, but are not required
for the entry to be valid.
As in Example 5.1, “person Object Class Schema Entry”, the person object class requires
the cn, sn, and objectClass attributes and allows the description, seeAlso,
telephoneNumber, and userPassword attributes.
NOTE
All entries require the objectClass attribute, which lists the object classes
assigned to the entry.
An entry can have more than one object class. For example, the entry for a person is
defined by the person object class, but the same person may also be described by
attributes in the inetOrgPerson and organizationalPerson object classes.
Additionally, object classes can be hierarchical. An object class can inherit attributes from
another class, in addition to its own required and allowed attributes. The second object
class is the superior object class of the first.
The server's object class structure determines the list of required and allowed attributes for
a particular entry. For example, a user's entry has to have the inetOrgPerson object class.
In that case, the entry must also include the superior object class for inetOrgPerson,
organizationalPerson, and the superior object class fororganizationalPerson, which is
person:
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
When the inetOrgPerson object class is assigned to an entry, the entry automatically
inherits the required and allowed attributes from the superior object classes.
5.1.1.2. Attributes
Directory entries are composed of attributes and their values. These pairs are called
attribute-value assertions or AVAs. Any piece of information in the directory is associated
with a descriptive attribute. For instance, the cn attribute is used to store a person's full
name, such as cn: John Smith.
402
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
givenname: John
surname: Smith
mail: [email protected]
In a schema file, an attribute is identified by the attributetypes line, then followed by its
OID, name, a description, syntax (allowed format for its value), optionally whether the
attribute is single- or multi-valued, and where the attribute is defined.
Some attributes can be abbreviated. These abbreviations are listed as part of the attribute
definition:
The attribute's syntax defines the format of the values which the attribute allows; as with
other schema elements, the syntax is defined for an attribute using the syntax's OID in the
schema file entry. In the Directory Server Console, the syntax is referenced by its friendly
name.
The Directory Server uses the attribute's syntax to perform sorting and pattern matching
on entries.
For more information about LDAP attribute syntaxes, see RFC 4517.
403
Configuration, Command, and File Reference
telephone $ physical
404
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
405
Configuration, Command, and File Reference
1234 Main
St.$Raleigh, NC
12345$USA
406
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
By default, most attributes are multi-valued. This means that an entry can contain the
same attribute multiple times, with different values. For example:
dn: uid=jsmith,ou=marketing,ou=people,dc=example,dc=com
ou: marketing
ou: people
The cn, tel, and objectclass attributes, for example, all can have more than one value.
Attributes that are single-valued — that is, only one instance of the attribute can be
specified — are specified in the schema as only allowing a single value. For example,
uidNumber can only have one possible value, so its schema entry has the termSINGLE-
VALUE. If the attribute is multi-valued, there is no value expression.
To modify the directory schema, create new attributes and new object classes in the
instance-specific schema directory. Because the default schema is used for creating new
instances and each individual instance has its own schema files, it is possible to have
slightly different schema for each instance, matching the use of each instance.
Any custom attributes added using the Directory Server Console or LDAP commands are
stored in the 99user.ldif file; other custom schema files can be added to the
/etc/dirsrv/slapd-instance/schema directory for each instance. Do not make any
modifications with the standard files that come with Red Hat Directory Server.
For more information about how the Directory Server stores information and suggestions
for planning directory schema, see the Deployment Guide.
407
Configuration, Command, and File Reference
408
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
WARNING
OIDs can be built on. The base OID is a root number which is used for every schema
409
Configuration, Command, and File Reference
element for an organization, and then schema elements can be incremented from there. For
example, a base OID could be 1. The company then uses1.1 for attributes, so every new
attribute has an OID of 1.1.x. It uses 1.2 for object classes, so every new object class has
an OID of 1.2.x.
For Directory Server-defined schema elements, the base OIDs are as follows:
For more information about OIDs or to request a prefix, go to the Internet Assigned Number
Authority (IANA) website at http://www.iana.org/.
When adding new attributes to the schema, a new object class should be created to contain
them. Adding a new attribute to an existing object class can compromise the
Directory Server's compatibility with existing LDAP clients that rely on the standard LDAP
schema and may cause difficulties when upgrading the server.
For more information about extending server schema, see the Deployment Guide.
Object classes and attributes used in the entry are defined in the directory schema.
Only attributes allowed by the object class are contained in the entry.
You should run Directory Server with schema checking turned on. For information on
enabling schema checking, see the Administration Guide.
With its basic configuration, syntax validation (like schema checking) will check any
directory modification to make sure the attribute value matches the required syntax and
will reject any modifications that violate the syntax. Optionally, syntax validation can be
410
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
configured to log warning messages about syntax violations, and either reject the change
or allow the modification process to succeed.
All syntaxes are validated against RFC 4514, except for DNs. By default, DNs are validated
against RFC 1779 or RFC 2253, which are less strict thanRFC 4514. Strict validation for DNs
has to be explicitly configured.
This feature checks all attribute syntaxes listed in Table 5.1, “Supported LDAP Attribute
Syntaxes”, with the exception of binary syntaxes (which cannot be verified) and non-
standard syntaxes, which do not have a defined required format. The unvalidated syntaxes
are as follows:
Fax (binary)
OctetString (binary)
JPEG (binary)
Binary (non-standard)
URI (non-standard)
When syntax validation is enabled, new attribute values are checked whenever an attribute
is added or modified to an entry. (This does not include replication changes, since the
syntax would have been checked on the supplier server.) It is also possible to check existing
attribute values for syntax violations by running the syntax-validation.pl script.
For information on options for syntax validation, see the Administration Guide.
5.2.1. abstract
The abstract attribute contains an abstract for a document entry.
OID 0.9.2342.19200300.102.1.9
Syntax DirectoryString
5.2.2. accessTo
This attribute defines what specific hosts or servers a user is allowed to access.
411
Configuration, Command, and File Reference
OID 5.3.6.1.1.1.1.1
Syntax IA5String
Defined in nss_ldap/pam_ldap
5.2.3. accountInactivityLimit
The accountInactivityLimit attribute sets the time period, in seconds, from the last login
time of an account before that account is locked for inactivity.
OID 1.3.6.1.4.1.11.1.3.2.1.3
Syntax DirectoryString
5.2.4. acctPolicySubentry
The acctPolicySubentry attribute identifies any entry which belongs to an account policy
(specifically, an account lockout policy). The value of this attribute points to the account
policy which is applied to the entry.
This can be set on an individual user entry or on a CoS template entry or role entry.
OID 1.3.6.1.4.1.11.1.3.2.1.2
Syntax DN
5.2.5. administratorContactInfo
This attribute contains the contact information for the LDAP or server administrator.
OID 2.16.840.1.113730.3.1.74
Syntax DirectoryString
412
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.6. adminRole
This attribute contains the role assigned to the user identified in the entry.
OID 2.16.840.1.113730.3.1.601
Syntax DirectoryString
5.2.7. adminUrl
This attribute contains the URL of the Administration Server.
OID 2.16.840.1.113730.3.1.75
Syntax IA5String
5.2.8. aliasedObjectName
The aliasedObjectName attribute is used by the Directory Server to identify alias entries.
This attribute contains the DN (distinguished name) for the entry for which this entry is the
alias. For example:
aliasedObjectName: uid=jdoe,ou=people,dc=example,dc=com
OID 2.5.4.1
Syntax DN
5.2.9. associatedDomain
The associatedDomain attribute contains the DNS domain associated with the entry in the
directory tree. For example, the entry with the distinguished name c=US,o=Example
413
Configuration, Command, and File Reference
Corporation has the associated domain of EC.US. These domains should be represented in
RFC 822 order.
associatedDomain:US
OID 0.9.2342.19200300.100.1.37
Syntax DirectoryString
5.2.10. associatedName
The associatedName identifies an organizational directory tree entry associated with a DNS
domain. For example:
associatedName: c=us
OID 0.9.2342.19200300.100.1.38
Syntax DN
5.2.11. attributeTypes
This attribute is used in a schema file to identify an attribute defined within the subschema.
OID 2.5.21.5
Syntax DirectoryString
5.2.12. audio
The audio attribute contains a sound file using a binary format. This attribute uses au-law
encoded sound data. For example:
audio:: AAAAAA==
414
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 0.9.2342.19200300.100.1.55
Syntax Binary
5.2.13. authorCn
The authorCn attribute contains the common name of the document's author. For example:
OID 0.9.2342.19200300.102.1.11
Syntax DirectoryString
5.2.14. authorityRevocationList
The authorityRevocationList attribute contains a list of revoked CA certificates. This
attribute should be requested and stored in a binary format, like
authorityRevocationList;binary. For example:
authorityrevocationlist;binary:: AAAAAA==
OID 2.5.4.38
Syntax Binary
5.2.15. authorSn
The authorSn attribute contains the last name or family name of the author of a document
entry. For example:
authorSn: Smith
415
Configuration, Command, and File Reference
OID 0.9.2342.19200300.102.1.12
Syntax DirectoryString
5.2.16. automountInformation
This attribute contains information used by the autofs automounter.
NOTE
OID 1.3.6.1.1.1.1.33
Syntax DirectoryString
5.2.17. bootFile
This attribute contains the boot image file name.
NOTE
OID 1.3.6.1.1.1.1.24
Syntax IA5String
416
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.18. bootParameter
This attribute contains the value for rpc.bootparamd.
NOTE
OID 1.3.6.1.1.1.1.23
Syntax IA5String
5.2.19. buildingName
The buildingName attribute contains the building name associated with the entry. For
example:
buildingName: 14
OID 0.9.2342.19200300.100.1.48
Syntax DirectoryString
5.2.20. businessCategory
The businessCategory attribute identifies the type of business in which the entry is
engaged. The attribute value should be a broad generalization, such as a corporate division
level. For example:
businessCategory: Engineering
OID 2.5.4.15
Syntax DirectoryString
417
Configuration, Command, and File Reference
5.2.21. c (countryName)
The countryName, or c, attribute contains the two-character country code to represent the
country names. The country codes are defined by the ISO. For example:
countryName: GB
c: US
OID 2.5.4.6
Syntax DirectoryString
5.2.22. cACertificate
The cACertificate attribute contains a CA certificate. The attribute should be requested
and stored binary format, such as cACertificate;binary. For example:
cACertificate;binary:: AAAAAA==
OID 2.5.4.37
Syntax Binary
5.2.23. carLicense
The carLicense attribute contains an entry's automobile license plate number. For
example:
carLicense: 6ABC246
OID 2.16.840.1.113730.3.1.1
Syntax DirectoryString
418
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.24. certificateRevocationList
The certificateRevocationList attribute contains a list of revoked user certificates. The
attribute value is to be requested and stored in binary form, as
certificateACertificate;binary. For example:
certificateRevocationList;binary:: AAAAAA==
OID 2.5.4.39
Syntax Binary
5.2.25. cn (commonName)
The commonName attribute contains the name of an entry. For user entries, thecn attribute is
typically the person's full name. For example:
With the LDAPReplica or LDAPServerobject object classes, the cn attribute value has the
following format:
cn: replicater.example.com:17430/dc%3Dexample%2Cdc%3com
OID 2.5.4.3
Syntax DirectoryString
5.2.26. co (friendlyCountryName)
The friendlyCountryName attribute contains a country name; this can be any string. Often,
the country is used with the ISO-designated two-letter country code, while theco attribute
contains a readable country name. For example:
419
Configuration, Command, and File Reference
friendlyCountryName: Ireland
co: Ireland
OID 0.9.2342.19200300.100.1.43
Syntax DirectoryString
5.2.27. cosAttribute
The cosAttribute contains the name of the attribute for which to generate a value for the
CoS. There can be more than one cosAttribute value specified. This attribute is used by all
types of CoS definition entries.
OID 2.16.840.1.113730.3.1.550
Syntax DirectoryString
5.2.28. cosIndirectSpecifier
The cosIndirectSpecifier specifies the attribute values used by an indirect CoS to
identify the template entry.
OID 2.16.840.1.113730.3.1.577
Syntax DirectoryString
5.2.29. cosPriority
The cosPriority attribute specifies which template provides the attribute value when CoS
templates compete to provide an attribute value. This attribute represents the global
priority of a template. A priority of zero is the highest priority.
OID 2.16.840.1.113730.3.1.569
420
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax Integer
5.2.30. cosSpecifier
The cosSpecifier attribute contains the attribute value used by a classic CoS, which, along
with the template entry's DN, identifies the template entry.
OID 2.16.840.1.113730.3.1.551
Syntax DirectoryString
5.2.31. cosTargetTree
The cosTargetTree attribute defines the subtrees to which the CoS schema applies. The
values for this attribute for the schema and for multiple CoS schema may overlap their
target trees arbitrarily.
OID 2.16.840.1.113730.3.1.552
Syntax DirectoryString
5.2.32. cosTemplateDn
The cosTemplateDn attribute contains the DN of the template entry which contains a list of
the shared attribute values. Changes to the template entry attribute values are
automatically applied to all the entries within the scope of the CoS. A single CoS might
have more than one template entry associated with it.
OID 2.16.840.1.113730.3.1.553
Syntax DirectoryString
421
Configuration, Command, and File Reference
5.2.33. crossCertificatePair
The value for the crossCertificatePair attribute must be requested and stored in binary
format, such as certificateCertificateRepair;binary. For example:
crossCertificatePair;binary:: AAAAAA==
OID 2.5.4.40
Syntax Binary
5.2.34. dc (domainComponent)
The dc attribute contains one component of a domain name. For example:
dc: example
domainComponent: example
OID 0.9.2342.19200300.100.1.25
Syntax DirectoryString
5.2.35. deltaRevocationList
The deltaRevocationList attribute contains a certificate revocation list (CRL). The
attribute value is requested and stored in binary format, such as
deltaRevocationList;binary.
OID 2.5.4.53
Syntax Binary
422
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.36. departmentNumber
The departmentNumber attribute contains an entry's department number. For example:
departmentNumber: 2604
OID 2.16.840.1.113730.3.1.2
Syntax DirectoryString
5.2.37. description
The description attribute provides a human-readable description for an entry. Forperson
or organization object classes, this can be used for the entry's role or work assignment.
For example:
OID 2.5.4.13
Syntax DirectoryString
5.2.38. destinationIndicator
The destinationIndicator attribute contains the city and country associated with the
entry. This attribute was once required to provide public telegram service and is generally
used in conjunction with the registeredAddress attribute. For example:
OID 2.5.4.27
Syntax DirectoryString
423
Configuration, Command, and File Reference
5.2.39. displayName
The displayName attributes contains the preferred name of a person to use when
displaying that person's entry. This is especially useful for showing the preferred name for
an entry in a one-line summary list. Since other attribute types, such as cn, are multi-
valued, they cannot be used to display a preferred name. For example:
OID 2.16.840.1.113730.3.1.241
Syntax DirectoryString
5.2.40. dITRedirect
The dITRedirect attribute indicates that the object described by one entry now has a
newer entry in the directory tree. This attribute may be used when an individual's place of
work changes, and the individual acquires a new organizational DN.
dITRedirect: cn=jsmith,dc=example,dc=com
OID 0.9.2342.19200300.100.1.54
Syntax DN
5.2.41. dmdName
The dmdName attribute value specifies a directory management domain (DMD), the
administrative authority that operates the Directory Server.
OID 2.5.4.54
Syntax DirectoryString
5.2.42. dn (distinguishedName)
The dn attribute contains an entry's distinguished name. For example:
424
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 2.5.4.49
Syntax DN
5.2.43. dNSRecord
The dNSRecord attribute contains DNS resource records, including type A (Address), type
MX (Mail Exchange), type NS (Name Server), and type SOA (Start of Authority) resource
records. For example:
dNSRecord: IN NS ns.uu.net
OID 0.9.2342.19200300.100.1.26
Syntax IA5String
5.2.44. documentAuthor
The documentAuthor attribute contains the DN of the author of a document entry. For
example:
OID 0.9.2342.19200300.100.1.14
Syntax DN
5.2.45. documentIdentifier
The documentIdentifier attribute contains a unique identifier for a document. For
example:
documentIdentifier: L3204REV1
425
Configuration, Command, and File Reference
OID 0.9.2342.19200300.100.1.11
Syntax DirectoryString
5.2.46. documentLocation
The documentLocation attribute contains the location of the original version of a
document. For example:
OID 0.9.2342.19200300.100.1.15
Syntax DirectoryString
5.2.47. documentPublisher
The documentPublisher attribute contains the person or organization who published a
document. For example:
OID 0.9.2342.19200300.100.1.56
Syntax DirectoryString
5.2.48. documentStore
The documentStore attribute contains information on where the document is stored.
OID 0.9.2342.19200300.102.1.10
Syntax DirectoryString
426
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.49. documentTitle
The documentTitle attribute contains a document's title. For example:
OID 0.9.2342.19200300.100.1.12
Syntax DirectoryString
5.2.50. documentVersion
The documentVersion attribute contains the current version number for the document. For
example:
documentVersion: 1.1
OID 0.9.2342.19200300.100.1.13
Syntax DirectoryString
OID 0.9.2342.19200300.100.1.5
Syntax DirectoryString
427
Configuration, Command, and File Reference
5.2.52. dSAQuality
The dSAQuality attribute contains the rating of the directory system agents' (DSA) quality.
This attribute allows a DSA manager to indicate the expected level of availability of the
DSA. For example:
dSAQuality: high
OID 0.9.2342.19200300.100.1.49
Syntax Directory-String
5.2.53. employeeNumber
The employeeNumber attribute contains the employee number for the person. For example:
employeeNumber: 3441
OID 2.16.840.1.113730.3.1.3
Syntax Directory-String
5.2.54. employeeType
The employeeType attribute contains the employment type for the person. For example:
OID 2.16.840.1.113730.3.1.4
Syntax DirectoryString
428
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.55. enhancedSearchGuide
The enhancedSearchGuide attribute contains information used by an X.500 client to
construct search filters. For example:
enhancedSearchGuide: (uid=bjensen)
OID 2.5.4.47
Syntax DirectoryString
OID 2.5.4.23
Syntax TelephoneNumber
5.2.57. gecos
The gecos attribute is used to determine the GECOS field for the user. This is comparable to
the cn attribute, although using a gecos attribute allows additional information to be
embedded in the GECOS field aside from the common name. This field is also useful if the
common name stored in the directory is not the user's full name.
429
Configuration, Command, and File Reference
NOTE
OID 1.3.6.1.1.1.1.2
Syntax DirectoryString
5.2.58. generationQualifier
The generationQualifier attribute contains the generation qualifier for a person's name,
which is usually appended as a suffix to the name. For example:
generationQualifier:III
OID 2.5.4.44
Syntax DirectoryString
5.2.59. gidNumber
The gidNumber attribute contains a unique numeric identifier for a group entry or to identify
the group for a user entry. This is analogous to the group number in Unix.
gidNumber: 100
NOTE
OID 1.3.6.1.1.1.1.1
430
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax Integer
5.2.60. givenName
The givenName attribute contains an entry's given name, which is usually the first name. For
example:
givenName: Rachel
OID 2.5.4.42
Syntax DirectoryString
5.2.61. homeDirectory
The homeDirectory attribute contains the path to the user's home directory.
homeDirectory: /home/jsmith
NOTE
OID 1.3.6.1.1.1.1.3
Syntax IA5String
5.2.62. homePhone
The homePhone attribute contains the entry's residential phone number. For example:
431
Configuration, Command, and File Reference
homePhone: 415-555-1234
NOTE
OID 0.9.2342.19200300.100.1.20
Syntax TelephoneNumber
5.2.63. homePostalAddress
The homePostalAddress attribute contains an entry's home mailing address. Since this
attribute generally spans multiple lines, each line break has to be represented by a dollar
sign ($). To represent an actual dollar sign ($ ) or backslash (\) in the attribute value, use
the escaped hex values \24 and \5c, respectively. For example:
OID 0.9.2342.19200300.100.1.39
Syntax DirectoryString
5.2.64. host
The host contains the host name of a computer. For example:
host: labcontroller01
432
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 0.9.2342.19200300.100.1.9
Syntax DirectoryString
5.2.65. houseIdentifier
The houseIdentifier contains an identifier for a specific building at a location. For
example:
houseIdentifier: B105
OID 2.5.4.51
Syntax DirectoryString
5.2.66. inetDomainBaseDN
This attribute identifies the base DN of user subtree for a DNS domain.
OID 2.16.840.1.113730.3.1.690
Syntax DN
5.2.67. inetDomainStatus
This attribute shows the current status of the domain. A domain has a status of active,
inactive, or deleted.
OID 2.16.840.1.113730.3.1.691
Syntax DirectoryString
433
Configuration, Command, and File Reference
5.2.68. inetSubscriberAccountId
This attribute contains the a unique attribute used to link the user entry for the subscriber
to a billing system.
OID 2.16.840.1.113730.3.1.694
Syntax DirectoryString
5.2.69. inetSubscriberChallenge
The inetSubscriberChallenge attribute contains some kind of question or prompt, the
challenge phrase, which is used to confirm the identity of the user in the
subscriberIdentity attribute. This attribute is used in conjunction with the
inetSubscriberResponse attribute, which contains the response to the challenge.
OID 2.16.840.1.113730.3.1.695
Syntax IA5String
5.2.70. inetSubscriberResponse
The inetSubscriberResponse attribute contains the answer to the challenge question in
the inetSubscriberChallenge attribute to verify the user in thesubscriberIdentity
attribute.
OID 2.16.840.1.113730.3.1.696
Syntax IA5String
5.2.71. inetUserHttpURL
434
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
This attribute contains the web addresses associated with the user.
OID 2.16.840.1.113730.3.1.693
Syntax IA5String
5.2.72. inetUserStatus
This attribute shows the current status of the user (subscriber). A user has a status of
active, inactive, or deleted.
OID 2.16.840.1.113730.3.1.692
Syntax DirectoryString
5.2.73. info
The info attribute contains any general information about an object. Avoid using this
attribute for specific information and rely instead on specific, possibly custom, attribute
types. For example:
OID 0.9.2342.19200300.100.1.4
Syntax DirectoryString
5.2.74. initials
The initials contains a person's initials; this does not contain the entry's surname. For
example:
initials: BAJ
Directory Server and Active Directory handle the initials attribute differently. The
435
Configuration, Command, and File Reference
Directory Server allows a practically unlimited number of characters, while Active Directory
has a restriction of six characters. If an entry is synced with a Windows peer and the value
of the initials attribute is longer than six characters, then the value is automatically
truncated to six characters when it is synchronized. There is no information written to the
error log to indicate that synchronization changed the attribute value, either.
OID 2.5.4.43
Syntax DirectoryString
5.2.75. installationTimeStamp
This contains the time that the server instance was installed.
OID 2.16.840.1.113730.3.1.73
Syntax DirectoryString
5.2.76. internationalISDNNumber
The internationalISDNNumber attribute contains the ISDN number of a document entry.
This attribute uses the internationally recognized format for ISDN addresses given in CCITT
Rec. E. 164.
OID 2.5.4.25
Syntax IA5String
5.2.77. ipHostNumber
This contains the IP address for a server.
436
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
NOTE
OID 1.3.6.1.1.1.1.19
Syntax DirectoryString
5.2.78. ipNetmaskNumber
This contains the IP netmask for the server.
NOTE
OID 2.16.840.1.113730.3.1.73
Syntax DirectoryString
5.2.79. ipNetworkNumber
This identifies the IP network.
NOTE
437
Configuration, Command, and File Reference
OID 1.3.6.1.1.1.1.20
Syntax DirectoryString
5.2.80. ipProtocolNumber
This attribute identifies the IP protocol version number.
NOTE
OID 1.3.6.1.1.1.1.17
Syntax Integer
5.2.81. ipServicePort
This attribute gives the port used by the IP service.
NOTE
OID 1.3.6.1.1.1.1.15
Syntax Integer
438
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.82. ipServiceProtocol
This identifies the protocol used by the IP service.
NOTE
OID 1.3.6.1.1.1.1.16
Syntax DirectoryString
5.2.83. janetMailbox
The janetMailbox contains a JANET email address, usually for users located in the United
Kingdom who do not use RFC 822 email address. Entries with this attribute must also
contain the rfc822Mailbox attribute.
OID 0.9.2342.19200300.100.1.46
Syntax DirectoryString
5.2.84. jpegPhoto
The jpegPhoto attribute contains a JPEG photo, a binary value. For example:
jpegPhoto:: AAAAAA==
OID 0.9.2342.19200300.100.1.60
Syntax Binary
439
Configuration, Command, and File Reference
5.2.85. keyWords
The keyWord attribute contains keywords associated with the entry. For example:
OID 0.9.2342.19200300.102.1.7
Syntax DirectoryString
5.2.86. knowledgeInformation
This attribute is no longer used.
OID 2.5.4.2
Syntax DirectoryString
5.2.87. l (localityName)
The localityName, or l, attribute contains the county, city, or other geographical
designation associated with the entry. For example:
OID 2.5.4.7
Syntax DirectoryString
440
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.88. labeledURI
The labeledURI contains a Uniform Resource Identifier (URI) which is related, in some way,
to the entry. Values placed in the attribute should consist of a URI (currently only URLs are
supported), optionally followed by one or more space characters and a label.
labeledURI: http://home.example.com
labeledURI: http://home.example.com Example website
OID 1.3.6.1.4.1.250.1.57
Syntax IA5String
5.2.89. loginShell
The loginShell attribute contains the path to a script that is launched automatically when
a user logs into the domain.
loginShell: c:\scripts\jsmith.bat
NOTE
OID 1.3.6.1.1.1.1.4
Syntax IA5String
5.2.90. macAddress
This attribute gives the MAC address for a server or piece of equipment.
441
Configuration, Command, and File Reference
NOTE
OID 1.3.6.1.1.1.1.22
Syntax DirectoryString
5.2.91. mail
The mail attribute contains a user's primary email address. This attribute value is retrieved
and displayed by whitepage applications. For example:
mail: [email protected]
OID 0.9.2342.19200300.100.1.3
Syntax DirectyString
5.2.92. mailAccessDomain
This attribute lists the domain which a user can use to access the messaging server.
OID 2.16.840.1.113730.3.1.12
Syntax DirectoryString
5.2.93. mailAlternateAddress
442
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
The mailAlternateAddress attribute contains additional email addresses for a user. This
attribute does not reflect the default or primary email address; that email address is set by
the mail attribute.
For example:
mailAlternateAddress: [email protected]
mailAlternateAddress: [email protected]
OID 2.16.840.1.113730.3.1.13
Syntax DirectyString
5.2.94. mailAutoReplyMode
This attribute sets whether automatic replies are enabled for the messaging server.
OID 2.16.840.1.113730.3.1.14
Syntax DirectoryString
5.2.95. mailAutoReplyText
This attribute stores the text to used in an auto-reply email.
OID 2.16.840.1.113730.3.1.15
Syntax DirectoryString
5.2.96. mailDeliveryOption
This attribute defines the mail delivery mechanism to use for the mail user.
OID 2.16.840.1.113730.3.1.16
443
Configuration, Command, and File Reference
Syntax DirectoryString
5.2.97. mailEnhancedUniqueMember
This attribute contains the DN of a unique member of a mail group.
OID 2.16.840.1.113730.3.1.31
Syntax DN
5.2.98. mailForwardingAddress
This attribute contains an email address to which to forward a user's email.
OID 2.16.840.1.113730.3.1.17
Syntax DirectoryString
5.2.99. mailHost
The mailHost attribute contains the host name of a mail server. For example:
mailHost: mail.example.com
OID 2.16.840.1.113730.3.1.18
Syntax DirectyString
5.2.100. mailMessageStore
444
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 2.16.840.1.113730.3.1.19
Syntax IA5String
5.2.101. mailPreferenceOption
The mailPreferenceOption defines whether a user should be included on a mailing list,
both electronic and physical. There are three options.
If the attribute is absent, then the default is to assume that the user is not included on any
mailing list. This attribute should be interpreted by anyone using the directory to derive
mailing lists and its value respected. For example:
mailPreferenceOption: 0
OID 0.9.2342.19200300.100.1.47
Syntax Integer
5.2.102. mailProgramDeliveryInfo
This attribute contains any commands to use for programmed mail delivery.
OID 2.16.840.1.113730.3.1.20
Syntax IA5String
445
Configuration, Command, and File Reference
5.2.103. mailQuota
This attribute sets the amount of disk space allowed for a user's mail box.
OID 2.16.840.1.113730.3.1.21
Syntax DirectoryString
5.2.104. mailRoutingAddress
This attribute contains the routing address to use when forwarding the emails received by
the user to another messaging server.
OID 2.16.840.1.113730.3.1.24
Syntax DirectoryString
5.2.105. manager
The manager contains the distinguished name (DN) of the manager for the person. For
example:
OID 0.9.2342.19200300.100.1.10
Syntax DN
5.2.106. member
The member attribute contains the distinguished names (DNs) of each member of a group.
For example:
446
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 2.5.4.31
Syntax DN
5.2.107. memberCertificateDescription
This attribute is a multi-valued attribute where each value is a description, a pattern, or a
filter matching the subject DN of a certificate, usually a certificate used for TLS client
authentication.
A matching DN must contain that same AVA but no other AVA of the same type nearer the
root (later, syntactically).
AVAs are considered the same if they contain the same attribute description (case-
insensitive comparison) and the same attribute value (case-insensitive comparison, leading
and trailing whitespace ignored, and consecutive whitespace characters treated as a single
space).
memberCertificateDescription: {ou=x,ou=A,dc=company,dc=example}
To match the group's requirements, a certificate's subject DNs must contain the same ou
attribute types in the same order as defined in the memberCertificateDescription
attribute.
OID 2.16.840.1.113730.3.1.199
Syntax IA5String
5.2.108. memberNisNetgroup
447
Configuration, Command, and File Reference
This attribute merges the attribute values of another netgroup into the current one by
listing the name of the merging netgroup.
NOTE
OID 1.3.6.1.1.1.1.13
Syntax IA5String
5.2.109. memberOf
This attribute contains the name of a group to which the user is a member.
memberOf is the default attribute generated by the MemberOf Plug-in on the user entry of a
group member. This attribute is automatically synchronized to the listed member attributes
in a group entry, so that displaying group membership for entries is managed by
Directory Server.
NOTE
OID 1.2.840.113556.1.2.102
Syntax DN
5.2.110. memberUid
The memberUid attribute contains the login name of the member of a group; this can be
different than the DN identified in the member attribute.
memberUID: jsmith
448
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
NOTE
OID 1.3.6.1.1.1.1.12
Syntax IA5String
5.2.111. memberURL
This attribute identifies a URL associated with each member of a group. Any type of labeled
URL can be used.
memberURL: ldap://cn=jsmith,ou=people,dc=example,dc=com
OID 2.16.840.1.113730.3.1.198
Syntax IA5String
5.2.112. mepManagedBy
This attribute contains a pointer in an automatically-generated entry that points back to the
DN of the originating entry. This attribute is set by the Managed Entries Plug-in and cannot
be modified manually.
OID 2.16.840.1.113730.3.1.2086
Syntax DN
5.2.113. mepManagedEntry
449
Configuration, Command, and File Reference
OID 2.16.840.1.113730.3.1.2087
Syntax DN
5.2.114. mepMappedAttr
This attribute sets an attribute in the Managed Entries template entry which must exist in
the generated entry. The mapping means that some value of the originating entry is used
to supply the given attribute. The values of these attributes will be tokens in the form
attribute: $attr. For example:
As long as the syntax of the expanded token of the attribute does not violate the required
attribute syntax, then other terms and strings can be used in the attribute. For example:
OID 2.16.840.1.113730.3.1.2089
Syntax OctetString
5.2.115. mepRDNAttr
This attribute sets which attribute to use as the naming attribute in the automatically-
generated entry created by the Managed Entries Plug-in. Whatever attribute type is given
in the naming attribute should be present in the managed entries template entry as a
mepMappedAttr.
OID 2.16.840.1.113730.3.1.2090
Syntax DirectoryString
450
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.116. mepStaticAttr
This attribute sets an attribute with a defined value that must be added to the
automatically-generated entry managed by the Managed Entries Plug-in. This value will be
used for every entry generated by that instance of the Managed Entries Plug-in.
mepStaticAttr: posixGroup
OID 2.16.840.1.113730.3.1.2088
Syntax OctetString
5.2.117. mgrpAddHeader
This attribute contains information about the header in the messages.
OID 2.16.840.1.113730.3.1.781
Syntax IA5String
5.2.118. mgrpAllowedBroadcaster
This attribute sets whether to allow the user to send broadcast messages.
OID 2.16.840.1.113730.3.1.22
Syntax IA5String
5.2.119. mgrpAllowedDomain
This attribute sets the domains for the mail group.
451
Configuration, Command, and File Reference
OID 2.16.840.1.113730.3.1.23
Syntax DirectoryString
5.2.120. mgrpApprovePassword
This attribute sets whether a user must approve a password used to access their email.
OID mgrpApprovePassword-oid
Syntax IA5String
5.2.121. mgrpBroadcasterPolicy
This attribute defines the policy for broadcasting emails.
OID 2.16.840.1.113730.3.1.788
Syntax DirectoryString
5.2.122. mgrpDeliverTo
This attribute contains information about the delivery destination for email.
OID 2.16.840.1.113730.3.1.25
Syntax IA5String
5.2.123. mgrpErrorsTo
452
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
This attribute contains information about where to deliver error messages for the
messaging server.
OID 2.16.840.1.113730.3.1.26
Syntax IA5String
5.2.124. mgrpModerator
This attribute contains the contact name for the mailing list moderator.
OID 2.16.840.1.113730.3.1.33
Syntax IA5String
5.2.125. mgrpMsgMaxSize
This attribute sets the maximum size allowed for email messages.
OID 2.16.840.1.113730.3.1.32
Syntax DirectoryString
5.2.126. mgrpMsgRejectAction
This attribute defines what actions the messaging server should take for rejected
messages.
OID 2.16.840.1.113730.3.1.28
Syntax DirectoryString
453
Configuration, Command, and File Reference
5.2.127. mgrpMsgRejectText
This attribute sets the text to use for rejection notifications.
OID 2.16.840.1.113730.3.1.29
Syntax IA5String
5.2.128. mgrpNoDuplicateChecks
This attribute defines whether the messaging server checks for duplicate emails.
OID 2.16.840.1.113730.3.1.789
Syntax DirectoryString
5.2.129. mgrpRemoveHeader
This attribute sets whether the header is removed in reply messages.
OID 2.16.840.1.113730.3.1.801
Syntax DirectoryString
5.2.130. mgrpRFC822MailMember
This attribute identifies the member of a mail group.
OID 2.16.840.1.113730.3.1.30
454
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax DirectoryString
5.2.131. mobile
The mobile, or mobileTelephoneNumber, contains the entry's mobile or cellular phone
number. For example:
mobileTelephoneNumber: 415-555-4321
OID 0.9.2342.19200300.100.1.41
Syntax TelephoneNumber
5.2.132. mozillaCustom1
This attribute is used by Mozilla Thunderbird to manage a shared address book.
OID 1.3.6.1.4.1.13769.4.1
Syntax DirectoryString
5.2.133. mozillaCustom2
This attribute is used by Mozilla Thunderbird to manage a shared address book.
OID 1.3.6.1.4.1.13769.4.2
Syntax DirectoryString
455
Configuration, Command, and File Reference
5.2.134. mozillaCustom3
This attribute is used by Mozilla Thunderbird to manage a shared address book.
OID 1.3.6.1.4.1.13769.4.3
Syntax DirectoryString
5.2.135. mozillaCustom4
This attribute is used by Mozilla Thunderbird to manage a shared address book.
OID 1.3.6.1.4.1.13769.4.4
Syntax DirectoryString
5.2.136. mozillaHomeCountryName
This attribute sets the country used by Mozilla Thunderbird in a shared address book.
OID 1.3.6.1.4.1.13769.3.6
Syntax DirectoryString
5.2.137. mozillaHomeLocalityName
This attribute sets the city used by Mozilla Thunderbird in a shared address book.
OID 1.3.6.1.4.1.13769.3.3
Syntax DirectoryString
456
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.138. mozillaHomePostalCode
This attribute sets the postal code used by Mozilla Thunderbird in a shared address book.
OID 1.3.6.1.4.1.13769.3.5
Syntax DirectoryString
5.2.139. mozillaHomeState
This attribute sets the state or province used by Mozilla Thunderbird in a shared address
book.
OID 1.3.6.1.4.1.13769.3.4
Syntax DirectoryString
5.2.140. mozillaHomeStreet
This attribute sets the street address used by Mozilla Thunderbird in a shared address book.
OID 1.3.6.1.4.1.13769.3.1
Syntax DirectoryString
5.2.141. mozillaHomeStreet2
This attribute contains the second line of a street address used by Mozilla Thunderbird in a
shared address book.
OID 1.3.6.1.4.1.13769.3.2
457
Configuration, Command, and File Reference
Syntax DirectoryString
5.2.142. mozillaHomeUrl
This attribute contains a URL used by Mozilla Thunderbird in a shared address book.
OID 1.3.6.1.4.1.13769.3.7
Syntax DirectoryString
OID 1.3.6.1.4.1.13769.2.1
Syntax DirectoryString
OID 1.3.6.1.4.1.13769.2.2
Syntax IA5String
458
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
This attribute sets an email type preference for an entry in a shared address book in Mozilla
Thunderbird.
OID 1.3.6.1.4.1.13769.2.3
Syntax Boolean
5.2.146. mozillaWorkStreet2
This attribute contains a street address for a workplace or office for an entry in Mozilla
Thunderbird's shared address book.
OID 1.3.6.1.4.1.13769.3.8
Syntax DirectoryString
5.2.147. mozillaWorkUrl
This attribute contains a URL for a work site in an entry in a shared address book in Mozilla
Thunderbird.
OID 1.3.6.1.4.1.13769.3.9
Syntax DirectoryString
5.2.148. multiLineDescription
This attribute contains a description of an entry which spans multiple lines in the LDIF file.
OID 1.3.6.1.4.1.250.1.2
Syntax DirectoryString
459
Configuration, Command, and File Reference
5.2.149. name
The name attribute identifies the attribute supertype which can be used to form string
attribute types for naming.
It is unlikely that values of this type will occur in an entry. LDAP server implementations
that do not support attribute subtyping do not need to recognize this attribute in requests.
Client implementations should not assume that LDAP servers are capable of performing
attribute subtyping.
OID 2.5.4.41
Syntax DirectoryString
5.2.150. netscapeReversiblePassword
This attribute contains the password for HTTP Digest/MD5 authentication.
OID 2.16.840.1.113730.3.1.812
Syntax OctetString
5.2.151. NisMapEntry
This attribute contains the information for a NIS map to be used by Network Information
Services.
NOTE
OID 1.3.6.1.1.1.1.27
460
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax IA5String
5.2.152. nisMapName
This attribute contains the name of a mapping used by a NIS server.
OID 1.3.6.1.1.1.1.26
Syntax DirectoryString
5.2.153. nisNetgroupTriple
This attribute contains information on a netgroup used by a NIS server.
NOTE
OID 1.3.6.1.1.1.1.14
Syntax IA5String
5.2.154. nsAccessLog
This entry identifies the access log used by a server.
OID nsAccessLog-oid
Syntax DirectoryString
461
Configuration, Command, and File Reference
5.2.155. nsAdminAccessAddresses
This attribute contains the IP address of the Administration Server used by the instance.
OID nsAdminAccessAddresses-oid
Syntax DirectoryString
5.2.156. nsAdminAccessHosts
This attribute contains the host name of the Administration Server.
OID nsAdminAccessHosts-oid
Syntax DirectoryString
5.2.157. nsAdminAccountInfo
This attribute contains other information about the Administration Server account.
OID nsAdminAccountInfo-oid
Syntax DirectoryString
5.2.158. nsAdminCacheLifetime
This sets the length of time to store the cache used by the Directory Server.
462
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID nsAdminCacheLifetime-oid
Syntax DirectoryString
5.2.159. nsAdminCgiWaitPid
This attribute defines the wait time for Administration Server CGI process IDs.
OID nsAdminCgiWaitPid-oid
Syntax DirectoryString
5.2.160. nsAdminDomainName
This attribute contains the name of the administration domain containing the
Directory Server instance.
OID nsAdminDomainName-oid
Syntax DirectoryString
5.2.161. nsAdminEnableEnduser
This attribute sets whether to allow end user access to admin services.
OID nsAdminEnableEnduser-oid
Syntax DirectoryString
463
Configuration, Command, and File Reference
5.2.162. nsAdminEndUserHTMLIndex
This attribute sets whether to allow end users to access the HTML index of admin services.
OID nsAdminEndUserHTMLIndex-oid
Syntax DirectoryString
5.2.163. nsAdminGroupName
This attribute gives the name of the admin guide.
OID nsAdminGroupName-oid
Syntax DirectoryString
5.2.164. nsAdminOneACLDir
This attribute gives the directory path to the directory containing access control lists for the
Administration Server.
OID nsAdminOneACLDir-oid
Syntax DirectoryString
5.2.165. nsAdminSIEDN
This attribute contains the DN of the serer instance entry (SIE) for the
Administration Server.
OID nsAdminSIEDN-oid
Syntax DN
464
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.166. nsAdminUsers
This attribute gives the path and name of the file which contains the information for the
Administration Server admin user.
OID nsAdminUsers-oid
Syntax DirectoryString
5.2.167. nsAIMid
This attribute contains the AOL Instant Messaging user ID for the user.
OID 2.16.840.1.113730.3.2.300
Syntax DirectoryString
5.2.168. nsBaseDN
This contains the base DN used in the Directory Server's server instance definition entry.
OID nsBaseDN-oid
Syntax DirectoryString
5.2.169. nsBindDN
This attribute contains the bind DN defined in the Directory Server SIE.
465
Configuration, Command, and File Reference
OID nsBindDN-oid
Syntax DirectoryString
5.2.170. nsBindPassword
This attribute contains the password used by the bind DN defined in nsBindDN.
OID nsBindPassword-oid
Syntax DirectoryString
5.2.171. nsBuildNumber
This defines, in the Directory Server SIE, the build number of the server instance.
OID nsBuildNumber-oid
Syntax DirectoryString
5.2.172. nsBuildSecurity
This defines, in the Directory Server SIE, the build security level.
OID nsBuildSecurity-oid
Syntax DirectoryString
5.2.173. nsCertConfig
466
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
This attribute defines the configuration for the Red Hat Certificate System.
OID nsCertConfig-oid
Syntax DirectoryString
5.2.174. nsClassname
OID nsClassname-oid
Syntax DirectoryString
5.2.175. nsConfigRoot
This attribute contains the root DN of the configuration directory.
OID nsConfigRoot-oid
Syntax DirectoryString
5.2.176. nscpAIMScreenname
This attribute gives the AIM screen name of a user.
OID 1.3.6.1.4.1.13769.2.4
Syntax TelephoneString
5.2.177. nsDefaultAcceptLanguage
467
Configuration, Command, and File Reference
This attribute contains the language codes which are accepted for HTML clients.
OID nsDefaultAcceptLanguage-oid
Syntax DirectoryString
5.2.178. nsDefaultObjectClass
This attribute stores object class information in a container entry.
OID nsDefaultObjectClass-oid
Syntax DirectoryString
5.2.179. nsDeleteclassname
OID nsDeleteclassname-oid
Syntax DirectoryString
5.2.180. nsDirectoryFailoverList
This attribute contains a list of Directory Servers to use for failover.
OID nsDirectoryFailoverList-oid
Syntax IA5String
5.2.181. nsDirectoryInfoRef
468
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID nsDirectoryInfoRef-oid
Syntax DN
5.2.182. nsDirectoryURL
This attribute contains the Directory Server URL.
OID nsDirectoryURL-oid
Syntax IA5String
5.2.183. nsDisplayName
This attribute contains a display name.
OID nsDisplayName-oid
Syntax DirectoryString
5.2.184. nsErrorLog
This attribute identifies the error log used by the server.
OID nsErrorLog-oid
Syntax DirectoryString
469
Configuration, Command, and File Reference
5.2.185. nsExecRef
This attribute contains the path or location of an executable which can be used to perform
server tasks.
OID nsExecRef-oid
Syntax DirectoryString
5.2.186. nsExpirationDate
This attribute contains the expiration date of an application.
OID nsExpirationDate-oid
Syntax DirectoryString
5.2.187. nsGroupRDNComponent
This attribute defines the attribute to use for the RDN of a group entry.
OID nsGroupRDNComponent-oid
Syntax DirectoryString
5.2.188. nsHardwarePlatform
This attribute indicates the hardware on which the server is running. The value of this
attribute is the same as the output from uname -m. For example:
nsHardwarePlatform:i686
OID nsHardwarePlatform-oid
470
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax DirectoryString
5.2.189. nsHelpRef
This attribute contains a reference to an online help file.
OID nsHelpRef-oid
Syntax DirectoryString
5.2.190. nsHostLocation
This attribute contains information about the server host.
OID nsHostLocation-oid
Syntax DirectoryString
5.2.191. nsICQid
This attribute contains an ICQ ID for the user.
OID 2.16.840.1.113730.3.1.2014
Syntax DirectoryString
5.2.192. nsInstalledLocation
471
Configuration, Command, and File Reference
This attribute contains the installation directory for Directory Servers which are version 7.1
or older.
OID nsInstalledLocation-oid
Syntax DirectoryString
5.2.193. nsJarfilename
This attribute gives the jar file name used by the Console.
OID nsJarfilename-oid
Syntax DirectoryString
5.2.194. nsLdapSchemaVersion
This gives the version number of the LDAP directory schema.
OID nsLdapSchemaVersion-oid
Syntax DirectoryString
5.2.195. nsLicensedFor
The nsLicensedFor attribute identifies the server the user is licensed to use.
Administration Server expects each nsLicenseUser entry to contain zero or more instances
of this attribute. Valid keywords for this attribute include the following:
472
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
For example:
nsLicensedFor: slapd
OID 2.16.840.1.113730.3.1.36
Syntax DirectoryString
5.2.196. nsLicenseEndTime
Reserved for future use.
OID 2.16.840.1.113730.3.1.38
Syntax DirectoryString
5.2.197. nsLicenseStartTime
Reserved for future use.
OID 2.16.840.1.113730.3.1.37
Syntax DirectoryString
5.2.198. nsLogSuppress
This attribute sets whether to suppress server logging.
OID nsLogSuppress-oid
Syntax DirectoryString
473
Configuration, Command, and File Reference
Defined in Netscape
5.2.199. nsmsgDisallowAccess
This attribute defines access to a messaging server.
OID nsmsgDisallowAccess-oid
Syntax IA5String
5.2.200. nsmsgNumMsgQuota
This attribute sets a quota for the number of messages which will be kept by the messaging
server.
OID nsmsgNumMsgQuota-oid
Syntax DirectoryString
5.2.201. nsMSNid
This attribute contains the MSN instant messaging ID for the user.
OID 2.16.840.1.113730.3.1.2016
Syntax DirectoryString
5.2.202. nsNickName
This attribute gives a nickname for an application.
OID nsNickName-oid
474
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax DirectoryString
Defined in Netscape
5.2.203. nsNYR
OID nsNYR-oid
Syntax DirectoryString
5.2.204. nsOsVersion
This attribute contains the version number of the operating system for the host on which
the server is running.
OID nsOsVersion-oid
Syntax DirectoryString
Defined in Netscape
5.2.205. nsPidLog
OID nsPidLog-oid
Syntax DirectoryString
Defined in Netscape
5.2.206. nsPreference
This attribute stores the Console preference settings.
OID nsPreference-oid
475
Configuration, Command, and File Reference
Syntax DirectoryString
5.2.207. nsProductName
This contains the name of the product, such as Red Hat Directory Server or
Administration Server.
OID nsProductName-oid
Syntax DirectoryString
Defined in Netscape
5.2.208. nsProductVersion
This contains the version number of the Directory Server or Administration Server.
OID nsProductVersion-oid
Syntax DirectoryString
Defined in Netscape
5.2.209. nsRevisionNumber
This attribute contains the revision number of the Directory Server or
Administration Server.
OID nsRevisionNumber-oid
Syntax DirectoryString
Defined in Netscape
5.2.210. nsSecureServerPort
476
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
This attribute contains the TLS port for the Directory Server.
NOTE
This attribute does not configure the TLS port for the Directory Server. This is
configured in nsslapd-secureport configuration attribute in the
Directory Server's dse.ldif file. Configuration attributes are described in the
Configuration, Command, and File Reference.
OID nsSecureServerPort-oid
Syntax DirectoryString
5.2.211. nsSerialNumber
This attribute contains a serial number or tracking number assigned to a specific server
application, such as Red Hat Directory Server or Administration Server.
OID nsSerialNumber-oid
Syntax DirectoryString
Defined in Netscape
5.2.212. nsServerAddress
This attribute contains the IP address of the server host on which the Directory Server is
running.
OID nsServerAddress-oid
Syntax DirectoryString
Defined in Netscape
5.2.213. nsServerCreationClassname
This attribute gives the class name to use when creating a server.
477
Configuration, Command, and File Reference
OID nsServerCreationClassname-oid
Syntax DirectoryString
Defined in Netscape
5.2.214. nsServerID
This contains the server's instance name. For example:
nsServerID: slapd-example
OID nsServerID-oid
Syntax DirectoryString
Defined in Netscape
5.2.215. nsServerMigrationClassname
This attribute contains the name of the class to use when migrating a server.
OID nsServerMigrationClassname-oid
Syntax DirectoryString
Defined in Netscape
5.2.216. nsServerPort
This attribute contains the standard LDAP port for the Directory Server.
NOTE
This attribute does not configure the standard port for the Directory Server.
This is configured in nsslapd-port configuration attribute in the
Directory Server's dse.ldif file. Configuration attributes are described in the
Configuration, Command, and File Reference.
478
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID nsServerPort-oid
Syntax DirectoryString
Defined in Netscape
5.2.217. nsServerSecurity
This shows whether the Directory Server requires a secure TLS or SSL connection.
OID nsServerSecurity-oid
Syntax DirectoryString
Defined in Netscape
5.2.218. nsSNMPContact
This attribute contains the contact information provided by the SNMP.
OID 2.16.840.1.113730.3.1.235
Syntax DirectoryString
5.2.219. nsSNMPDescription
This contains a description of the SNMP service.
OID 2.16.840.1.113730.3.1.236
Syntax DirectoryString
5.2.220. nsSNMPEnabled
479
Configuration, Command, and File Reference
OID 2.16.840.1.113730.3.1.232
Syntax DirectoryString
5.2.221. nsSNMPLocation
This attribute shows the location provided by the SNMP service.
OID 2.16.840.1.113730.3.1.234
Syntax DirectoryString
5.2.222. nsSNMPMasterHost
This attribute shows the host name for the SNMP master agent.
OID 2.16.840.1.113730.3.1.237
Syntax DirectoryString
5.2.223. nsSNMPMasterPort
This attribute shows the port number for the SNMP subagent.
OID 2.16.840.1.113730.3.1.238
Syntax DirectoryString
480
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.224. nsSNMPOrganization
This attribute contains the organization information provided by SNMP.
OID 2.16.840.1.113730.3.1.233
Syntax DirectoryString
5.2.225. nsSuiteSpotUser
This attribute has been obsoleted.
This attribute identifies the Unix user who installed the server.
OID nsSuiteSpotUser-oid
Syntax DirectoryString
Defined in Netscape
5.2.226. nsTaskLabel
OID nsTaskLabel-oid
Syntax DirectoryString
Defined in Netscape
5.2.227. nsUniqueAttribute
This sets a unique attribute for the server preferences.
OID nsUniqueAttribute-oid
Syntax DirectoryString
481
Configuration, Command, and File Reference
5.2.228. nsUserIDFormat
This attribute sets the format to use to generate the uid attribute from the givenname and
sn attributes.
OID nsUserIDFormat-oid
Syntax DirectoryString
5.2.229. nsUserRDNComponent
This attribute sets the attribute type to set the RDN for user entries.
OID nsUserRDNComponent-oid
Syntax DirectoryString
5.2.230. nsValueBin
OID 2.16.840.1.113730.3.1.247
Syntax Binary
5.2.231. nsValueCES
OID 2.16.840.1.113730.3.1.244
Syntax IA5String
482
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.232. nsValueCIS
OID 2.16.840.1.113730.3.1.243
Syntax DirectoryString
5.2.233. nsValueDefault
OID 2.16.840.1.113730.3.1.250
Syntax DirectoryString
5.2.234. nsValueDescription
OID 2.16.840.1.113730.3.1.252
Syntax DirectoryString
5.2.235. nsValueDN
OID 2.16.840.1.113730.3.1.248
Syntax DN
5.2.236. nsValueFlags
483
Configuration, Command, and File Reference
OID 2.16.840.1.113730.3.1.251
Syntax DirectoryString
5.2.237. nsValueHelpURL
OID 2.16.840.1.113730.3.1.254
Syntax IA5String
5.2.238. nsValueInt
OID 2.16.840.1.113730.3.1.246
Syntax Integer
5.2.239. nsValueSyntax
OID 2.16.840.1.113730.3.1.253
Syntax DirectoryString
5.2.240. nsValueTel
OID 2.16.840.1.113730.3.1.245
Syntax TelephoneString
484
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.241. nsValueType
OID 2.16.840.1.113730.3.1.249
Syntax DirectoryString
5.2.242. nsVendor
This contains the name of the server vendor.
OID nsVendor-oid
Syntax DirectoryString
Defined in Netscape
5.2.243. nsViewConfiguration
This attribute stores the view configuration used by Console.
OID nsViewConfiguration-oid
Syntax DirectoryString
5.2.244. nsViewFilter
This attribute sets the attribute-value pair which is used to identify entries belonging to the
view.
OID 2.16.840.1.113730.3.1.3023
485
Configuration, Command, and File Reference
Syntax IA5String
5.2.245. nsWellKnownJarfiles
OID nsWellKnownJarfiles-oid
Syntax DirectoryString
5.2.246. nswmExtendedUserPrefs
This attribute is used to store user preferences for accounts in a messaging server.
OID 2.16.840.1.113730.3.1.520
Syntax DirectoryString
5.2.247. nsYIMid
This attribute contains the Yahoo instant messaging user name for the user.
OID 2.16.840.1.113730.3.1.2015
Syntax DirectoryString
5.2.248. ntGroupAttributes
This attribute points to a binary file which contains information about the group. For
example:
486
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
ntGroupAttributes::
IyEvYmluL2tzaAoKIwojIGRlZmF1bHQgdmFsdWUKIwpIPSJgaG9zdG5hb
OID 2.16.840.1.113730.3.1.536
Syntax Binary
5.2.249. ntGroupCreateNewGroup
The ntGroupCreateNewGroup attribute is used by Windows Sync to determine whether the
Directory Server should create new group entry when a new group is created on a Windows
server. true creates the new entry; false ignores the Windows entry.
OID 2.16.840.1.113730.3.1.45
Syntax DirectoryString
5.2.250. ntGroupDeleteGroup
The ntGroupDeleteGroup attribute is used by Windows Sync to determine whether the
Directory Server should delete a group entry when the group is deleted on a Windows sync
peer server. true means the account is deleted; false ignores the deletion.
OID 2.16.840.1.113730.3.1.46
Syntax DirectoryString
5.2.251. ntGroupDomainId
The ntGroupDomainID attribute contains the domain ID string for a group.
ntGroupDomainId: DS HR Group
OID 2.16.840.1.113730.3.1.44
487
Configuration, Command, and File Reference
Syntax DirectoryString
5.2.252. ntGroupId
The ntGroupId attribute points to a binary file which identifies the group. For example:
ntGroupId: IOUnHNjjRgghghREgfvItrGHyuTYhjIOhTYtyHJuSDwOopKLhjGbnGFtr
OID 2.16.840.1.113730.3.1.110
Syntax Binary
5.2.253. ntGroupType
In Active Directory, there are two major types of groups: security and distribution. Security
groups are most similar to groups in Directory Server, since security groups can have
policies configured for access controls, resource restrictions, and other permissions.
Distribution groups are for mailing distribution. These are further broken down into global
and local groups. The Directory Server ntGroupType supports all four group types:
The ntGroupType attribute identifies the type of Windows group. The valid values are as
follows:
2 for global/distribution
This value is set automatically when the Windows groups are synchronized. To determine
the type of group, you must manually configure it when the group gets created. By default,
Directory Server groups do not have this attribute and are synchronized as global/security
groups.
ntGroupType: -21483646
OID 2.16.840.1.113730.3.1.47
488
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax DirectoryString
5.2.254. ntUniqueId
The ntUniqueId attribute contains a generated number used for internal server
identification and operation. For example:
ntUniqueId: 352562404224a44ab040df02e4ef500b
OID 2.16.840.1.113730.3.1.111
Syntax DirectoryString
5.2.255. ntUserAcctExpires
This attribute indicates when the entry's Windows account will expire. This value is stored
as a string in GMT format. For example:
ntUserAcctExpires: 20081015203415
OID 2.16.840.1.113730.3.1.528
Syntax DirectoryString
5.2.256. ntUserAuthFlags
This attribute contains authorization flags set for the Windows account.
OID 2.16.840.1.113730.3.1.60
Syntax Binary
489
Configuration, Command, and File Reference
5.2.257. ntUserBadPwCount
This attribute sets the number of bad password failures are allowed before an account is
locked.
OID 2.16.840.1.113730.3.1.531
Syntax DirectoryString
5.2.258. ntUserCodePage
The ntUserCodePage attribute contains the code page for the user's language of choice.
For example:
ntUserCodePage: AAAAAA==
OID 2.16.840.1.113730.3.1.533
Syntax Binary
5.2.259. ntUserComment
This attribute contains a text description or note about the user entry.
OID 2.16.840.1.113730.3.1.522
Syntax DirectoryString
5.2.260. ntUserCountryCode
This attribute contains the two-character country code for the country where the user is
located.
490
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 2.16.840.1.113730.3.1.532
Syntax DirectoryString
5.2.261. ntUserCreateNewAccount
The ntUserCreateNewAccount attribute is used by Windows Sync to determine whether the
Directory Server should create a new user entry when a new user is created on a Windows
server. true creates the new entry; false ignores the Windows entry.
OID 2.16.840.1.113730.3.1.42
Syntax DirectoryString
5.2.262. ntUserDeleteAccount
The ntUserDeleteAccount attribute IS Used by Windows Sync to determine whether a
Directory Server entry will be automatically deleted when the user is deleted from the
Windows sync peer server. true means the user entry is deleted;false ignores the
deletion.
OID 2.16.840.1.113730.3.1.43
Syntax DirectoryString
5.2.263. ntUserDomainId
The ntUserDomainId attribute contains the Windows domain login ID. For example:
ntUserDomainId: jsmith
OID 2.16.840.1.113730.3.1.41
Syntax DirectoryString
491
Configuration, Command, and File Reference
5.2.264. ntUserFlags
This attribute contains additional flags set for the Windows account.
OID 2.16.840.1.113730.3.1.523
Syntax Binary
5.2.265. ntUserHomeDir
The ntUserHomeDir attribute contains an ASCII string representing the Windows user's
home directory. This attribute can be null. For example:
ntUserHomeDir: c:\jsmith
OID 2.16.840.1.113730.3.1.521
Syntax DirectoryString
5.2.266. ntUserHomeDirDrive
This attribute contains information about the drive on which the user's home directory is
stored.
OID 2.16.840.1.113730.3.1.535
Syntax DirectoryString
5.2.267. ntUserLastLogoff
492
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
The ntUserLastLogoff attribute contains the time of the last logoff. This value is stored as
a string in GMT format.
If security logging is turned on, then this attribute is updated on synchronization only if
some other aspect of the user's entry has changed.
ntUserLastLogoff: 20191015203415Z
OID 2.16.840.1.113730.3.1.527
Syntax DirectoryString
5.2.268. ntUserLastLogon
The ntUserLastLogon attribute contains the time that the user last logged into the
Windows domain. This value is stored as a string in GMT format. If security logging is turned
on, then this attribute is updated on synchronization only if some other aspect of the user's
entry has changed.
ntUserLastLogon: 20191015203415Z
OID 2.16.840.1.113730.3.1.526
Syntax DirectoryString
5.2.269. ntUserLogonHours
The ntUserLogonHours attribute contains the time periods that a user is allowed to log onto
the Active Directory domain. This attribute corresponds to the logonHours attribute in
Active Directory.
OID 2.16.840.1.113730.3.1.530
Syntax DirectoryString
493
Configuration, Command, and File Reference
5.2.270. ntUserLogonServer
The ntUserLogonServer attribute defines the Active Directory server to which the user's
logon request is forwarded.
OID 2.16.840.1.113730.3.1.65
Syntax DirectoryString
5.2.271. ntUserMaxStorage
The ntUserMaxStorage attribute contains the maximum amount of disk space available for
the user.
ntUserMaxStorage: 4294967295
OID 2.16.840.1.113730.3.1.529
Syntax Binary
5.2.272. ntUserNumLogons
This attribute shows the number of successful logons to the Active Directory domain for the
user.
OID 2.16.840.1.113730.3.1.64
Syntax Binary
5.2.273. ntUserParms
The ntUserParms attribute contains a Unicode string reserved for use by applications.
OID 2.16.840.1.113730.3.1.62
494
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax DirectoryString
5.2.274. ntUserPasswordExpired
This attribute shows whether the password for the Active Directory account has expired.
OID 2.16.840.1.113730.3.1.68
Syntax Binary
5.2.275. ntUserPrimaryGroupId
The ntUserPrimaryGroupId attribute contains the group ID of the primary group to which
the user belongs.
OID 2.16.840.1.113730.3.1.534
Syntax Binary
5.2.276. ntUserPriv
This attribute shows the type of privileges allowed for the user.
OID 2.16.840.1.113730.3.1.59
Syntax Binary
5.2.277. ntUserProfile
495
Configuration, Command, and File Reference
The ntUserProfile attribute contains the path to a user's profile. For example:
ntUserProfile: c:\jsmith\profile.txt
OID 2.16.840.1.113730.3.1.67
Syntax DirectoryString
5.2.278. ntUserScriptPath
The ntUserScriptPath attribute contains the path to an ASCII script used by the user to log
into the domain.
ntUserScriptPath: c:\jstorm\lscript.bat
OID 2.16.840.1.113730.3.1.524
Syntax Binary
5.2.279. ntUserUniqueId
The ntUserUniqueId attribute contains a unique numeric ID for the Windows user.
OID 2.16.840.1.113730.3.1.66
Syntax Binary
5.2.280. ntUserUnitsPerWeek
The ntUserUnitsPerWeek attribute contains the total amount of time that the user has
spent logged into the Active Directory domain.
OID 2.16.840.1.113730.3.1.63
496
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax Binary
5.2.281. ntUserUsrComment
The ntUserUsrComment attribute contains additional comments about the user.
OID 2.16.840.1.113730.3.1.61
Syntax DirectoryString
5.2.282. ntUserWorkstations
The ntUserWorkstations attribute contains a list of names, in ASCII strings, of work
stations which the user is allowed to log in to. There can be up to eight work stations listed,
separated by commas. Specify null to permit users to log on from any workstation. For
example:
ntUserWorkstations: firefly
OID 2.16.840.1.113730.3.1.525
Syntax DirectoryString
5.2.283. o (organizationName)
The organizationName, or o, attribute contains the organization name. For example:
OID 2.5.4.10
Syntax DirectoryString
497
Configuration, Command, and File Reference
5.2.284. objectClass
The objectClass attribute identifies the object classes used for an entry. For example:
objectClass: person
OID 2.5.4.0
Syntax DirectoryString
5.2.285. objectClasses
This attribute is used in a schema file to identify an object class allowed by the subschema
definition.
OID 2.5.21.6
Syntax DirectoryString
5.2.286. obsoletedByDocument
The obsoletedByDocument attribute contains the distinguished name of a document which
obsoletes the current document entry.
OID 0.9.2342.19200300.102.1.4
Syntax DN
5.2.287. obsoletesDocument
498
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 0.9.2342.19200300.102.1.3
Syntax DN
5.2.288. oncRpcNumber
The oncRpcNumber attribute contains part of the RPC map and stores the RPC number for
UNIX RPCs.
NOTE
OID 1.3.6.1.1.1.1.18
Syntax Integer
5.2.289. organizationalStatus
The organizationalStatus identifies the person's category within an organization.
organizationalStatus: researcher
OID 0.9.2342.19200300.100.1.45
Syntax DirectoryString
499
Configuration, Command, and File Reference
5.2.290. otherMailbox
The otherMailbox attribute contains values for email types other than X.400 and RFC 822.
OID 0.9.2342.19200300.100.1.22
Syntax DirectoryString
5.2.291. ou (organizationalUnitName)
The organizationalUnitName, or ou, contains the name of an organizational division or a
subtree within the directory hierarchy.
organizationalUnitName: Marketing
ou: Marketing
OID 2.5.4.11
Syntax DirectoryString
5.2.292. owner
The owner attribute contains the DN of the person responsible for an entry. For example:
OID 2.5.4.32
Syntax DN
5.2.293. pager
The pagerTelephoneNumber, or pager, attribute contains a person's pager phone number.
500
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
pagerTelephoneNumber: 415-555-6789
pager: 415-555-6789
OID 0.9.2342.19200300.100.1.42
Syntax TelephoneNumber
5.2.294. parentOrganization
The parentOrganization attribute identifies the parent organization of an organization or
organizational unit.
OID 1.3.6.1.4.1.1466.101.120.41
Syntax DN
Defined in Netscape
5.2.295. personalSignature
The personalSignature attribute contains the entry's signature file, in binary format.
personalSignature:: AAAAAA==
OID 0.9.2342.19200300.100.1.53
Syntax Binary
5.2.296. personalTitle
The personalTitle attribute contains a person's honorific, such asMs., Dr., Prof., and
Rev.
personalTitle: Mr.
501
Configuration, Command, and File Reference
OID 0.9.2342.19200300.100.1.40
Syntax DirectoryString
5.2.297. photo
The photo attribute contains a photo file, in a binary format.
photo:: AAAAAA==
OID 0.9.2342.19200300.100.1.7
Syntax Binary
5.2.298. physicalDeliveryOfficeName
The physicalDeliveryOffice contains the city or town in which a physical postal delivery
office is located.
physicalDeliveryOfficeName: Raleigh
OID 2.5.4.19
Syntax DirectoryString
5.2.299. postalAddress
The postalAddress attribute identifies the entry's mailing address. This field is intended to
include multiple lines. When represented in LDIF format, each line should be separated by a
dollar sign ($).
To represent an actual dollar sign ($) or backslash (\) within the entry text, use the escaped
hex values \24 and \5c respectively. For example, to represent the string:
502
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 2.5.4.16
Syntax DirectoryString
5.2.300. postalCode
The postalCode contains the zip code for an entry located within the United States.
postalCode: 44224
OID 2.5.4.17
Syntax DirectoryString
5.2.301. postOfficeBox
The postOfficeBox attribute contains the postal address number or post office box number
for an entry's physical mailing address.
postOfficeBox: 1234
OID 2.5.4.18
Syntax DirectoryString
5.2.302. preferredDeliveryMethod
503
Configuration, Command, and File Reference
preferredDeliveryMethod: telephone
OID 2.5.4.28
Syntax DirectoryString
5.2.303. preferredLanguage
The preferredLanguage attribute contains a person's preferred written or spoken language.
The value should conform to the syntax for HTTP Accept-Language header values.
OID 2.16.840.1.113730.3.1.39
Syntax DirectoryString
5.2.304. preferredLocale
A locale identifies language-specific information about how users of a specific region,
culture, or custom expect data to be presented, including how data of a given language is
interpreted and how data is to be sorted. Directory Server supports three locales for
American English, Japanese, and German.
OID 1.3.6.1.4.1.1466.101.120.42
Syntax DirectoryString
Defined in Netscape
5.2.305. preferredTimeZone
The preferredTimeZone attribute sets the time zone to use for the user entry.
504
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 1.3.6.1.4.1.1466.101.120.43
Syntax DirectoryString
Defined in Netscape
5.2.306. presentationAddress
The presentationAddress attribute contains the OSI presentation address for an entry.
This attribute includes the OSI Network Address and up to three selectors, one each for use
by the transport, session, and presentation entities. For example:
presentationAddress: TELEX+00726322+RFC-1006+02+130.59.2.1
OID 2.5.4.29
Syntax IA5String
5.2.307. protocolInformation
The protocolInformation attribute, used together with thepresentationAddress
attribute, provides additional information about the OSO network service.
OID 2.5.4.48
Syntax DirectoryString
5.2.308. ref
The ref attribute is used to support LDAPv3 smart referrals. The value of this attribute is an
LDAP URL:
ldap: host_name:port_number/subtree_dn
For example:
505
Configuration, Command, and File Reference
ref: ldap://server.example.com:389/ou=People,dc=example,dc=com
OID 2.16.840.1.113730.3.1.34
Syntax IA5String
5.2.309. registeredAddress
This attribute contains a postal address for receiving telegrams or expedited documents.
The recipient's signature is usually required on delivery.
OID 2.5.4.26
Syntax DirectoryString
5.2.310. roleOccupant
This attribute contains the distinguished name of the person acting in the role defined in
the organizationalRole entry.
roleOccupant: uid=bjensen,dc=example,dc=com
OID 2.5.4.33
Syntax DN
5.2.311. roomNumber
This attribute specifies the room number of an object. The cn attribute should be used for
naming room objects.
roomNumber: 230
506
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 0.9.2342.19200300.100.1.6
Syntax DirectoryString
5.2.312. searchGuide
The searchGuide attribute specifies information for suggested search criteria when using
the entry as the base object in the directory tree for a search operation. When constructing
search filters, use the enhancedSearchGuide attribute instead.
OID 2.5.4.14
Syntax IA5String
5.2.313. secretary
The secretary attribute identifies an entry's secretary or administrative assistant.
OID 0.9.2342.19200300.100.1.21
Syntax DN
5.2.314. seeAlso
The seeAlso attribute identifies another Directory Server entry that may contain
information related to this entry.
OID 2.5.4.34
507
Configuration, Command, and File Reference
Syntax DN
5.2.315. serialNumber
The serialNumber attribute contains the serial number of a device.
serialNumber: 555-1234-AZ
OID 2.5.4.5
Syntax DirectoryString
5.2.316. serverHostName
The serverHostName attribute contains the host name of the server on which the
Directory Server is running.
OID 2.16.840.1.113730.3.1.76
Syntax DirectoryString
5.2.317. serverProductName
The serverProductName attribute contains the name of the server product.
OID 2.16.840.1.113730.3.1.71
Syntax DirectoryString
508
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.318. serverRoot
This attribute is obsolete.
This attribute shows the installation directory (server root) of Directory Servers version 7.1
or older.
OID 2.16.840.1.113730.3.1.70
Syntax DirectoryString
5.2.319. serverVersionNumber
The serverVersionNumber attribute contains the server version number.
OID 2.16.840.1.113730.3.1.72
Syntax DirectoryString
5.2.320. shadowExpire
The shadowExpire attribute contains the date that the shadow account expires. The format
of the date is in the number days since EPOCH, in UTC. To calculate this on the system, run
a command like the following, using -d for the current date and -u to specify UTC:
14617
shadowExpire: 14617
NOTE
509
Configuration, Command, and File Reference
OID 1.3.6.1.1.1.1.10
Syntax Integer
5.2.321. shadowFlag
The shadowFlag attribute identifies what area in the shadow map stores the flag values.
shadowFlag: 150
NOTE
OID 1.3.6.1.1.1.1.11
Syntax Integer
5.2.322. shadowInactive
The shadowInactive attribute sets how long, in days, the shadow account can be inactive.
shadowInactive: 15
NOTE
OID 1.3.6.1.1.1.1.9
510
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax Integer
5.2.323. shadowLastChange
The shadowLastChange attribute contains the number of days between January 1, 1970 and
the day when the user password was last set. For example, if an account's password was
last set on Nov 4, 2016, the shadowLastChange attribute is set to 0
NOTE
OID 1.3.6.1.1.1.1.5
Syntax Integer
5.2.324. shadowMax
The shadowMax attribute sets the maximum number of days that a shadow password is
valid.
shadowMax: 10
511
Configuration, Command, and File Reference
NOTE
OID 1.3.6.1.1.1.1.7
Syntax Integer
5.2.325. shadowMin
The shadowMin attribute sets the minimum number of days that must pass between
changing the shadow password.
shadowMin: 3
NOTE
OID 1.3.6.1.1.1.1.6
Syntax Integer
5.2.326. shadowWarning
The shadowWarning attribute sets how may days in advance of password expiration to send
a warning to the user.
shadowWarning: 2
512
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
NOTE
OID 1.3.6.1.1.1.1.8
Syntax Integer
5.2.327. singleLevelQuality
The singleLevelQuality specifies the purported data quality at the level immediately
below in the directory tree.
OID 0.9.2342.19200300.100.1.50
Syntax DirectoryString
5.2.328. sn (surname)
The surname, or sn, attribute contains an entry's surname, also called a last name or family
name.
surname: Jensen
sn: Jensen
OID 2.5.4.4
Syntax DirectoryString
5.2.329. st (stateOrProvinceName)
513
Configuration, Command, and File Reference
stateOrProvinceName: California
st: California
OID 2.5.4.8
Syntax DirectoryString
5.2.330. street
The streetAddress, or street, attribute contains an entry's street name and residential
address.
OID 2.5.4.9
Syntax DirectoryString
5.2.331. subject
The subject attribute contains information about the subject matter of the document entry.
OID 0.9.2342.19200300.102.1.8
Syntax DirectoryString
5.2.332. subtreeMaximumQuality
514
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
The subtreeMaximumQuality attribute specifies the purported maximum data quality for a
directory subtree.
OID 0.9.2342.19200300.100.1.52
Syntax DirectoryString
5.2.333. subtreeMinimumQuality
The subtreeMinimumQuality specifies the purported minimum data quality for a directory
subtree.
OID 0.9.2342.19200300.100.1.51
Syntax DirectoryString
5.2.334. supportedAlgorithms
The supportedAlgorithms attribute contains algorithms which are requested and stored in
a binary form, such as supportedAlgorithms;binary.
supportedAlgorithms:: AAAAAA==
OID 2.5.4.52
Syntax Binary
5.2.335. supportedApplicationContext
This attribute contains the identifiers of OSI application contexts.
OID 2.5.4.30
Syntax DirectoryString
515
Configuration, Command, and File Reference
5.2.336. telephoneNumber
The telephoneNumber contains an entry's phone number. For example:
telephoneNumber: 415-555-2233
OID 2.5.4.20
Syntax TelephoneNumber
5.2.337. teletexTerminalIdentifier
The teletexTerminalIdentifier attribute contains an entry's teletex terminal identifier.
The first printable string in the example is the encoding of the first portion of the teletex
terminal identifier to be encoded, and the subsequent 0 or more octet strings are
subsequent portions of the teletex terminal identifier:
OID 2.5.4.22
Syntax DirectoryString
5.2.338. telexNumber
This attribute defines the telex number of the entry. The format of the telex number is as
follows:
516
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID 2.5.4.21
Syntax DirectoryString
5.2.339. title
The title attribute contains a person's title within the organization.
OID 2.5.4.12
Syntax DirectoryString
TimeToLive: 120
ttl: 120
OID 1.3.6.1.4.250.1.60
Syntax DirectoryString
517
Configuration, Command, and File Reference
userID: jsmith
uid: jsmith
OID 0.9.2342.19200300.100.1.1
Syntax DirectoryString
5.2.342. uidNumber
The uidNumber attribute contains a unique numeric identifier for a user entry. This is
analogous to the user number in Unix.
uidNumber: 120
NOTE
OID 1.3.6.1.1.1.1.0
Syntax Integer
5.2.343. uniqueIdentifier
This attribute identifies a specific item used to distinguish between two entries when a
distinguished name has been reused. This attribute is intended to detect any instance of a
reference to a distinguished name that has been deleted. This attribute is assigned by the
server.
uniqueIdentifier:: AAAAAA==
OID 0.9.2342.19200300.100.1.44
518
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Syntax DirectoryString
5.2.344. uniqueMember
The uniqueMember attribute identifies a group of names associated with an entry where
each name was given a uniqueIdentifier to ensure its uniqueness. A value for the
uniqueMember attribute is a DN followed by theuniqueIdentifier.
OID 2.5.4.50
Syntax DN
5.2.345. updatedByDocument
The updatedByDocument attribute contains the distinguished name of a document that is an
updated version of the document entry.
OID 0.9.2342.19200300.102.1.6
Syntax DN
5.2.346. updatesDocument
The updatesDocument attribute contains the distinguished name of a document for which
this document is an updated version.
OID 0.9.2342.19200300.102.1.5
Syntax DN
519
Configuration, Command, and File Reference
5.2.347. userCertificate
This attribute is stored and requested in the binary form, as userCertificate;binary.
userCertificate;binary:: AAAAAA==
OID 2.5.4.36
Syntax Binary
5.2.348. userClass
This attribute specifies a category of computer user. The semantics of this attribute are
arbitrary. The organizationalStatus attribute makes no distinction between computer
users and other types of users users and may be more applicable.
userClass: intern
OID 0.9.2342.19200300.100.1.8
Syntax DirectoryString
5.2.349. userPassword
This attribute identifies the entry's password and encryption method in the format
{encryption method}encrypted password. For example:
userPassword: {sha}FTSLQhxXpA05
OID 2.5.4.35
Syntax Binary
520
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.2.350. userPKCS12
This attribute provides a format for the exchange of personal identity information. The
attribute is stored and requested in binary form, as userPKCS12;binary. The attribute
values are PFX PDUs stored as binary data.
OID 2.16.840.1.113730.3.1.216
Syntax Binary
5.2.351. userSMIMECertificate
The userSMIMECertificate attribute contains certificates which can be used by mail
clients for S/MIME. This attribute requests and stores data in a binary format. For example:
userSMIMECertificate;binary:: AAAAAA==
OID 2.16.840.1.113730.3.1.40
Syntax Binary
5.2.352. vacationEndDate
This attribute shows the ending date of the user's vacation period.
OID 2.16.840.1.113730.3.1.708
Syntax DirectoryString
5.2.353. vacationStartDate
This attribute shows the start date of the user's vacation period.
521
Configuration, Command, and File Reference
OID 2.16.840.1.113730.3.1.707
Syntax DirectoryString
5.2.354. x121Address
The x121Address attribute contains a user's X.121 address.
OID 2.5.4.24
Syntax IA5String
5.2.355. x500UniqueIdentifier
Reserved for future use. An X.500 identifier is a binary method of identification useful for
differentiating objects when a distinguished name has been reused.
x500UniqueIdentifier:: AAAAAA==
OID 2.5.4.45
Syntax Binary
The required attributes listed for an object class must be present in the entry when that
object class is added to the directory's ldif file. If an object class has a superior object
class, both of these object classes with all required attributes must be present in the entry.
If required attributes are not listed in the ldif file, than the server will not restart.
522
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
NOTE
The LDAP RFCs and X.500 standards allow for an object class to have more
than one superior object class. This behavior is not currently supported by
Directory Server.
5.3.1. account
The account object class defines entries for computer accounts. This object class is defined
in RFC 1274.
Superior Class
top
OID
0.9.2342.19200300.100.4.5
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.2. accountpolicy
523
Configuration, Command, and File Reference
The accountpolicy object class defines entries for account inactivation or expiration
policies. This is used for a user directory configuration entry, which works in conjunction
with the Account Policy Plug-in configuration.
Superior Class
top
OID
1.3.6.1.4.1.11.1.3.2.2.1
Allowed Attributes
Attribute Definition
5.3.3. alias
The alias object class points to other directory entries. This object class is defined inRFC
2256.
NOTE
Superior Class
top
OID
2.5.6.1
Required Attributes
Attribute Definition
5.3.4. bootableDevice
The bootableDevice object class points to a device with boot parameters. This object class
is defined in RFC 2307.
524
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
NOTE
Superior Class
top
OID
1.3.6.1.1.1.2.12
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
525
Configuration, Command, and File Reference
5.3.5. cacheObject
The cacheObject is an object that contains the time to live t
( tl) attribute type. This object
class is defined in the LDAP Caching Internet Draft.
Superior Class
top
OID
1.3.6.1.4.1.250.3.18
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
ttl (TimeToLive) The time that the object remains (lives) in the
cache.
5.3.6. cosClassicDefinition
The cosClassicDefinition object class defines a class of service template entry using the
entry's DN (distinguished name), given in the cosTemplateDn attribute, and the value of
one of the target attributes, specified in the cosSpecifier attribute.
Superior Class
cosSuperDefinition
OID
2.16.840.1.113730.3.2.100
Required Attributes
Attribute Definition
Allowed Attributes
526
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.7. cosDefinition
The cosDefinition object class defines which class of service is being used; this object
class provide compatibility with the DS4.1 CoS Plug-in.
Superior Class
top
OID
2.16.840.1.113730.3.2.84
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
527
Configuration, Command, and File Reference
Attribute Definition
5.3.8. cosIndirectDefinition
The cosIndirectDefinition defines the template entry using the value of one of the
target entry's attributes. The attribute of the target entry is specified in the
cosIndirectSpecifier attribute.
Superior Class
cosSuperDefinition
OID
2.16.840.1.113730.3.2.102
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
528
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.3.9. cosPointerDefinition
This object class identifies the template entry associated with the CoS definition using the
template entry's DN value. The DN of the template entry is specified in the
cosIndirectSpecifier attribute.
Superior Class
cosSuperDefinition
OID
2.16.840.1.113730.3.2.101
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.10. cosSuperDefinition
All CoS definition object classes inherit from the cosSuperDefinition object class.
Superior Class
LDAPsubentry
OID
2.16.840.1.113730.3.2.99
Required Attributes
529
Configuration, Command, and File Reference
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.11. cosTemplate
The cosTemplate object class contains a list of the shared attribute values for the CoS.
Superior Class
top
OID
2.16.840.1.113730.3.2.128
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.12. country
530
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
The country object class defines entries which represent countries. This object class is
defined in RFC 2256.
Superior Class
top
OID
2.5.6.2
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.13. dcObject
The dcObject object class allows domain components to be defined for an entry. This
object class is defined as auxiliary because it is commonly used in combination with
another object class, such as o (organization), ou (organizationalUnit), or l (locality).
For example:
dn: dc=example,dc=com
objectClass: top
objectClass: organizationalUnit
objectClass: dcObject
dc: example
ou: Example Corporation
Superior Class
top
OID
531
Configuration, Command, and File Reference
1.3.6.1.4.1.1466.344
Required Attributes
Attribute Definition
5.3.14. device
The device object class stores information about network devices, such as printers, in the
directory. This object class is defined in RFC 2247.
Superior Class
top
OID
2.5.6.14
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
532
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.15. document
The document object class defines directory entries that represent documents.RFC 1247.
Superior Class
top
OID
0.9.2342.19200300.100.4.6
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
533
Configuration, Command, and File Reference
Attribute Definition
documentStore
534
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.16. documentSeries
The documentSeries object class defines an entry that represents a series of documents.
This object class is defined in RFC 1274.
Superior Class
top
OID
0.9.2342.19200300.100.4.9
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
535
Configuration, Command, and File Reference
Attribute Definition
5.3.17. domain
The domain object class defines directory entries that represent DNS domains. Use thedc
(domainComponent) attribute to name entries of this object class.
This object class is also used for Internet domain names, such as example.com.
The domain object class can only be used for a directory entry which doesnot correspond
to an organization, organizational unit, or any other object which has an object class
defined for it. object for which an object class has been defined.
Superior Class
top
OID
0.9.2342.19200300.100.4.13
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
536
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
537
Configuration, Command, and File Reference
Attribute Definition
5.3.18. domainRelatedObject
The domainRelatedObject object class defines entries that represent DNS or NRS domains
which are equivalent to an X.500 domain, such as an organization or organizational unit.
Superior Class
top
OID
0.9.2342.19200300.100.4.17
Required Attributes
Attribute Definition
5.3.19. dSA
The dSA object class defines entries that represent DSAs.
Superior Class
top
OID
538
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
2.5.6.13
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
knowledgeInformation
5.3.20. extensibleObject
When present in an entry, extensibleObject permits the entry to hold optionally any
attribute. The allowed attribute list of this class is implicitly the set of all attributes known to
the server.
Superior Class
top
OID
1.3.6.1.4.1.1466.101.120.111
539
Configuration, Command, and File Reference
Required Attributes
Attribute Definition
Allowed Attributes
All attributes known to the server.
5.3.21. friendlyCountry
The friendlyCountry object class defines country entries within the directory. This object
class allows more friendly names than the country object class.
Superior Class
top
OID
0.9.2342.19200300.100.4.18
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.22. groupOfCertificates
540
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
The groupOfCertificates object class describes a set of X.509 certificates. Any certificate
that matches one of the memberCertificateDescription values is considered a member of
the group.
Superior Class
top
OID
2.16.840.1.113730.3.2.31
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.23. groupOfMailEnhancedUniqueNames
The groupOfMailEnhancedUniqueNames object class is used for a mail group which must
have unique members. This object class is defined for Netscape Messaging Server.
Superior Class
top
541
Configuration, Command, and File Reference
OID
2.16.840.1.113730.3.2.5
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.24. groupOfNames
The groupOfNames object class contains entries for a group of names. This object class is
defined in RFC 2256.
NOTE
The definition for this object class in Directory Server differs from the standard
definition. In the standard definition, member is a required attribute, while in
Directory Server it is an allowed attribute. Directory Server, therefore, allows a
group to have no members.
Superior Class
542
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
top
OID
2.5.6.9
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.25. groupOfUniqueNames
The groupOfUniqueNames object class defines a group which contains unique names.
NOTE
The definition for this object class in Directory Server differs from the standard
definition. In the standard definition, uniqueMember is a required attribute,
while in Directory Server it is an allowed attribute. Directory Server, therefore,
allows a group to have no members.
543
Configuration, Command, and File Reference
Superior Class
top
OID
2.5.6.17
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.26. groupOfURLs
The groupOfURLs object class is an auxiliary object class for thegroupOfUniqueNames and
groupOfNames object classes. This group consists of a list of labeled URLs.
Superior Class
top
OID
544
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
2.16.840.1.113730.3.2.33
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.27. ieee802Device
The ieee802Device object class points to a device with a MAC address. This object class is
defined in RFC 2307.
NOTE
Superior Class
top
545
Configuration, Command, and File Reference
OID
1.3.6.1.1.1.2.11
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.28. inetAdmin
The inetAdmin object class is a marker for an administrative group or user. This object
class is defined for the Netscape Delegated Administrator.
Superior Class
top
OID
2.16.840.1.113730.3.2.112
Required Attributes
546
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.29. inetDomain
The inetDomain object class is a auxiliary class for virtual domain nodes. This object class
is defined for the Netscape Delegated Administrator.
Superior Class
top
OID
2.16.840.1.113730.3.2.129
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.30. inetOrgPerson
547
Configuration, Command, and File Reference
Superior Class
person
OID
2.16.840.1.113730.3.2.2
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
548
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
549
Configuration, Command, and File Reference
Attribute Definition
550
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.31. inetSubscriber
The inetSubscriber object class is used for general user account management. This object
class is defined for the Netscape subscriber interoperability.
Superior Class
top
OID
2.16.840.1.113730.3.2.134
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.32. inetUser
The inetUser object class is an auxiliary class which must be present in an entry in order
to deliver subscriber services. This object class is defined for the Netscape subscriber
interoperability.
Superior Class
top
551
Configuration, Command, and File Reference
OID
2.16.840.1.113730.3.2.130
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.33. ipHost
The ipHost object class stores IP information about a host. This object class is defined in
RFC 2307.
NOTE
Superior Class
top
OID
1.3.6.1.1.1.2.6
Required Attributes
552
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.34. ipNetwork
The ipNetwork object class stores IP information about a network. This object class is
defined in RFC 2307.
NOTE
Superior Class
top
553
Configuration, Command, and File Reference
OID
1.3.6.1.1.1.2.7
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.35. ipProtocol
The ipProtocol object class shows the IP protocol version. This object class is defined in
RFC 2307.
NOTE
Superior Class
top
OID
1.3.6.1.1.1.2.4
Required Attributes
554
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.36. ipService
The ipService object class stores information about the IP service. This object class is
defined in RFC 2307.
NOTE
Superior Class
top
OID
1.3.6.1.1.1.2.3
Required Attributes
Attribute Definition
Allowed Attributes
555
Configuration, Command, and File Reference
Attribute Definition
5.3.37. labeledURIObject
This object class can be added to existing directory objects to allow URI values to be
included. Using this object class does not preclude including the labeledURI attribute type
directly in other object classes as appropriate.
Superior Class
top
OID
1.3.6.1.4.1.250.3.15
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.38. locality
The locality object class defines entries that represent localities or geographic areas.
Superior Class
top
OID
2.5.6.3
Required Attributes
556
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.39. mailGroup
The mailGroup object class defines the mail attributes for a group. This object is defined in
the schema for the Netscape Messaging Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.4
Required Attributes
Attribute Definition
Allowed Attributes
557
Configuration, Command, and File Reference
Attribute Definition
5.3.40. mailRecipient
The mailRecipient object class defines a mail account for a user. This object is defined in
the schema for the Netscape Messaging Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.3
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
558
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.41. mepManagedEntry
The mepManagedEntry object class identifies an entry which was been generated by an
instance of the Managed Entries Plug-in. This object class is defined in Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.319
Allowed Attributes
559
Configuration, Command, and File Reference
Attribute Definition
5.3.42. mepOriginEntry
The mepOriginEntry object class identifies an entry which is within a subtree that is
monitored by an instance of the Managed Entries Plug-in and which has had a managed
entry created by the plug-in, for which this is the originating entry. This object class is
defined in Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.320
Allowed Attributes
Attribute Definition
5.3.43. mepTemplateEntry
The mepTemplateEntry object class identifies an entry which is used as a template by an
instance of the Managed Entries Plug-in to create the managed entries. This object class is
defined in Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.321
Allowed Attributes
Attribute Definition
560
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.44. netscapeCertificateServer
The netscapeCertificateServer object class stores information about a Netscape
certificate server. This object is defined in the schema for the Netscape Certificate
Management System.
Superior Class
top
OID
2.16.840.1.113730.3.2.18
Required Attributes
Attribute Definition
5.3.45. netscapeDirectoryServer
The netscapeDirectoryServer object class stores information about a Directory Server
instance. This object is defined in the schema for the Netscape Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.23
Required Attributes
Attribute Definition
561
Configuration, Command, and File Reference
5.3.46. NetscapeLinkedOrganization
NetscapeLinkedOrganization is an auxiliary object class. This object is defined in the
schema for the Netscape server suite.
Superior Class
top
OID
1.3.6.1.4.1.1466.101.120.141
Allowed Attributes
Attribute Definition
5.3.47. netscapeMachineData
The netscapeMachineData object class distinguishes between machine data and non-
machine data. This object is defined in the schema for the Netscape Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.32
5.3.48. NetscapePreferences
NetscapePreferences is an auxiliary object class which stores the user preferences. This
object is defined by Netscape.
Superior Class
top
OID
1.3.6.1.4.1.1466.101.120.142
Required Attributes
Attribute Definition
562
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.49. netscapeReversiblePasswordObject
netscapeReversiblePasswordObject is an auxiliary object class to store a password. This
object is defined in the schema for the Netscape Web Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.154
Allowed Attributes
Attribute Definition
5.3.50. netscapeServer
The netscapeServer object class contains instance-specific information about a Netscape
server and its installation.
Superior Class
top
OID
2.16.840.1.113730.3.2.10
Required Attributes
Attribute Definition
Allowed Attributes
563
Configuration, Command, and File Reference
Attribute Definition
5.3.51. netscapeWebServer
The netscapeWebServer object class identifies an installed Netscape Web Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.29
Required Attributes
Attribute Definition
Allowed Attributes
564
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.52. newPilotPerson
The newPilotPerson object class is a subclass of the person to allow additional attributes
to be assigned to entries of the person object class. This object class inherits thecn
(commonName) and sn (surname) attributes from the person object class.
Superior Class
person
OID
0.9.2342.19200300.100.4.4
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
565
Configuration, Command, and File Reference
Attribute Definition
566
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.3.53. nisMap
This object class points to a NIS map.
This object class is defined in RFC 2307, which defines object classes and attributes to use
LDAP as a network information service.
NOTE
Superior Class
top
OID
1.3.6.1.1.1.2.13
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.54. nisNetgroup
This object class contains a netgroup used within a NIS domain. Adding this object class
allows administrators to use netgroups to control login and service authentication in NIS.
This object class is defined in RFC 2307, which defines object classes and attributes to use
LDAP as a network information service.
NOTE
567
Configuration, Command, and File Reference
Superior Class
top
OID
1.3.6.1.1.1.2.8
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.55. nisObject
This object class contains information about an object in a NIS domain.
This object class is defined in RFC 2307, which defines object classes and attributes to use
LDAP as a network information service.
NOTE
Superior Class
top
OID
1.3.6.1.1.1.2.10
Required Attributes
568
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.56. nsAdminConfig
This object class stores the configuration parameters for the Administration Server. This
object is defined for the Administration Services.
Superior Class
nsConfig
OID
nsAdminConfig-oid
Allowed Attributes
Attribute Definition
569
Configuration, Command, and File Reference
Attribute Definition
5.3.57. nsAdminConsoleUser
This object class stores the configuration parameters for the Administration Server. This
object is defined for the Administration Services.
Superior Class
top
OID
nsAdminConsoleUser-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.58. nsAdminDomain
This object class stores user information to access Admin Console. This object is defined for
the Administration Services.
Superior Class
organizationalUnit
OID
nsAdminDomain-oid
Allowed Attributes
570
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.59. nsAdminGlobalParameters
This object class stores the configuration parameters for the Administration Server. This
object is defined for the Administration Services.
Superior Class
top
OID
nsAdminGlobalParameters-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.60. nsAdminGroup
This object class stores group information for administrator users in the
Administration Server. This object is defined for the Administration Services.
Superior Class
top
OID
nsAdminGroup-oid
Required Attributes
571
Configuration, Command, and File Reference
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.61. nsAdminObject
This object class contains information about an object used by Administration Server, such
as a task. This object is defined for the Administration Services.
Superior Class
top
OID
nsAdminObject-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
572
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.62. nsAdminResourceEditorExtension
This object class contains an extension used by the Console Resource Editor. This object is
defined for the Administration Services.
Superior Class
nsAdminObject
OID
nsAdminResourceEditorExtension-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.63. nsAdminServer
This object class defines the Administration Server instance. This object is defined for the
Administration Services.
Superior Class
top
OID
573
Configuration, Command, and File Reference
nsAdminServer-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.64. nsAIMpresence
nsAIMpresence is an auxiliary object class which defines the status of an AOL instance
messaging account. This object is defined for the Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.300
Allowed Attributes
Attribute Definition
5.3.65. nsApplication
nsApplication defines an application or server entry. This is defined by Netscape.
Superior Class
top
574
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
OID
nsApplication-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
575
Configuration, Command, and File Reference
Attribute Definition
5.3.66. nsCertificateServer
The nsCertificateServer object class stores information about a Red Hat Certificate
System instance. This object is defined in the schema for the Certificate System.
Superior Class
top
OID
nsCertificateServer-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.67. nsComplexRoleDefinition
Any role that is not a simple role is, by definition, a complex role.
576
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Superior Class
nsRoleDefinition
OID
2.16.840.1.113730.3.2.95
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.68. nsContainer
Some entries do not define any specific entity, but they create a defined space within the
directory tree as a parent entry for similar or related child entries. These are container
entries, and they are identified by thensContainer object class.
Superior Class
top
OID
2.16.840.1.113730.3.2.104
Required Attributes
Attribute Definition
5.3.69. nsCustomView
The nsCustomView object class defines information about custom views of the
Directory Server data in the Directory Server Console. This is defined for Administration
Services.
Superior Class
577
Configuration, Command, and File Reference
nsAdminObject
OID
nsCustomView-oid
Allowed Attributes
Attribute Definition
5.3.70. nsDefaultObjectClasses
nsDefaultObjectClasses sets default object classes to use when creating a new object of
a certain type within the directory. This is defined for Administration Services.
Superior Class
top
OID
nsDefaultObjectClasses-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.71. nsDirectoryInfo
nsDirectoryInfo contains information about a directory instance. This is defined for
Administration Services.
Superior Class
top
OID
nsDirectoryInfo-oid
578
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.72. nsDirectoryServer
nsDirectoryServer is the defining object class for a Directory Server instance. This is
defined for the Directory Server.
Superior Class
top
OID
nsDirectoryServer-oid
Required Attributes
Attribute Definition
579
Configuration, Command, and File Reference
Allowed Attributes
Attribute Definition
5.3.73. nsFilteredRoleDefinition
The nsFilteredRoleDefinition object class defines how entries are assigned to the role,
depending upon the attributes contained by each entry.
Superior Class
nsComplexRoleDefinition
OID
2.16.840.1.113730.3.2.97
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
580
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.74. nsGlobalParameters
The nsGlobalParameters object class contains global preference settings.
Superior Class
top
OID
nsGlobalParameters-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.75. nsHost
The nsHost object class stores information about the server host.
581
Configuration, Command, and File Reference
Superior Class
top
OID
nsHost-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.76. nsICQpresence
nsICQpresence is an auxiliary object class which defines the status of an ICQ messaging
account. This object is defined for the Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.301
582
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Allowed Attributes
Attribute Definition
5.3.77. nsLicenseUser
The nsLicenseUser object class tracks tracks licenses for servers that are licensed on a
per-client basis. nsLicenseUser is intended to be used with theinetOrgPerson object
class. You can manage the contents of this object class through the Users and Groups
area of the Administration Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.7
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.78. nsManagedRoleDefinition
The nsManagedRoleDefinition object class specifies the member assignments of a role to
an explicit, enumerated list of members.
583
Configuration, Command, and File Reference
Superior Class
nsComplexRoleDefinition
OID
2.16.840.1.113730.3.2.96
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.79. nsMessagingServerUser
nsICQpresence is an auxiliary object class that describes a messaging server user. This
object class is defined for Netscape Messaging Server.
Superior Class
top
OID
2.16.840.113730.3.2.37
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
584
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.80. nsMSNpresence
nsMSNpresence is an auxiliary object class which defines the status of an MSN instance
messaging account. This object is defined for the Directory Server.
Superior Class
top
OID
585
Configuration, Command, and File Reference
2.16.840.1.113730.3.2.303
Allowed Attributes
Attribute Definition
5.3.81. nsNestedRoleDefinition
The nsNestedRoleDefinition object class specifies one or more roles, of any type, are
included as members within the role.
Superior Class
nsComplexRoleDefinition
OID
2.16.840.1.113730.3.2.98
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.82. nsResourceRef
The nsNestedRoleDefinition object class configures a resource reference.
Superior Class
top
OID
nsResourceRef-oid
586
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.83. nsRoleDefinition
All role definition object classes inherit from the nsRoleDefinition object class.
Superior Class
LDAPsubentry
OID
2.16.840.1.113730.3.2.93
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.84. nsSimpleRoleDefinition
Roles containing this object class are called simple roles because they have a deliberately
limited flexibility, which makes it easy to:
587
Configuration, Command, and File Reference
Superior Class
nsRoleDefinition
OID
2.16.840.1.113730.3.2.94
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.85. nsSNMP
This object class defines the configuration for the SNMP plug-in object used by the
Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.41
Required Attributes
Attribute Definition
588
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.86. nsTask
This object class defines the configuration for tasks performed by the Directory Server.
Superior Class
top
OID
nsTask-oid
Required Attributes
Attribute Definition
589
Configuration, Command, and File Reference
Allowed Attributes
Attribute Definition
5.3.87. nsTaskGroup
This object class defines the information for a group of tasks in the Console.
Superior Class
top
OID
nsTaskGroup-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.88. nsTopologyCustomView
This object class configures the topology views used for the profile in the Console.
590
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Superior Class
nsCustomView
OID
nsTopologyCustomView-oid
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.89. nsTopologyPlugin
This object class configures the topology plug-in used to set views in the Console.
Superior Class
nsAdminObject
OID
nsTopologyPlugin-oid
5.3.90. nsValueItem
This object class defines a value item object configuration, which is used to specify
information that is dependent on the value type of an entry. A value item relates to the
allowed attribute value syntax for an entry attribute, such as binary or case-sensitive
string.
Superior Class
top
OID
2.16.840.1.113730.3.2.45
Required Attributes
591
Configuration, Command, and File Reference
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.91. nsView
This object class is used for a view entry in the directory tree.
592
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Superior Class
top
OID
2.16.840.1.113730.3.2.304
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.92. nsYIMpresence
nsYIMpresence is an auxiliary object class which defines the status of a Yahoo instance
messaging account. This object is defined for the Directory Server.
Superior Class
top
OID
2.16.840.1.113730.3.2.302
Allowed Attributes
Attribute Definition
593
Configuration, Command, and File Reference
5.3.93. ntGroup
The ntGroup object class holds data for a group entry stored in a Windows Active Directory
server. Several Directory Server attributes correspond directly to or are mapped to match
Windows group attributes. When you create a new group in the Directory Server that is to
be synchronized with a Windows server group, Directory Server attributes are assigned to
the Windows entry. These attributes may then be added, modified, or deleted in the entry
through either directory service.
Superior Class
top
OID
2.16.840.1.113730.3.2.9
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
594
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.94. ntUser
The ntUser entry holds data for a user entry stored in a Windows Active Directory server.
Several Directory Server attributes correspond directly to or are mapped to match Windows
user account fields. When you create a new person entry in the Directory Server that is to
be synchronized with a Windows server, Directory Server attributes are assigned to
Windows user account fields. These attributes may then be added, modified, or deleted in
the entry through either directory service.
Superior Class
top
OID
2.16.840.1.113730.3.2.8
Required Attributes
Attribute Definition
595
Configuration, Command, and File Reference
Attribute Definition
Allowed Attributes
Attribute Definition
596
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
597
Configuration, Command, and File Reference
Attribute Definition
5.3.95. oncRpc
The oncRpc object class defines an abstraction of an Open Network Computing Remote
Procedure Call (ONC RPC). This object class is defined in RFC 2307.
NOTE
Superior Class
top
OID
1.3.6.1.1.1.2.5
Required Attributes
Attribute Definition
598
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.96. organization
The organization attributes defines entries that represent organizations. An organization
is generally assumed to be a large, relatively static grouping within a larger corporation or
enterprise.
Superior Class
top
OID
2.5.6.4
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
599
Configuration, Command, and File Reference
Attribute Definition
600
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.97. organizationalPerson
The organizationalPerson object class defines entries for people employed or affiliated
with the organization. This object class inherits the cn (commonName) and sn (surname)
attributes from the person object class.
Superior Class
person
OID
2.5.6.7
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
601
Configuration, Command, and File Reference
Attribute Definition
602
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
5.3.98. organizationalRole
The organizationalRole object class is used to define entries for roles held by people
within an organization.
Superior Class
top
OID
2.5.6.8
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
603
Configuration, Command, and File Reference
Attribute Definition
5.3.99. organizationalUnit
The organizationalUnit object class defines entries that representorganizational units,
generally understood to be a relatively static grouping within a larger organization.
Superior Class
top
OID
2.5.6.5
Required Attributes
604
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
Allowed Attributes
Attribute Definition
605
Configuration, Command, and File Reference
Attribute Definition
5.3.100. person
The person object class represents entries for generic people. This is the base object class
for the organizationalPerson object class.
Superior Class
top
OID
2.5.6.6
Required Attributes
Attribute Definition
Allowed Attributes
606
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.101. pilotObject
The pilotObject is a subclass to allow additional attributes to be assigned to entries of all
other object classes.
Superior Class
top
OID
0.9.2342.19200300.100.4.3
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
607
Configuration, Command, and File Reference
Attribute Definition
5.3.102. pilotOrganization
The pilotOrganization object class is a subclass used to add attributes toorganization
and organizationalUnit object class entries.
Superior Class
top
OID
0.9.2342.19200300.100.4.20
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
608
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
609
Configuration, Command, and File Reference
Attribute Definition
5.3.103. pkiCA
The pkiCA auxiliary object class contains required or available certificates that are
configured for a certificate authority. This object class is defined in RFC 4523, which defines
object classes and attributes for LDAP to use to manage X.509 certificates and related
certificate services.
Superior Class
top
OID
2.5.6.22
Allowed Attributes
Attribute Definition
5.3.104. pkiUser
The pkiUser auxiliary object class contains required certificates for a user or client that
connects to a certificate authority or element in the public key infrastructure. This object
class is defined in RFC 4523, which defines object classes and attributes for LDAP to use to
manage X.509 certificates and related certificate services.
Superior Class
top
OID
610
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
2.5.6.21
Allowed Attributes
Attribute Definition
5.3.105. posixAccount
The posixAccount object class defines network accounts which use POSIX attributes. This
object class is defined in RFC 2307, which defines object classes and attributes to use LDAP
as a network information service.
NOTE
Superior Class
top
OID
1.3.6.1.1.1.2.0
Required Attributes
Attribute Definition
Allowed Attributes
611
Configuration, Command, and File Reference
Attribute Definition
5.3.106. posixGroup
The posixGroup object class defines a group of network accounts which use POSIX
attributes. This object class is defined in RFC 2307, which defines object classes and
attributes to use LDAP as a network information service.
Superior Class
top
OID
1.3.6.1.1.1.2.2
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
612
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.107. referral
The referral object class defines an object which supports LDAPv3 smart referrals. This
object class is defined in LDAPv3 referrals Internet Draft.
Superior Class
top
OID
2.16.840.1.113730.3.2.6
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
5.3.108. residentialPerson
The residentialPerson object class manages a person's residential information.
Superior Class
top
OID
2.5.6.10
Required Attributes
Attribute Definition
613
Configuration, Command, and File Reference
Attribute Definition
Allowed Attributes
Attribute Definition
614
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.109. RFC822LocalPart
The RFC822LocalPart object class defines entries that represent the local part of RFC 822
mail addresses. The directory treats this part of an RFC822 address as a domain.
Superior Class
domain
OID
0.9.2342.19200300.100.4.14
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
615
Configuration, Command, and File Reference
Attribute Definition
616
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.110. room
The room object class stores information in the directory about rooms.
Superior Class
top
OID
0.9.2342.19200300.100.4.7
Required Attributes
Attribute Definition
Allowed Attributes
617
Configuration, Command, and File Reference
Attribute Definition
5.3.111. shadowAccount
The shadowAccount object class allows the LDAP directory to be used as a shadow
password service. Shadow password services relocate the password files on a host to a
shadow file with tightly restricted access.
This object class is defined in RFC 2307, which defines object classes and attributes to use
LDAP as a network information service.
NOTE
Superior Class
top
OID
1.3.6.1.1.1.2.1
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
618
CHAPTER 5. DIRECTORY ENTRY SCHEMA REFERENCE
Attribute Definition
5.3.112. simpleSecurityObject
The simpleSecurityObject object class allow an entry to contain theuserPassword
attribute when an entry's principal object classes do not allow a password attribute.
Reserved for future use.
Superior Class
top
OID
0.9.2342.19200300.100.4.19
Required Attributes
Attribute Definition
619
Configuration, Command, and File Reference
5.3.113. strongAuthenticationUser
The strongAuthenticationUser object class stores a user's certificate in the directory.
Superior Class
top
OID
2.5.6.15
Required Attributes
Attribute Definition
620
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
Operational attributes are created and managed by Directory Server on entries, such as the
time the entry is created or modified and the creator's name. These attributes can be set
on any entry, regardless of other attributes or object classes on the entry.
6.1. ACCOUNTUNLOCKTIME
This refers to the amount of time that must pass after an account lockout before the user
can bind to the directory again.
OID 2.16.840.1.113730.3.1.95
Syntax DirectoryString
6.2. ACI
This attribute is used by the Directory Server to evaluate what rights are granted or denied
when it receives an LDAP request from a client.
OID 2.16.840.1.113730.3.1.55
Syntax IA5String
6.3. ALTSERVER
The values of this attribute are URLs of other servers which may be contacted when this
server becomes unavailable. If the server does not know of any other servers which could
be used, this attribute is absent. This information can be cached in case the preferred LDAP
server later becomes unavailable.
OID 1.3.6.1.4.1.1466.101.120.6
621
Configuration, Command, and File Reference
Syntax IA5String
6.4. CREATETIMESTAMP
This attribute contains the date and time that the entry was initially created.
OID 2.5.18.1
Syntax GeneralizedTime
6.5. CREATORSNAME
This attribute contains the name of the user which created the entry.
OID 2.5.18.3
Syntax DN
6.6. DITCONTENTRULES
This attribute defines the DIT content rules which are in force within a subschema. Each
value defines one DIT content rule. Each value is tagged by the object identifier of the
structural object class to which it pertains.
OID 2.5.21.2
Syntax DirectoryString
622
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
6.7. DITSTRUCTURERULES
This attribute defines the DIT structure rules which are in force within a subschema. Each
value defines one DIT structure rule.
OID 2.5.21.1
Syntax DirectoryString
6.8. ENTRYUSN
When the USN Plug-in is enabled, the server automatically assigns an update sequence
number to entries every time a write operation (add, modify, modrdn, or delete) is
performed. The USN is stored in the entryUSN operational attribute on the entry; the
entryUSN, then, shows the number for the most recent change on any entry.
NOTE
By default, the entryUSN is unique per back end database instance, so entries in other
databases may have the same USN. The nsslapd-entryusn-global parameter changes
the assignment of USNs from local to global, that is, from being counted on a single
database to being counted for all databases in the topology. The parameter is turned off by
default.
A corresponding entry, lastusn, is kept in the root DSE entry, which shows the most
recently- assigned USN. In local mode, lastusn shows the most recently- assigned USN per
back end database. In global mode, lastusn shows the most recently assigned USN for the
entire topology.
OID 2.16.840.1.113730.3.1.606
Syntax Integer
6.9. INTERNALCREATORSNAME
For entries which were created by a plug-in or by the server, rather than a Directory Server
user, this attribute records what internal user (by plug-in DN) created the entry.
623
Configuration, Command, and File Reference
The internalCreatorsname attributes always show a plug-in as the identity. This plug-in
could be an additional plug-in, such as the MemberOf Plug-in. If the change is made by the
core Directory Server, then the plug-in is the database plug-in, cn=ldbm
database,cn=plugins,cn=config.
OID 2.16.840.1.113730.3.1.2114
Syntax DN
6.10. INTERNALMODIFIERSNAME
If an entry is edited by a plug-in or by the server, rather than a Directory Server user, this
attribute records what internal user (by plug-in DN) modified the entry.
The internalModifiersname attributes always show a plug-in as the identity. This plug-in
could be an additional plug-in, such as the MemberOf Plug-in. If the change is made by the
core Directory Server, then the plug-in is the database plug-in, cn=ldbm
database,cn=plugins,cn=config.
OID 2.16.840.1.113730.3.1.2113
Syntax DN
6.11. HASSUBORDINATES
This attribute indicates whether the entry has subordinate entries.
OID 1.3.6.1.4.1.1466.115.121.1.7
Syntax Boolean
6.12. LASTLOGINTIME
The lastLoginTime attribute contains a timestamp of the last time that the given account
authenticated to the directory, in the format YYYMMDDHHMMSSZ. For example:
624
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
lastLoginTime: 20190527001051Z
OID 2.16.840.1.113719.1.1.4.1.35
Syntax GeneralizedTime
6.13. LASTMODIFIEDBY
The lastModifiedBy attribute contains the distinguished name (DN) of the user who last
edited the entry. For example:
OID 0.9.2342.19200300.100.1.24
Syntax DN
6.14. LASTMODIFIEDTIME
The lastModifiedTime attribute contains the time, in UTC format, an entry was last
modified. For example:
OID 0.9.2342.19200300.100.1.23
Syntax DirectyString
6.15. LDAPSUBENTRY
These entries hold operational data. This object class is defined in the LDAP Subentry
Internet Draft.
625
Configuration, Command, and File Reference
Superior Class
top
OID
2.16.840.1.113719.2.142.6.1.1
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
6.16. LDAPSYNTAXES
This attribute identifies the syntaxes implemented, with each value corresponding to one
syntax.
OID 1.3.6.1.4.1.1466.101.120.16
Syntax DirectoryString
6.17. MATCHINGRULES
This attribute defines the matching rules used within a subschema. Each value defines one
matching rule.
OID 2.5.21.4
Syntax DirectoryString
626
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
6.18. MATCHINGRULEUSE
This attribute indicates the attribute types to which a matching rule applies in a
subschema.
OID 2.5.21.8
Syntax DirectoryString
6.19. MODIFYTIMESTAMP
This attribute contains the date and time that the entry was most recently modified.
OID 2.5.18.2
Syntax GeneralizedTime
6.20. MODIFIERSNAME
This attribute contains the name of the user which last modified the entry.
OID 2.5.18.4
Syntax DN
6.21. NAMEFORMS
This attribute defines the name forms used in a subschema. Each value defines one name
form.
OID 2.5.21.7
Syntax DirectoryString
627
Configuration, Command, and File Reference
6.22. NSACCOUNTLOCK
This attribute shows whether the account is active or inactive.
OID 2.16.840.1.113730.3.1.610
Syntax DirectoryString
6.23. NSAIMSTATUSGRAPHIC
This attribute contains a path pointing to the graphic which illustrates the AIM user status.
OID 2.16.840.1.113730.3.1.2018
Syntax DirectoryString
6.24. NSAIMSTATUSTEXT
This attribute contains the text which indicates the current AIM user status.
OID 2.16.840.1.113730.3.1.2017
Syntax DirectoryString
6.25. NSBACKENDSUFFIX
This contains the suffix used by the back end.
628
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
OID 2.16.840.1.113730.3.1.803
Syntax DirectoryString
6.26. NSCPENTRYDN
This attribute contains the (former) entry DN for a tombstone entry.
OID 2.16.840.1.113730.3.1.545
Syntax DN
6.27. NSDS5REPLCONFLICT
This attribute is included on entries that have a change conflict that cannot be resolved
automatically by the synchronization or replication process. The value of the
nsDS5ReplConflict contains information about which entries are in conflict, usually by
referring to them by their nsUniqueID for both current entries and tombstone entries.
OID 2.16.840.1.113730.3.1.973
Syntax DirectoryString
6.28. NSICQSTATUSGRAPHIC
This attribute contains a path pointing to the graphic which illustrates the ICQ user status.
OID 2.16.840.1.113730.3.1.2022
Syntax DirectoryString
629
Configuration, Command, and File Reference
6.29. NSICQSTATUSTEXT
This attribute contains the text for the current ICQ user status.
OID 2.16.840.1.113730.3.1.2021
Syntax DirectoryString
6.30. NSIDLETIMEOUT
This attribute identifies the user-based connection idle timeout period, in seconds.
OID 2.16.840.1.113730.3.1.573
Syntax Integer
6.31. NSIDLISTSCANLIMIT
This attribute specifies the number of entry IDs that are searched during a search
operation. Keep the default value to improve search performance. For a more detailed
explanation of the effect of ID lists on search performance, see the "Overview of the
Searching Algorithm" section of the "Managing Indexes" chapter in the Red Hat
Directory Server Administration Guide.
OID 2.16.840.1.113730.3.1.2106
Syntax Integer
6.32. NSLOOKTHROUGHLIMIT
630
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
This attribute sets the maximum number of entries for that user through which the server is
allowed to look during a search operation. This attribute is configured in the server itself
and applied to a user when he initiates a search.
OID 2.16.840.1.113730.3.1.570
Syntax Integer
6.33. NSPAGEDIDLISTSCANLIMIT
This attribute specifies the number of entry IDs that are searched, specifically, for a search
operation using the simple paged results control. This attribute works the same as the
nsIDListScanLimit attribute, except that it only applies to searches with the simple
paged results control.
If this attribute is not present or is set to zero, then the nsIDListScanLimit is used to
paged searches as well as non-paged searches.
OID 2.16.840.1.113730.3.1.2109
Syntax Integer
6.34. NSPAGEDLOOKTHROUGHLIMIT
This attribute specifies the maximum number of entries that the Directory Server will check
when examining candidate entries for a search which uses the simple paged results
control. This attribute works the same as the nsLookThroughLimit attribute, except that it
only applies to searches with the simple paged results control.
If this attribute is not present or is set to zero, then the nsLookThroughLimit is used to
paged searches as well as non-paged searches.
OID 2.16.840.1.113730.3.1.2108
Syntax Integer
631
Configuration, Command, and File Reference
6.35. NSPAGEDSIZELIMIT
This attribute sets the maximum number of entries to return from a search operation
specifically which uses the simple paged results control. This overrides the nsSizeLimit
attribute for paged searches.
If this value is set to zero, then the nsSizeLimit attribute is used for paged searches as
well as non-paged searches for the user, or the global configuration settings are used.
OID 2.16.840.1.113730.3.1.2107
Syntax Integer
6.36. NSPARENTUNIQUEID
For tombstone (deleted) entries stored in replication, the nsParentUniqueId attribute
contains the DN or entry ID for the parent of the original entry.
OID 2.16.840.1.113730.3.1.544
Syntax DirectoryString
6.37. NSROLE
This attribute is a computed attribute that is not stored with the entry itself. It identifies to
which roles an entry belongs.
OID 2.16.840.1.113730.3.1.574
Syntax DN
6.38. NSROLEDN
632
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
This attribute contains the distinguished name of all roles that apply to an entry.
Membership of a managed role is granted upon an entry by adding the role’s DN to the
entry’s nsRoleDN attribute. For example:
dn: cn=staff,ou=employees,dc=example,dc=com
objectclass: LDAPsubentry
objectclass: nsRoleDefinition
objectclass: nsSimpleRoleDefinition
objectclass: nsManagedRoleDefinition
dn: cn=userA,ou=users,ou=employees,dc=example,dc=com
objectclass: top
objectclass: person
sn: uA
userpassword: secret
nsroledn: cn=staff,ou=employees,dc=example,dc=com
A nested role specifies containment of one or more roles of any type. In that case,
nsRoleDN defines the DN of the contained roles. For example:
dn: cn=everybody,ou=employees,dc=example,dc=com
objectclass: LDAPsubentry
objectclass: nsRoleDefinition
objectclass: nsComplexRoleDefinition
objectclass: nsNestedRoleDefinition
nsroledn: cn=manager,ou=employees,dc=example,dc=com
nsroledn: cn=staff,ou=employees,dc=example,dc=com
OID 2.16.840.1.113730.3.1.575
Syntax DN
6.39. NSROLEFILTER
This attribute sets the filter identifies entries which belong to the role.
OID 2.16.840.1.113730.3.1.576
Syntax IA5String
6.40. NSSCHEMACSN
633
Configuration, Command, and File Reference
OID 2.5.21.82.16.840.1.113730.3.1.804
Syntax DirectoryString
6.41. NSSIZELIMIT
This attribute shows the default size limit for a database or database link in bytes.
OID 2.16.840.1.113730.3.1.571
Syntax Integer
6.42. NSTIMELIMIT
This attribute shows the default search time limit for a database or database link.
OID 2.16.840.1.113730.3.1.572
Syntax Integer
Superior Class
top
OID
634
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
2.16.840.1.113730.3.2.113
Required Attributes
Attribute Definition
Allowed Attributes
Attribute Definition
6.44. NSUNIQUEID
This attribute identifies or assigns a unique ID to a server entry.
OID 2.16.840.1.113730.3.1.542
Syntax DirectoryString
6.45. NSYIMSTATUSGRAPHIC
This attribute contains a path pointing to the graphic which illustrates the Yahoo IM user
status.
OID 2.16.840.1.113730.3.1.2020
Syntax DirectoryString
6.46. NSYIMSTATUSTEXT
635
Configuration, Command, and File Reference
This attribute contains the text for the current Yahoo IM user status.
OID 2.16.840.1.113730.3.1.2019
Syntax DirectoryString
6.47. NUMSUBORDINATES
This attribute indicates now many immediate subordinates an entry has. For example,
numSubordinates=0 in a leaf entry.
OID 1.3.1.1.4.1.453.16.2.103
Syntax Integer
6.48. PASSWORDGRACEUSERTIME
This attribute counts the number of attempts the user has made with the expired password.
OID 2.16.840.1.113730.3.1.998
Syntax DirectoryString
6.49. PASSWORDRETRYCOUNT
This attribute counts the number of consecutive failed attempts at entering the correct
password.
OID 2.16.840.1.113730.3.1.93
Syntax DirectoryString
636
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
6.50. PWDPOLICYSUBENTRY
This attribute value points to the entry DN of the new password policy.
OID 2.16.840.1.113730.3.1.997
Syntax DirectoryString
6.51. PWDUPDATETIME
This attribute value stores the time of the most recent password change for the account.
OID 2.16.840.1.113730.3.1.2133
Syntax GeneralizedTime
6.52. SUBSCHEMASUBENTRY
This attribute contains the DN of an entry that contains schema information. For example:
subschemaSubentry: cn=schema
OID 2.5.18.10
Syntax DN
637
Configuration, Command, and File Reference
Superior Class
top
OID
2.16.840.1.113730.3.2.30
Required Attributes
Attribute Definition
Superior Class
top
OID
2.16.840.1.113730.3.2.12
Required Attributes
Allowed Attributes
638
CHAPTER 6. OPERATIONAL ATTRIBUTES AND OBJECT CLASSES
Superior Class
top
OID
2.5.20.1
Required Attributes
Allowed Attributes
639
Configuration, Command, and File Reference
640
CHAPTER 7. LOG FILE REFERENCE
This chapter does not provide an exhaustive list of log messages. However, the information
presented in this chapter serves as a good starting point for common problems and for
better understanding the information in the access, error, and audit logs.
Logs are kept per Directory Server instances and are located in the
/var/log/dirsrv/slapd-instance directory.
Connection record, which gives the connection index and the IP address of the
client.
Bind record.
Unbind record.
Closed record.
The access logs have different levels of logging, set in the nsslapd-accesslog-level
attribute. This section provides an overview of the default access logging content, log
levels, and the content logged at different logging levels.
Section 7.1.3, “Access Log Content for Additional Access Logging Levels”
641
Configuration, Command, and File Reference
NOTE
Directory Server provides a script, logconv.pl, which can analyze access logs
to extract usage statistics and count the occurrences of significant events. For
details about this script, see Section 10.4.10, “logconv.pl (Log Converter)”.
0 = No access logging.
131072 = Precise timing of operation duration. This gives microsecond resolution for
the Elapsed Time item in the access log.
This levels are additive, so to enable several different kinds of logging, add the values of
those levels together. For example, to log internal access operations, entry access, and
referrals, set the value of nsslapd-accesslog-level to 516 (512+4).
642
CHAPTER 7. LOG FILE REFERENCE
Connection Number
Every external LDAP request is listed with an incremental connection number, in this case
conn=11, starting at conn=0 immediately after server startup.
Internal LDAP requests are not recorded in the access log by default. To activate the
logging of internal access operations, specify access logging level 4 on the nsslapd-
accesslog-level (Access Log Level) configuration attribute.
File Descriptor
Every connection from an external LDAP client to Directory Server requires a file descriptor
or socket descriptor from the operating system, in this case fd=608. fd=608 indicates that it
was file descriptor number 608 out of the total pool of available file descriptors which was
used.
643
Configuration, Command, and File Reference
Slot Number
The slot number, in this case slot=608, is a legacy part of the access log which has the
same meaning as file descriptor. Ignore this part of the access log.
Operation Number
To process a given LDAP request, Directory Server will perform the required series of
operations. For a given connection, all operation request and operation result pairs are
given incremental operation numbers beginning with op=0 to identify the distinct operations
being performed.
In Section 7.1.2, “Default Access Logging Content”, we have op=0 for the bind operation
request and result pair, then op=1 for the LDAP search request and result pair, and so on.
The entry op=-1 in the access log generally means that the LDAP request for this
connection was not issued by an external LDAP client but, instead, initiated internally.
Method Type
The method number, in this case method=128, indicates which LDAPv3 bind method was
used by the client.
0 for authentication
Version Number
The version number, in this case version=3, indicates the LDAP version number (either
LDAPv2 or LDAPv3) that the LDAP client used to communicate with the LDAP server.
Error Number
The error number, in this case err=0, provides the LDAP result code returned from the
LDAP operation performed. The LDAP error number 0 means that the operation was
successful. For a more comprehensive list of LDAP result codes, see Section 7.4, “LDAP
Result Codes”.
644
CHAPTER 7. LOG FILE REFERENCE
Tag Number
The tag number, in this case tag=97, indicates the type of result returned, which is almost
always a reflection of the type of operation performed. The tags used are the BER tags
from the LDAP protocol.
Tag Description
tag=115 Search reference when the entry on which the search was performed holds a
referral to the required entry. Search references are expressed in terms of a
referral.
NOTE
tag=100 and tag=115 are not result tags as such, and so it is unlikely that they
will be recorded in the access log.
Number of Entries
nentries shows the number of entries, in this casenentries=0, that were found matching
the LDAP client's request.
645
Configuration, Command, and File Reference
Elapsed Time
etime shows the elapsed time, in this caseetime=3, or the amount of time (in seconds)
that it took the Directory Server to perform the LDAP operation.
An etime value of 0 means that the operation actually took milliseconds to perform. To
have microsecond resolution for this item in the access log, enter a value of 131328
(256+131072) in the nsslapd-accesslog-level configuration attribute.
If the LDAP request resulted in sorting of entries, then the message SORT serialno will be
recorded in the log, followed by the number of candidate entries that were sorted. For
example:
The number enclosed in parentheses specifies the number of candidate entries that were
sorted, which in this case is 1.
RESULT
ENTRY
Search Indicators
Directory Server provides additional information on searches in the notes field of log
entries. For example:
646
CHAPTER 7. LOG FILE REFERENCE
notes=A
All candidate attributes in the filter were unindexed and a full table scan was
required. This can exceed the value set in the nsslapd-lookthroughlimit
parameter.
notes=U
The index file was not configured in the way required by the search.
To optimize future searches, add frequently searched unindexed attributes to the index.
For details, see the corresponding section in the Directory Server Administration Guide.
NOTE
Beside a single value, the notes field can have the following value combinations:
notes=P,A and notes=U,P.
647
Configuration, Command, and File Reference
VLV-Related Entries
When a search involves virtual list views (VLVs), appropriate entries are logged in the
access log file. Similar to the other entries, VLV-specific entries show the request and
response information side by side:
beforeCount:afterCount:index:contentCount
If the client uses a position-by-value VLV request, the format for the first part, the request
information would be beforeCount: afterCount: value.
targetPosition:contentCount (resultCode)
In the above example, the first part, 0:5:0210, is the VLV request information:
The beforeCount is 0.
The afterCount is 5.
Search Scope
The entry scope=n defines the scope of the search performed, andn can have a value of 0,
1, or 2.
648
CHAPTER 7. LOG FILE REFERENCE
Abandon Message
The abandon message indicates that an operation has been aborted.
649
Configuration, Command, and File Reference
nentries=0 indicates the number of entries sent before the operation was aborted,
etime=0 value indicates how much time (in seconds) had elapsed, andtargetop=1
corresponds to an operation value from a previously initiated operation (that appears
earlier in the access log).
There are two possible log ABANDON messages, depending on whether the message ID
succeeds in locating which operation was to be aborted. If the message ID succeeds in
locating the operation (the targetop) then the log will read as above. However, if the
message ID does not succeed in locating the operation or if the operation had already
finished prior to the ABANDON request being sent, then the log will read as follows:
Message ID
The message ID, in this case msgid=2, is the LDAP operation identifier, as generated by the
LDAP SDK client. The message ID may have a different value than the operation number
but identifies the same operation. The message ID is used with an ABANDON operation and
tells the user which client operation is being abandoned.
NOTE
In logging a SASL bind, the sasl method is followed by the LDAPVersion Number and the
SASL mechanism used, as shown below with the GSS-API mechanism.
650
CHAPTER 7. LOG FILE REFERENCE
NOTE
The authenticated DN (the DN used for access control decisions) is now logged
in the BIND result line as opposed to the bind request line, as was previously
the case:
For SASL binds, the DN value displayed in the bind request line is not used by
the server and, as a consequence, is not relevant. However, given that the
authenticated DN is the DN which, for SASL binds, must be used for audit
purposes, it is essential that this be clearly logged. Having this authenticated
DN logged in the bind result line avoids any confusion as to which DN is which.
In Example 7.2, “Access Log Extract with Internal Access Operations Level (Level 4)”,
access logging level 4, which logs internal operations, is enabled.
Example 7.2. Access Log Extract with Internal Access Operations Level (Level
4)
Access log level 4 enables logging for internal operations, which log search base, scope,
filter, and requested search attributes, in addition to the details of the search being
performed.
In the following example, access logging level 768 is enabled (512 + 256), which logs
access to entries and referrals. In this extract, six entries and one referral are returned in
response to the search request, which is shown on the first line.
651
Configuration, Command, and File Reference
Connection Description
The connection description, in this case conn=Internal, indicates that the connection is an
internal connection. The operation number op=-1 also indicates that the operation was
initiated internally.
Options Description
The options description (options=persistent) indicates that a persistent search is being
performed, as distinguished from a regular search operation. Persistent searches can be
used as a form of monitoring and configured to return changes to given configurations as
changes occur.
Both log levels 512 and 4 are enabled for this example, so both internal access operations
and entry access and referrals being logged.
652
CHAPTER 7. LOG FILE REFERENCE
At its simplest, the script simply parses the access log (or logs):
logconv.pl /relative/path/to/accessLog
653
Configuration, Command, and File Reference
The script can accept wildcards to parse multiple access logs, which is useful if log rotation
is used.
logconv.pl /var/log/dirsrv/slapd-instance/access*
The different options for logconv.pl are covered in the manpage and inSection 10.4.10,
“logconv.pl (Log Converter)”.
There are several different ways that logconv.pl can be used to pull general usage
information from the access logs.
At its simplest, logconv.pl prints a list of total operations, total number of connections,
counts per each operation type, counts for some extended operations like persistent
searches, and bind information.
# logconv.pl access
Restarts: 0
Total Connections: 0
Peak Concurrent Connections: 1
Total Operations: 2
Total Results: 2
Overall Performance: 100.0%
Searches: 1
Modifications: 0
Adds: 0
Compares 0
Deletes: 0
Mod RDNs: 0
Mod DNs: 0
Persistent Searches: 0
Internal Operations: 0
Entry Operations: 0
Extended Operations: 0
Abandoned Requests: 0
Smart Referrals Received: 0
VLV Operations: 0
VLV Unindexed Searches: 0
SORT Operations: 0
654
CHAPTER 7. LOG FILE REFERENCE
SSL Connections: 0
FDs Taken: 1
FDs Returned: 1
Highest FD Taken: 64
Broken Pipes: 0
Connections Reset By Peer: 0
Resource Unavailable: 0
Binds: 1
Unbinds: 1
LDAP v2 Binds: 0
LDAP v3 Binds: 1
SSL Client Binds: 0
Failed SSL Client Binds: 0
SASL Binds: 0
In addition to the summary information for operations and connections, more detailed
summary information for all of the connections to the server. This information includes
things like most common IP addresses used to connect to the server, DNs with the most
failed login attempts, total bind DNs used to access the server, and the most common error
or return codes.
Additional connection summaries are passed as a single option. For example, listing the
number of DNs used to connect to the server (b) and the total connection codes returned
by the server (c) are passed as -bc.
655
Configuration, Command, and File Reference
69 uid=jrockford,ou=peo...
55 uid=sspencer,ou=peop...
... 8< ...
The data can be limited to entries after a certain start time (-S), before a certain end time
(-E), or within a range. When start and end times are set, thelogconv.pl first prints the
time range given, then the summary for that period.
The start and end period onlys sets time limits for the data used to generate the total
summary counts. It still shows aggregated, or total, counts. To get a view of the patterns in
connections and operations to the Directory Server, it is possible to output data with counts
per minute (-M) or per second (-m). In this case, the data are printed, in time unit
increments, to a specified CSV output file.
For example:
# logconv.pl -M /home/output/statsPerMin.txt
/var/log/dirsrv/slapd-instance/access*
The -M|-m options can also be used with the-S and -E arguments, to get per-minute or
per-second counts within a specific time period.
Each row in the file represents one unit of time, either minute or second, with total counts
for that time period. The CSV file (for both per-minute and per-second statistics) contains
the following columns, in order:
Time,time_t,Results,Search,Add,Mod,Modrdn,Delete,Abandon,Connections,SSL
Conns,Bind,Anon Bind,Unbind,Unindexed
The CSV file can be manipulated in any spreadsheet program, like OpenOffice Calc, and in
656
CHAPTER 7. LOG FILE REFERENCE
many other business applications. The procedures for importing the CSV data and
generating charts or other metrics depends on the application itself.
4. Accept the defaults in the other screens (particularly, to use the data series in
columns and to set the first row and first column as labels), and create the chart.
The logging level is set in the nsslapd-errorlog-level (Error Log Level) configuration
attribute. The default log level is 16384, which included critical error messages and
standard logged messages, like LDAP results codes and startup messages. As with access
logging, error logging levels are additive. To enable both replication logging (8192) and
plug-in logging (65536), set the log level to 73728 (8192 + 65536).
657
Configuration, Command, and File Reference
NOTE
658
CHAPTER 7. LOG FILE REFERENCE
For example:
659
Configuration, Command, and File Reference
For example:
Time stamp: The format can differ depending on your local settings. If high-
resolution time stamps are enabled in the nsslapd-logging-hr-timestamps-
enabled attribute in the cn=config entry (default), the time stamp is exact to the
nanosecond.
ALERT: The server is in a critical state and possible action must be taken.
NOTICE: A normal, but significant condition occurred. For example, this is logged
for expected behavior.
DEBUG: Debug-level messages. This level is also used by default when using a
verbose logging level, such as Trace function calls (1), Access control
list processing (128), and Replication (8192). For a list of error log levels,
see Table 7.4, “Error Log Levels”.
You can use the severity levels to filter your log entries. For example, to display only
log entries using the ERR severity:
660
CHAPTER 7. LOG FILE REFERENCE
Plug-in name: If a plug-in logged the entry, this column displays the name of the
plug-in. If the server logged the entry, this column does not appear.
Message: The output that the operation or plug-in returned. This message contains
additional information, such as LDAP error codes and connection information.
Replication logging is one of the most important diagnostic levels to implement. This
logging level records all operations related to replication and Windows synchronization,
including processing modifications on a supplier and writing them to the changelog, sending
updates, and changing replication agreements.
Whenever a replication update is prepared or sent, the error log identifies the replication or
synchronization agreement being specified, the consumer host and port, and the current
replication task.
For example:
Example 7.3, “Replication Error Log Entry” shows the complete process of sending a single
entry to a consumer, from adding the entry to the changelog to releasing the consumer
after replication is complete.
661
Configuration, Command, and File Reference
6a37442d_592c0e0b000000010000.db
[29/May/2017:14:15:30.600044236 +0200] - DEBUG - NSMMReplicationPlugin -
changelog program - cl5WriteOperationTxn - Successfully written entry
with csn (592c10e2000000020000)
[29/May/2017:14:15:30.615923352 +0200] - DEBUG - NSMMReplicationPlugin -
changelog program - _cl5GetDBFileByReplicaName - found DB object
0x558ddfe1f720 for database /var/lib/dirsrv/slapd-
master_2/changelogdb/d3de3e8d-446611e7-a89886da-
6a37442d_592c0e0b000000010000.db
[29/May/2017:14:15:30.627443305 +0200] - DEBUG - NSMMReplicationPlugin -
csnplCommitALL: committing all csns for csn 592c10e2000000020000
[29/May/2017:14:15:30.632713657 +0200] - DEBUG - NSMMReplicationPlugin -
csnplCommitALL: processing data csn 592c10e2000000020000
[29/May/2017:14:15:30.652621188 +0200] - DEBUG - NSMMReplicationPlugin -
ruv_update_ruv - Successfully committed csn 592c10e2000000020000
[29/May/2017:14:15:30.669666453 +0200] - DEBUG - NSMMReplicationPlugin -
repl5_inc_run - agmt="cn=meTo_localhost:39001" (localhost:39001): State:
wait_for_changes -> wait_for_changes
[29/May/2017:14:15:30.685259483 +0200] - DEBUG - NSMMReplicationPlugin -
repl5_inc_run - agmt="cn=meTo_localhost:39001" (localhost:39001): State:
wait_for_changes -> ready_to_acquire_replica
[29/May/2017:14:15:30.689906327 +0200] - DEBUG - NSMMReplicationPlugin -
conn_connect - agmt="cn=meTo_localhost:39001" (localhost:39001) - Trying
non-secure slapi_ldap_init_ext
[29/May/2017:14:15:30.700259799 +0200] - DEBUG - NSMMReplicationPlugin -
conn_connect - agmt="cn=meTo_localhost:39001" (localhost:39001) - binddn
= cn=replrepl,cn=config, passwd = {AES-
TUhNR0NTcUdTSWIzRFFFRkRUQm1NRVVHQ1NxR1NJYjNEUUVGRERBNEJDUmlZVFUzTnpRMk55
MDBaR1ZtTXpobQ0KTWkxaE9XTTRPREpoTlMwME1EaGpabVUxWmdBQ0FRSUNBU0F3Q2dZSUtv
WklodmNOQWdjd0hRWUpZSVpJQVdVRA0KQkFFcUJCRGhwMnNLcEZ2ZWE2RzEwWG10OU41Tg==
}+36owaI7oTmvWhxRzUqX5w==
[29/May/2017:14:15:30.712287531 +0200] - DEBUG - NSMMReplicationPlugin -
conn_cancel_linger - agmt="cn=meTo_localhost:39001" (localhost:39001) -
No linger to cancel on the connection
[29/May/2017:14:15:30.736779494 +0200] - DEBUG -
_csngen_adjust_local_time - gen state before 592c10e20001:1496060129:0:1
[29/May/2017:14:15:30.741909244 +0200] - DEBUG -
_csngen_adjust_local_time - gen state after 592c10e30000:1496060130:0:1
[29/May/2017:14:15:30.880287041 +0200] - DEBUG - NSMMReplicationPlugin -
acquire_replica - agmt="cn=meTo_localhost:39001" (localhost:39001):
Replica was successfully acquired.
[29/May/2017:14:15:30.897500049 +0200] - DEBUG - NSMMReplicationPlugin -
repl5_inc_run - agmt="cn=meTo_localhost:39001" (localhost:39001): State:
ready_to_acquire_replica -> sending_updates
[29/May/2017:14:15:30.914417773 +0200] - DEBUG - csngen_adjust_time -
gen state before 592c10e30001:1496060130:0:1
[29/May/2017:14:15:30.926341721 +0200] - DEBUG - NSMMReplicationPlugin -
changelog program - _cl5GetDBFile - found DB object 0x558ddfe1f720 for
database /var/lib/dirsrv/slapd-master_2/changelogdb/d3de3e8d-446611e7-
a89886da-6a37442d_592c0e0b000000010000.db
[29/May/2017:14:15:30.943094471 +0200] - DEBUG - NSMMReplicationPlugin -
changelog program - _cl5PositionCursorForReplay -
(agmt="cn=meTo_localhost:39001" (localhost:39001)): Consumer RUV:
[29/May/2017:14:15:30.949395331 +0200] - DEBUG - NSMMReplicationPlugin -
agmt="cn=meTo_localhost:39001" (localhost:39001): {replicageneration}
592c0e0b000000010000
662
CHAPTER 7. LOG FILE REFERENCE
663
Configuration, Command, and File Reference
664
CHAPTER 7. LOG FILE REFERENCE
Plug-in logging records every the name of the plug-in and all of the functions called by the
plug-in. This has a simple format:
The information returned can be hundreds of lines long as every step is processed. The
precise information recorded depends on the plug-in itself. For example, the ACL Plug-in
includes a connection and operation number, as shown in Example 7.4, “Example ACL Plug-
in Error Log Entry with Plug-in Logging”.
Example 7.4. Example ACL Plug-in Error Log Entry with Plug-in Logging
665
Configuration, Command, and File Reference
NOTE
Example 7.4, “Example ACL Plug-in Error Log Entry with Plug-in Logging”
shows both plug-in logging and search filter processing (log level 65696).
Many other kinds of logging have similar output to the plug-in logging level, only for
different kinds of internal operations. Heavy trace output (4), access control list processing
(128), schema parsing (2048), and housekeeping (4096) all record the functions called by
the different operations being performed. In this case, the difference is not in the format of
what is being recorded, but what operations it is being recorded for.
The configuration file processing goes through any .conf file, printing every line, whenever
the server starts up. This can be used to debug any problems with files outside of the
server's normal configuration. By default, only slapd-collations.conf file, which contains
configurations for international language sets, is available.
There are two levels of ACI logging, one for debug information and one for summary. Both
of these ACI logging levels records some extra information that is not included with other
types of plug-ins or error logging, including Connection Number and Operation Number
information. Show the name of the plug-in, the bind DN of the user, the operation
performed or attempted, and the ACI which was applied. The debug level shows the series
of functions called in the course of the bind and any other operations, as well.
Example 7.6, “Access Control Summary Logging” shows the summary access control log
entry.
666
CHAPTER 7. LOG FILE REFERENCE
The audit log is formatted differently than the access and error logs and is like a time-
stamped LDIF file. The operations recorded in the audit log are formatted as LDIF
statements:
timestamp: date
dn: modified_entry
changetype: action
action:attribute
attribute:new_value
-
replace: modifiersname
modifiersname: dn
-
replace: modifytimestamp
modifytimestamp: date
-
LDIF files and formats are described in more detail in the "LDAP Data Interchange Format"
appendix of the Administration Guide.
Several different kinds of audit entries are shown in Example 7.7, “Audit Log Content”.
667
Configuration, Command, and File Reference
The audit log does not have any other log level to set.
668
CHAPTER 7. LOG FILE REFERENCE
669
Configuration, Command, and File Reference
0x30 LDAP_INAPPROPRIATE_AUTH
[a] LDAPv3
Logging certain events, like failed bind attempts or connections from specific users
or IP addresses
Keeping the log to a certain length (logging only the last number of lines)
Replacing a log file with a pipe improves performance, especially on servers with a high rate
of operations.
The named pipe is different than using a script to extract data from the logs because of how
data are handled in the log buffer.
670
CHAPTER 7. LOG FILE REFERENCE
If a log is buffered, server performance is good, but important data are not written to disk
(the log file) as soon as the event occurs. If the server is having a problem with crashing, it
may crash before the data is written to disk — and there is no data for the script to extract.
If a log is not buffered[1], the writes are flushed to disk with each operation, causing a lot of
disk I/O and performance degradation.
Replacing the log disk file with a pipe has the benefits of buffering, since the script that
reads from the pipe can buffer the incoming log data in memory (which is not possible with
a simple script).
The usage and option details for the script is covered in Section 9.4, “ds-logpipe.py”. The
basic format is:
# ds-logpipe.py /var/log/dirsrv/slapd-example/access
Running the ds-logpipe.py in this way has the advantage of being simple to implement
and not requiring any Directory Server configuration changes. This is useful for fast
debugging or monitoring, especially if you are looking for a specific type of event.
If the Directory Server instance will frequently or permanently use the named pipe rather
than a real file for logging, then it is possible to reconfigure the instance to create the
named pipe and use it for logging (as it does by default for the log files).
Three things need to be configured for the log configuration for the instance:
The log file to use has to be changed to the pipe (nsslapd-*log, where the * can be
access, error, or audit[2], depending on the log type being configured)
Buffering should be disabled because the script already buffers the log entries
(nsslapd-*log-logbuffering)
Log rotation should be disabled so that the server does not attempt to rotate the
named pipe (nsslapd-*log-maxlogsperdir, nsslapd-*log-logexpirationtime,
and nsslapd-*log-logrotationtime)
These configuration changes can be made in the Directory Server Console or using
ldapmodify.
dn: cn=config
changetype: modify
replace: nsslapd-accesslog
671
Configuration, Command, and File Reference
nsslapd-accesslog: /var/log/dirsrv/slapd-instance/access.pipe
-
replace: nsslapd-accesslog-logbuffering
nsslapd-accesslog-logbuffering: off
-
replace: nsslapd-accesslog-maxlogsperdir
nsslapd-accesslog-maxlogsperdir: 1
-
replace: nsslapd-accesslog-logexpirationtime
nsslapd-accesslog-logexpirationtime: -1
-
replace: nsslapd-accesslog-logrotationtime
nsslapd-accesslog-logrotationtime: -1
NOTE
Making these changes causes the server to close the current log file and
switch to the named pipe immediately. This can be very helpful for debugging
a running server and sifting the log output for specific messages.
NOTE
/etc/sysconfig/dirsrv-instance_name
WARNING
Below that line, insert the ds-logpipe.py command to launch when the server
starts. For example:
672
CHAPTER 7. LOG FILE REFERENCE
NOTE
The -s option both specifies the .pid file for the server to write its PID
to and sets the script to start and stop with the server process.
The plug-in function is called for every line read from the named pipe.
The plug-in function must be a Python script and must end in .py.
Any plug-in arguments are passed in the command line to the named pipe log
script.
The --plugin option gives the path to the plug-in file (which must be a Python script
and must end in .py).
The plugin.arg option passes plug-in arguments to the named pipe log script. The
plug-in file name (without the .py extension) is plugin and any argument allowed in
that plug-in can be arg .
For example:
ds-logpipe.py /var/log/dirsrc/slapd-example/errors.pipe --
plugin=/usr/share/dirsrv/data/example-funct.py example-
funct.regex="warning" > warnings.txt
If there are more than one values passed for the same argument, then they are converted
into a list of values in the plug-in dict. For example, this script gives two values for arg1:
673
Configuration, Command, and File Reference
This is a Python dict object with two keys. The first key is the stringarg1, and its value is a
Python list object with two elements, the strings foo and bar. The second key is the string
arg2, and its value is the string baz. If an argument has only a single value, it is left as a
simple string. Multiple values for a single argument name are converted into a list of
strings.
7.5.3.2. Writing Plug-ins to Use with the Named Pipe Log Script
The ds-logpipe.py command expects up to three functions in any plug-in:plugin (), pre
(), and post ().
Any plug-in used with the ds-logpipe.py command must specify the plugin function.
The plugin () function is performed against every line in the log data, while thepre ()
and post () functions are run when the script is started and stopped, respectively.
Each function can have any arguments defined for it, and these arguments can then be
passed to the script using the plugin.arg option. Additionally, each function can have its
own return values and actions defined for it.
def pre(myargs):
retval = True
myarg = myargs['argname']
if isinstance(myarg, list): # handle list of values
else: # handle single value
if bad_problem:
retval = False
return retval
def plugin(line):
retval = True
# do something with line
if something_is_bogus:
retval = False
return retval
[1] Server performance suffers when log buffering is disabled on the access log, when the log level is
changed on the error log, or with audit logging.
[2] The audit log is not enabled by default, so this log has to be enabled before a named pipe can be
used to replace it.
674
CHAPTER 8. CONFIGURATION FILE REFERENCE
8.1. CERTMAP.CONF
If you set up certificate-based authentication, the
/etc/dirsrv/slapd-instance_name/certmap.conf file manages how Directory Server
dynamically maps a certificate to a user entry.
You can specify individual settings for different certificate issuer Distinguished Names (DN).
For issuer DNs that do not have a separate configuration, the settings from the default
entry will be used. The following is the required minimum configuration for the default
entry:
Additionally, you can set all available parameters for the default entry. Directory Server
will use them if they are not specified in individual configurations for issuer DNs.
Example 8.1. Configuration for the default Entry and a Specific Issuer DN
The following configuration sets individual settings for certificates having the o=Example
Inc.,c=US issuer DN set. Other certificates will use the settings from thedefault entry.
DNComps
The DNComps parameter determines how Directory Server generates the base DN used to
search for a user in the directory:
If attributes in the subject field of the certificate match the base DN, set the
DNComps parameter to these attributes. Separate multiple attribute with commas.
However, the order of the attributes in the DNComps parameter must match the
order in the subject of the certificate.
675
Configuration, Command, and File Reference
IMPORTANT
Set the parameter to an empty value if the base DN cannot be generated from
the subject field of the certificate. In this situation, Directory Server searches
the for user in the entire directory using a filter generated from the setting in the
FilterComps parameter.
Comment out or do not set this parameter, if either the subject field of the
certificate matches exactly the DN of the user in Directory Server or if you want
to use the setting from the CmapLdapAttr parameter.
FilterComps
This parameter sets which attributes from the subject field of the certificate
Directory Server uses to generate the search filter to locate the user:
NOTE
Certificate Subjects use the e attribute for the email address, which
does not exist in the default Directory Server schema. For this
reason, Directory Server automatically maps this attribute to the
mail attribute. This means, if you use themail attribute in the
FilterComps parameter, Directory Server reads the value of the e
attribute from the subject of the certificate.
verifycert
676
CHAPTER 8. CONFIGURATION FILE REFERENCE
Directory Server always verifies if the certificate has been issued by a trusted Certificate
Authority (CA). However, if you additionally set the verifycert parameter to on,
Directory Server additionally verifies that the certificate matches the Distinguished
Encoding Rules (DER)-formatted certificate stored in the userCertificate binary
attribute of the user.
CmapLdapAttr
If your user entries contain an attribute that stores the subject DN of the user certificate,
set the CmapLdapAttr to this attribute name. Directory Server will use this attribute and
the subject DN to locate the user. In this case the no filter is generated based on the
attributes in the FilterComps parameter.
library
Sets the path name to a shared library or Dynamic Link Library (DLL) file. Use this
setting only if you create your own properties using the certificate API. This parameter is
deprecated and will be removed in a future release.
InitFn
Sets the name of the init function, if you use a custom library. Use this setting only if
you create your own properties using the certificate API. This parameter is deprecated
and will be removed in a future release.
IMPORTANT
When Directory Server searches the matching user, the search must return
exactly one entry. If the search returns multiple entries, Directory Server logs
a multiple matches error and authentication fails.
For further details, see the corresponding section in the Directory Server Administration
Guide.
677
Configuration, Command, and File Reference
9.2. LDIF
ldif automatically formats LDIF files and creates base-64 encoded attribute values. Base-
64 encoding makes it possible to represent binary data, such as a JPEG image, in LDIF.
Base-64 encoded data is represented using a double colon (::) symbol. For example:
In addition to binary data, other values that must be base-64 encoded can identified with
other symbols, including the following:
678
CHAPTER 9. COMMAND-LINE UTILITIES
The ldif command-line utility will take any input and format it with the correct line
continuation and appropriate attribute information. The ldif utility also senses whether the
input requires base-64 encoding.
Syntax
Options
Syntax
The ldif command has the following format:
Options
Option Description
jpegphoto:<
file:///tmp/myphoto.jpg
NOTE
9.3. DBSCAN
The dbscan tool analyzes and extracts information from a Directory Server database file.
There are four kinds of database files that can be scanned with dbscan:
679
Configuration, Command, and File Reference
See Section 2.2.2, “Database Files” for more information on database files.
Database files use the .db2, .db3, .db4, and .db extensions in their filename, depending on
the version of Directory Server.
Syntax
Options
Examples
Syntax
Options
Option Description
NOTE
The options listed in Table 9.4, “Entry File Options” are meaningful only when
the database file is the primary database file, id2entry.db.
Option Description
NOTE
The index file options, listed in Table 9.5, “Index File Options ”, are meaningful
only when the database file is the secondary index file.
680
CHAPTER 9. COMMAND-LINE UTILITIES
Option Description
Examples
The following are command-line examples of different situations using dbscan to examine
the Directory Server databases.
dbscan -f /var/lib/dirsrv/slapd-instance/db/userRoot/id2entry.db
dbscan -f /var/lib/dirsrv/slapd-instance/db/userRoot/cn.db
Example 9.3. Displaying the Index Keys and the Count of Entries with the Key
in mail.db
# dbscan -r -f /var/lib/dirsrv/slapd-instance/db/userRoot/mail.db
Example 9.4. Displaying the Index Keys and the All IDs with More Than 20 IDs
in sn.db
# dbscan -r -G 20 -f /var/lib/dirsrv/slapd-instance/db/userRoot/sn.db
681
Configuration, Command, and File Reference
# dbscan -s -f /var/lib/dirsrv/slapd-instance/db/userRoot/objectclass.db
# dbscan -r -f
/var/lib/dirsrv/slapd-instance/db/userRoot/vlv#bymccoupeopledcpeopledcco
m.db
# dbscan -f /var/lib/dirsrv/slapd-instance/changelogdb/c1a2fc02-1d11b2-
8018afa7-fdce000_424c8a000f00.db
Example 9.8. Dumping the Index File uid.db with Raw Mode
# dbscan -R -f /var/lib/dirsrv/slapd-instance/db/userRoot/uid.db
Example 9.9. Displaying the entryID with the Common Name Key "=hr
managers"
In this example, the common name key is =hr managers, and the equals sign (=) means
the key is an equality index.
=hr%20managers 7
# dbscan -K 7 -f /var/lib/dirsrv/slapd-instance/db/userRoot/id2entry.db
682
CHAPTER 9. COMMAND-LINE UTILITIES
# dbscan -f /var/lib/dirsrv/slapd-instance/db/userRoot/entryrdn.db -k
"dc=example,dc=com"
dc=example,dc=com
ID: 1; RDN: "dc=example,dc=com"; NRDN: "dc=example,dc=com"
C1:dc=example,dc=com
ID: 2; RDN: "cn=Directory Administrators"; NRDN: "cn=directory
administrators"
2:cn=directory administrators
ID: 2; RDN: "cn=Directory Administrators"; NRDN: "cn=directory
administrators"
P2:cn=directory administrators
ID: 1; RDN: "dc=example,dc=com"; NRDN: "dc=example,dc=com"
C1:dc=example,dc=com
ID: 3; RDN: "ou=Groups"; NRDN: "ou=groups"
3:ou=groups
ID: 3; RDN: "ou=Groups"; NRDN: "ou=groups"
[...]
9.4. DS-LOGPIPE.PY
The named pipe log script can replace any of the Directory Server log files (access, errors,
and audit) with a named pipe. That pipe can be attached to another script which can
process the log data before sending it to output, such as only writing lines that match a
certain pattern or are of a certain event type.
The error log level can be set very high for diagnosing an issue to create a log of
only the last few hundred or thousand log messages, without a performance hit.
Messages can be filtered to keep only certain events of interest. For example, the
named pipe script can record only failed BIND attempts in the access log, and other
events are discarded.
The script can be used to send notifications when events happen, like adding or
deleting a user entry or when a specific error occurs.
Syntax
Options
Several of the options that can be used with ds-logpipe.py have abbreviated arguments.
683
Configuration, Command, and File Reference
684
CHAPTER 9. COMMAND-LINE UTILITIES
Examples
The procedures for configuring the server for named pipe logging are covered in
Section 7.5, “Replacing Log Files with a Named Pipe”.
The most basic usage of the named pipe log script points to only the named pipe.
# ds-logpipe.py /var/log/dirsrc/slapd-example/errors.pipe
NOTE
The script can be run in the background, and you can interactively monitor the output. In
that case, the command kill -1 %1 can be used to tell the script to dump the last 1000
lines of the buffer to stdout, and continue running in the background.
Example 9.13. Running the Named Pipe Log Script in the Background
685
Configuration, Command, and File Reference
To simply dump the last 1000 lines when the script exits (or is killed or interrupted) and
save the output to a file automatically, redirect the script output to a user-defined file.
Example 9.14. Saving the Output from the Named Pipe Log Script
The named pipe script can be configured to start and stop automatically with the
Directory Server process. This requires the name of the server's PID file to which to write
the script's PID when the script is running, with the -s argument. The PID for the server can
be reference either by pointing to the server PID file or by giving the actual process ID
number (if the server process is already running).
# ds-logpipe.py /var/log/dirsrc/slapd-example/errors.pipe --
serverpidfile /var/run/dirsrv/slapd-example.pid
A plug-in can be called to read the log data from the named pipe and perform some
operation on it.
# ds-logpipe.py /var/log/dirsrc/slapd-example/errors.pipe --
plugin=/usr/share/dirsrv/data/logregex.py logregex.regex="warning"
In Example 9.16, “Named Pipe Log Script with a Related Plug-in”, only log lines containing
the string warning are stored in the internal buffer and printed when the script exits.
If no plug-in is passed with the script arguments, the script just buffers 1000 log lines (by
default) and prints them upon exit. There are two plug-ins provided with the script:
logregex.py keeps only log lines that match the given regular expression. The
plug-in argument has the format logregex.regex=pattern to specify the string or
regular expression to use. There can be multiple logregex.regex arguments which
are all treated as AND statements. The error log line must match all given
arguments. To allow any matching log lines to be records (OR), use a single
logregex.regex argument with a pipe (|) between the strings or expressions. See
the pcre or Python regular expression documentation for more information about
regular expressions and their syntax.
failedbinds.py logs only failed BIND attempts, so this plug-in is only used for the
access log. This takes the option failedbinds.logfile=/path/to/access.log, which
is the file that the actual log messages are written to. This plug-in is an example of a
complex plug-in that does quite a bit of processing and is a good place to reference
to do other types of access log processing.
686
CHAPTER 9. COMMAND-LINE UTILITIES
9.5. DN2RDN
Versions of Directory Server older than 9.0 used the entrydn index to help map the entry
IDs in the id2entry.db4 database to the full DNs of the entry. (One side effect of this was
that modrdn operations could only be done on leaf entries, because there was no way to
identify the children of an entry and update their DNs if the parent DN changed.) When
subtree-level renames are allowed, then the ID-to-entry mapping is done using the
entryrdn index with the id2entry.db database.
After an upgrade, instances of Directory Server may still be using the entrydn index. The
dn2rdn tool has one purpose: to convert the entry index mapping from a DN-based format
to an RDN-based format, by converting the entrydn index to entryrdn.
NOTE
The dn2rdn tool is in the /usr/sbin/ directory, since it is always run on the
local Directory Server instance.
Syntax
Examples
Syntax
dn2rdn
Examples
Beside -Z instance_name, the dn2rdn tool takes no options, since it always converts the
local entrydn index to entryrdn.
# dn2rdn -Z instance_name
687
Configuration, Command, and File Reference
The core scripts are located in the /usr/sbin/ and /usr/bin/ directories.
Scripts running on instances are stored in the /usr/sbin/ directory. Use the -Z
instance_name option with the commands in order to set the instance the script
should be executed on.
NOTE
For further details and a list of scripts, see Chapter 10, Command-Line Scripts.
All the instance-specific scripts also exist in /usr/sbin/. All the other scripts are only
located in /usr/bin/.
When scripts request either a directory name or a file name, always provide the absolute
path. The scripts expect the dse.ldif file is located in the /etc/dirsrv/slapd-instance/
directory.
Table 10.1, “Shell Scripts” and Table 10.2, “Perl Scripts” list the available Directory Server
scripts and specify their exact locations.
-Z
This option takes one parameter, the server instance identifier. The script uses the
identifier to get information such as the server location, or necessary configuration
settings including port number, root DN, and security settings. The server instance
identifier can be retrieved as part of the directory name in /etc/dirsrv/. For example, if
your instance is located in /etc/dirsrv/slapd-localhost/, then localhost is the
identifier:
688
CHAPTER 10. COMMAND-LINE SCRIPTS
-P
This option only applies to Perl scripts and takes a protocol name as a parameter. If you
do not supply the -P option or supply an invalid protocol name, the script attempts to
use the most secure protocol available to the server instance. The supported protocols
are StartTLS, LDAPS, LDAPI, and LDAP; this sequence also defines the order the script
uses if fallback is needed.
689
Configuration, Command, and File Reference
690
CHAPTER 10. COMMAND-LINE SCRIPTS
691
Configuration, Command, and File Reference
692
CHAPTER 10. COMMAND-LINE SCRIPTS
Some of the shell scripts can be executed while the server is running. For others, the server
must be stopped. The description of each script below indicates whether the server must be
stopped or if it can continue to run while executing the script.
When a shell script has a Perl equivalent, there is a cross-reference to the section
describing the equivalent Perl script.
693
Configuration, Command, and File Reference
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
bak2db backupDirectory
Options
Option Description
For information on the equivalent Perl script, see Section 10.4.1, “bak2db.pl (Restores a
Database from Backup)”. For more information on restoring databases, see the "Populating
Directory Databases" chapter in the Red Hat Directory Server Administration Guide. For
more information on using filesystem replica initialization, see the "Managing Replication"
chapter in the Red Hat Directory Server Administration Guide.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Without the -i option, the script must be run when the Directory Server is running from a
location from which the server's changelog directory is accessible.
Option Description
694
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
For information on the equivalent Perl script, see Section 10.4.2, “cl-dump.pl (Dumps and
Decodes the Changelog)”.
695
Configuration, Command, and File Reference
IMPORTANT
The db2bak should not be run on a running master server. Either use the Perl
script or stop the server before performing the backup.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
db2bak [ backupDirectory ]
For information on the equivalent Perl script, see Section 10.4.4, “db2bak.pl (Creates a
Backup of a Database)”.
NOTE
db2ldif uses the entryrdn index to order the parent-child entries when it
exports the database; this enables the exported LDIF file to be used for
import, since the proper hierarchy of parent and child entries is preserved. If
the entryrdn index is unavailable for some reason, thendb2ldif uses the
parentid key for each entry to identify the parent and export it before the
child entry. This second method allows the export operation to succeed, but
the operation may take a long time to complete.
For information on the equivalent Perl script, see Section 10.4.6, “db2ldif.pl (Exports
Database Contents to LDIF)”.
For the shell scripts, the script runs the ns-slapd command-line utility with the db2ldif
keyword. Ellipses (...) indicate that multiple occurrences are allowed.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
696
CHAPTER 10. COMMAND-LINE SCRIPTS
Syntax
Options
Either the -n or the -s option must be specified. By default, the output LDIF will be stored
in one file. To specify the use of several files, use the option -M.
Option Description
697
Configuration, Command, and File Reference
Option Description
NOTE
db2index uses the entryrdn index to order the parent-child entries when it
indexes the database to preserve the proper hierarchy of parent and child
entries. If the entryrdn index is unavailable for some reason, thendb2index
uses the parentid key for each entry to identify the parent. This second
method allows the index operation to succeed, but the operation may take a
long time to complete.
For information on the equivalent Perl script, see Section 10.4.5, “db2index.pl (Creates and
Generates Indexes)”.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Usage
Here are a few sample commands:
# db2index
698
CHAPTER 10. COMMAND-LINE SCRIPTS
# db2index -s "dc=example,dc=com" -t cn
Options
Option Description
When running, dbmon.sh continuously returns database information until you terminate the
script by pressing the Ctrl+C keyboard shortcut.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
[ INCR=seconds ] [ SERVID=server_identifier ] [ BINDDN=bind_DN ] [
BINDPW=bind_password ] [ DBLIST=databases ] [ INDEXLIST=indexes ] [ VERBOSE=level
] dbmon.sh
Options
The dbmon.sh script does not take any command-line options. You can specify additional
options by using environment variables. For example:
699
Configuration, Command, and File Reference
INCR seconds Returns output every period set in this option. Default: 1
second
SERVID server_identif Sets the server instance name. Using the instance name,
ier Directory Server automatically uses secure connections to the
server, if encryption is enabled on the instance.
BINDDN bind_DN DN used to bind to the directory. The account specified must
have read permissions for the cn=config entry and sub
entries. Default: cn=Directory Manager
Available values:
700
CHAPTER 10. COMMAND-LINE SCRIPTS
IMPORTANT
Run db2index -t uid to avoid rebuilding all of the indexes or export and
reimport all of the databases using db2ldif and ldif2db.
dbverify is a shell script wrapper of verify-db.pl to set the appropriate library path.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
dbverify [ -a /path/to/database_directory ]
Options
Option Description
For information on the equivalent Perl script, see Section 10.4.26, “verify-db.pl (Check for
Corrupt Databases)”.
10.3.8. ds_removal
The ds_removal tool removes a single instance of Directory Server. The server instance
usually must be running when this script is run so that the script can bind to the instance. It
is also possible to force the script to run, which may be necessary if there was an
interrupted installation process or the instance is corrupted or broken so that it cannot run.
701
Configuration, Command, and File Reference
When the instance is removed, it is shutdown and all of its configuration files are removed.
Certificate database files, like cert8.db and key3.db, are not removed, so the remaining
instance directory is renamed removed.slapd-instance.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Syntax
ds-replcheck [ -h ] [ -v ] [ -o file_name ] [ -D bind_DN ] [ -w bind_password ] [ -W ] [ -m
LDAP_URL_of_master ] [ -r LDAP_URL_of_replica ] [ -b suffix ] [ -l lag_time ] [ -c ] [ -Z
certificate_directory ] [ -i attribute_list ] [ -p page_size ] [ -M master_LDIF_file ] [ -R
replica_LDIF_file ]
Options
702
CHAPTER 10. COMMAND-LINE SCRIPTS
-Z certificate_dir Sets the path to the certificate database directory for secure
ectory connections.
-M master_LDIF_ Sets the path to the master LDIF file when comparing two files.
file
-R replica_LDIF_f Sets the path to the replica LDIF file when comparing two files.
ile
For information on the equivalent Perl script, see Section 10.4.9, “ldif2db.pl (Import)”.
703
Configuration, Command, and File Reference
NOTE
jpegphoto:< file:///tmp/myphoto.jpg
Although the official notation requires three ///, the use of one/ is accepted.
For further information on the LDIF format, see the "Managing Directory
Entries" chapter in the Red Hat Directory Server Administration Guide.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
704
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
-g deterministic namespace_id
705
Configuration, Command, and File Reference
Option Description
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
monitor
706
CHAPTER 10. COMMAND-LINE SCRIPTS
monitor Options
There are no options for this script.
For more information on the Perl script, see Section 10.4.20, “repl-monitor.pl (Monitors
Replication Status)”.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
707
Configuration, Command, and File Reference
Option Description
The connection parameters for connecting to the LDAP servers to get replication
information; specifying this information is mandatory.
The server alias for more readable server names; specifying this information is
optional.
The color thresholds for time lags; specifying this information is optional.
[connection]
host:port:binddn:bindpwd:bindcert
host:port:binddn:bindpwd:bindcert
...
[alias]
alias = host:port
alias = host:port
...
[color]
lowmark = color
lowmark = color
The connection section defines how this tool may connect to each LDAP server in the
replication topology to get the replication-agreement information. The default binddn is
cn=Directory Manager. Simple bind will be used unlessbindcert is specified with the path
of a certificate database.
A server may have a dedicated or shared entry in the connection section. The script will
find out the most matched entry for a given server. For example, if all the LDAP servers
708
CHAPTER 10. COMMAND-LINE SCRIPTS
except host1 share the same binddn and bindpassword, the connection section will need to
contain just two entries:
[connection]
*:*:binddn:bindpassword:
host1:*:binddn1:bindpassword1:
In the optional alias section, use aliases such as Supplier1, Supplier2, and Hub1, to
identify the servers in the replication topology. If used, the output shows these aliases,
instead of http(s)://hostname:port.
The CSN time lags between suppliers and consumers can be displayed in different colors
based on their range. The default color set is green for 0-5 minutes lag, yellow for 5-60
minutes lag, and pink for a lag of 60 minutes or more.
The connection parameters for all the servers in a replication topology must be specified
within one configuration file. One configuration file, however, may contain information for
multiple replication topologies.
Because of the connection parameters, the replication monitoring tool does not need to
perform DES decryption of the credentials stored in the Directory Server. Each line in this
file could either be a comment started with the # character or a connection entry of the
format:
host:port:binddn:bindpwd:bindcert
host, port, and binddn can be replaced with relevant values or *, or omitted
altogether. If host is null or *, the entry may apply to any host that does not have a
dedicated entry in the file. If port is null or *, the port will default to the port stored
in the current replication agreement. If binddn is null or *, it defaults to
cn=Directory Manager.
bindcert can be replaced with the full path to the certificate database, null, or*. If
bindcert is omitted or replaced with *, the connection will be a simple bind.
[alias]
M1 = host1.example.com:10011
C1 = host4.example.com:10021
C2 = host2.example.com:10022
[color]
0 = #ccffcc
5 = #FFFFCC
60 = #FFCCCC
A shadow port can be set in the replication monitor configuration file. For example:
host:port=shadowport:binddn:bindpwd:bindcert
709
Configuration, Command, and File Reference
When the replication monitor finds a replication agreement that uses the specified port, it
will use the shadow port to connect to retrieve statistics.
The pwdhash utility uses the following storage scheme to encrypt the password:
If you pass the -D config_directory parameter to pwdhash, the scheme set in the
nsslapd-rootpwstoragescheme attribute will be used.
If you neither specify the path to a valid Directory Server configuration directory nor
pass a scheme to pwdhash, the utility uses the Directory Server default storage
scheme.
For further details about storage schemes, a list of supported values, and the default
settings, see Section 4.1.43, “Password Storage Schemes”.
Syntax
Options
Option Description
Syntax
restart-dirsrv [instance_name]
Options
710
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
restart-ds-admin
Options
There are no options for this script.
This script is a wrapper for restart-dirsrv and automatically supplies the instance name
to the restart-dirsrv script.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
711
Configuration, Command, and File Reference
restart-slapd
Options
There are no options for this script.
Exit Status
4. Restart the Administration Server for the changes to be taken into account.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
restoreconfig
Options
There are no options for this script.
712
CHAPTER 10. COMMAND-LINE SCRIPTS
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
saveconfig
Options
There are no options for this script.
It's a good idea to check whether the server has been effectively started using the ps
command because it could sometimes be that the script returned a message while the
startup process was still on-going, resulting in a confusing message.
Syntax
start-dirsrv [instance_name]
Options
Option Description
713
Configuration, Command, and File Reference
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
start-ds-admin
Options
There are no options for this script.
This script is a wrapper for start-dirsrv and automatically supplies the instance name to
the start-dirsrv script.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
start-slapd
Options
There are no options for this script.
Syntax
714
CHAPTER 10. COMMAND-LINE SCRIPTS
status-dirsrv [instance_name]
Options
Option Description
It's a good idea to check whether the server has been effectively stopped using the ps
command because it could sometimes be that the script returned a success message while
the shutdown process was still on-going, resulting in a confusing message.
Syntax
stop-dirsrv [instance_name]
Options
Option Description
715
Configuration, Command, and File Reference
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
stop-ds-admin
Options
There are no options for this script.
This script is a wrapper for stop-dirsrv and automatically supplies the instance name to
the stop-dirsrv script.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
stop-slapd
Options
There are no options for this script.
Exit Status
716
CHAPTER 10. COMMAND-LINE SCRIPTS
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
suffix2instance [ -s suffix ]
Options
Option Description
10.3.28. upgradednformat
Updates older-style DN syntaxes to RFC 4514-style DN syntaxes for migrated databases.
NOTE
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
717
Configuration, Command, and File Reference
Option Description
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Either the -n or the -s option must be specified.
Option Description
718
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
719
Configuration, Command, and File Reference
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
The script bak2db.pl creates an entry in the directory that launches this dynamic task. The
entry is generated based upon the values provided for each option.
Option Description
720
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Without the -i option, the script must be run when the Directory Server is running from a
location from which the server's changelog directory is accessible.
Option Description
721
Configuration, Command, and File Reference
Option Description
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Option Description
-Z instance_name Sets the name of the Directory Server instance, the script works on. If
there is only one instance running on the system, you can skip this
option.
-D root_DN Specifies the distinguished name (DN) used to bind to Directory Server.
This is usually the cn=Directory Manager or root DN account. If you
do not set this parameter, the script searches the Directory Server
instance configuration for the value.
-j file_name Reads the password for the bind DN account from the file passed to the
parameter.
722
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
-P protocol Sets the protocol used to connect to Directory Server. Valid options:
STARTTLS, LDAPS, LDAPI, and LDAP. If the parameter is not set, the
most secure protocol available is used.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
The script db2bak.pl creates an entry in the directory that launches this dynamic task. The
entry is generated based upon the values provided for each option. Currently, the only
possible database type is ldbm.
Option Description
723
Configuration, Command, and File Reference
Option Description
NOTE
db2index uses the entryrdn index to order the parent-child entries when it
indexes the database to preserve the proper hierarchy of parent and child
entries. If the entryrdn index is unavailable for some reason, thendb2index
uses the parentid key for each entry to identify the parent. This second
method allows the index operation to succeed, but the operation may take a
long time to complete.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
724
CHAPTER 10. COMMAND-LINE SCRIPTS
Options
The script db2index.pl creates an entry in the directory that launches this dynamic task.
The entry is generated based upon the values provided for each option.
Option Description
NOTE
db2ldif.pl uses the entryrdn index to order the parent-child entries when it
exports the database; this enables the exported LDIF file to be used for
import, since the proper hierarchy of parent and child entries is preserved. If
the entryrdn index is unavailable for some reason, thendb2ldif.pl uses the
parentid key for each entry to identify the parent and export it before the
child entry. This second method allows the export operation to succeed, but
the operation may take a long time to complete.
725
Configuration, Command, and File Reference
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
To run this script, the server must be running, and either the -n or -s option is required.
Option Description
726
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
The fixup-linkedattrs.pl script creates the managed attributes in the user entries once
the linking plug-in instance is created or updates the managed attributes to keep
everything in sync after operations like replication or synchronization.
To run this script, the server must be running. The script creates an entry in the directory
that launches this dynamic task.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
727
Configuration, Command, and File Reference
Options
Option Description
To run this script, the server must be running. The script creates an entry in the directory
that launches this dynamic task.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
fixup-memberof.pl -D rootdn -w password | -w - | -j filename -b baseDN [ -f filter ] [ -Z
server_identifier ] [ -P protocol ]
Options
Option Description
728
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
-D root_DN Gives the user DN with root permissions, such as Directory Manager.
The default is the DN of the Directory Manager, which is read from the
nsslapd-root attribute under cn=config.
-f filter An LDAP query filter to use to select the entries within the subtree to
update. If there is no filter set, then the default filter is
objectclass=inetorgperson, and every entry belonging to that
object class within the subtree is updated.
-P protocol Sets the protocol used to connect to the server. Valid values are:
STARTTLS, LDAPS, LDAPI, and LDAP. If this parameter is not provided,
the most secure protocol available on the server is used.
-Z server_identifier Sets the server ID of the Directory Server instance. This option is not
necessary if one instance is running on the server.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
729
Configuration, Command, and File Reference
Option Description
-g deterministic namespaceId
730
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
NOTE
The tool will extract the following information from access logs:
731
Configuration, Command, and File Reference
Recommendations (optional)
The logconv.pl tool displays two types of statistics useful for monitoring and optimizing
directory usage:
Simple counts of events such as the total number of binds, connections separated
by TLS protocol versions, and the number of searches provide overall usage
information. This is the basic information that the tool will always print.
Lists of the most frequently occurring parameters in LDAP requests provide insight
into how the directory information is being accessed. For example, lists of the top
732
CHAPTER 10. COMMAND-LINE SCRIPTS
ten bind DNs, base DNs, filter strings, and attributes returned can help
administrators optimize the directory for its users. These lists are optional because
they are computation intensive: specify only the command-line options required
(see Options).
Some information that is extracted by the logconv.pl script is available only in logs from
current releases of Directory Server; the corresponding values will be zero when analyzing
logs from older versions. In addition, some information will only be present in the logs if
verbose logging is enabled in the Directory Server. For more information, see
Section 3.1.1.2, “nsslapd-accesslog-level (Access Log Level)”.
The following issues will affect the output and performance of this tool:
Some data extracted from logs depend on connection and operation numbers that
are reset and no longer unique after a server restarts. Therefore, to obtain the most
accurate counts, the logs to be analyzed should not span the restart of the
Directory Server.
Due to changes in access log format in current releases of Directory Server that
affected operation numbers, the tool will be more accurate logs from current
versions when processing large amounts of access logs.
For performance reasons, it is not recommended to run more than one gigabyte of
access logs through the script at any one time.
Syntax
Options
Table 10.28, “logconv.pl Options” describes the logconv.pl command-line options.
Option Description
733
Configuration, Command, and File Reference
Option Description
734
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
Table 10.29, “logconv.pl Options to Display Occurrences” describes the options that enable
the optional lists of occurrences. Specify only those required; specifying a large number of
options can produce excessive output and affect execution speed. These parameters can be
specified in any number and in any order, but they must all be given together as a single
option on the command line, such as -abcefg.
The lists are always output in the order in which they appear in the following table,
regardless of the order in which they are given on the command line.
Option Description
735
Configuration, Command, and File Reference
Option Description
10.4.11. migrate-ds.pl
WARNING
There is no direct migration path from Red Hat Directory Server 7.1 to
Red Hat Directory Server 10.3, but it is possible to migrate the data by
migrating 7.1 to 8.2, and then migrating 8.2 to 10.3.
The migrate-ds.pl script is used to migrate a Directory Server 7.1 instance. Migration can
happen between instances on on the same machine, on different machines, or on different
platforms. This script only migrates a Directory Server instance, not an
Administration Server.
736
CHAPTER 10. COMMAND-LINE SCRIPTS
Do not run setup-ds-admin.pl for the Directory Server 8.2 instance before running the
migration script if you are migrating from a 7.1 server.
Information can be passed with the script or in an .inf file, same as the setup scripts. Both
the .inf parameters and command-line arguments are described in the silent configuration
section of the Installation Guide.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
737
Configuration, Command, and File Reference
738
CHAPTER 10. COMMAND-LINE SCRIPTS
10.4.12. migrate-ds-admin.pl
739
Configuration, Command, and File Reference
WARNING
There is no direct migration path from Red Hat Directory Server 7.1 to
Red Hat Directory Server 10.3, but it is possible to migrate the data by
migrating 7.1 to 8.2, and then migrating 8.2 to 10.3.
Do not run setup-ds-admin.pl for the Directory Server 8.2 instance before running the
migration script if you are migrating from a 7.1 server.
Information can be passed with the script or in an .inf file, same as the setup scripts. Both
the .inf parameters and command-line arguments are described in the silent configuration
section of the Installation Guide.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
740
CHAPTER 10. COMMAND-LINE SCRIPTS
741
Configuration, Command, and File Reference
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
742
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
743
Configuration, Command, and File Reference
Option Description
Message Meaning
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
744
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
745
Configuration, Command, and File Reference
Option Description
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
746
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
10.4.17. register-ds-admin.pl
The register-ds-admin.pl script can be used for two things:
Creating a new, local Administration Server when only a Directory Server was
installed previously.
IMPORTANT
747
Configuration, Command, and File Reference
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
10.4.18. remove-ds.pl
The remove-ds.pl script removes a single instance of Directory Server. The server instance
usually must be running when this script is run so that the script can bind to the instance. It
is also possible to force the script to run, which may be necessary if there was an
interrupted installation process or the instance is corrupted or broken so that it cannot run.
When the instance is removed, it is shutdown and all of its configuration files are removed.
Certificate database files, like cert8.db and key3.db, are not removed, so the remaining
instance directory is renamed slapd-instance.removed.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
remove-ds.pl [ -f ] -i instance_name [ -a ]
Options
748
CHAPTER 10. COMMAND-LINE SCRIPTS
10.4.19. remove-ds-admin.pl
The remove-ds-admin.pl script removes every instance of Directory Server on a system
and the associated Administration Server. The server instances usually must be running
when this script is run so that the script can bind to the instances.
It is also possible to force the script to run, which may be necessary if there was an
interrupted installation process or the instance is corrupted or broken so that it cannot run.
By default, the certificate database files, like cert8.db and key3.db, are not removed. The
remaining Directory Server instance directory (containing the security databases) is
renamed slapd-instance.removed. Using the -a option with the script removes the security
databases as well.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
The nss.conf file for the Administration Server instance is preserved in an archvied
instance directory.
By default, the certificate database files, like cert8.db and key3.db, are not removed and
are preserved in an archived instance directory. Using the -a option with the script
removes the security databases for the Administration Server (as well as the
749
Configuration, Command, and File Reference
Directory Server).
Syntax
remove-ds-admin.pl -y [ -f ] [ -a ]
Options
Option Description
NOTE
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
750
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
The connection parameters for connecting to the LDAP servers to get replication
information; specifying this information is mandatory.
The server alias for more readable server names; specifying this information is
optional.
The color thresholds for time lags; specifying this information is optional.
751
Configuration, Command, and File Reference
[connection]
host:port:binddn:bindpwd:bindcert
host:port:binddn:bindpwd:bindcert
...
[alias]
alias = host:port
alias = host:port
...
[color]
lowmark = color
lowmark = color
The connection section defines how this tool may connect to each LDAP server in the
replication topology to get the replication-agreement information. The default binddn is
cn=Directory Manager. Simple bind will be used unlessbindcert is specified with the path
of a certificate database.
A server may have a dedicated or shared entry in the connection section. The script will
find out the most matched entry for a given server. For example, if all the LDAP servers
except host1 share the same binddn and bindpassword, the connection section will need to
contain just two entries:
[connection]
*:*:binddn:bindpassword:
host1:*:binddn1:bindpassword1:
In the optional alias section, use aliases such as Supplier1, Supplier2, and Hub1, to
identify the servers in the replication topology. If used, the output shows these aliases,
instead of http(s)://host_name:port.
The CSN time lags between suppliers and consumers can be displayed in different colors
based on their range. The default color set is green for 0-5 minutes lag, yellow for 5-60
minutes lag, and pink for a lag of 60 minutes or more.
The connection parameters for all the servers in a replication topology must be specified
within one configuration file. One configuration file, however, may contain information for
multiple replication topologies.
Because of the connection parameters, the replication monitoring tool does not need to
perform DES decryption of the credentials stored in the Directory Server. Each line in this
file could either be a comment started with the # character or a connection entry of the
following format:
host:port:binddn:bindpwd:bindcert
host, port, and binddn can be replaced with relevant values or *, or omitted
altogether. If host is null or *, the entry may apply to any host that does not have a
dedicated entry in the file. If port is null or *, the port will default to the port stored
in the current replication agreement. If binddn is null or *, it defaults to
cn=Directory Manager.
bindcert can be replaced with the full path to the certificate database, null, or*. If
bindcert is omitted or replaced with *, the connection will be a simple bind.
752
CHAPTER 10. COMMAND-LINE SCRIPTS
[alias]
M1 = host1.example.com:10011
C1 = host4.example.com:10021
C2 = host2.example.com:10022
[color]
0 = #ccffcc
5 = #FFFFCC
60 = #FFCCCC
A shadow port can be set in the replication monitor configuration file. For example:
host:port=shadowport:binddn:bindpwd:bindcert
When the replication monitor finds a replication agreement that uses the specified port, it
will use the shadow port to connect to retrieve statistics.
To run this script, the server must be running. The script creates an entry in the directory
that launches this dynamic task.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
753
Configuration, Command, and File Reference
Option Description
IMPORTANT
10.4.22. setup-ds.pl
The setup-ds.pl script is used to create a Directory Server instance. Running this script
with the -u option after the instances are configured updates the configuration with the
latest installed packages.
NOTE
Information can be passed with the script or in an .inf file. If no options are used, the
setup-ds.pl launches an interactive configuration program.
Both the .inf parameters and command-line arguments are described in the silent
configuration section of the Installation Guide.
754
CHAPTER 10. COMMAND-LINE SCRIPTS
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
755
Configuration, Command, and File Reference
WARNI
NG
The cache
file
contains
the
cleartext
passwords
supplied
during
setup. Use
appropriat
e caution
and
protection
with this
file.
756
CHAPTER 10. COMMAND-LINE SCRIPTS
10.4.23. setup-ds-admin.pl
The setup-ds-admin.pl script is used to create a Directory Server instance and a new
Administration Server instance. Running this script with the -u option after the instances
are configured updates the configuration with the latest installed packages.
Information can be passed with the script or in an .inf file. If no options are used, the
setup-ds-admin.pl launches an interactive configuration program.
Both the .inf parameters and command-line arguments are described in the silent
configuration section of the Installation Guide.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
757
Configuration, Command, and File Reference
758
CHAPTER 10. COMMAND-LINE SCRIPTS
WARNI
NG
The cache
file
contains
the
cleartext
passwords
supplied
during
setup. Use
appropriat
e caution
and
protection
with this
file.
759
Configuration, Command, and File Reference
Syntax validation is enabled by default. However, syntax validation only audits changes to
attribute values, such as when an attribute is added or modified. It does not validate the
syntax of existing attribute values.
Validation of existing attribute values can be done with the syntax validation script. This
script checks entries under a specified subtree (in the -b option) and, optionally, only
entries which match a specified filter (in the -f option).
If syntax validation is disabled or if a server is migrated, then there may be data in the
server which does not conform to attribute syntax requirements. The syntax validation
script can be run to evaluate those existing attribute values before enabling syntax
validation.
760
CHAPTER 10. COMMAND-LINE SCRIPTS
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Option Description
To run this script, the server must be running. The script creates an entry in the directory
that launches this dynamic task.
761
Configuration, Command, and File Reference
IMPORTANT
This tool can only be run if replication is not enabled. Replication maintains its
own tombstone store, and these tombstone entries cannot be deleted by the
USN Plug-in; they must be maintained by the replication processes. Thus,
Directory Server prevents users from running this script on replicated
databases.
In the error log, there is a more explicit message that the suffix cannot have
tombstone removed because it is replicated.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
Options
Either the -n or the -s option must be specified.
Option Description
762
CHAPTER 10. COMMAND-LINE SCRIPTS
Option Description
IMPORTANT
Run db2index -t uid to avoid rebuilding all of the indexes or export and
reimport all of the databases using db2ldif and ldif2db.
NOTE
This script is deprecated and will be removed in the next major version of
Red Hat Directory Server.
Syntax
verify-db.pl [ -a /path/to/database_directory ] [ -? ]
Options
763
Configuration, Command, and File Reference
Option Description
764
CHAPTER 11. GUI UTILITIES
11.1. REDHAT-IDM-CONSOLE
The redhat-idm-console command starts the Red Hat Directory Server Management
Console.
For further details about the Management Console, see the corresponding section in the
Red Hat Directory Server Administration Guide.
Syntax
redhat-idm-console [ -a admin_server_base_URL ] [ -f file_name ] [ -h ] [ -l language_code ]
[ -s instance_name ] [ -u user_DN ] [ -w password ] [ -x options ] [ -y password_file ]
Options
Option Description
-a Sets the base URL for the instance of the Administration Server to log
admin_server_base_U into.
RL
-w password Sets the password to use to log into the Directory Server Console.
javalaf: Enables the Java look and feel for the interface
instead of using the platform-specific style.
765
Configuration, Command, and File Reference
Option Description
766
APPENDIX A. USING THE NS-SLAPD COMMAND-LINE UTILITIES
The ns-slapd command-line utilities all perform server administration tasks, and, while it
can be argued that they allow a greater degree of flexibility for users, Red Hat recommends
using the command-line scripts described in Chapter 10, Command-Line Scripts
NOTE
In order to execute the command-line utilities, set the library paths set in the
command-line scripts.
Syntax
With this command, enter the full path to the configuration directory,
/etc/dirsrv/slapd-instance. Either the -n or the -s option must be specified.
Options
Option Description
767
Configuration, Command, and File Reference
Option Description
768
APPENDIX A. USING THE NS-SLAPD COMMAND-LINE UTILITIES
Option Description
Syntax
Enter the full path to the server configuration directory (configdir). ldifFile is the name of
the file containing the LDIF to be imported. There is an example LDIF file under the
/var/lib/dirsrv/slapd-instance/ldif directory. Either the -n or the -s option must be
specified.
Options
Option Description
769
Configuration, Command, and File Reference
Option Description
-g deterministic namespaceId
770
APPENDIX A. USING THE NS-SLAPD COMMAND-LINE UTILITIES
Option Description
Syntax
Options
Option Description
Syntax
Options
771
Configuration, Command, and File Reference
Option Description
Syntax
Options
Option Description
772
APPENDIX A. USING THE NS-SLAPD COMMAND-LINE UTILITIES
Option Description
773
Configuration, Command, and File Reference
Along with defining the LDAP operation variables, administrators can control the thread
performance in order to set a specific load on the server.
The ldclt tool is specifically intended to be used for automated tests, so its options are
extensive, flexible, and easily scripted, even for complex test operations.
NOTE
Remember that ldclt is a load test, and therefore uses a significant amount
of system resources. The tool uses a minimum of 8 MB of memory. Depending
on the numbers of threads, types of operations, and other configuration
settings, it can use much more memory.
Depending on the type of operations and the directory data used for those
operations, ldclt may set its own resource limits. For information on
managing system resource limits, see the man pages for ulimit and
getrlimit.
B.1.1. Syntax
ldlt [ -q | -Q | -v | -V ] [ -E max_errors ] [ -b base_DN ] [ -h host ] [ -p port ] [ -t timeout ] [ -D
bind_DN ] [ -w password ] [ -o SASL_options ] [ -e execution_params ] [ -a max_pending ] [ -n
number_of_threads ] [ -i inactivity_times ] [ -N number_of_samples ] [ -I error_code ] [ -T
total_number_of_operations ] [ -r low_range ] [ -R high_range ] [ -f filter ] [ -s scope ] [ -S
consumer ] [ -P supplier_port ] [ -W wait_time ] [ -Z certificate_file ]
774
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
Option Description
775
Configuration, Command, and File Reference
Option Description
flags
-o "mech=DIGEST-MD5" -o
"authzid=test_user" -o
"authid=test_user"
776
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
Option Description
The -e option sets execution parameters for the ldclt test operations. Multiple parameters
can be configured, in a comma-separated list. For example:
-e
add,bindeach,genldif=/var/lib/dirsrv/slapd-instance/ldif/generated.ldif,in
etOrgPerson
Parameter Description
777
Configuration, Command, and File Reference
Parameter Description
778
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
Parameter Description
779
Configuration, Command, and File Reference
Parameter Description
The results show the average number of operations per thread and per second and then
the total number of operations that were run in that ten-second window.
780
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
For example:
ldclt prints cumulative averages and totals every 15 minutes and when the tool is exited.
Some operations (like adds) and using verbose output options like -v or -V output
additional data to the screen. The kind of information depends on the type of operation,
but it generally shows the thread performing the operation and the plug-ins called by the
operation. For example:
...
ldclt[11176]: T002: After ldap_simple_bind_s (cn=Directory Manager,
secret12)
ldclt[11176]: T002: incremental mode:filter="cn=test00009"
ldclt[11176]: T002: tttctx->bufFilter="cn=test00009"
ldclt[11176]: T002: attrs[0]=("objectclass" , "person")
ldclt[11176]: T002: attrs[1]=("cn" , "test00009")
ldclt[11176]: T002: attrs[2]=("sn" , "toto sn")
...
ldclt[11176]: Average rate: 195.00/thr ( 195.00/sec), total: 1950
ldclt[10627]: Global average rate: 238.80/thr (238.80/sec), total:
2388
ldclt[10627]: Global number times "no activity" reports: never
ldclt[10627]: Global no error occurs during this session.
Catch SIGINT - exit...
ldclt[10627]: Ending at Tue Feb 23 11:46:04 2010
ldclt[10627]: Exit status 0 - No problem during execution.
Most errors are handled by ldclt without interrupting the test. Any fatal errors that are
encountered are listed with the tool's exit status and returned in the cumulative total.
Any LDAP operations errors that occur are handled within the thread. A connection error
kills the thread without affecting the overall test. The ldclt utility does count the number
of times each LDAP error is encountered; if the total number of errors that are logged hits
more than 1000 (by default), then the script itself will error out.
The way that ldclt responds to LDAP errors can be configured. Using the-E option sets a
different threshold for the script to error out after encountering LDAP errors. Using the -I
option tells the script to ignore the specified LDAP error codes in all threads. Changing the
781
Configuration, Command, and File Reference
error exit limit and ignoring certain error codes can allow you to tweak and improve test
scripts or test configuration.
The statistics for the run are not displayed until the command completes, either through
the script exiting or by a user terminating the script. There are two ways to interrupt the
ldclt script.
Hitting control—C (^C) or kill -2 exits the script and prints the global statistics.
When the ldclt script exits or is interrupted, it returns an exit code along with the
statistics and error information.
782
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
These provide general examples of using ldclt to test Directory Server. Test scripts with
more complex examples are available in the ldclt source files. This can be downloaded
from the 389 Directory Server Project,
https://git.fedorahosted.org/cgit/389/ds.git/tree/ldap/servers/slapd/tools/ldclt/examples.
Every ldclt command requires a set of execution parameters (which varies depending on
the type of test) and connection parameters (which are the same for every type of
operation). For example:
When ldclt runs, it first prints all of the configured parameters for that test.
Process ID = 1464
Host to connect = localhost
Port number = 389
Bind DN = cn=Directory Manager
Passwd = secret
Referral = on
Base DN = ou=people,dc=example,dc=com
Filter = "cn=MrXXX"
Max times inactive = 3
Max allowed errors = 1000
Number of samples = -1
Number of threads = 10
Total op. req. = -1
Running mode = 0xa0000009
Running mode = quiet verbose random exact_search
LDAP oper. timeout = 30 sec
Sampling interval = 10 sec
Scope = subtree
Attrsonly = 0
Values range = [0 , 1000000]
Filter's head = "cn=Mr"
Filter's tail = ""
The ldclt tool itself can be used to generate LDIF files that can be used for testing.
NOTE
When generating an LDIF file, the ldclt tool does not attempt to connect to a
server or run any operations.
Generating an LDIF file requires a basic template file that the tool uses to create entries (-
e object), and then a specified output file (-e genldif).
The template file can give explicit values for entry attributes or can use variables. If you
want a simple way to supply unique values for entry attributes, the
/usr/share/dirsrv/data directory contains three data files to generate surnames, first
names, and organizational units. These lists of values can be used to create test users and
783
Configuration, Command, and File Reference
# comment
The variable can be any letter from A to H. The possible keywords are listed in Table B.4,
“ldclt Template LDIF File Keywords”
Some variables and keywords can be passed with the -e object option and other available
parameters (like rdn).
-e object=inet.txt,rdn='uid:[A=INCRNNOLOOP(0;99999;5)]'
784
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
For example, this template file pulls names from sample files in the
/usr/share/dirsrv/data and builds other attributes dynamically.
objectclass: inetOrgPerson
sn: [B=RNDFROMFILE(/usr/share/dirsrv/data/dbgen-FamilyNames)]
cn: [C=RNDFROMFILE(/usr/share/dirsrv/data/dbgen-GivenNames)] [B]
password: test[A]
description: user id [A]
mail: [C].[B]@example.com
telephonenumber: (555) [RNDN(0;999;3)]-[RNDN(0;9999;4)]
The ldclt command, then, uses that template to build an LDIF file with 100,000 entries:
The ldclt tool can add entries that match either of two templates:
person
inetorgperson
The -f filter sets the format of the naming attribute for the user entries. For example,-f
"cn=MrXXXXX" creates a name like -f "cn=Mr01234". Using the person or inetorgperson
parameter with -f creates a basic entry.
objectclass: person
sn: ex sn
cn: Mr01234
More complex entries (which are good for search and modify testing) can be created using
the rdn parameter and an object file. The full range of options for the entries is covered in
Section B.1.5.1, “Generating LDIFs”. The rdn and object parameters provide the format for
the entries to add or edit in the directory. The rdn execution parameter takes a keyword
pattern (as listed in Table B.4, “ldclt Template LDIF File Keywords”) and draws its entry
pool from the entries listed in a text file.
-e rdn='uid:[A=INCRNNOLOOP(0;99999;5)]',object=inet.txt
The ldclt tool creates entries in a numeric sequence. That means that the method of
adding those entries and of counting the sequence have to be defined as well. Some
possible options for this include:
785
Configuration, Command, and File Reference
incr or random to set the method of assigning numbers (these are only used with -f)
noloop, to stop the add operations when it hits the end of the range rather than
looping back
The add operation can also be used to build a directory tree for more complex testing.
Whenever an entry is added to the directory that belongs to a non-existent branch, the
ldclt tool automatically creates that branch entry.
NOTE
The first time that an entry is added that is the child of non-existent branch,
the branch entry is added to the directory. However, the entry itself is not
added. Subsequent entries will be added to the new branch.
For a branch entry to be added automatically, its naming attribute must be cn, o, or ou.
The most basic ldclt search test simply looks for all entries within the given base DN. This
uses two execution parameters: esearch and random.
IMPORTANT
A search that returns all entries can use a large amount of memory per thread,
as much as 1 GB. ldclt is designed to perform searches that return one entry.
786
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
The search results can be expanded to return attributes contained in the entries.
(Section B.1.5.1, “Generating LDIFs” has information on generating entries that contain
multiple attributes.) To return a specific list of attributes for entries, use the attrlist
execution parameter and a colon-separated list of attributes.
Alternatively, the ldclt search operation can return attribute values for attributes
randomly selected from the search list. The list is given in the randomattrlist execution
parameter with a colon-separated list of attributes.
The filter used to match entries can target other entry attributes, not just naming
attributes. It depends on the attributes in the generated LDIF.
The search operation can also use the RDN-style filter to search for entries. The rdn and
object execution parameters provide the format for the entries to add or edit in the
directory. The rdn execution parameter takes a keyword pattern (as listed inTable B.4,
“ldclt Template LDIF File Keywords”) and draws its entry pool from the entries listed in a
text file.
The modify operation uses the RDN filter to search for the entries to update. The rdn and
object parameters provide the format for the entries to add or edit in the directory. The
rdn execution parameter takes a keyword pattern (as listed inTable B.4, “ldclt Template
787
Configuration, Command, and File Reference
LDIF File Keywords”) and draws its entry pool from the entries listed in a text file.
Renaming entries
The ldclt utility creates the new entry name or parent from a randomly-selected DN.
rename
rdn='pattern'
object=file
The rdn and object parameters provide the format for the entries to add or edit in the
directory. The rdn execution parameter takes a keyword pattern (as listed inTable B.4,
“ldclt Template LDIF File Keywords”) and draws its entry pool from the entries listed in a
text file.
Using the withnewparent execution parameter renames the entry and moves it beneath a
new parent entry. If the parent entry does not exist, then the ldclt tool creates it.[3]
The ldclt delete operation is exactly the reverse of the add operation. As with the add,
delete operations can remove entries in several different ways:
788
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
Random deletes are configured to occur within the specified range of entries. This requires
the following options:
-e delete,random
RDN-based deletes use the rdn execution parameter with a keyword (as listed inTable B.4,
“ldclt Template LDIF File Keywords”) and draws its entry pool from the entries listed in a
text file. This format requires three execution parameters:
-e delete
-e rdn='pattern'
-e object='file'
The last delete operation format is much like the random delete format, only it moves
sequentially through the given range, rather than randomly:
-e delete,incr
789
Configuration, Command, and File Reference
By default, each ldclt thread binds once to the server and then runs all of its operations in
a single session. The -e bindeach can be used with any other operation to instruct the
ldclt tool to bind for each operation and then unbind before initiating the next operation.
-e add,bindeach ...
To test only bind and unbind operations, use the -e bindeach,bindonly execution
parameters and no other operation information. For example:
The bind operation can specify a single user to use for testing by using the -D and -w user
name-password pair in the connection parameters.
NOTE
Use the -e close option with the bind parameters to test the affect that
dropping connections has on the Directory Server, instead of unbinding
cleanly.
There are also execution parameters which can be used to select a random bind identity
from a given file (randombinddnfromfile) or using a DN selected randomly from within a
range (-e randombinddn,randombinddnlow=X,randombinddnhigh=Y).
Binding with a random identity is useful if identities have been added from a generated LDIF
or using -e add, where the accounts were added in a range. Theldclt tool can
autogenerate values using X as a variable and incrementing through the specified range.
790
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
Any operation can be run against randomly-selected base DNs. The trio of randombase
parameters set the range of organizational units to select from. A variable in the -b base
entry sets the format of the base DN.
-b "ou=DeptXXX,dc=example,dc=com" -e
randombase,randombaselow=0,randombasehigh=999 ...
Every operation can be run over TLS to test secure authentication and performance for
secure connections. There are two parameters required for TLS authentication.
The connection parameters, -Z, which gives the path to the security databases for
the Directory Server
The -e abandon parameter opens and then cancels operations on the server. This can be
run by itself or with other types of operations (like -e add or -e esearch).
At its simplest, rsearch emulates multiple client connections for search operations. With
additional options, rsearch can be expanded to perform compare, modify, delete, and
bind/unbind operations along with search operations.
The tool also tracks the performance of the operations and outputs a running stream of
averaged results.
NOTE
791
Configuration, Command, and File Reference
B.2.1. Syntax
rsearch -D bind_dn -w password -s suffix -f filter [ -h host ] [ -p port ] [ -S scope ] [ -b ] [ -u ] [
-L ] [ -N ] [ -v ] [ -y ] [ -q ] [ -l ] [ -m ] [ -M ] [ -d ] [ -c ] [ -i file_for_filters ] [ -B DN_or_uid_file ] [
A attributes ] [ -a file_of_attributes ] [ -n ] [ -o search_time_limits ] [ -j sample_interval ] [ -t
threads ] [ -T timelimit ] [ -V ] [ -C number_of_samples ] [ -R reconnect_interval ] [ -x ] [ -W
password ] [ -U text ] [ -\? or -H ]
B.2.2. Options
Option Description
attr1
attr2
...
DN: dn
UID: uid
...
UID: uid1
UID: uid2
...
792
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
Option Description
joe
jane
793
Configuration, Command, and File Reference
Option Description
794
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
Option Description
NOTE
Even though rsearch requires arguments for search parameters like filter and
scope, these arguments can be left empty to perform tests for other kinds of
LDAP operations. For example:
Most of the time, the rsearch tool uses the information passed in the command line to
connect to the server. The rsearch tool can accept two different configuration files to use
in place of the passed arguments:
A DN or UID file, which contains a list of either UIDs or both DNs and UIDs. The
DN/UID file allows rsearch to connect using multiple, randomly-selected bind
identities. Any operation test can be combined with a bind/unbind test.
WARNING
DN/UID files are used with the -B option to pass the file and then an operation
option (-c, -d, -m, or -x).
A name file, which contains a list of names to use as part of the given LDAP filters.
The filter in the file can be more complex than the ones specified in the -f option.
The filter file can be used to run a number of different search tests. For example,
having only a few filters means that the tool will begin retrieving results from cache,
while using invalid filter can test search failures. It can also test filter performance,
such as exact matches, complex filters, or attribute searches.
When using a filter file, the -f option must be passed with a placeholder value. The
795
Configuration, Command, and File Reference
placeholder can be used to replace only an attribute value, such as cn=%s, which
tells the command to pull the attribute value variable from the filter file. The
placeholder can also replace the filter itself (-f "%s") to supply randomly-selected
filters from the file.
The -i option pass the name file to use for the search filters. Every line in the file is
appended to whatever filter is given with the -f option. There are a couple of
different ways that these two options can be used together:
Alternatively, the entries in the file could simply be a list of names, and a partial
filter can be given for the -f option. For example, the name file could have a list
of UIDs (jsmith, bjensen, amorrow) and the -f filter could be "uid=". rsearch
automatically appends the name to complete the search filter.
Periodically (every ten seconds by default), rsearch returns the current running average
for the operations run by the script.
The results first show the number of operations performed within that interval. The two
ratios in the parenthesis show the total number of operations per second and then the
amount of time, in milliseconds, spent on each operation (1 second divided by the total
number of operations, multiplied by 1000).
For example:
The core usage of rsearch is search testing. Measuring search performance can be done
using only the required arguments with rsearch, without any optional arguments:
Search filters (in the command line or through a file with the -i file) can test different kinds
of indexed attributes:
796
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
Filters with operators (=, >=, <=, ~=) show the performance for approximate
indexes
A basic search (which covers caching, since there is only one filter given and multiple
search operations) uses the following arguments:
Along with the required arguments, this command searches for three specific attributes
in the entries, using the -A option.
The -i filter_file option is required if you use the%s variable in the -f filter
option.
The rsearch utility uses the user DN and password in the (required)-D and -w arguments
to bind to the server. To test authentication performance, these credentials can be left
blank, can be passed a list of credentials that are randomly selected, or be set to a special
user, like the Directory Manager.
The -D and -w arguments have emtpy values, so the tool does not have any bind
credentials to use to connect to the server. This initiates an anonymous bind.
797
Configuration, Command, and File Reference
Rather than using the credentials in the -D and -w arguments, the rsearch tool can be
instructed to pull random bind identities from a list of given UIDs or DNs. This requires
two options:
-B points to a file with a list of bind identities. For a UID file, this is simply a list of
UIDs, one per line:
UID: uid1
UID: uid2
...
For DNs, each entry has two lines, one for the DN and one for the UID (which is
used as the default password):
DN: dn
UID: uid
...
For DNs, the tool uses the DN line for the DN and the UID line as the password. The -U
option tells the tool to use an attribute other than the UID as the entry naming attribute
and -W passes a different password (which, by default, is the UID).
rsearch can be used to measure the performance of modify operations on two kinds of
attributes: indexed and unindexed. The modify operation is signaled by using either the -M
or the -m option. A list of entries to run modify operations against is passed using the-B
option.
NOTE
DN: dn1
UID: uid1
DN: dn2
UID: uid2
...
Using the -b option measures the rate of each set of bind-modify operations. If the-b
option is not used, then there is only one bind operation, and the test shows the average of
all modify operations that are run.
798
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
Modify operations against unindexed attributes are done by using the-m option. The
command performs modify operations on the description attribute for each entry
selected from the DN file.
The test will run successfully even if the description attribute is indexed, so make sure
that the attribute is not indexed before running the test.
Modify operations against indexed attributes are done by using the-M option. The
command performs modify operations on the telephoneNumber attribute for each entry
selected from the DN file.
The test will run successfully even if the telephoneNumber attribute is not indexed, so
make sure that the attribute is indexed before running the test.
The ldapcompare operation can be tested using rsearch by passing the -c option. The tool
runs compare operations against the UID attribute, based on the list of UIDs passed in the -
B option.
NOTE
DN: dn1
UID: uid1
DN: dn2
UID: uid2
...
The -c argument tells the command to perform compare operations. This is required.
Two other arguments are useful for measuring the performance of compare operations:
-B (without the -x), which provides a list of entries that the server can run
compare operations for.
799
Configuration, Command, and File Reference
-v, which runs rsearch in verbose mode and prints the results of each bind
attempt and compare operation.
Only one option is required with the delete performance testing: -d, which tells the
command to run delete operations. As with other operations, the -B argument can be used
to pass a file which contains a list of entries to be randomly selected and deleted.
NOTE
Do not use the -B -x option pair with delete operations, because the
command may attempt to bind to the server with an identity which has
already been deleted.
If the -B argument is used to supply a list of entries available to delete, then it must be
a DN file, which has the format:
DN: dn1
UID: uid1
DN: dn2
UID: uid2
...
The period that operations are run for gathering one round of statistics (by default,
ten seconds)
How long the tool maintains a connection to the server (by default, indefinitely)
The rsearch tool prints the results for the operations performed in the immediate
interval. The default interval is ten (10) seconds, so every line in the output represents
the statistics for the operations run in the preceding ten second. This interval can be
800
APPENDIX B. TESTING SCRIPTS AVAILABLE WITH DIRECTORY SERVER
...
Normally, the command runs indefinitely, until the command is interrupted. The -T
option sets a time limit (in seconds) for the test to run and then exit cleanly. When the
tool exits, it prints a final summary of the averages of all test run intervals.
The tool usually opens one connection to the server. The reconnect option, -R, sets a
time interval for the tool to reconnect to the Directory Server.
Bind and unbind rates can be checked with any operation (search, modify, delete, compare)
which is measured by rsearch. This requires one option,-b, which tells the tool to bind to
the server with every operation.
Two other attributes can be used with bind testing: -L (which sets the tool to linger) and -N
(which tells the tool to bind and unbind without performing any other operations).
Two options are used to initiate bind and unbind operations for every operation
performed by rsearch:
-b (required)
-L (recommended)
801
Configuration, Command, and File Reference
The -i filter_file option is required if you use the%s variable in the -f filter
option.
To test the anonymous bind rate, simply use the -b option and leave the values for the -
D and -w options empty. The -N option ensures that the command only attempts bind
and unbind operations.
As with anonymous bind operations, the required arguments can be left blank. The -N
option ensures that the command only attempts bind and unbind operations, while the -
B and -x options supply a list of random bind credentials for the command to select
from.
Normally, any identity contained in the bind file (UID or DN) can be used for bind testing.
The default filter is "(uid=%s)", which every identity entry has. To use only a subset of
the identities in the file, the -U option can be used to pass an alternate filter.
By default, rsearch opens one thread for operations. The-t option allows a multiple
threads to be opened.
[3] As with the add operation, the first time that the parent is referenced by the tool, the parent
entry is created, but the entry which prompted the add operation is not created.
802
APPENDIX C. ADMINISTRATION SERVER COMMAND-LINE TOOLS
This chapter explains where to find and how to use the Administration Server tools.
C.1. SEC-ACTIVATE
The sec-activate tool activates and deactivates TLS for the Administration Server.
Syntax:
For example:
# sec-activate /etc/dirsrv/admin-serv on
C.2. MODUTIL
The modutil tool is a command-line utility for managing PKCS #11 module information
stored in secmod.db files or hardware tokens.modutil can perform a variety of security
database operations:
Changing passwords
Setting defaults
Location
The modutil tool is located in the /usr/bin folder.
803
Configuration, Command, and File Reference
Syntax
task is one of the commands listed in Table C.1, “Task Commands for modutil”and option is
from Table C.2, “Options for modutil”. Each modutil command can take one task and one
option.
NOTE
Each modutil command can take one task and one option.
Table C.1, “Task Commands for modutil”describes what the modutil commands do and
what options are available for each. Table C.2, “Options for modutil” defines what the
options do.
-mechanisms mechanismList
804
APPENDIX C. ADMINISTRATION SERVER COMMAND-LINE TOOLS
805
Configuration, Command, and File Reference
Table C.2, “Options for modutil” describes the different options for themodutil task
commands.
Option Description
-dbdir /etc/dirsrv/admin-serv
806
APPENDIX C. ADMINISTRATION SERVER COMMAND-LINE TOOLS
Option Description
RSA
DSA
AES
DES
DH
807
Configuration, Command, and File Reference
Option Description
For details on how to declare this METAINFO command in the MANIFEST, see
https://docs.oracle.com/cd/E19957-01/816-6164-10/.
If a PKCS #11 installer script is stored in the information file pk11install, the text file for
the Signing Tool contains the following METAINFO tag:
+ Pkcs11_install_script: pk11install
The JAR information file in Example C.1, “Example JAR File” has instructions for installing a
PKCS #11 module on different platforms.
808
APPENDIX C. ADMINISTRATION SERVER COMMAND-LINE TOOLS
Creating a JAR information file involves writing a script that specifies which tasks to perform
when installing a module. Keys, predefined commands, and options that modutil interprets
can be used to specify different module installation procedures for different platforms.
Keys are case-insensitive strings that are grouped into three categories:
809
Configuration, Command, and File Reference
Global Keys
Per-Platform Keys
Per-File Keys
Global Keys
Global keys define the platform-specific sections of the JAR information file. There are two
global keys: ForwardCompatible and Platforms.
ForwardCompatible { Solaris:5.5.1:sparc }
The platforms listed between the braces must have entries within the Platforms key.
Platforms is a required key that specifies a list of platforms. Each entry in the list is itself a
key-value pair: the key is the name of the platform and the value list contains various
attributes of the platform. The ModuleName, ModuleFile, and Files attributes must be
specified for each platform unless an EquivalentPlatform attribute is specified. For more
information, see Per-Platform Keys.
The modutil program obtains the system name, release number, and architecture values
from the system on which the modutil tool is running. The following system names and
platforms are currently recognized:
HP-UX (hppa1.1)
Solaris (sparc)
For example:
Linux:5.2.0:x86
Per-Platform Keys
These keys have meaning only within an entry in the Platforms list.
ModuleName is a required key that specifies the common name for the module. This name
acts as a reference to the module for Red Hat Communicator, the modutil tool, servers, or
any other program that uses the Red Hat security module database.
810
APPENDIX C. ADMINISTRATION SERVER COMMAND-LINE TOOLS
ModuleFile is a required key that names the PKCS #11 module file .so) ( for this platform.
The file name should be a path that is relative to the JAR file location.
RSA 0x00000001
DSA 0x00000002
RC2 0x00000004
RC4 0x00000008
DES 0x00000010
DH 0x00000020
FORTEZZA 0x00000040
RC5 0x00000080
SHA1 0x00000100
MD5 0x00000200
MD2 0x00000400
RANDOM 0x08000000
FRIENDLY 0x10000000
OWN_PW_DEFAULTS 0x20000000
DISABLE 0x40000000
Files is a required key that lists the files that need to be installed for this module. Each
entry in the file list is a key-value pair. The key includes the path to the file that is
contained in the JAR archive and the value list contains the attributes of the file. At a
minimum, you must specify either RelativePath or AbsolutePath for each file. If required,
you can specify additional attributes. For more information, see Per-File Keys.
811
Configuration, Command, and File Reference
The EquivalentPlatform key specifies that the attributes of the named platform should
also be used for the current platform. Using this key saves time when more than one
platform uses the same settings.
Per-File Keys
These keys have meaning only within an entry in a Files list. At a minimum, RelativePath
or AbsolutePath must be specified. If both are specified, the relative path is tried first, and
the absolute path is used only if a relative root folder is not provided by modutil.
The RelativePath key specifies the destination path of the file, relative to a folder
indicated at installation. You can assign values for two variables in the relative path,
%root% and %temp%. At run time, %root% is replaced with a folder in which files should be
installed, such as the server's root folder. The %temp% folder is created at the beginning of
the installation and destroyed at the end.
The purpose of %temp% is to hold executable files (such as setup programs) or files that are
used by these programs. Files destined for the temporary folder are in place before any
executable file is launched. They are not deleted until all executable files have finished.
The AbsolutePath key specifies the destination of the file as an absolute path. If both
RelativePath and AbsolutePath are specified, modutil attempts to use the relative path.
If it is unable to determine a relative path, it uses the absolute path.
The Executable key specifies that a file is to be executed during the course of the
installation. Typically, this key is used to identify a setup program provided by a module
vendor. The setup program itself is specified by the RelativePath or AbsolutePath key.
For example, to specify that the setup.exe program (located in the %temp% folder) is an
executable file, include the following lines in your JAR information file:
Executable
RelativePath { %temp%/setup.exe }
More than one file can be specified as executable, in which case the files are run in the
order in which they are listed in the script file. Use the Executable key before a
RelativePath or AbsolutePath key to indicate
The FilePermissions key specifies the access permissions to apply to a file. Themodutil
program interprets the key as a string of octal digits, following the standard UNIX format.
This key is a bitwise OR of the string constants listed in Table C.4, “File Permissions
Specified Using FilePermissions”. For example, to specify read and execute access for all
users, enter 555 (bitwise 400 + 100 + 040 + 010 + 004 + 001).
The following table lists the file permissions that can be specified using FilePermissions.
812
APPENDIX C. ADMINISTRATION SERVER COMMAND-LINE TOOLS
GroupWrite 020
Some platforms may not understand these permissions. The permissions are applied only if
they make sense for the current platform. If this key is omitted, a default value of 777
(read, write, and execute for all users) is assumed.
Creating "/etc/dirsrv/admin-serv/key3.db"...done.
Creating "/etc/dirsrv/admin-serv/cert8.db"...done.
Creating "/etc/dirsrv/admin-serv/secmod.db"...done.
813
Configuration, Command, and File Reference
To make a specific module the default provider for the RSA, DSA, and RC2 security
mechanisms:
814
APPENDIX C. ADMINISTRATION SERVER COMMAND-LINE TOOLS
To install a module using a JAR file, first create the JAR file script. For example:
Platforms {
Linux:2.0.32:x86 {
ModuleName { "SuperCrypto Module" }
ModuleFile { crypto.dll }
DefaultMechanismFlags{0x0000}
CipherEnableFlags{0x0000}
Files {
crypto.dll {
RelativePath{ %root%/system32/crypto.dll }
815
Configuration, Command, and File Reference
}
setup.exe {
Executable
RelativePath{ %temp%/setup.exe }
}
}
}
Win95::x86 {
EquivalentPlatform { Winnt::x86 }
}
}
----------------------------------------------
**SUBJECT NAME**
----------------------------------------------
816
APPENDIX C. ADMINISTRATION SERVER COMMAND-LINE TOOLS
817
Configuration, Command, and File Reference
Disabled agreements
If a replication agreement is disabled, the nsds5replicaLastUpdateStatus parameter is
no longer updated and can display the following status:
The replication agreement was already disabled when the server started:
Replication succeeded, but the consumer ended the session to be able to get
acquired by another supplier:
818
APPENDIX D. REPLICATION AGREEMENT STATUS
The result code and error message indicates the reason why the connection
could not be established.
This error is caused by a failure related to the change sequence number (CSN)
generator on the consumer. See the consumer log files for further details.
The identity used to authenticate to the consumer was neither a valid replication
bind distinguished name (DN) nor a member of a bind DN group:
Error (11) :Unable to aquire replica: the replica has the same
Replica ID as this one. Replication is aborting.
819
Configuration, Command, and File Reference
The replica has no update vector configured or replication was not enabled on
the consumer:
The consumer was not initialized using the same database generation as the
supplier:
The time difference between the local and the remove server is too big:
Error (2) : fatal error - too much time skew between replicas
This error is logged, for example, if the path to the changelog file does not
exist.
820
APPENDIX D. REPLICATION AGREEMENT STATUS
This error is logged, for example, if the changelog buffer or changelog iterator
failed to allocate memory.
The supplier is ahead of the consumer and wants to send updates, but cannot
find the starting point in the changelog:
Directory Server treats these errors as fatal, but they can be resolved if the
consumer receives the updates from a different supplier. In this case, it is
treated as transient.
The result code indicates the reason why the thread was not created.
This error is logged, for example, if the path to the changelog file does not
exist.
821
Configuration, Command, and File Reference
5. Sub-entry update:
A non-fatal error occurred on the local server while processing the changelog:
GLOSSARY
A
access control instruction
See ACI.
access control list
See ACL.
access rights
In the context of access control, specify the level of access granted or denied. Access
rights are related to the type of operation that can be performed on the directory. The
following rights can be granted or denied: read, write, add, delete, search, compare,
822
GLOSSARY
account inactivation
Disables a user account, group of accounts, or an entire domain so that all
authentication attempts are automatically rejected.
ACI
An instruction that grants or denies permissions to entries in the directory.
ACL
The mechanism for controlling access to your directory.
anonymous access
When granted, allows anyone to access directory information without providing
credentials, and regardless of the conditions of the bind.
approximate index
Allows for efficient approximate or "sounds-like" searches.
attribute
Holds descriptive information about an entry. Attributes have a label and a value. Each
attribute also follows a standard syntax for the type of information that can be stored as
the attribute value.
attribute list
A list of required and optional attributes for a given entry type or object class.
authentication
823
Configuration, Command, and File Reference
(1) Process of proving the identity of the client user to the Directory Server. Users must
provide a bind DN and either the corresponding password or certificate in order to be
granted access to the directory. Directory Server allows the user to perform functions or
access files and directories based on the permissions granted to that user by the
directory administrator.
(2) Allows a client to make sure they are connected to a secure server, preventing
another computer from impersonating the server or attempting to appear secure when it
is not.
authentication certificate
Digital file that is not transferable and not forgeable and is issued by a third party.
Authentication certificates are sent from server to client or client to server in order to
verify and authenticate the other party.
B
base distinguished name
See base DN.
base DN
Base distinguished name. A search operation is performed on the base DN, the DN of the
entry and all entries below it in the directory tree.
bind rule
In the context of access control, the bind rule specifies the credentials and conditions
that a particular user or client must satisfy in order to get access to directory
information.
branch entry
An entry that represents the top of a subtree in the directory.
browser
Software, such as Mozilla Firefox, used to request and view World Wide Web material
stored as HTML files. The browser uses the HTTP protocol to communicate with the host
server.
browsing index
Speeds up the display of entries in the Directory Server Console. Browsing indexes can
be created on any branch point in the directory tree to improve display performance.
824
GLOSSARY
CA
See Certificate Authority.
cascading replication
In a cascading replication scenario, one server, often called the hub supplier, acts both
as a consumer and a supplier for a particular replica. It holds a read-only replica and
maintains a changelog. It receives updates from the supplier server that holds the
master copy of the data and in turn supplies those updates to the consumer.
certificate
A collection of data that associates the public keys of a network user with their DN in the
directory. The certificate is stored in the directory as user object attributes.
Certificate Authority
Company or organization that sells and issues authentication certificates. You may
purchase an authentication certificate from a Certification Authority that you trust. Also
known as a CA.
CGI
Common Gateway Interface. An interface for external programs to communicate with
the HTTP server. Programs written to use CGI are called CGI programs or CGI scripts and
can be written in many of the common programming languages. CGI programs handle
forms or perform output parsing that is not done by the server itself.
chaining
A method for relaying requests to another server. Results for the request are collected,
compiled, and then returned to the client.
changelog
A changelog is a record that describes the modifications that have occurred on a replica.
The supplier server then replays these modifications on the replicas stored on replica
servers or on other masters, in the case of multi-master replication.
character type
Distinguishes alphabetic characters from numeric or other characters and the mapping
of upper-case to lower-case letters.
ciphertext
Encrypted information that cannot be read by anyone without the proper key to decrypt
the information.
class definition
Specifies the information needed to create an instance of a particular object and
determines how the object works in relation to other objects in the directory.
class of service
See CoS.
classic CoS
A classic CoS identifies the template entry by both its DN and the value of one of the
target entry's attributes.
825
Configuration, Command, and File Reference
client
See LDAP client.
code page
An internal table used by a locale in the context of the internationalization plug-in that
the operating system uses to relate keyboard keys to character font screen displays.
collation order
Provides language and cultural-specific information about how the characters of a given
language are to be sorted. This information might include the sequence of letters in the
alphabet or how to compare letters with accents to letters without accents.
consumer
Server containing replicated directory trees or subtrees from a supplier server.
consumer server
In the context of replication, a server that holds a replica that is copied from a different
server is called a consumer for that replica.
CoS
A method for sharing attributes between entries in a way that is invisible to applications.
D
daemon
A background process on a Unix machine that is responsible for a particular system task.
Daemon processes do not need human intervention to continue functioning.
DAP
Directory Access Protocol. The ISO X.500 standard protocol that provides client access to
the directory.
data master
The server that is the master source of a particular piece of data.
database link
An implementation of chaining. The database link behaves like a database but has no
persistent storage. Instead, it points to data stored remotely.
default index
826
GLOSSARY
One of a set of default indexes created per database instance. Default indexes can be
modified, although care should be taken before removing them, as certain plug-ins may
depend on them.
definition entry
See CoS definition entry.
Directory Access Protocol
See DAP.
Directory Manager
The privileged database administrator, comparable to the root user in UNIX. Access
control does not apply to the Directory Manager.
directory service
A database application designed to manage descriptive, attribute-based information
about people and resources within an organization.
directory tree
The logical representation of the information stored in the directory. It mirrors the tree
model used by most filesystems, with the tree's root point appearing at the top of the
hierarchy. Also known as DIT.
distinguished name
String representation of an entry's name and location in an LDAP directory.
DIT
See directory tree.
DM
See Directory Manager.
DN
See distinguished name.
DNS
Domain Name System. The system used by machines on a network to associate
standard IP addresses (such as 198.93.93.10) with host names (such as
www.example.com). Machines normally get the IP address for a host name from a DNS
server, or they look it up in tables maintained on their systems.
DNS alias
A DNS alias is a host name that the DNS server knows points to a different
hostspecifically a DNS CNAME record. Machines always have one real name, but they
can have one or more aliases. For example, an alias such as www.yourdomain.domain
might point to a real machine called realthing.yourdomain.domain where the server
currently exists.
E
entry
A group of lines in the LDIF file that contains information about an object.
827
Configuration, Command, and File Reference
entry distribution
Method of distributing directory entries across more than one server in order to scale to
support large numbers of entries.
entry ID list
Each index that the directory uses is composed of a table of index keys and matching
entry ID lists. The entry ID list is used by the directory to build a list of candidate entries
that may match the client application's search request.
equality index
Allows you to search efficiently for entries containing a specific attribute value.
F
file extension
The section of a filename after the period or dot (.) that typically defines the type of file
(for example, .GIF and .HTML). In the filename index.html the file extension is html.
file type
The format of a given file. For example, graphics files are often saved in GIF format,
while a text file is usually saved as ASCII text format. File types are usually identified by
the file extension (for example, .GIF or .HTML).
filter
A constraint applied to a directory query that restricts the information returned.
filtered role
Allows you to assign entries to the role depending upon the attribute contained by each
entry. You do this by specifying an LDAP filter. Entries that match the filter are said to
possess the role.
G
general access
When granted, indicates that all authenticated users can access directory information.
GSS-API
Generic Security Services. The generic access protocol that is the native way for UNIX-
based systems to access and authenticate Kerberos services; also supports session
encryption.
H
host name
A name for a machine in the form machine.domain.dom, which is translated into an IP
address. For example, www.example.com is the machine www in the subdomain example
and com domain.
828
GLOSSARY
HTML
Hypertext Markup Language. The formatting language used for documents on the World
Wide Web. HTML files are plain text files with formatting codes that tell browsers such as
the Mozilla Firefox how to display text, position graphics, and form items and to display
links to other pages.
HTTP
Hypertext Transfer Protocol. The method for exchanging information between HTTP
servers and clients.
HTTPD
An abbreviation for the HTTP daemon or service, a program that serves information
using the HTTP protocol. The daemon or service is often called an httpd.
HTTPS
A secure version of HTTP, implemented using the Secure Sockets Layer, SSL.
hub
In the context of replication, a server that holds a replica that is copied from a different
server, and, in turn, replicates it to a third server.
I
ID list scan limit
A size limit which is globally applied to any indexed search operation. When the size of
an individual ID list reaches this limit, the server replaces that ID list with an all IDs
token.
index key
Each index that the directory uses is composed of a table of index keys and matching
entry ID lists.
indirect CoS
An indirect CoS identifies the template entry using the value of one of the target entry's
attributes.
international index
Speeds up searches for information in international directories.
ISO
829
Configuration, Command, and File Reference
K
knowledge reference
Pointers to directory information stored in different databases.
L
LDAP
Lightweight Directory Access Protocol. Directory service protocol designed to run over
TCP/IP and across multiple platforms.
LDAP client
Software used to request and view LDAP entries from an LDAP Directory Server.
LDAPv3
Version 3 of the LDAP protocol, upon which Directory Server bases its schema format.
LDBM database
A high-performance, disk-based database consisting of a set of large files that contain all
of the data assigned to it. The primary data store in Directory Server.
LDIF
LDAP Data Interchange Format. Format used to represent Directory Server entries in
text form.
leaf entry
An entry under which there are no other entries. A leaf entry cannot be a branch point in
a directory tree.
830
GLOSSARY
M
managed object
A standard value which the SNMP agent can access and send to the NMS. Each
managed object is identified with an official name and a numeric identifier expressed in
dot-notation.
managed role
Allows creation of an explicit enumerated list of members.
master
See supplier.
master agent
See SNMP master agent.
matching rule
Provides guidelines for how the server compares strings during a search operation. In an
international search, the matching rule tells the server what collation order and operator
to use.
MD5
A message digest algorithm by RSA Data Security, Inc., which can be used to produce a
short digest of data that is unique with high probability and is mathematically extremely
hard to produce; a piece of data that will produce the same message digest.
MD5 signature
A message digest produced by the MD5 algorithm.
MIB
Management Information Base. All data, or any portion thereof, associated with the
SNMP network. We can think of the MIB as a database which contains the definitions of
all SNMP managed objects. The MIB has a tree-like hierarchy, where the top level
contains the most general information about the network and lower levels deal with
specific, separate network areas.
MIB namespace
Management Information Base namespace. The means for directory data to be named
and referenced. Also called the directory tree.
monetary format
Specifies the monetary symbol used by specific region, whether the symbol goes before
or after its value, and how monetary units are represented.
multi-master replication
831
Configuration, Command, and File Reference
An advanced replication scenario in which two servers each hold a copy of the same
read-write replica. Each server maintains a changelog for the replica. Modifications
made on one server are automatically replicated to the other server. In case of conflict,
a time stamp is used to determine which server holds the most recent version.
multiplexor
The server containing the database link that communicates with the remote server.
N
n + 1 directory problem
The problem of managing multiple instances of the same information in different
directories, resulting in increased hardware and personnel costs.
name collisions
Multiple entries with the same distinguished name.
nested role
Allows the creation of roles that contain other roles.
NMS
Powerful workstation with one or more network management applications installed. Also
network management station.
ns-slapd
Red Hat's LDAP Directory Server daemon or service that is responsible for all actions of
the Directory Server.
O
object class
Defines an entry type in the directory by defining which attributes are contained in the
entry.
object identifier
832
GLOSSARY
A string, usually of decimal numbers, that uniquely identifies a schema element, such as
an object class or an attribute, in an object-oriented system. Object identifiers are
assigned by ANSI, IETF or similar organizations.
OID
See object identifier.
operational attribute
Contains information used internally by the directory to keep track of modifications and
subtree properties. Operational attributes are not returned in response to a search
unless explicitly requested.
P
parent access
When granted, indicates that users have access to entries below their own in the
directory tree if the bind DN is the parent of the targeted entry.
pass-through authentication
See PTA.
pass-through subtree
In pass-through authentication, the PTA directory server will pass through bind requests
to the authenticating directory server from all clients whose DN is contained in this
subtree.
password file
A file on Unix machines that stores Unix user login names, passwords, and user ID
numbers. It is also known as /etc/passwd because of where it is kept.
password policy
A set of rules that governs how passwords are used in a given directory.
PDU
Encoded messages which form the basis of data exchanges between SNMP devices. Also
protocol data unit.
permission
In the context of access control, permission states whether access to the directory
information is granted or denied and the level of access that is granted or denied.
pointer CoS
A pointer CoS identifies the template entry using the template DN only.
presence index
Allows searches for entries that contain a specific indexed attribute.
833
Configuration, Command, and File Reference
protocol
A set of rules that describes how devices on a network exchange information.
proxy DN
Used with proxied authorization. The proxy DN is the DN of an entry that has access
permissions to the target on which the client-application is attempting to perform an
operation.
PTA
Mechanism by which one Directory Server consults another to check bind credentials.
Also pass-through authentication.
R
RAM
Random access memory. The physical semiconductor-based memory in a computer.
Information stored in RAM is lost when the computer is shut down.
rc.local
A file on Unix machines that describes programs that are run when the machine starts. It
is also called /etc/rc.local because of its location.
RDN
The name of the actual entry itself, before the entry's ancestors have been appended to
the string to form the full distinguished name. Also relative distinguished name.
read-only replica
A replica that refers all update operations to read-write replicas. A server can hold any
number of read-only replicas.
read-write replica
A replica that contains a master copy of directory information and can be updated. A
server can hold any number of read-write replicas.
834
GLOSSARY
referential integrity
Mechanism that ensures that relationships between related entries are maintained
within the directory.
referral
(1) When a server receives a search or update request from an LDAP client that it cannot
process, it usually sends back to the client a pointer to the LDAP sever that can process
the request.
(2) In the context of replication, when a read-only replica receives an update request, it
forwards it to the server that holds the corresponding read-write replica. This forwarding
process is called a referral.
replication
Act of copying directory trees or subtrees from supplier servers to replica servers.
replication agreement
Set of configuration parameters that are stored on the supplier server and identify the
databases to replicate, the replica servers to which the data is pushed, the times during
which replication can occur, the DN and credentials used by the supplier to bind to the
consumer, and how the connection is secured.
RFC
Request for Comments. Procedures or standards documents submitted to the Internet
community. People can send comments on the technologies before they become
accepted standards.
role
An entry grouping mechanism. Each role has members, which are the entries that
possess the role.
role-based attributes
Attributes that appear on an entry because it possesses a particular role within an
associated CoS template.
root
The most privileged user available on Unix machines. The root user has complete access
privileges to all files on the machine.
root suffix
The parent of one or more sub suffixes. A directory tree can contain more than one root
suffix.
835
Configuration, Command, and File Reference
S
SASL
An authentication framework for clients as they attempt to bind to a directory. Also
Simple Authentication and Security Layer .
schema
Definitions describing what types of information can be stored as entries in the directory.
When information that does not match the schema is stored in the directory, clients
attempting to access the directory may be unable to display the proper results.
schema checking
Ensures that entries added or modified in the directory conform to the defined schema.
Schema checking is on by default, and users will receive an error if they try to save an
entry that does not conform to the schema.
Server Console
Java-based application that allows you to perform administrative management of your
Directory Server from a GUI.
server daemon
The server daemon is a process that, once running, listens for and accepts requests from
clients.
Server Selector
Interface that allows you select and configure servers using a browser.
server service
A process on Windows that, once running, listens for and accepts requests from clients.
It is the SMB server on Windows NT.
service
A background process on a Windows machine that is responsible for a particular system
task. Service processes do not need human intervention to continue functioning.
SIE
Server Instance Entry. The ID assigned to an instance of Directory Server during
installation.
836
GLOSSARY
See SNMP.
single-master replication
The most basic replication scenario in which multiple servers, up to four, each hold a
copy of the same read-write replicas to replica servers. In a single-master replication
scenario, the supplier server maintains a changelog.
SIR
See supplier-initiated replication.
slapd
LDAP Directory Server daemon or service that is responsible for most functions of a
directory except replication.
SNMP
Used to monitor and manage application processes running on the servers by
exchanging data about network activity. Also Simple Network Management Protocol.
SNMP subagent
Software that gathers information about the managed device and passes the information
to the master agent. Also called a subagent.
SSL
A software library establishing a secure connection between two parties (client and
server) used to implement HTTPS, the secure version of HTTP. Also called Secure Sockets
Layer.
standard index
index maintained by default.
sub suffix
A branch underneath a root suffix.
subagent
See SNMP subagent.
substring index
Allows for efficient searching against substrings within entries. Substring indexes are
limited to a minimum of two characters for each entry.
suffix
The name of the entry at the top of the directory tree, below which data is stored.
Multiple suffixes are possible within the same directory. Each database only has one
suffix.
superuser
837
Configuration, Command, and File Reference
The most privileged user available on Unix machines. The superuser has complete
access privileges to all files on the machine. Also called root.
supplier
Server containing the master copy of directory trees or subtrees that are replicated to
replica servers.
supplier server
In the context of replication, a server that holds a replica that is copied to a different
server is called a supplier for that replica.
supplier-initiated replication
Replication configuration where supplier servers replicate directory data to any replica
servers.
symmetric encryption
Encryption that uses the same key for both encrypting and decrypting. DES is an
example of a symmetric encryption algorithm.
system index
Cannot be deleted or modified as it is essential to Directory Server operations.
T
target
In the context of access control, the target identifies the directory information to which a
particular ACI applies.
target entry
The entries within the scope of a CoS.
TCP/IP
Transmission Control Protocol/Internet Protocol. The main network protocol for the
Internet and for enterprise (company) networks.
template entry
See CoS template entry.
time/date format
Indicates the customary formatting for times and dates in a specific region.
TLS
The new standard for secure socket layers; a public key based protocol. Also Transport
Layer Security.
topology
The way a directory tree is divided among physical servers and how these servers link
with one another.
838
GLOSSARY
U
uid
A unique number associated with each user on a Unix system.
URL
Uniform Resource Locater. The addressing system used by the server and the client to
request documents. It is often called a location. The format of a URL is
protocol://machine:port/document. The port number is necessary only on selected
servers, and it is often assigned by the server, freeing the user of having to place it in
the URL.
V
virtual list view index
Speeds up the display of entries in the Directory Server Console. Virtual list view indexes
can be created on any branch point in the directory tree to improve display
performance.
X
X.500 standard
The set of ISO/ITU-T documents outlining the recommended information model, object
classes and attributes used by directory server implementation.
839
Configuration, Command, and File Reference
INDEX
Symbols
00core.ldif
ldif files, LDIF and Schema Configuration Files
01common.ldif
ldif files, LDIF and Schema Configuration Files
05rfc2247.ldif
ldif files, LDIF and Schema Configuration Files
05rfc2927.ldif
ldif files, LDIF and Schema Configuration Files
10presence.ldif
ldif files, LDIF and Schema Configuration Files
10rfc2307.ldif
ldif files, LDIF and Schema Configuration Files
20subscriber.ldif
ldif files, LDIF and Schema Configuration Files
25java-object.ldif
ldif files, LDIF and Schema Configuration Files
28pilot.ldif
ldif files, LDIF and Schema Configuration Files
30ns-common.ldif
ldif files, LDIF and Schema Configuration Files
50ns-admin.ldif
ldif files, LDIF and Schema Configuration Files
50ns-certificate.ldif
ldif files, LDIF and Schema Configuration Files
50ns-directory.ldif
ldif files, LDIF and Schema Configuration Files
50ns-mail.ldif
ldif files, LDIF and Schema Configuration Files
50ns-value.ldif
ldif files, LDIF and Schema Configuration Files
840
INDEX
50ns-web.ldif
ldif files, LDIF and Schema Configuration Files
A
access log
connection code, Common Connection Codes
A1 , Common Connection Codes
B1 , Common Connection Codes
B2 , Common Connection Codes
B3 , Common Connection Codes
B4 , Common Connection Codes
P2 , Common Connection Codes
T1 , Common Connection Codes
T2 , Common Connection Codes
U1 , Common Connection Codes
841
Configuration, Command, and File Reference
account, account
account policy
altstateattrname, altstateattrname
alwaysRecordLogin, alwaysRecordLogin
alwaysRecordLoginAttr, alwaysRecordLoginAttr
limitattrname, limitattrname
plug-in configuration attributes, Account Policy Plug-in Attributes
specattrname, specattrname
stateattrname, stateattrname
accountpolicy, accountpolicy
accountUnlockTime, accountUnlockTime
aci, aci
AD DN
addn_base, addn_base
addn_filter, addn_filter
cn, cn
plug-in configuration attributes, AD DN Plug-in Attributes
alias, alias
aliasedObjectName, aliasedObjectName
altServer, altServer
ancestorid.db file, Database Files
associatedDomain, associatedDomain
associatedName, associatedName
attributes
allowed, Required and Allowed Attributes
defined, Attributes
multi-valued, Single- and Multi-Valued Attributes
842
INDEX
attributeTypes, attributeTypes
audio, audio
authorCn, authorCn
authorSn, authorSn
auto membership plug-in configuration attributes
autoMemberDefaultGroup, autoMemberDefaultGroup
autoMemberDefinition, autoMemberDefinition (Object Class)
autoMemberExclusiveRegex, autoMemberExclusiveRegex
autoMemberFilter, autoMemberFilter
autoMemberGroupingAttr, autoMemberGroupingAttr
autoMemberInclusiveRegex, autoMemberInclusiveRegex
autoMemberRegexRule, autoMemberRegexRule (Object Class)
autoMemberScope, autoMemberScope
autoMemberTargetGroup, autoMemberTargetGroup
automountInformation, automountInformation
B
backend, cn=USN tombstone cleanup task
backendMonitorDN attribute, cn=monitor
backup files, Backup Files
bak2db
command-line shell script, bak2db (Restores a Database from Backup)
quick reference, Command-Line Scripts Quick Reference
bak2db.pl
command-line perl script, bak2db.pl (Restores a Database from Backup)
base, ldif
base 64 encoding, ldif
basedn, cn=memberof task, cn=syntax validate, cn=automember rebuild
membership, cn=automember export updates
binary data, LDIF and, ldif
bootableDevice, bootableDevice
bootFile, bootFile
bootParameter, bootParameter
Browsing Indexes, vlvindex (Creates Virtual List View Indexes)
buildingName, buildingName
businessCategory, businessCategory
843
Configuration, Command, and File Reference
bytessentattribute, cn=monitor
C
c, c (countryName)
cACertificate, cACertificate
cacheObject, cacheObject
carLicense, carLicense
certificateRevocationList, certificateRevocationList
changelog
multi-master replication changelog, cn=changelog5,cn=config
changeLog, changeLog
changelog configuration attributes
changelogmaxconcurrentwrites, nsslapd-changelogmaxconcurrentwrites (Max
Concurrent Rewrites)
changelogmaxentries, nsslapd-changelogmaxentries (Max Changelog Records)
changelogtrim-interval, nsslapd-changelogtrim-interval (Replication Changelog
Trimming Interval)
nsslapd-changelogcompactdb-interval, nsslapd-changelogcompactdb-interval
nsslapd-changelogdir, nsslapd-changelogdir
nsslapd-changelogmaxage, nsslapd-changelogmaxage (Max Changelog Age)
nsslapd-encryptionalgorithm, nsslapd-encryptionalgorithm (Encryption
Algorithm)
nsSymmetricKey, nsSymmetricKey
cl-dump.pl
command-line perl script, cl-dump.pl (Dumps and Decodes the Changelog)
cleanallruv.pl
command-line perl script, cleanallruv.pl (Cleans RUV data)
844
INDEX
cn=backup
attributes
nsArchiveDir, cn=backup
nsDatabaseType, cn=backup
cn=changelog5
changelog configuration entries, cn=changelog5,cn=config
845
Configuration, Command, and File Reference
cn=cleanallruv
configuration entry, cn=cleanallruv
cn=cleanallruv task
attributes
replica-base-dn, cn=cleanallruv
replica-force-cleaning, cn=cleanallruv
replica-id, cn=cleanallruv
cn=config
general, Overview of the Directory Server Configuration
general configuration entries, cn=config
object classes, cn=config
cn=des2aes
configuration entry, cn=des2aes
cn=encryption
encryption configuration entries, cn=encryption
object classes, cn=encryption
cn=export
attributes
nsDumpUniqId, cn=export
nsExcludeSuffix, cn=export
nsExportReplica, cn=export
nsFilename, cn=export
nsIncludeSuffix, cn=export
nsInstance, cn=export
nsNoWrap, cn=export
nsPrintKey, cn=export
nsUseId2Entry, cn=export
846
INDEX
nsUseOneFile, cn=export
cn=import
attributes
nsExcludeSuffix, cn=import
nsFilename, cn=import
nsImportChunkSize, cn=import
nsImportIndexAttrs, cn=import
nsIncludeSuffix, cn=import
nsInstance, cn=import
nsUniqueIdGenerator, cn=import
nsUniqueIdGeneratorNamespace, cn=import
cn=index
attributes
nsIndexAttribute, cn=index
nsIndexVLVAttribute, cn=index
cn=mapping tree
object classes, cn=mapping tree
suffix and replication configuration entries, cn=mapping tree
cn=memberof task
attributes
basedn, cn=memberof task
filter, cn=memberof task
cn=monitor
object classes, cn=monitor
read-only monitoring configuration entries, cn=monitor
cn=restore
847
Configuration, Command, and File Reference
attributes
nsArchiveDir, cn=restore
nsDatabaseType, cn=restore
cn=sasl
object classes, cn=sasl
SASL configuration entries, cn=sasl
cn=SNMP
object classes, cn=SNMP
SNMP configuration entries, cn=SNMP
cn=tasks
attributes
cn, Task Invocation Attributes for Entries under cn=tasks
nsTaskCancel, Task Invocation Attributes for Entries under cn=tasks
nsTaskCurrentItem, Task Invocation Attributes for Entries under cn=tasks
nsTaskExitCode, Task Invocation Attributes for Entries under cn=tasks
nsTaskLog, Task Invocation Attributes for Entries under cn=tasks
nsTaskStatus, Task Invocation Attributes for Entries under cn=tasks
ttl, Task Invocation Attributes for Entries under cn=tasks
848
INDEX
cn=uniqueid generator
object classes, cn=uniqueid generator
uniqueid generator configuration entries, cn=uniqueid generator
cn=UserRoot
configuration, Configuration of Databases
co, co (friendlyCountryName)
command-line scripts, Command-Line Scripts
finding and executing, Finding and Executing Command-Line Scripts
location of shell scripts, Command-Line Scripts Quick Reference
migrate-ds-admin.pl, migrate-ds-admin.pl
migrate-ds.pl, migrate-ds.pl
perl scripts, Perl Scripts
bak2db.pl , bak2db.pl (Restores a Database from Backup)
cl-dump.pl , cl-dump.pl (Dumps and Decodes the Changelog)
cleanallruv.pl, cleanallruv.pl (Cleans RUV data)
db2bak.pl, db2bak.pl (Creates a Backup of a Database)
db2index.pl , db2index.pl (Creates and Generates Indexes)
db2ldif.pl , db2ldif.pl (Exports Database Contents to LDIF)
fixup-linkedattrs.pl, fixup-linkedattrs.pl (Regenerate Linked and Managed
Attributes)
fixup-memberof.pl, fixup-memberof.pl (Regenerate memberOf Attributes)
ldif2db.pl , ldif2db.pl (Import)
ns-accountstatus.pl , ns-accountstatus.pl (Establishes Account Status)
ns-activate.pl , ns-activate.pl (Activates an Entry or Group of Entries)
ns-inactivate.pl , ns-inactivate.pl (Inactivates an Entry or Group of Entries)
849
Configuration, Command, and File Reference
850
INDEX
command-line utilities
dbmon.sh, dbmon.sh (Database Monitoring and Entry Cache Usage)
dbscan, dbscan
dn2rdn, dn2rdn
ds-replcheck, ds-replcheck (Check Replication Status Between Two Databases)
ds_removal, ds_removal
ldif, ldif
configuration
access control, Access Control for Configuration Entries
accessing and modifying, Accessing and Modifying Server Configuration
changing attributes, Changing Configuration Attributes
cn=UserRoot, Configuration of Databases
database-specific, Overview of the Directory Server Configuration
o=NetscapeRoot, Configuration of Databases
overview, Overview of the Directory Server Configuration
plug-in functionality, Configuration of Plug-in Functionality
configuration attributes
changelog5 configuration attributes, cn=changelog5,cn=config
changing, Changing Configuration Attributes
core server configuration attributes, Core Server Configuration Attributes
Reference
database link plug-in configuration attributes, Database Link Plug-in
Attributes (Chaining Attributes)
database plug-in configuration attributes, Database Plug-in Attributes
encryption configuration attributes, cn=encryption
mapping tree configuration attributes, cn=mapping tree
monitoring configuration attributes, cn=monitor
overview, Configuration Attributes
plug-in functionality configuration attributes, List of Attributes Common to All
Plug-ins
plug-in functionality configuration attributes allowed by certain plug-ins,
Attributes Allowed by Certain Plug-ins
plug-in functionality configuration attributes common to all plug-ins, List of
Attributes Common to All Plug-ins
replication agreement configuration attributes, Replication Attributes under
cn=ReplicationAgreementName,cn=replica,cn=suffixName,cn=mapping
tree,cn=config
replication configuration attributes, Replication Attributes under
cn=replica,cn=suffixDN,cn=mapping tree,cn=config
restrictions to modifying, Restrictions to Modifying Configuration Entries and
Attributes
retro changelog plug-in configuration attributes, Retro Changelog Plug-in
Attributes
851
Configuration, Command, and File Reference
configuration changes
deleting core server configuration attributes, Deleting Configuration
Attributes
requiring server restart, Configuration Changes Requiring Server Restart
configuration entries
modifying using LDAP, Modifying Configuration Entries Using LDAP
restrictions to modifying, Restrictions to Modifying Configuration Entries and
Attributes
852
INDEX
853
Configuration, Command, and File Reference
nsDS5ReplicaChangesSentSinceStartup,
nsDS5ReplicaChangesSentSinceStartup
nsDS5ReplicaCredentials, nsDS5ReplicaCredentials
nsds5ReplicaEnabled, nsds5ReplicaEnabled
nsDS5ReplicaHost, nsDS5ReplicaHost
nsDS5ReplicaID, nsDS5ReplicaId
nsDS5ReplicaLastInitEnd, nsDS5ReplicaLastInitEnd
nsDS5ReplicaLastInitStart, nsDS5ReplicaLastInitStart
nsDS5ReplicaLastInitStatus, nsDS5ReplicaLastInitStatus
nsDS5ReplicaLastUpdateEnd, nsDS5ReplicaLastUpdateEnd
nsDS5ReplicaLastUpdateStart, nsDS5ReplicaLastUpdateStart
nsds5replicaLastUpdateStatus, nsds5replicaLastUpdateStatus
nsDS5ReplicaLegacyConsumer, nsDS5ReplicaLegacyConsumer
nsDS5ReplicaName, nsDS5ReplicaName
nsDS5ReplicaPort, nsDS5ReplicaPort
nsDS5ReplicaPurgeDelay, nsDS5ReplicaPurgeDelay
nsDS5ReplicaReapActive, nsDS5ReplicaReapActive
nsDS5ReplicaReferral, nsDS5ReplicaReferral
nsDS5ReplicaReleaseTimeout, nsDS5ReplicaReleaseTimeout
nsDS5ReplicaRoot, nsDS5ReplicaRoot
nsDS5ReplicaSessionPauseTime, nsDS5ReplicaSessionPauseTime
nsds5ReplicaStripAttrs, nsds5ReplicaStripAttrs
nsDS5ReplicatedAttributeList, nsDS5ReplicatedAttributeList
nsDS5ReplicatedAttributeListTotal, nsDS5ReplicatedAttributeListTotal
nsDS5ReplicaTimeout, nsDS5ReplicaTimeout
nsDS5ReplicaTombstonePurgeInterval, nsDS5ReplicaTombstonePurgeInterval
nsDS5ReplicaTransportInfo, nsDS5ReplicaTransportInfo
nsDS5ReplicaType, nsDS5ReplicaType
nsDS5ReplicaUpdateInProgress, nsDS5ReplicaUpdateInProgress
nsDS5ReplicaUpdateSchedule, nsDS5ReplicaUpdateSchedule
nsDS5ReplicaWaitForAsyncResults , nsDS5ReplicaWaitForAsyncResults
nsds5Task, nsds5Task
nsDumpUniqId, cn=export
nsExcludeSuffix, cn=import, cn=export
nsExportReplica, cn=export
nsFilename, cn=import, cn=export
nsImportChunkSize, cn=import
nsImportIndexAttrs, cn=import
nsIncludeSuffix, cn=import, cn=export
nsIndexAttribute, cn=index
nsIndexVLVAttribute, cn=index
nsInstance, cn=import, cn=export
854
INDEX
nsNoWrap, cn=export
nsPrintKey, cn=export
nsruvReplicaLastModified, nsruvReplicaLastModified
nsSaslMapBaseDNTemplate, nsSaslMapBaseDNTemplate
nsSaslMapFilterTemplate, nsSaslMapFilterTemplate
nsSaslMapPriority, nsSaslMapPriority
nsSaslMapRegexString, nsSaslMapRegexString
nsslapd-accesslog, nsslapd-accesslog (Access Log)
nsslapd-accesslog-level, nsslapd-accesslog-level (Access Log Level)
nsslapd-accesslog-list, nsslapd-accesslog-list (List of Access Log Files)
nsslapd-accesslog-logbuffering, nsslapd-accesslog-logbuffering (Log
Buffering)
nsslapd-accesslog-logexpirationtime, nsslapd-accesslog-logexpirationtime
(Access Log Expiration Time)
nsslapd-accesslog-logexpirationtimeunit, nsslapd-accesslog-
logexpirationtimeunit (Access Log Expiration Time Unit)
nsslapd-accesslog-logging-enabled, nsslapd-accesslog-logging-enabled
(Access Log Enable Logging)
nsslapd-accesslog-logmaxdiskspace, nsslapd-accesslog-logmaxdiskspace
(Access Log Maximum Disk Space)
nsslapd-accesslog-logminfreediskspace, nsslapd-accesslog-
logminfreediskspace (Access Log Minimum Free Disk Space)
nsslapd-accesslog-logrotationsync-enabled, nsslapd-accesslog-
logrotationsync-enabled (Access Log Rotation Sync Enabled)
nsslapd-accesslog-logrotationsynchour, nsslapd-accesslog-
logrotationsynchour (Access Log Rotation Sync Hour)
nsslapd-accesslog-logrotationsyncmin, nsslapd-accesslog-logrotationsyncmin
(Access Log Rotation Sync Minute)
nsslapd-accesslog-logrotationtime, nsslapd-accesslog-logrotationtime (Access
Log Rotation Time)
nsslapd-accesslog-maxlogsize, nsslapd-accesslog-maxlogsize (Access Log
Maximum Log Size)
nsslapd-accesslog-maxlogsperdir, nsslapd-accesslog-maxlogsperdir (Access
Log Maximum Number of Log Files)
nsslapd-accesslog-mode, nsslapd-accesslog-mode (Access Log File Permission)
nsslapd-allow-anonymous-access, nsslapd-allow-anonymous-access
nsslapd-allow-hashed-passwords, nsslapd-allow-hashed-passwords
nsslapd-allow-unauthenticated-binds, nsslapd-allow-unauthenticated-binds
nsslapd-allowed-sasl-mechanisms, nsslapd-allowed-sasl-mechanisms
nsslapd-anonlimitsdn, nsslapd-anonlimitsdn
nsslapd-attribute-name-exceptions, nsslapd-attribute-name-exceptions
nsslapd-auditfaillog-list, nsslapd-auditfaillog-list
nsslapd-auditfaillog-logexpirationtime, nsslapd-auditfaillog-logexpirationtime
(Audit Fail Log Expiration Time)
855
Configuration, Command, and File Reference
nsslapd-auditfaillog-logexpirationtimeunit, nsslapd-auditfaillog-
logexpirationtimeunit (Audit Fail Log Expiration Time Unit)
nsslapd-auditfaillog-logging-enabled, nsslapd-auditfaillog-logging-enabled
(Audit Fail Log Enable Logging)
nsslapd-auditfaillog-logmaxsdiskspace, nsslapd-auditfaillog-logmaxdiskspace
(Audit Fail Log Maximum Disk Space)
nsslapd-auditfaillog-logminfreediskspace, nsslapd-auditfaillog-
logminfreediskspace (Audit Fail Log Minimum Free Disk Space)
nsslapd-auditfaillog-logrotationsync-enabled, nsslapd-auditfaillog-
logrotationsync-enabled (Audit Fail Log Rotation Sync Enabled)
nsslapd-auditfaillog-logrotationsynchour, nsslapd-auditfaillog-
logrotationsynchour (Audit Fail Log Rotation Sync Hour)
nsslapd-auditfaillog-logrotationsyncmin, nsslapd-auditfaillog-
logrotationsyncmin (Audit Fail Log Rotation Sync Minute)
nsslapd-auditfaillog-logrotationtime, nsslapd-auditfaillog-logrotationtime
(Audit Fail Log Rotation Time)
nsslapd-auditfaillog-logrotationtimeunit, nsslapd-auditfaillog-
logrotationtimeunit (Audit Fail Log Rotation Time Unit)
nsslapd-auditfaillog-maxlogsize, nsslapd-auditfaillog-maxlogsize (Audit Fail
Log Maximum Log Size)
nsslapd-auditfaillog-maxlogsperdir, nsslapd-auditfaillog-maxlogsperdir (Audit
Fail Log Maximum Number of Log Files)
nsslapd-auditfaillog-mode, nsslapd-auditfaillog-mode (Audit Fail Log File
Permission)
nsslapd-auditlog-list, nsslapd-auditlog-list
nsslapd-auditlog-logexpirationtime, nsslapd-auditlog-logexpirationtime (Audit
Log Expiration Time)
nsslapd-auditlog-logexpirationtimeunit, nsslapd-auditlog-
logexpirationtimeunit (Audit Log Expiration Time Unit)
nsslapd-auditlog-logging-enabled, nsslapd-auditlog-logging-enabled (Audit
Log Enable Logging)
nsslapd-auditlog-logmaxsdiskspace, nsslapd-auditlog-logmaxdiskspace (Audit
Log Maximum Disk Space)
nsslapd-auditlog-logminfreediskspace, nsslapd-auditlog-logminfreediskspace
(Audit Log Minimum Free Disk Space)
nsslapd-auditlog-logrotationsync-enabled, nsslapd-auditlog-logrotationsync-
enabled (Audit Log Rotation Sync Enabled)
nsslapd-auditlog-logrotationsynchour, nsslapd-auditlog-logrotationsynchour
(Audit Log Rotation Sync Hour)
nsslapd-auditlog-logrotationsyncmin, nsslapd-auditlog-logrotationsyncmin
(Audit Log Rotation Sync Minute)
nsslapd-auditlog-logrotationtime, nsslapd-auditlog-logrotationtime (Audit Log
Rotation Time)
nsslapd-auditlog-logrotationtimeunit, nsslapd-auditlog-logrotationtimeunit
(Audit Log Rotation Time Unit)
nsslapd-auditlog-maxlogsize, nsslapd-auditlog-maxlogsize (Audit Log
Maximum Log Size)
856
INDEX
857
Configuration, Command, and File Reference
858
INDEX
nsslapd-malloc-mmap-threshold, nsslapd-malloc-mmap-threshold
nsslapd-malloc-mxfast, nsslapd-malloc-mxfast
nsslapd-malloc-trim-threshold, nsslapd-malloc-trim-threshold
nsslapd-maxbersize, nsslapd-maxbersize (Maximum Message Size)
nsslapd-maxdescriptors, nsslapd-maxdescriptors (Maximum File Descriptors)
nsslapd-maxsasliosize, nsslapd-maxsasliosize (Maximum SASL Packet Size)
nsslapd-maxthreadsperconn, nsslapd-maxthreadsperconn (Maximum Threads
per Connection)
nsslapd-minssf, nsslapd-minssf
nsslapd-minssf-exclude-rootdse, nsslapd-minssf-exclude-rootdse
nsslapd-moddn-aci, nsslapd-moddn-aci
nsslapd-nagle, nsslapd-nagle
nsslapd-ndn-cache-enabled, nsslapd-ndn-cache-enabled
nsslapd-ndn-cache-max-size, nsslapd-ndn-cache-max-size
nsslapd-outbound-ldap-io-timeout, nsslapd-outbound-ldap-io-timeout
nsslapd-pagedsizelimit, nsslapd-pagedsizelimit (Size Limit for Simple Paged
Results Searches)
nsslapd-parent, nsslapd-parent
nsslapd-plug-in, nsslapd-plug-in
nsslapd-plugin-binddn-tracking, nsslapd-plugin-binddn-tracking
nsslapd-plugin-logging, nsslapd-plugin-logging
nsslapd-port, nsslapd-port (Port Number)
nsslapd-privatenamespaces, nsslapd-privatenamespaces
nsslapd-pwpolicy-inherit-global, nsslapd-pwpolicy-inherit-global (Inherit Global
Password Syntax)
nsslapd-pwpolicy-local, nsslapd-pwpolicy-local (Enable Subtree- and User-
Level Password Policy)
nsslapd-readonly, nsslapd-readonly (Read Only)
nsslapd-referral, nsslapd-referral (Referral)
nsslapd-referralmode, nsslapd-referralmode (Referral Mode)
nsslapd-require-secure-binds, nsslapd-require-secure-binds
nsslapd-requiresrestart, nsslapd-requiresrestart
nsslapd-reservedescriptors, nsslapd-reservedescriptors (Reserved File
Descriptors)
nsslapd-return-default-opattr, nsslapd-return-default-opattr
nsslapd-return-exact-case, nsslapd-return-exact-case (Return Exact Case)
nsslapd-rootdn, nsslapd-rootdn (Manager DN)
nsslapd-rootpw, nsslapd-rootpw (Root Password)
nsslapd-rootpwstoragescheme, nsslapd-rootpwstoragescheme (Root Password
Storage Scheme)
nsslapd-rundir, nsslapd-rundir
nsslapd-sasl-mapping-fallback, nsslapd-sasl-mapping-fallback
nsslapd-sasl-max-buffer-size, nsslapd-sasl-max-buffer-size
859
Configuration, Command, and File Reference
nsslapd-saslpath, nsslapd-saslpath
nsslapd-schema-ignore-trailing-spaces, nsslapd-schema-ignore-trailing-spaces
(Ignore Trailing Spaces in Object Class Names)
nsslapd-schemacheck, nsslapd-schemacheck (Schema Checking)
nsslapd-schemamod, nsslapd-schemamod
nsslapd-schemareplace, nsslapd-schemareplace
nsslapd-search-original-type-switch, nsslapd-search-return-original-type-
switch
nsslapd-securelistenhost, nsslapd-securelistenhost
nsslapd-securePort, nsslapd-securePort (Encrypted Port Number)
nsslapd-security, nsslapd-security (Security)
nsslapd-sizelimit, nsslapd-sizelimit (Size Limit)
nsslapd-snmp-index, nsslapd-snmp-index
nsslapd-ssl-check-hostname, nsslapd-ssl-check-hostname (Verify Hostname for
Outbound Connections)
nsslapd-SSLclientAuth, nsslapd-SSLclientAuth
nsslapd-state, cn, nsslapd-state
nsslapd-syntaxcheck, nsslapd-syntaxcheck
nsslapd-syntaxlogging, nsslapd-syntaxlogging
nsslapd-timelimit, nsslapd-timelimit (Time Limit)
nsslapd-validate-cert, nsslapd-validate-cert
nsslapd-versionstring, nsslapd-versionstring
nsslapd-workingdir, nsslapd-workingdir
nssldap-distribution-function, nsslapd-distribution-function
nssldap-distribution-plugin, nsslapd-distribution-plugin
nssldap-referral, nsslapd-referral
nssnmpcontact, nssnmpcontact
nssnmpdescription, nssnmpdescription
nssnmpenabled, nssnmpenabled
nssnmplocation, nssnmplocation
nssnmpmasterhost, nssnmpmasterhost
nssnmpmasterport, nssnmpmasterport
nssnmporganization, nssnmporganization
nsSSL2 attribute, nsSSL2
nsSSL2Ciphers attribute, nsSSL2Ciphers
nsSSL3 attribute, nsSSL3
nsSSL3Ciphers attribute, nsSSL3Ciphers
nsSSL3SessionTimeout attribute, nsSSL3SessionTimeout
nsSSLClientAuth, nsSSLClientAuth
nsSSLEnabledCiphers, nsSSLEnabledCiphers
nsSSLPersonalitySSL attribute, nsSSLPersonalitySSL
nsSSLSessionTimeout attribute, nsSSLSessionTimeout
860
INDEX
861
Configuration, Command, and File Reference
cosAttribute, cosAttribute
cosDefinition, cosDefinition
cosIndirectDefinition, cosIndirectDefinition
cosPointerDefinition, cosPointerDefinition
cosPriority, cosPriority
cosSpecifier, cosSpecifier
cosSuperDefinition, cosSuperDefinition
cosTargetTree, cosTargetTree
cosTemplate, cosTemplate
cosTemplateDn, cosTemplateDn
country, country
createTimestamp, createTimestamp
creatorsName, creatorsName
crossCertificatePair, crossCertificatePair
currentconnections attribute, cn=monitor
currentdncachecount, Database Attributes under
cn=monitor,cn=database,cn=ldbm database,cn=plugins,cn=config
currentdncachesize, Database Attributes under
cn=monitor,cn=database,cn=ldbm database,cn=plugins,cn=config
currentNormalizedDNcachecount attribute, Database Attributes under
cn=monitor,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
currentNormalizedDNcachesize attribute, Database Attributes under
cn=monitor,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
currenttime attribute, cn=monitor
D
database
exporting, db2ldif (Exports Database Contents to LDIF)
reindexing index files, db2index (Reindexes Database Index Files)
database encryption
nsAttributeEncryption, Database Attributes under
cn=attributeName,cn=encrypted attributes,cn=database_name,cn=ldbm
database,cn=plugins,cn=config
862
INDEX
863
Configuration, Command, and File Reference
864
INDEX
nsslapd-cache-autosize-split, nsslapd-cache-autosize-split
nsslapd-cachememsize, nsslapd-cachememsize
nsslapd-cachesize, nsslapd-cachesize
nsslapd-db-checkpoint-interval, nsslapd-db-checkpoint-interval
nsslapd-db-circular-logging, nsslapd-db-circular-logging
nsslapd-db-compactdb-interval, nsslapd-db-compactdb-interval
nsslapd-db-debug, nsslapd-db-debug
nsslapd-db-durable-transactions, nsslapd-db-durable-transactions
nsslapd-db-home-directory, nsslapd-db-home-directory
nsslapd-db-idl-divisor, nsslapd-db-idl-divisor
nsslapd-db-locks, nsslapd-db-locks
nsslapd-db-logbuf-size, nsslapd-db-logbuf-size
nsslapd-db-logdirectory, nsslapd-db-logdirectory
nsslapd-db-logfile-size, nsslapd-db-logfile-size
nsslapd-db-page-size, nsslapd-db-page-size
nsslapd-db-spin-count, nsslapd-db-spin-count
nsslapd-db-transaction-batch-max-wait, nsslapd-db-transaction-batch-max-
wait
nsslapd-db-transaction-batch-min-wait, nsslapd-db-transaction-batch-min-wait
nsslapd-db-transaction-batch-val, nsslapd-db-transaction-batch-val
nsslapd-db-trickle-percentage, nsslapd-db-trickle-percentage
nsslapd-db-verbose, nsslapd-db-verbose
nsslapd-dbcachesize, nsslapd-dbcachesize
nsslapd-dbncache, nsslapd-dbncache
nsslapd-directory, nsslapd-directory, nsslapd-directory
nsslapd-dncachememsize, nsslapd-dncachememsize
nsslapd-exclude-from-export, nsslapd-exclude-from-export
nsslapd-idlistscanlimit, nsslapd-idlistscanlimit
nsslapd-import-cache-autosize, nsslapd-import-cache-autosize
nsslapd-import-cachesize, nsslapd-import-cachesize
nsslapd-lookthroughlimit, nsslapd-lookthroughlimit
nsslapd-mode, nsslapd-mode
nsslapd-pagedidlistscanlimit, nsslapd-pagedidlistscanlimit
nsslapd-pagedlookthroughlimit, nsslapd-pagedlookthroughlimit
nsslapd-rangelookthroughlimit, nsslapd-rangelookthroughlimit
nsslapd-readonly, nsslapd-readonly
nsslapd-require-index, nsslapd-require-index
nsslapd-subtree-rename-switch, nsslapd-subtree-rename-switch
nsslapd-suffix, nsslapd-suffix
nsSubStrBegin, nsSubStrBegin
nsSubStrEnd, nsSubStrEnd
nsSubStrMiddle, nsSubStrMiddle
865
Configuration, Command, and File Reference
nsSystemIndex, nsSystemIndex
vlvBase, vlvBase
vlvEnabled, vlvEnabled
vlvFilter, vlvFilter
vlvScope, vlvScope
vlvSort, vlvSort
vlvUses, vlvUses
866
INDEX
database schema
defined, nsslapd-schemacheck (Schema Checking)
database-specific configuration
location of, Overview of the Directory Server Configuration
867
Configuration, Command, and File Reference
db2bak.pl
command-line perl script, db2bak.pl (Creates a Backup of a Database)
db2index.pl
command-line perl script, db2index.pl (Creates and Generates Indexes)
db2ldif
command-line shell script, db2ldif (Exports Database Contents to LDIF)
quick reference, Command-Line Scripts Quick Reference
db2ldif.pl
command-line perl script, db2ldif.pl (Exports Database Contents to LDIF)
868
INDEX
dbverify
command-line shell script, dbverify (Checks for Corrupt Databases)
quick reference, Command-Line Scripts Quick Reference
dc, dc (domainComponent)
dcObject, dcObject
default schema, Default Directory Server Schema Files
defaultNamingContext, defaultNamingContext
deleteOldRdn, deleteOldRdn
deleting
core server configuration attributes, Deleting Configuration Attributes
dse.ldif file, Deleting Configuration Attributes
deltaRevocationList, deltaRevocationList
departmentNumber, departmentNumber
description, description
description attribute, description
destinationIndicator, destinationIndicator
displayName, displayName
distinguished names
root, nsslapd-rootdn (Manager DN)
869
Configuration, Command, and File Reference
dnaRangeRequestTimeout, dnaRangeRequestTimeout
dnaRemainingValues, dnaRemainingValues
dnaRemoteBindCred, dnaRemoteBindCred
dnaRemoteBindDN, dnaRemoteBindDN
dnaRemoteBindMethod, dnaRemoteBindMethod
dnaRemoteConnProtocol, dnaRemoteConnProtocol
dnaScope, dnaScope
dnaSecurePortNum, dnaSecurePortNum
dnaSharedCfgDN, dnaSharedCfgDN
dnaThreshold, dnaThreshold
dnaType, dnaType
dITContentRules, dITContentRules
dITRedirect, dITRedirect
dITStructureRules, dITStructureRules
dmdname, dmdName
dn, dn (distinguishedName)
dn2rdn command-line utility
examples, dn2rdn
syntax, dn2rdn
dNSRecord, dNSRecord
documentAuthor, documentAuthor
documentIdentifier, documentIdentifier
documentLocation, documentLocation
documentPublisher, documentPublisher
documentStore, documentStore
documentTitle, documentTitle
documentVersion, documentVersion
domainRelatedObject, domainRelatedObject
drink, drink (favouriteDrink)
ds-logpipe.py, Replacing Log Files with a Named Pipe, ds-logpipe.py
example, ds-logpipe.py
options, ds-logpipe.py
syntax, ds-logpipe.py
using plug-ins, Loading Plug-ins with the Named Pipe Log Script
dSA, dSA
dSAQuality, dSAQuality
dse.ldif
configuration information tree, Core Server Configuration Attributes Reference
contents of, Overview of the Directory Server Configuration
deleting attributes, Deleting Configuration Attributes
870
INDEX
E
editing
dse.ldif file, Configuration Changes Requiring Server Restart
employeeNumber, employeeNumber
employeeType, employeeType
encryption
root password, nsslapd-rootpw (Root Password)
specifying password storage scheme, passwordStorageScheme (Password
Storage Scheme)
871
Configuration, Command, and File Reference
F
fax, fax (facsimileTelephoneNumber)
File locations, File Locations Overview
files
ancestorid.db, Database Files
entrydn.db, Database Files
id2entry.db, Database Files
locating configuration, Accessing and Modifying Server Configuration
nsuniqueid.db, Database Files
numsubordinates.db, Database Files
objectclass.db, Database Files
parentid.db, Database Files
fixup-memberof.pl
related configuration entry, cn=memberof task
fixup-memberof.pl.pl
command-line perl script, fixup-memberof.pl (Regenerate memberOf
Attributes)
friendlyCountry, friendlyCountry
G
gecos, gecos
generationQualifier, generationQualifier
gidNumber, gidNumber
givenName, givenName
872
INDEX
groupOfCertificates, groupOfCertificates
groupOfMailEnhancedUniqueNames, groupOfMailEnhancedUniqueNames
groupOfNames, groupOfNames
groupOfURLs, groupOfURLs
GUI utilities, GUI Utilities
redhat-idm-console, redhat-idm-console
H
homeDirectory, homeDirectory
homePhone, homePhone
homePostalAddress, homePostalAddress
host, host
houseIdentifier, houseIdentifier
I
id2entry.db file, Database Files
ieee802Device, ieee802Device
Indexes
configuration of, Configuration of Indexes
inetAdmin, inetAdmin
inetDomain, inetDomain
inetDomainBaseDN, inetDomainBaseDN
inetDomainStatus, inetDomainStatus
inetOrgPerson, inetOrgPerson
inetSubscriber, inetSubscriber
inetSubscriberAccountId, inetSubscriberAccountId
inetSubscriberChallenge, inetSubscriberChallenge
inetSubscriberResponse, inetSubscriberResponse
inetUser, inetUser
inetUserHttpURL, inetUserHttpURL
inetUserStatus, inetUserStatus
info, info
initials, initials
installationTimeStamp, installationTimeStamp
internalCreatorsName, internalCreatorsName
internalModifiersName, internalModifiersName
internationalISDNNumber, internationalISDNNumber
ipHost, ipHost
ipHostNumber, ipHostNumber
ipNetmaskNumber, ipNetmaskNumber
ipNetwork, ipNetwork
873
Configuration, Command, and File Reference
ipNetworkNumber, ipNetworkNumber
ipProtocol, ipProtocol
ipProtocolNumber, ipProtocolNumber
ipService, ipService
ipServicePort, ipServicePort
ipServiceProtocol, ipServiceProtocol
J
janetMailbox, janetMailbox
JAR information file
global keys, modutil
per-file keys, modutil
per-platform keys, modutil
syntax, modutil
K
keyWords, keyWords
L
l, l (localityName)
labeledURI, labeledURI
labeledURIObject, labeledURIObject
lastLoginTime, lastLoginTime
lastModifiedBy, lastModifiedBy
lastModifiedTime, lastModifiedTime
LDAP
modifying configuration entries, Modifying Configuration Entries Using LDAP
874
INDEX
LDIF entries
binary data in, ldif
ldif files
00core.ldif, LDIF and Schema Configuration Files
01common.ldif, LDIF and Schema Configuration Files
05rfc2247.ldif, LDIF and Schema Configuration Files
05rfc2927.ldif, LDIF and Schema Configuration Files
10presence.ldif, LDIF and Schema Configuration Files
10rfc2307.ldif, LDIF and Schema Configuration Files
20subscriber.ldif, LDIF and Schema Configuration Files
25java-object.ldif, LDIF and Schema Configuration Files
28pilot.ldif, LDIF and Schema Configuration Files
30ns-common.ldif, LDIF and Schema Configuration Files
50ns-admin.ldif, LDIF and Schema Configuration Files
50ns-certificate.ldif, LDIF and Schema Configuration Files
50ns-directory.ldif, LDIF and Schema Configuration Files
50ns-mail.ldif, LDIF and Schema Configuration Files
50ns-value.ldif, LDIF and Schema Configuration Files
50ns-web.ldif, LDIF and Schema Configuration Files
99user.ldif, LDIF and Schema Configuration Files
dse.ldif, LDIF and Schema Configuration Files
ldif2db.pl
command-line perl script, ldif2db.pl (Import)
ldif2ldap
command-line shell script, ldif2ldap (Performs Import Operation over LDAP)
quick reference, Command-Line Scripts Quick Reference
875
Configuration, Command, and File Reference
linkScope, linkScope
linkType, linkType
managedType, managedType
locality, locality
lock files, Lock Files
log files, Log Files
access, nsslapd-accesslog (Access Log)
error, nsslapd-errorlog (Error Log)
loginShell, loginShell
logs
named pipe script
plug-ins, Loading Plug-ins with the Named Pipe Log Script
permanently configuring named pipe, Using the Named Pipe for Logging
replacing with named pipe, Replacing Log Files with a Named Pipe
M
macAddress, macAddress
mail, mail
mailAccessDomain, mailAccessDomain
mailAlternateAddress, mailAlternateAddress
mailGroup, mailGroup
mailMessageStore, mailMessageStore
mailPreferenceOption, mailPreferenceOption
mailRecipient, mailRecipient
managed entries plug-in configuration attributes
managedBase, managedBase
managedTemplate, managedTemplate
originFilter, originFilter
originScope, originScope
manager, manager
matchingRules, matchingRules
matchingRuleUse, matchingRuleUse
maxdncachesize, Database Attributes under cn=monitor,cn=database,cn=ldbm
database,cn=plugins,cn=config
maxNormalizedDNcachesize attribute, Database Attributes under
cn=monitor,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
876
INDEX
memberUid, memberUid
memberURL, memberURL
mepManagedBy, mepManagedBy
mepManagedEntry, mepManagedEntry, mepManagedEntry
mepMappedAttr, mepMappedAttr
mepOriginEntry, mepOriginEntry
mepRDNAttr, mepRDNAttr
mepStaticAttr, mepStaticAttr
mepTemplateEntry, mepTemplateEntry
Meta Directory changelog
retro changelog, cn=changelog5,cn=config
mobile, mobile
modifiersName, modifiersName
modifyTimestamp, modifyTimestamp
modutil
commands
add, modutil
changepw, modutil
create, modutil
default, modutil
delete, modutil
877
Configuration, Command, and File Reference
disable, modutil
enable, modutil
fips, modutil
force, modutil
jar, modutil
list, modutil
undefault, modutil
options
dbdir, modutil
installdir, modutil
libfile, modutil
mechanisms, modutil
newpwfile, modutil
nocertdb, modutil
pwfile, modutil
slot, modutil
tempdir, modutil
monitor
command-line shell script, monitor (Retrieves Monitoring Information)
quick reference, Command-Line Scripts Quick Reference
mozillaCustom1, mozillaCustom1
multi-master replication changelog
changelog, cn=changelog5,cn=config
N
name, name
named pipe log script
configuring, Replacing Log Files with a Named Pipe
nameForms, nameForms
namingContexts, namingContexts
878
INDEX
ns-activate.pl
command-line perl script, ns-activate.pl (Activates an Entry or Group of
Entries)
ns-inactivate.pl
command-line perl script, ns-inactivate.pl (Inactivates an Entry or Group of
Entries)
ns-newpwpolicy.pl
command-line perl script, ns-newpwpolicy.pl (Adds Attributes for Fine-Grained
Password Policy)
879
Configuration, Command, and File Reference
880
INDEX
nsDirectoryServer, nsDirectoryServer
nsDS50ruv attribute, nsDS50ruv
nsDS5BeginReplicaRefresh attribute, nsDS5BeginReplicaRefresh
nsDS5Flags attribute, nsDS5Flags
nsDS5ReplConflict attribute, nsDS5ReplConflict
nsDS5Replica, nsDS5Replica (Object Class)
nsDS5ReplicaBindDN attribute, nsDS5ReplicaBindDN
nsDS5ReplicaBindDNGroup attribute, nsDS5ReplicaBindDNGroup
nsDS5ReplicaBindDNGroupCheckInterval attribute,
nsDS5ReplicaBindDNGroupCheckInterval
nsDS5ReplicaBindMethod attribute, nsDS5ReplicaBindMethod
nsDS5ReplicaBusyWaitTime attribute, nsDS5ReplicaBusyWaitTime
nsDS5ReplicaChangeCount attribute, nsDS5ReplicaChangeCount
nsDS5ReplicaChangesSentSinceStartup attribute,
nsDS5ReplicaChangesSentSinceStartup
nsDS5ReplicaCredentials attribute, nsDS5ReplicaCredentials
nsds5ReplicaEnabled attribute, nsds5ReplicaEnabled
nsDS5ReplicaHost attribute, nsDS5ReplicaHost
nsDS5ReplicaID attribute, nsDS5ReplicaId
nsDS5ReplicaLastInitEnd attribute, nsDS5ReplicaLastInitEnd
nsDS5ReplicaLastInitStart attribute, nsDS5ReplicaLastInitStart
nsDS5ReplicaLastInitStatus attribute, nsDS5ReplicaLastInitStatus
nsDS5ReplicaLastUpdateEnd attribute, nsDS5ReplicaLastUpdateEnd
nsDS5ReplicaLastUpdateStart attribute, nsDS5ReplicaLastUpdateStart
nsds5replicaLastUpdateStatus attribute, nsds5replicaLastUpdateStatus
nsDS5ReplicaLegacyConsumer attribute, nsDS5ReplicaLegacyConsumer
nsDS5ReplicaName attribute, nsDS5ReplicaName
nsDS5ReplicaPort attribute, nsDS5ReplicaPort
nsDS5ReplicaPurgeDelay attribute, nsDS5ReplicaPurgeDelay
nsDS5ReplicaReapActive attribute, nsDS5ReplicaReapActive
nsDS5ReplicaReferral attribute, nsDS5ReplicaReferral
nsDS5ReplicaReleaseTimeout attribute, nsDS5ReplicaReleaseTimeout
nsDS5ReplicaRoot attribute, nsDS5ReplicaRoot
nsDS5ReplicaSessionPauseTime attribute, nsDS5ReplicaSessionPauseTime
nsds5ReplicaStripAttrs attribute, nsds5ReplicaStripAttrs
nsDS5ReplicatedAttributeList attribute, nsDS5ReplicatedAttributeList
nsDS5ReplicatedAttributeListTotal attribute, nsDS5ReplicatedAttributeListTotal
nsDS5ReplicaTimeout attribute, nsDS5ReplicaTimeout
nsDS5ReplicationAgreement, nsDS5ReplicationAgreement (Object Class)
nsDS5ReplicaTombstonePurgeInterval attribute,
nsDS5ReplicaTombstonePurgeInterval
nsDS5ReplicaTransportInfo attribute, nsDS5ReplicaTransportInfo
881
Configuration, Command, and File Reference
882
INDEX
883
Configuration, Command, and File Reference
884
INDEX
885
Configuration, Command, and File Reference
886
INDEX
887
Configuration, Command, and File Reference
888
INDEX
889
Configuration, Command, and File Reference
890
INDEX
891
Configuration, Command, and File Reference
892
INDEX
893
Configuration, Command, and File Reference
numSubordinates, numSubordinates
numsubordinates.db file, Database Files
O
o, o (organizationName)
o=NetscapeRoot
configuration, Configuration of Databases
object class
allowed attributes, Required and Allowed Attributes
cacheObject, cacheObject
defined, Object Classes
ieee802Device, ieee802Device
inetAdmin, inetAdmin
inetDomain, inetDomain
inetSubscriber, inetSubscriber
inetUser, inetUser
inheritance, Object Class Inheritance
required attributes, Required and Allowed Attributes
object classes
nsAttributeEncryption, nsAttributeEncryption (Object Class)
nsSaslMapping, nsSaslMapping (Object Class)
objectClass, objectClass
objectclass.db file, Database Files
objectClasses, objectClasses
obsoletedByDocument, obsoletedByDocument
obsoletesDocument, obsoletesDocument
oncRpc, oncRpc
oncRpcNumber, oncRpcNumber
oneWaySync, oneWaySync
operational attributes
accountUnlockTime, accountUnlockTime
aci, aci
altServer, altServer
attributeTypes, attributeTypes
894
INDEX
createTimestamp, createTimestamp
creatorsName, creatorsName
defaultNamingContext, defaultNamingContext
dITContentRules, dITContentRules
dITStructureRules, dITStructureRules
entryusn, entryusn
internalCreatorsName, internalCreatorsName, internalModifiersName
ldapSyntaxes, ldapSyntaxes
matchingRules, matchingRules
matchingRuleUse, matchingRuleUse
modifiersName, modifiersName
modifyTimestamp, modifyTimestamp
nameForms, nameForms
namingContexts, namingContexts
nsRole, nsRole
nsRoleDn, nsRoleDn
nsRoleFilter, nsRoleFilter
numSubordinates, numSubordinates
passwordGraceUserTime, passwordGraceUserTime
passwordRetryCount, passwordRetryCount
pwdpolicysubentry, pwdpolicysubentry
pwdUpdateTime, pwdUpdateTime
subschemaSubentry, subschemaSubentry
supportedControl, supportedControl
supportedExtension, supportedExtension
supportedFeatures, supportedFeatures
supportedLDAPVersion, supportedLDAPVersion
supportedSASLMechanisms, supportedSASLMechanisms
P
pager, pager
895
Configuration, Command, and File Reference
person, person
personalSignature, personalSignature
896
INDEX
personalTitle, personalTitle
photo, photo
physicalDeliveryOfficeName, physicalDeliveryOfficeName
pilotObject, pilotObject
pilotOrganization, pilotOrganization
pkiCA, pkiCA
pkiUser, pkiUser
plug-in functionality configuration attributes
addn_base, addn_base, addn_filter
altstateattrname, altstateattrname
alwaysRecordLogin, alwaysRecordLogin
alwaysRecordLoginAttr, alwaysRecordLoginAttr
autoMemberDefaultGroup, autoMemberDefaultGroup
autoMemberDefinition, autoMemberDefinition (Object Class)
autoMemberExclusiveRegex, autoMemberExclusiveRegex
autoMemberFilter, autoMemberFilter
autoMemberGroupingAttr, autoMemberGroupingAttr
autoMemberInclusiveRegex, autoMemberInclusiveRegex
autoMemberRegexRule, autoMemberRegexRule (Object Class)
autoMemberScope, autoMemberScope
autoMemberTargetGroup, autoMemberTargetGroup
cn, cn, cn
dbcachehitratio, Database Attributes under cn=monitor,cn=ldbm
database,cn=plugins,cn=config
dbcachehits, Database Attributes under cn=monitor,cn=ldbm
database,cn=plugins,cn=config
dbcachepagein, Database Attributes under cn=monitor,cn=ldbm
database,cn=plugins,cn=config
dbcachepageout, Database Attributes under cn=monitor,cn=ldbm
database,cn=plugins,cn=config
dbcacheroevict, Database Attributes under cn=monitor,cn=ldbm
database,cn=plugins,cn=config
dbcacherwevict, Database Attributes under cn=monitor,cn=ldbm
database,cn=plugins,cn=config
dbcachetries, Database Attributes under cn=monitor,cn=ldbm
database,cn=plugins,cn=config
dbfilecachehit, Database Attributes under
cn=monitor,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config
dbfilecachemiss, Database Attributes under
cn=monitor,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config
dbfilenamenumber, Database Attributes under
cn=monitor,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config
dbfilepagein, Database Attributes under
cn=monitor,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config
dbfilepageout, Database Attributes under
897
Configuration, Command, and File Reference
cn=monitor,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config
dnaFilter, dnaFilter
dnaHostname, dnaHostname
dnaInterval, dnaInterval
dnaMagicRegen, dnaMagicRegen
dnaMaxValue, dnaMaxValue
dnaNextRange, dnaNextRange
dnaNextValue, dnaNextValue
dnaPortNum, dnaPortNum
dnaPrefix, dnaPrefix
dnaRangeRequestTimeout, dnaRangeRequestTimeout
dnaRemainingValues, dnaRemainingValues
dnaRemoteBindCred, dnaRemoteBindCred
dnaRemoteBindDN, dnaRemoteBindDN
dnaRemoteBindMethod, dnaRemoteBindMethod
dnaRemoteConnProtocol, dnaRemoteConnProtocol
dnaScope, dnaScope
dnaSecurePortNum, dnaSecurePortNum
dnaSharedCfgDN, dnaSharedCfgDN
dnaThreshold, dnaThreshold
dnaType, dnaType
isReplicated, isReplicated
limitattrname, limitattrname
linkScope, linkScope
linkType, linkType
managedBase, managedBase
managedTemplate, managedTemplate
managedType, managedType
memberOfAllBackends, memberOfAllBackends
memberOfAttr, memberOfAttr
memberOfAutoAddOC, memberOfAutoAddOC
memberOfEntryScope, memberOfEntryScope
memberOfEntryScopeExcludeSubtree, memberOfEntryScopeExcludeSubtree
memberOfGroupAttr, memberOfGroupAttr
nsAbandonCount, Database Link Attributes under cn=monitor,cn=database
instance name,cn=chaining database,cn=plugins,cn=config
nsAbandonedSearchCheckInterval, nsAbandonedSearchCheckInterval
nsActiveChainingComponents, nsActiveChainingComponents
nsAddCount, Database Link Attributes under cn=monitor,cn=database
instance name,cn=chaining database,cn=plugins,cn=config
nsBindConnectionsLimit, nsBindConnectionsLimit
898
INDEX
899
Configuration, Command, and File Reference
nsslapd-backend-opt-level, nsslapd-backend-opt-level
nsslapd-cache-autosize, nsslapd-cache-autosize
nsslapd-cache-autosize-split, nsslapd-cache-autosize-split
nsslapd-cachememsize, nsslapd-cachememsize
nsslapd-cachesize, nsslapd-cachesize
nsslapd-changelogdir, nsslapd-changelogdir
nsslapd-changelogmaxage, nsslapd-changelogmaxage (Max Changelog Age)
nsslapd-db-checkpoint-interval, nsslapd-db-checkpoint-interval
nsslapd-db-circular-logging, nsslapd-db-circular-logging
nsslapd-db-compactdb-interval, nsslapd-db-compactdb-interval
nsslapd-db-debug, nsslapd-db-debug
nsslapd-db-durable-transactions, nsslapd-db-durable-transactions
nsslapd-db-home-directory, nsslapd-db-home-directory
nsslapd-db-idl-divisor, nsslapd-db-idl-divisor
nsslapd-db-locks, nsslapd-db-locks
nsslapd-db-logbuf-size, nsslapd-db-logbuf-size
nsslapd-db-logdirectory, nsslapd-db-logdirectory
nsslapd-db-logfile-size, nsslapd-db-logfile-size
nsslapd-db-page-size, nsslapd-db-page-size
nsslapd-db-spin-count, nsslapd-db-spin-count
nsslapd-db-transaction-batch-max-wait, nsslapd-db-transaction-batch-max-
wait
nsslapd-db-transaction-batch-min-wait, nsslapd-db-transaction-batch-min-wait
nsslapd-db-transaction-batch-val, nsslapd-db-transaction-batch-val
nsslapd-db-trickle-percentage, nsslapd-db-trickle-percentage
nsslapd-db-verbose, nsslapd-db-verbose
nsslapd-dbcachesize, nsslapd-dbcachesize
nsslapd-dbncache, nsslapd-dbncache
nsslapd-directory, nsslapd-directory, nsslapd-directory
nsslapd-dncachememsize, nsslapd-dncachememsize
nsslapd-dynamic-plugins, nsslapd-dynamic-plugins
nsslapd-exclude-from-export, nsslapd-exclude-from-export
nsslapd-idlistscanlimit, nsslapd-idlistscanlimit
nsslapd-import-cache-autosize, nsslapd-import-cache-autosize
nsslapd-import-cachesize, nsslapd-import-cachesize
nsslapd-lookthroughlimit, nsslapd-lookthroughlimit
nsslapd-mode, nsslapd-mode
nsslapd-pagedidlistscanlimit, nsslapd-pagedidlistscanlimit
nsslapd-pagedlookthroughlimit, nsslapd-pagedlookthroughlimit
nsslapd-plugin-depends-on-named, nsslapd-plugin-depends-on-named
nsslapd-plugin-depends-on-type, nsslapd-plugin-depends-on-type
nsslapd-pluginAccess, nsslapd-logAccess
900
INDEX
nsslapd-pluginAudit, nsslapd-logAudit
nsslapd-pluginConfigArea, nsslapd-pluginConfigArea
nsslapd-pluginDescription, nsslapd-pluginDescription
nsslapd-pluginEnabled, nsslapd-pluginEnabled
nsslapd-pluginId, nsslapd-pluginId
nsslapd-pluginInitFunc, nsslapd-pluginInitfunc
nsslapd-pluginLoadGlobal, nsslapd-pluginLoadGlobal
nsslapd-pluginLoadNow, nsslapd-pluginLoadNow
nsslapd-pluginPath, nsslapd-pluginPath
nsslapd-pluginPrecedence, nsslapd-pluginPrecedence
nsslapd-pluginType, nsslapd-pluginType
nsslapd-pluginVendor, nsslapd-pluginVendor
nsslapd-pluginVersion, nsslapd-pluginVersion
nsslapd-rangelookthroughlimit, nsslapd-rangelookthroughlimit
nsslapd-readonly, nsslapd-readonly
nsslapd-require-index, nsslapd-require-index
nsslapd-subtree-rename-switch, nsslapd-subtree-rename-switch
nsslapd-suffix, nsslapd-suffix
nsSubStrBegin, nsSubStrBegin
nsSubStrEnd, nsSubStrEnd
nsSubStrMiddle, nsSubStrMiddle
nsSystemIndex, nsSystemIndex
nsTimeLimit, nsTimeLimit
nsTransmittedControls, nsTransmittedControls
nsUnbindCount, Database Link Attributes under cn=monitor,cn=database
instance name,cn=chaining database,cn=plugins,cn=config
nsUseStartTLS, nsUseStartTLS
originFilter, originFilter
originScope, originScope
posixWinsyncCreateMemberOfTask, posixWinsyncCreateMemberOfTask
posixWinsyncLowerCaseUID, posixWinsyncLowerCaseUID
posixWinsyncMapMemberUID, posixWinsyncMapMemberUID
posixWinsyncMapNestedGrouping, posixWinsyncMapNestedGrouping
posixWinsyncMsSFUSchema, posixWinsyncMsSFUSchema
rootdn-allow-host, rootdn-allow-host
rootdn-allow-ip, rootdn-allow-ip
rootdn-close-time, rootdn-close-time
rootdn-days-allowed, rootdn-days-allowed
rootdn-deny-ip, rootdn-deny-ip
rootdn-open-time, rootdn-open-time
specattrname, specattrname
stateattrname, stateattrname
901
Configuration, Command, and File Reference
vlvBase, vlvBase
vlvEnabled, vlvEnabled
vlvFilter, vlvFilter
vlvScope, vlvScope
vlvSort, vlvSort
vlvUses, vlvUses
902
INDEX
plug-ins
configuration of, Overview of the Directory Server Configuration
distributed number assignment plug-in, Distributed Numeric Assignment Plug-
in
Managed Entries plug-in, Managed Entries Plug-in
memberOf plug-in, MemberOf Plug-in
schema reload plug-in, Schema Reload Plug-in
port numbers
903
Configuration, Command, and File Reference
posixAccount, posixAccount
posixGroup, posixGroup
postalAddress, postalAddress
postalCode, postalCode
postOfficeBox, postOfficeBox
preferredDeliveryMethod, preferredDeliveryMethod
preferredLanguage, preferredLanguage
preferredLocale, preferredLocale
preferredTimeZone, preferredTimeZone
presentationAddress, presentationAddress
protocolInformation, protocolInformation
pwdhash
command-line shell script, pwdhash (Encrypts Passwords)
pwdpolicysubentry, pwdpolicysubentry
pwdUpdateTime, pwdUpdateTime
R
read-only monitoring configuration attributes
backendMonitorDN, cn=monitor
bytessent, cn=monitor
connection, cn=monitor
currentconnections, cn=monitor
currenttime, cn=monitor
dtablesize, cn=monitor
entriessent, cn=monitor
nbackends, cn=monitor
opscompleted, cn=monitor
opsinitiated, cn=monitor
readwaiters, cn=monitor
starttime, cn=monitor
totalconnections, cn=monitor
904
INDEX
cn=monitor, cn=monitor
registeredAddress, registeredAddress
remove-ds-admin.pl command-line script
options, remove-ds-admin.pl
syntax, remove-ds-admin.pl
repl-monitor
command-line shell script, repl-monitor (Monitors Replication Status)
repl-monitor.pl
command-line perl script, repl-monitor.pl (Monitors Replication Status)
905
Configuration, Command, and File Reference
nsDS5ReplicaLastUpdateStart, nsDS5ReplicaLastUpdateStart
nsds5replicaLastUpdateStatus, nsds5replicaLastUpdateStatus
nsDS5ReplicaPort, nsDS5ReplicaPort
nsds5ReplicaProtocolTimeout, nsds5ReplicaProtocolTimeout,
nsds5ReplicaProtocolTimeout
nsDS5ReplicaReapActive, nsDS5ReplicaReapActive
nsDS5ReplicaRoot, nsDS5ReplicaRoot
nsDS5ReplicaSessionPauseTime, nsDS5ReplicaSessionPauseTime
nsds5ReplicaStripAttrs, nsds5ReplicaStripAttrs
nsDS5ReplicatedAttributeList, nsDS5ReplicatedAttributeList
nsDS5ReplicatedAttributeListTotal, nsDS5ReplicatedAttributeListTotal
nsDS5ReplicaTimeout, nsDS5ReplicaTimeout
nsDS5ReplicaTransportInfo, nsDS5ReplicaTransportInfo
nsDS5ReplicaUpdateInProgress, nsDS5ReplicaUpdateInProgress
nsDS5ReplicaUpdateSchedule, nsDS5ReplicaUpdateSchedule
nsDS5ReplicaWaitForAsyncResults, nsDS5ReplicaWaitForAsyncResults
nsruvReplicaLastModified, nsruvReplicaLastModified
object classes, Replication Attributes under
cn=ReplicationAgreementName,cn=replica,cn=suffixName,cn=mapping
tree,cn=config
906
INDEX
residentialPerson, residentialPerson
restart, restart-dirsrv (Restarts the Directory Server), restart-ds-admin (Restarts
the Administration Server), restart-slapd (Restarts the Directory Server)
restart-dirsrv
command-line shell script, restart-dirsrv (Restarts the Directory Server)
quick reference, Command-Line Scripts Quick Reference
restart-ds-admin
command-line shell script, restart-ds-admin (Restarts the
Administration Server)
quick reference, Command-Line Scripts Quick Reference
restart-slapd
command-line shell script, restart-slapd (Restarts the Directory Server)
quick reference, Command-Line Scripts Quick Reference
restarting server
requirement for certain configuration changes, Configuration Changes
Requiring Server Restart
restoreconfig
command-line shell script, restoreconfig (Restores Administration Server
Configuration)
quick reference, Command-Line Scripts Quick Reference
retro changelog
Meta Directory changelog, cn=changelog5,cn=config
retryCountResetTime, retryCountResetTime
RFC822LocalPart, RFC822LocalPart
roleOccupant, roleOccupant
room, room
roomNumber, roomNumber
root dse configuration entries, Root DSE Configuration Parameters
rootdn access control plug-in configuration attributes
rootdn-allow-host, rootdn-allow-host
rootdn-allow-ip, rootdn-allow-ip
rootdn-close-time, rootdn-close-time
907
Configuration, Command, and File Reference
rootdn-days-allowed, rootdn-days-allowed
rootdn-deny-ip, rootdn-deny-ip
rootdn-open-time, rootdn-open-time
rsearch
location, rsearch (Search Stress Tests)
test script, rsearch (Search Stress Tests)
S
SASL configuration attributes
nsSaslMapBaseDNTemplate, nsSaslMapBaseDNTemplate
nsSaslMapFilterTemplate, nsSaslMapFilterTemplate
nsSaslMapPriority, nsSaslMapPriority
nsSaslMapRegexString, nsSaslMapRegexString
saveconfig
command-line shell script, saveconfig (Saves Administration Server
Configuration)
quick reference, Command-Line Scripts Quick Reference
schema
checking, Schema Checking
defined, Schema Definitions
extending, Extending the Schema
supported, Default Directory Server Schema Files
search operations
limiting entries returned, nsslapd-sizelimit (Size Limit)
limiting entries returned for paged searches, nsslapd-pagedsizelimit (Size
Limit for Simple Paged Results Searches)
setting time limits, nsslapd-timelimit (Time Limit)
searchGuide, searchGuide
908
INDEX
sec-activate, sec-activate
secretary, secretary
seeAlso, seeAlso
serialNumber, serialNumber
server restart
after configuration changes, Configuration Changes Requiring Server Restart
shadowAccount, shadowAccount
shadowExpire, shadowExpire
shadowFlag, shadowFlag
shadowInactive, shadowInactive
shadowLastChange, shadowLastChange
shadowMax, shadowMax
shadowMin, shadowMin
shadowWarning, shadowWarning
simpleSecurityObject, simpleSecurityObject
singleLevelQuality, singleLevelQuality
slapd.conf file
location of, Accessing and Modifying Server Configuration
sn, sn (surname)
SNMP configuration attributes
nssnmpcontact, nssnmpcontact
nssnmpdescription, nssnmpdescription
nssnmpenabled, nssnmpenabled
nssnmplocation, nssnmplocation
nssnmpmasterhost, nssnmpmasterhost
nssnmpmasterport, nssnmpmasterport
nssnmporganization, nssnmporganization
special attributes
change, changes
909
Configuration, Command, and File Reference
changeLog, changeLog
changeNumber, changeNumber
changeTime, changeTime
changeType, changeType
deleteOldRdn, deleteOldRdn
newRdn, newRdn
newSuperior, newSuperior
targetDn, targetDn
start-ds-admin
command-line shell script, start-ds-admin (Starts the Administration Server)
quick reference, Command-Line Scripts Quick Reference
start-slapd
command-line shell script, start-slapd (Starts the Directory Server)
quick reference, Command-Line Scripts Quick Reference
910
INDEX
stop-dirsrv
command-line shell script, stop-dirsrv (Stops the Directory Server)
quick reference, Command-Line Scripts Quick Reference
stop-ds-admin
command-line shell script, stop-ds-admin (Stops the Administration Server)
quick reference, Command-Line Scripts Quick Reference
stop-slapd
command-line shell script, stop-slapd (Stops the Directory Server)
quick reference, Command-Line Scripts Quick Reference
street, street
strongAuthenticationUser, strongAuthenticationUser
subject, subject
subschema, subschema (Object Class)
subschemaSubentry, subschemaSubentry
subtreeMaximumQuality, subtreeMaximumQuality
subtreeMinimumQuality, subtreeMinimumQuality
suffix, cn=USN tombstone cleanup task
suffix and replication configuration entries
cn=mapping tree, cn=mapping tree
suffix2instance
command-line shell script, suffix2instance (Maps a Suffix to a Backend Name)
quick reference, Command-Line Scripts Quick Reference
911
Configuration, Command, and File Reference
supportedSASLMechanisms, supportedSASLMechanisms
synchronization agreement attributes
nsds7DirectoryReplicaSubtree, nsds7DirectoryReplicaSubtree
nsds7DirsyncCookie, nsds7DirsyncCookie
nsds7NewWinGroupSyncEnabled, nsds7NewWinGroupSyncEnabled
nsds7NewWinUserSyncEnabled, nsds7NewWinUserSyncEnabled
nsds7WindowsDomain, nsds7WindowsDomain
nsds7WindowsReplicaSubtre, nsds7WindowsReplicaSubtree
oneWaySync, oneWaySync
winSyncInterval, winSyncInterval
winSyncMoveAction, winSyncMoveAction
syntax
validation, Syntax Validation
syntax-validate.pl
command-line perl script, syntax-validate.pl (Validate Attribute Values)
related configuration entry, cn=syntax validate
T
targetDn, targetDn
telephoneNumber, telephoneNumber
teletexTerminalIdentifier, teletexTerminalIdentifier
telexNumber, telexNumber
test scripts
ldclt, ldclt (Load Stress Tests)
rsearch, rsearch (Search Stress Tests)
title, title
totalconnections attribute, cn=monitor
trailing spaces in object class names, nsslapd-schema-ignore-trailing-spaces
(Ignore Trailing Spaces in Object Class Names)
ttl, Task Invocation Attributes for Entries under cn=tasks , ttl (TimeToLive)
U
uid, uid (userID)
uidNumber, uidNumber
uniqueid generator configuration attributes
nsstate, cn=uniqueid generator
uniqueIdentifier, uniqueIdentifier
912
INDEX
uniqueMember, uniqueMember
updatedByDocument, updatedByDocument
updatesDocument, updatesDocument
upgradednformat
command-line shell script, upgradednformat
quick reference, Command-Line Scripts Quick Reference
userCertificate, userCertificate
userClass, userClass
userPassword, userPassword
userPKCS12, userPKCS12
usn-tombstone-cleanup.pl
command-line perl script, usn-tombstone-cleanup.pl (Remove Deleted Entries)
related configuration entry, cn=USN tombstone cleanup task
V
verify-db.pl
command-line perl script, verify-db.pl (Check for Corrupt Databases)
quick reference, Command-Line Scripts Quick Reference
W
winSyncInterval, winSyncInterval
winSyncMoveAction, winSyncMoveAction
X
x121Address, x121Address
x500UniqueIdentifier, x500UniqueIdentifier
913
Configuration, Command, and File Reference
914
APPENDIX E. REVISION HISTORY
915