Netscape logo Configuration, Command, and File Reference
Netscape Directory Server                                                                                                                                  

Previous
Contents
Index
DocHome Next

 

Chapter 3   Plug-in Implemented Server Functionality Reference



This chapter contains reference information on Netscape Directory Server (Directory Server) server plug-ins. The chapter is divided into the following sections:


Overview

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. Code Example 2-2, which you saw in chapter 2, "Core Server Configuration Reference," shows some of the plug-in configuration attributes.  


dn: cn=Telephone Syntax,cn=plugins,cn=config
objectclass: top
objectclass: nsSlapdPlugin
objectclass: extensibleObject
cn: Telephone Syntax
nsslapd-pluginPath: /usr/netscape/servers/lib/syntax-plugin.so
nsslapd-pluginInitfunc: tel_init
nsslapd-pluginType: syntax
nsslapd-pluginEnabled: on


Some of these attributes are common to all plug-ins while others may be particular to a specific plug-in. You can check which attributes are currently being used by a given plug-in by performing an ldapsearch on the cn=config subtree.


Object Classes for Plug-in Configuration

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



Server Plug-in Functionality Reference

The tables that follow provide you with a quick overview of the plug-ins provided with Directory Server, along with their configurable options, configurable arguments, default setting, dependencies, general performance related information, and further reading. Information in these tables will help you to weigh plug-in performance gains and costs and choose the optimal settings for your deployment. The "Further Information" row cross references further reading where this is available.


7-bit Check Plug-in

Plug-in Name

7-bit check (NS7bitAtt)

DN of Configuration Entry

cn=7-bit check,cn=plugins,cn=config

Description

Checks certain attributes are 7-bit clean

Configurable Options

on | off

Default Setting

on

Configurable Arguments

list of attributes (uid mail userpassword) followed by "," and then suffix(es) on which the check is to occur

Dependencies

None

Performance Related Information

None

Further Information

If your Directory Server uses non-ASCII characters, for example, Japanese, turn this plug-in off.


ACL Plug-in

Plug-in Name

ACL Plugin

DN of Configuration Entry

cn=ACL Plugin,cn=plugins,cn=config

Description

ACL access check plug-in

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

N/A

Further Information

Chapter 6, "Managing Access Control," in the Netscape Directory Server Administrator's Guide.


ACL Preoperation Plug-in

Plug-in Name

ACL preoperation

DN of Configuration Entry

cn=ACL preoperation,cn=plugins,cn=config

Description

ACL access check plug-in

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

database

Performance Related Information

None

Further Information

Chapter 6, "Managing Access Control," in the Netscape Directory Server Administrator's Guide.


Binary Syntax Plug-in

Plug-in Name

Binary Syntax

DN of Configuration Entry

cn=Binary Syntax,cn=plugins,cn=config

Description

Syntax for handling binary data

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


Boolean Syntax Plug-in

Plug-in Name

Boolean Syntax

DN of Configuration Entry

cn=Boolean Syntax,cn=plugins,cn=config

Description

Syntax for handling booleans.

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


Case Exact String Syntax Plug-in

Plug-in Name

Case Exact String Syntax

DN of Configuration Entry

cn=Case Exact String Syntax,cn=plugins,cn=config

Description

Syntax for handling case-sensitive strings

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


Case Ignore String Syntax Plug-in

Plug-in Name

Case Ignore String Syntax

DN of Configuration Entry

cn=Case Ignore String Syntax,cn=plugins,cn=config

Description

Syntax for handling case-insensitive strings

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


Chaining Database Plug-in

Plug-in Name

Chaining Database

DN of Configuration Entry

cn=Chaining database,cn=plugins,cn=config

Description

Syntax for handling DNs

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

Chapter 3, "Configuring Directory Databases," in the Netscape Directory Server Administrator's Guide.


Class of Service Plug-in

Plug-in Name

Class of Service

DN of Configuration Entry

cn=Class of Service,cn=plugins,cn=config

Description

Allows for sharing of attributes between entries

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

Chapter 5, "Advanced Entry Management," in the Netscape Directory Server Administrator's Guide.


Country String Syntax Plug-in

Plug-in Name

Country String Syntax Plug-in

DN of Configuration Entry

cn=Country String Syntax,cn=plugins,cn=config

Description

Syntax for handling countries

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


Distinguished Name Syntax Plug-in

Plug-in Name

Distinguished Name Syntax

DN of Configuration Entry

cn=Distinguished Name Syntax,cn=plugins,cn=config

Description

Syntax for handling DNs

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


Generalized Time Syntax Plug-in

Plug-in Name

Generalized Time Syntax

DN of Configuration Entry

cn=Generalized Time Syntax,cn=plugins,cn=config

Description

Syntax for dealing with dates, times and time zones

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

The Generalized Time String consists of a four digit year, two digit month (for example, 01 for January), two digit day, two digit hour, two digit minute, two digit second, an optional decimal part of a second, and a time zone indication. We strongly recommend that you use the Z time zone indication, which stands for Greenwich Mean Time.


HTTP Client Plug-in

Plug-in Name

HTTP Client

DN of Configuration Entry

cn=HTTP Client,cn=plugins,cn=config

Description

HTTP client plug-in

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

database

Performance Related Information

N/A

Further Information

N/A


Integer Syntax Plug-in

Plug-in Name

Integer Syntax

DN of Configuration Entry

cn=Integer Syntax,cn=plugins,cn=config

Description

Syntax for handling integers

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


Internationalization Plug-in

Plug-in Name

Internationalization Plugin

DN of Configuration Entry

cn=Internationalization Plugin,cn=plugins,cn=config

Description

Syntax for handling DNs

Configurable Options

on | off

Default Setting

on

Configurable Arguments

The Internationalization has one argument, which must not be modified: serverRoot/slapd-serverID/config/slapd-collations.conf

This directory stores the collation orders and locale s used by the internationalization plug-in.

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

See Appendix D, "Internationalization," in the Netscape Directory Server Administrator's Guide.


ldbm database Plug-in

Plug-in Name

ldbm database Plug-in

DN of Configuration Entry

cn=ldbm database plug-in,cn=plugins,cn=config

Description

Implements local databases

Configurable Options

N/A

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

See Database Plug-in Attributes for further information on database configuration.

Further Information

Chapter 3, "Configuring Directory Databases," in the Netscape Directory Server Administrator's Guide.


Legacy Replication Plug-in

Plug-in Name

Legacy Replication plug-in

DN of Configuration Entry

cn=Legacy Replication plug-in,cn=plugins,cn=config

Description

Enables a current version Directory Server to be a consumer of a 4.x supplier

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None. This plug-in can be disabled if the server is not (and never will be) a consumer of a 4.x server.

Dependencies

database

Performance Related Information

None

Further Information

Chapter 8, "Managing Replication," in the Netscape Directory Server Administrator's Guide.


Multimaster Replication Plug-in

Plug-in Name

Multimaster Replication Plugin

DN of Configuration Entry

cn=Multimaster Replication plugin,cn=plugins,cn=config

Description

Enables replication between two current Directory Servers

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

database

Performance Related Information

N/A

Further Information

You can turn this plug-in off if you only have one server which will never replicate. See also chapter 8, "Managinng Replication," in the Netscape Directory Server Administrator's Guide.


Octet String Syntax Plug-in

Plug-in Name

Octet String Syntax

DN of Configuration Entry

cn=Octet String Syntax,cn=plugins,cn=config

Description

Syntax for handling octet strings

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


CLEAR Password Storage Plug-in

Plug-in Name

CLEAR

DN of Configuration Entry

cn=CLEAR,cn=Password Storage Schemes,cn=plugins,cn=config

Description

CLEAR password storage scheme used for password encryption

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

Chapter 7, "User Account Management," in the Netscape Directory Server Administrator's Guide.


CRYPT Password Storage Plug-in

Plug-in Name

CRYPT

DN of Configuration Entry

cn=CRYPT,cn=Password Storage Schemes,cn=plugins,cn=config

Description

CRYPT password storage scheme used for password encryption

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

Chapter 7, "User Account Management," in the Netscape Directory Server Administrator's Guide.


NS-MTA-MD5 Password Storage Scheme Plug-in

Plug-in Name

NS-MTA-MD5

DN of Configuration Entry

cn=NS-MTA-MD5,cn=Password Storage Schemes,cn=plugins,cn=config

Description

NS-MTA-MD5 password storage scheme for password encryption

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

You can no longer choose to encrypt passwords using the NS-MTA-MD5 password storage scheme. The storage scheme is still present but only for reasons of backward compatibility; i.e. if the data in your directory still contains passwords encrypted with the NS-MTA-MD5 password storage scheme. See chapter 7, "User Account Management," in the Netscape Directory Server Administrator's Guide.


SHA Password Storage Scheme Plug-in

Plug-in Name

SHA

DN of Configuration Entry

cn=SHA,cn=Password Storage Schemes,cn=plugins,cn=config

Description

SHA password storage scheme for password encryption

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

If there are not passwords encrypted using the SHA password storage scheme, you may turn this plug-in off. If you want to encrypt your password with the SHA password storage scheme, we recommend that you choose SSHA instead, as SSHA is a far more secure option.

Further Information

Chapter 7, "User Account Management," in the Netscape Directory Server Administrator's Guide.


SSHA Password Storage Scheme Plug-in

Plug-in Name

SSHA

DN of Configuration Entry

cn=SSHA,cn=Password Storage Schemes,cn=plugins,cn=config

Description

SSHA password storage scheme for password encryption

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

Chapter 7, "User Account Management," in the Netscape Directory Server Administrator's Guide.


Postal Address String Syntax Plug-in

Plug-in Name

Postal Address Syntax

DN of Configuration Entry

cn=Postal Address Syntax,cn=plugins,cn=config

Description

Syntax used for handling postal addresses

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


Presence Plug-in

Plug-in Name

Presence

DN of Configuration Entry

cn=Presence,cn=plugins,cn=config

Description

Syntax used for handling postal addresses

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

database

Performance Related Information

Check the reference provided in Further Information.

Further Information

Chapter 18, "Configuring IM Presence Informtion," in the Netscape Directory Server Administrator's Guide.


PTA Plug-in

Plug-in Name

Pass-Through Authentication Plugin

DN of Configuration Entry

cn=Pass Through Authentication,cn=plugins,cn=config

Description

Enables pass-through authentication, the mechanism which allows one directory to consult another to authenticate bind requests.

Configurable Options

on | off

Default Setting

off

Configurable Arguments

ldap://example.com:389/o=example

Dependencies

None

Performance Related Information

Check the reference provided in Further Information.

Further Information

Chapter 16, "Using the Pass-though Authentication Plug-in," in the Netscape Directory Server Administrator's Guide.


Referential Integrity Postoperation Plug-in

Plug-in Name

Referential Integrity Postoperation

DN of Configuration Entry

cn=Referential Integrity Postoperation,cn=plugins,cn=config

Description

Enables the server to ensure referential integrity

Configurable Options

All configuration and on | off

Default Setting

off

Configurable Arguments

When enabled, the post operation Referential Integrity plug-in performs integrity updates on the member, uniquemember, owner, and seeAlso attributes immediately after a delete or rename operation. You can reconfigure the plug-in to perform integrity checks on all other attributes.

Configurable arguments are as follows:

  1. Check for referential integrity.
    -1 = no check for referential integrity
    0 = check for referential integrity is performed immediately
    positive integer = request for referential integrity is queued and processed at a later stage. This positive integer serves as a wake-up call for the thread to process the request, at intervals corresponding to the integer specified.

  2. Log file for storing the change; for example, /usr/netscape/servers/logs/referint

  3. All the additional attribute names you want to be checked for referential integrity.

Dependencies

database

Performance Related Information

You should enable the Referential Integrity plug-in on only one supplier in a multi-master replication environment to avoid conflict resolution loops. When enabling the plug-in on chained servers, you must be sure to analyze your performance resource and time needs as well as your integrity needs. Note that integrity checks can be time-consuming and draining on memory/CPU.

Further Information

See chapter 3, "Configuring Directory Databases," in the Netscape Directory Server Administrator's Guide.


Retro Changelog Plug-in

Plug-in Name

Retro Changelog Plugin

DN of Configuration Entry

cn=Retro Changelog Plugin,cn=plugins,cn=config

Description

Used by LDAP clients for maintaining application compatibility with Directory Server 4.x versions. Maintains a log of all changes occurring in the Directory Server. The Retro Changelog offers the same functionality as the changelog in the 4.x versions of Directory Server.

Configurable Options

on | off

Default Setting

off

Configurable Arguments

See Retro Changelog Plug-in Attributes for further information on the two configuration attributes for this plug-in.

Dependencies

None

Performance Related Information

May slow down Directory Server performance.

Further Information

Chapter 8, "Managing Replication," in the Netscape Directory Server Administrator's Guide.


Roles Plug-in

Plug-in Name

Roles Plugin

DN of Configuration Entry

cn=Roles Plugin,cn=plugins,cn=config

Description

Enables the use of roles in the Directory Server

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

database

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

Chapter 5, "Advanced Entry Management," in the Netscape Directory Server Administrator's Guide.


Space Insensitive String Syntax Plug-in

Plug-in Name

Space Insensitive String Syntax

DN of Configuration Entry

cn=Space Insensitive String Syntax,cn=plugins,cn=config

Description

Syntax for handling space-insensitive values

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

This plug-in enables the Directory Server to support space and case insensitive values. Applications can now search the directory using entries with ASCII space characters.

For example, applications that use AOL Screen Names can search the Directory Server using filters that contain Screen Names--a search or compare operation that uses jOHN Doe will match entries that contain any of the following Screen Name values: johndoe, john doe, and John Doe.

For more information about finding directory entries, see Appendix B, "Finding Directory Entries," in the Netscape Directory Server Administrator's Guide.

The nsAIMID attribute type, which is a part of the Presence schema, uses this syntax. For details, see "Schema for the Presence Plug-in" in the Netscape Directory Server Administrator's Guide.


State Change Plug-in

Plug-in Name

State Change Plugin

DN of Configuration Entry

cn=State Change Plugin,cn=plugins,cn=config

Description

Enables state-change-notification service.

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

N/A

Further Information

N/A


Telephone Syntax Plug-in

Plug-in Name

Telephone Syntax

DN of Configuration Entry

cn=Telephone Syntax,cn=plugins,cn=config

Description

Syntax for handling telephone numbers

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. Netscape recommends that you leave this plug-in running at all times.

Further Information

N/A


UID Uniqueness Plug-in

Plug-in Name

UID Uniqueness plug-in

DN of Configuration Entry

cn=UID Uniqueness,cn=plugins,cn=config

Description

Checks that the values of specified attributes are unique each time a modification occurs on an entry.

Configurable Options

on | off

Default Setting

off

Configurable Arguments

Enter the following arguments:

uid
"DN"
"DN"...

if you want to check for UID attribute uniqueness in all listed subtrees.

However, enter the following arguments:

attribute="uid"
MarkerObjectclass= "ObjectClassName"

and, optionally,

requiredObjectClass= "ObjectClassName"

if you want to check for UID attribute uniqueness when adding or updating entries with the requiredObjectClass, starting from the parent entry containing the ObjectClass as defined by the MarkerObjectClass attribute.

Dependencies

database

Performance Related Information

Directory Server provides the UID Uniqueness plug-in by default. If you want to ensure unique values for other attributes, you can create instances of the UID Uniqueness plug-in for those attributes. See chapter 17, "Using the Attribute Uniqueness Plug-in," in the Netscape Directory Server Administrator's Guide for more information about the Attribute Uniquenss plug-in.

The UID Uniqueness plug-in is off by default due to operation restrictions that need to be addressed before enabling the plug-in in a multi-master replication environment. Turning the plug-in on may slow down Directory Server performance.

Further Information

Chapter 17, "Using the Attribute Uniqueness Plug-in," in the Netscape Directory Server Administrator's Guide.


URI Syntax Plug-in

Plug-in Name

URI Syntax

DN of Configuration Entry

cn=URI Syntax,cn=plugins,cn=config

Description

Syntax for handling URIs (Unique Resource Identifiers) including URLs (Unique Resource Locators)

Configurable Options

on | off

Default Setting

on

Configurable Arguments

None

Dependencies

None

Performance Related Information

Do not modify the configuration of this plug-in. It is recommended that you leave this plug-in running at all times.

Further Information

N/A


List of Attributes Common to All Plug-ins

This list provides a brief attribute description, the Entry DN, valid range, default value, syntax, and an example for each attribute.


nsslapd-pluginPath

Specifies the full path to the plug-in.  

Entry DN:

cn=plug-in name,cn=plugins,cn=config

Valid Values:

Any valid path

Default Value:

None

Syntax:

DirectoryString

Example:

nsslapd-pluginPath: /usr/netscape/servers/lib/uid-plugin.so


nsslapd-pluginInitfunc

Specifies the plug-in function to be initiated.  

Entry DN:

cn=plug-in name,cn=plugins,cn=config

Valid Values:

Any valid plug-in function

Default Value:

None

Syntax:

DirectoryString

Example:

nsslapd-pluginInitfunc:NS7bitAttr_Init


nsslapd-pluginType

Specifies the plug-in type. See nsslapd-plugin-depends-on-type for further information.  

Entry DN:

cn=plug-in name,cn=plugins,cn=config

Valid Values:

Any valid plug-in type

Default Value:

None

Syntax:

DirectoryString

Example:

nsslapd-pluginType: preoperation


nsslapd-pluginEnabled

Specifies whether or not the plug-in is enabled. This attribute can be changed over protocol but will only take effect when the server is next restarted.  

Entry DN:

cn=plug-in name,cn=plugins,cn=config

Valid Values:

on | off

Default Value:

on

Syntax:

DirectoryString

Example:

nsslapd-pluginEnabled: on


nsslapd-pluginId

Specifies the plug-in ID.  

Entry DN:

cn=plug-in name,cn=plugins,cn=config

Valid Values:

Any valid plug-in ID

Default Value:

None

Syntax:

DirectoryString

Example:

nsslapd-pluginId: chaining database


nsslapd-pluginVersion

Specifies the plug-in version.  

Entry DN:

cn=plug-in name,cn=plugins,cn=config

Valid Values:

Any valid plug-in version

Default Value:

Product version number

Syntax:

DirectoryString

Example:

nsslapd-pluginVersion: 6.2


nsslapd-pluginVendor

Specifies the vendor of the plug-in.  

Entry DN:

cn=plug-in name,cn=plugins,cn=config

Valid Values:

Any approved plug-in vendor.

Default Value:

Netscape Communications Corporation

Syntax:

DirectoryString

Example:

nsslapd-pluginVendor: Netscape Communications Corp.


nsslapd-pluginDescription

Provides a description of the plug-in.  

Entry DN:

cn=plug-in name,cn=plugins,cn=config

Valid Values:

N/A

Default Value:

None

Syntax:

DirectoryString

Example:

nsslapd-pluginDescription: acl access check plug-in


Attributes Allowed by Certain Plug-ins


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 nsslapd-pluginType for further information. All plug-ins whose type value matches one of the values in the following valid range will be started by the server prior to this plug-in. The following post operation Referential Integrity Plug-in example shows that the database plug-in will be started prior to the post operation Referential Integrity Plug-in.  

Entry DN:

cn=referential integrity postoperation,cn=plugins,cn=config

Valid Values:

database

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsslapd-plugin-depends-on-type:database


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 whose cn value matches 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 will fail to start. The following post operation Referential Integrity Plug-in example shows that the Class of Service plug-in will be started prior to the post operation Referential Integrity Plug-in. If the Class of Service plug-in does not exist, then the server will fail to start.  

Entry DN:

cn=referential integrity postoperation,cn=plugins,cn=config

Valid Values:

Class of Service

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsslapd-plugin-depends-on-named: Class of Service


Database Plug-in Attributes

The database plug-in is also organized in an information tree as shown in Figure 3-1.

Figure 3-1    Database Plug-in

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.


Database Attributes under cn=config,cn=ldbm database,cn=plugins,cn=config

Global configuration attributes common to all instances are stored in the cn=config,cn=ldbm database,cn=plugins,cn=config tree node.


nsLookthroughLimit

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. If you bind as the directory manager DN, however, unlimited is set by default and overrides any other settings you may specify 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 you bind as, the default limit will be overridden. If you attempt to set a value that is not a number or is too big for a 32-bit signed integer, you will receive an LDAP_UNWILLING_TO_PERFORM error message with additional error information explaining the problem.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

-1 to maximum 32-bit integer in entries (where -1 is unlimited)

Default Value:

5000

Syntax:

Integer

Example:

nsLookthroughLimit: 5000


nsslapd-idlistscanlimit

This performance-related attribute, present by default, specifies the number of entry IDs that are searched during a search operation. If you attempt to set a value that is not a number or is too big for a 32-bit signed integer, you will receive 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. For a more detailed explanation of the effect of ID lists on search performance, see chapter 10, "Managing Indexes," in the Netscape Directory Server Administrator's Guide.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

100 to the maximum 32-bit integer value (2147483647) entry IDs

Default Value:

4000

Syntax:

Integer

Example:

nsslapd-idlistscanlimit: 4000


nsslapd-cache-autosize

This performance tuning-related attribute, which is turned off by default, specifies the percentage of free memory to use for all the combined caches. For example, if the value is set to 80, then 80 percent of the remaining free memory would be claimed for the cache. If you plan to run other servers on the machine, then the value will be lower. Setting the value to 0 turns off the cache autosizing and uses the normal nsslapd-cachememsize and nsslapd-dbcachesize attributes.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

0 (turns cache autosizing off) to 100

Default Value:

0

Syntax:

Integer

Example:

nsslapd-cache-autosize: 80


nsslapd-cache-autosize-split

This performance tuning-related attribute specifies the percentage of cache space to allocate to the database cache. For example, setting this to 60 would give the database cache 60 percent of the cache space and split the remaining 40 percent between the backend entry caches. That is, if there were 2 databases, each of them would receive 20 percent. This attribute only applies when the nsslapd-cache-autosize attribute has a value of 0.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

 

Default Value:

66 (This will not necessarily optimize your operations.)

Syntax:

Integer

Example:

nsslapd-cache-autosize-split: 66


nsslapd-dbcachesize

This performance tuning-related attribute specifies database cache size. This is neither the index cache nor the entry cache. If you activate automatic cache resizing, you override this attribute, by replacing these values with its own guessed values at a later stage of the server startup.

If you attempt to set a value that is not a number or is too big for a 32-bit signed integer, you will receive an LDAP_UNWILLING_TO_PERFORM error message with additional error information explaining the problem.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

500KB to 4GB for 32-bit platforms and 500KB to 2^64-1 for 64-bit platforms

Default Value:

10,000,000 bytes

Syntax:

Integer

Example:

nsslapd-dbcachesize: 10,000,000



Note 

On Solaris, the nsslapd-dbcachesize attribute has no effect on performance because the disk/filesystem cache overrides it.



nsslapd-db-checkpoint-interval

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, you add the attribute to dse.ldif. This attribute can be dynamically modified using ldapmodify. For further information on modifying this attribute, see chapter 14, "Tuning Directory Server Performance," in the Netscape Directory Server Administrator's Guide.

This attribute is provided only for system modification/diagnostics and should be changed only with the guidance of Netscape Technical Support or Netscape Professional Services . 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 chapter 12, "Monitoring Server and Database Activity," in the Netscape Directory Server Administrator's Guide.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

10 to 300 seconds

Default Value:

60

Syntax:

Integer

Example:

nsslapd-db-checkpoint-interval: 120 seconds


nsslapd-db-circular-logging

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 Netscape Technical Support or Netscape Professional Services.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

on | off

Default Value:

on

Syntax:

DirectoryString

Example:

nsslapd-db-circular-logging: on


nsslapd-db-debug

Specifies whether additional error information is to be reported to Directory Server. To report error information, set the parameter to on. This parameter is meant for troubleshooting; enabling the parameter may slow down the Directory Server.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

on | off

Default Value:

off

Syntax:

DirectoryString

Example:

nsslapd-db-debug: off


nsslapd-db-durable-transactions

Indicates 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, you add the attribute to dse.ldif.

This attribute is provided only for system modification/diagnostics and should be changed only with the guidance of Netscape Technical Support or Netscape Professional Services. 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 chapter 12, "Monitoring Server and Database Activity," in the Netscape Directory Server Administrator's Guide.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

on | off

Default Value:

on

Syntax:

DirectoryString

Example:

nsslapd-db-durable_transactions: on


nsslapd-db-home-directory

Applicable to Solaris only. Used to fix a situation in Solaris where the operating system endlessly flushes pages. This flushing can be so excessive that performance of the entire system is severely degraded.

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 100MB.

If your Solaris host seems excessively slow and your database cache size is around 100MB or more, then you can use the iostat utility to diagnose the problem. Use iostat to monitor the activity of the disk where the Directory Server's database files are stored. If all of the following conditions are true,

  • The disk is heavily used (more than 1MB per second of data transfer).

  • There is a long service time (more than 100ms).

  • There is mostly write activity.

then you should use the nsslapd-db-home-directory attribute to specify a subdirectory of a tempfs type file system.


Note 

The directory referenced by the nsslapd-db-home-directory attribute must be a subdirectory of a file system of type tempfs (such as /tmp). However, Directory Server does not create the subdirectory referenced by this attribute. You must create the directory either manually or by using a script. Failure to create the directory referenced on the nsslapd-db-home-directory attribute will result in Directory Server being unable to start.

Also, if you have 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.

Finally, 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 your server. If this happens, reduce the size of your database cache size to a value where the server will start again.


 

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

Any valid directory name in a tempfs file system, such as /tmp.

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsslapd-db-home-directory: /tmp/slapd-phonebook


nsslapd-db-idl-divisor

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 value of 0 sets the block size to the page size minus an estimated allowance for internal database overhead.

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.  

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


nsslapd-db-logbuf-size

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 signficantly increase throughput in the presence of long running transactions, highly concurrent applications, or transactions producing large amounts of data.

The nsslapd-db-logbuf-size attribute is only valid if the nsslapd-db-durable-transactions attribute is set to on.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

32K to maximum 32-bit integer (limited to the amount of memory available on the machine)

Default Value:

32K

Syntax:

Integer

Example:

nsslapd-db-logbuf-size: 32K


nsslapd-db-logdirectory

Specifies the path and directory name of the directory containing the database transaction log. The database transaction log contains a sequential listing of all recent database operations and is used for database recovery only. By default, the database transaction log is stored in the same directory as the directory entries themselves, serverRoot/slapd-serverID/db. For fault-tolerance and performance reasons, you may want to move this log file to another physical disk. The nsslapd-db-logdirectory attribute is absent from dse.ldif. To change the location of the database transaction log, you add the attribute to dse.ldif.

For more information on database transaction logging, see chapter 12, "Monitoring Server and Database Activity," in the Netscape Directory Server Administrator's Guide.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

Any valid path and directory name

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsslapd-db-logdirectory: /logs/txnlog




nsslapd-db-logfile-size

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 MB is used. The maximum size is an unsigned 4-byte value. The value of this attribute can have significant impact on performance, as it can be tuned to avoid extensive log switching in the event of heavy entries.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

0 to unsigned 4-byte integer

Default Value:

10MB

Syntax:

Integer

Example:

nsslapd-db-logfile-size: 10 MB


nsslapd-db-page-size

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 64K bytes. If the page size is not explicitly set, Directory Server defaults to a page size of 8Kbytes. Changing this default value can have signficant 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.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

512 bytes to 64 Kbytes

Default Value:

8Kbytes

Syntax:

Integer

Example:

nsslapd-db-page-size: 8Kbytes


nsslapd-db-spin-count

Specifies the number of times that test-and-set mutexes should spin without blocking.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

0 to 2^31-1

Default Value:

0

Syntax:

Integer

Example:

nsslapd-db-spin-count: 0


nsslapd-db-transaction-batch-val

Specifies how many transactions will be batched before being committed. You can use this attribute to 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 chapter 14, "Tuning Directory Server Performance," in the Netscape Directory Server Administrator's Guide.

If you do not define this attribute or set it to a value of 0, transaction batching will be turned off, and it will be impossible to make remote modifications to this attribute via 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 you to modify this attribute remotely via LDAP. A value of 1 for this attribute allows you to modify the attribute setting remotely via 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 desired. Remember that the value you choose for this attribute may require you to modify the nsslapd-db-logbuf-size attribute to ensure sufficient log buffer size for accommodating your batched transactions.

Also, the nsslapd-db-transaction-batch-val attribute is only valid if the nsslapd-db-durable-transaction attribute is set to on.

For more information on database transaction logging, see chapter 12, "Monitoring Server and Database Activity," in the Netscape Directory Server Administrator's Guide.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

0 to 30

Default Value:

0 (or turned off)

Syntax:

Integer

Example:

nsslapd-db-transaction-batch-val: 5


nsslapd-db-transaction-logging

Specifies whether transaction logging is on or off. Turning transaction logging off can considerably improve Directory Server performance but at the risk of data loss and/or database corruption in the event of a system crash. If turned off, it would be necessary to set up other database recovery procedures.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

on | off

Default Value:

on

Syntax:

DirectoryString

Example:

nsslapd-db-transaction-logging: on


nsslapd-db-trickle-percentage

Ensures 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.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

0 to 100

Default Value:

40

Syntax:

Integer

Example:

nsslapd-db-trickle-percentage: 40


nsslapd-db-verbose

Specifies whether to record additional informational and debugging messagses when searching the log for checkpoints, doing deadlock detection, and performing recovery. This parameter is meant for troubleshooting and that enabling the parameter may slow down the Directory Server.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

on | off

Default Value:

off

Syntax:

DirectoryString

Example:

nsslapd-db-verbose: off


nsslapd-dbncache

This attribute allows you to 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 releases of Solaris 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 4Gbytes, you need to 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 you want in Gbyte. For example, if you have a 12Gbyte system, set the nsslapd-dbncache value to 3; for an 8Gbyte system, set it to 2.

This attribute is provided only for system modification/diagnostics and should be changed only with the guidance of Netscape Technical Support or Netscape Professional Services. Inconsistent settings of this attribute and other configuration attributes may cause the Directory Server to be unstable.

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



nsslapd-import-cachesize

This performance tuning-related attribute determines the size 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. If you attempt to set a value that is not a number or is too big for a 32-bit signed integer, you will receive an LDAP_UNWILLING_TO_PERFORM error message, with additional error information explaining the problem.


Note 

A cache is created for each load that occurs. For example, if the user sets the nsslapd-import-cachesize attribute to 1GB, then 1GB is used when loading one database, 2GB is used when loading 2 databases, and so on. Ensure that you have sufficient physical memory to prevent swapping from occuring, as this would result in performance degradation.


 

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

500KB to 4GB for 32-bit platforms and 500KB to 2^64-1 for 64-bit platforms

Default Value:

20 000 000

Syntax:

Integer

Example:

nsslapd-import-cachesize: 20 000 000


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 you to set importCache automatically to a predetermined size when the import operation is run on the command-line. The attribute can also used by Directory Server during the task mode import for allocating a specified percentage of free memory for importCache.

By default, the nsslapd-import-cache-autosize attribute is enabled and is set to a value of -1. This value autosizes importCache for the ldif2db operation only, automatically allocating fifty percent (50%) of the free physical memory for importCache. The percentage value (50%) is hardcoded and cannot be changed.

You can set the attribute value to 50 (nsslapd-import-cache-size:50) to have the same effect on performance during an ldif2db operation. However, such a setting will have the same effect on performance when the import operation is run as a Directory Server task. The -1 value autosizes importCache just for the ldif2db operation and not for any, including import, general Directory Server tasks.  

 

The purpose of -1 setting is to enable the ldif2db operation to benefit on free physical memory but, at the same time, not compete for valuable memory with entryCache, which is used for general operations of the Directory Server.

Setting the nsslapd-import-cache-autosize attribute value to 0 turns off the importCache autosizing feature -- that is, no autosizing occurs during either mode of the import operation. Instead, Directory Server uses the nsslapd-import-cachesize attribute for import cache size, the default for which is 20,000,000.

Keep in mind that there are three caches in the context of Directory Server, dbCache, entryCache, and importCache. importCache is only used during the import operation. The attribute nsslapd-cache-autosize, which is used for autosizing entryCache and dbCache, 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 entryCache and dbCache.

While running Directory Server with both the autosizing attributes, nsslapd-cache-autosize and nsslapd-import-cache-autosize, enabled, ensure that their sum is less than 100.


Note 

If Directory Server is installed on a machine running Windows 2000 Server, be sure to set the LargeSystemCache registry key to 0 to limit the growth of system cache. The LargeSystemCache has a default value of 1, which is not suitable for applications, such as Directory Server, that do caching internally.


 

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Range:

-1, 0 (turns import cache autosizing off) to 100

Default Value:

-1 (turns import cache autosizing on for ldif2db only and allocates 50% of the free physical memory to importCache)

Syntax:

Integer

Example:

nsslapd-import-cache-autosize: -1


nsslapd-mode

Specifies the permissions used for newly created index files.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

Any four-digit octal number. However, mode 0600 is recommended. This allows read and write access for the owner of the index files (which is the user that ns-slapd runs as) and no access for other users.

Default Value:

0600

Syntax:

Integer

Example:

nsslapd-mode: 0600


Database Attributes under cn=monitor,cn=ldbm database, cn=plugins,cn=config

Global read-only attributes containing database statistics for monitoring activity on your databases are stored in the cn=monitor,cn=ldbm database, cn=plugins,cn=config tree node. For more information on these monitoring read-only entries, see chapter 12, "Monitoring Server and Database Activity," in the Netscape Directory Server Administrator's Guide.


dbcachehits

Requested pages found in the database.


dbcachetries

Total requested pages found in the database cache.


dbcachehitratio

Percentage of requested pages found in the database cache (hits/tries).


dbcachepagein

Pages read into the database cache.


dbcachepageout

Pages written from the database cache to the backing file.


dbcacheroevict

Clean pages forced from the cache.


dbcacherwevict

Dirty pages forced from the cache.


Database Attributes under cn=NetscapeRoot,cn=ldbm database, cn=plugins,cn=config and cn=UserRoot,cn=ldbm database, cn=plugins,cn=config

The cn=NetscapeRoot and cn=UserRoot subtrees contain configuration data for, or the definition of, the databases containing the o=NetscapeRoot and o=France.Sun suffixes, respectively. The cn=NetscapeRoot subtree contains the configuration data used by the Netscape Administration Server for authentication and all actions that cannot be performed through LDAP (such as start/stop), and the cn=UserRoot subtree contains all the configuration data for the user-defined database. The cn=UserRoot subtree is called UserRoot by default. However, this is not hard-coded and, given the fact that there will be multiple database instances, this name will be changed and defined by the user as and when new databases are added. The following attributes are common to both the cn=NetscapeRoot, cn=ldbm database,cn=plugins,cn=config and cn=UserRoot, cn=ldbm database,cn=plugins,cn=config subtrees.


nsslapd-cachesize

This performance tuning-related attribute specifies the cache size in terms of the entries it can hold. However, it is worth noting that it is simpler to limit by memory size only (see nsslapd-cachememsize attribute). If you attempt to set a value that is not a number or is too big for a 32-bit signed integer, you will receive an LDAP_UNWILLING_TO_PERFORM error message with additional error information explaining the problem.  

Entry DN:

cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config or cn=UserRoot,cn=ldbm database,cn=plugins,cn=config

Valid Range:

1 to 2,147,483,647 ( or -1, which means limitless) entries

Default Value:

-1

Syntax:

Integer

Example:

nsslapd-cachesize: -1


nsslapd-cachememsize

This performance tuning-related attribute specifies the cache size in terms of available memory space. Limiting cachesize in terms of memory occupied is the simplest method. By activating automatic cache resizing you override this attribute, replacing these values with its own guessed values at a later stage of the server startup. If you attempt to set a value that is not a number or is too big for a 32-bit signed integer you will receive an LDAP_UNWILLING_TO_PERFORM error message with additional error information explaining the problem.  

Entry DN:

cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config or cn=UserRoot,cn=ldbm database,cn=plugins,cn=config

Valid Range:

500KB to 4GB for 32-bit platforms and 500KB to 2^64-1 for 64-bit platforms

Default Value:

10 485 760 (10Mb)

Syntax:

Integer

Example:

nsslapd-cachememsize:10Mb


nsslapd-directory

Specifies absolute path to database instance. If your database instance is manually created then this attribute must be included, something which is set by default (and modifiable) in the Netscape Console. Once your database instance is created, do not modify this path as any changes risk preventing the server from accessing data. This attribute is related to server5.  

Entry DN:

cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

Any valid absolute path to the database instance

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsslapd-directory: /usr/netscape/servers/slapd-phonebook/db


nsslapd-readonly

Specifies Read Only permission rights. If this attribute has a value of off, then the user has all read, write, and execute permissions.  

Entry DN:

cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config or cn=UserRoot,cn=ldbm database,cn=plugins,cn=config

Valid Values:

on | off

Default Value:

off

Syntax:

DirectoryString

Example:

nsslapd-readonly: off


nsslapd-require-index

When switched to on, this attribute allows you to refuse unindexed searches. This performance related attribute avoids saturating the server with erroneous searches.  

Entry DN:

cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config or cn=UserRoot,cn=ldbm database,cn=plugins,cn=config

Valid Values:

on | off

Default Value:

off

Syntax:

DirectoryString

Example:

nsslapd-require: off


nsslapd-suffix

Specifies the suffix of the database link. This is a mono-valued attribute as 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 mono-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 you restart the server containing the database link.  

Entry DN:

cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config or cn=UserRoot,cn=ldbm database,cn=plugins,cn=config

Valid Values:

Any valid DN

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsslapd-suffix: o=NetscapeRoot


Database Attributes under cn=database,cn=monitor,cn=ldbm database, cn=plugins,cn=config

The attributes in this tree node entry are all read-only, database performance counters. All of the values for these attributes are 32-bit integers.


nsslapd-db-abort-rate

Number of transactions that have been aborted.


nsslapd-db-active-txns

Number of transactions that are currently active.


nsslapd-db-cache-hit

Requested pages found in the cache.


nsslapd-db-cache-try

Total cache lookups.


nsslapd-db-cache-region-wait-rate

Number of times that a thread of control was forced to wait before obtaining the region lock.


nsslapd-db-cache-size-bytes

Total cache size in bytes.


nsslapd-db-clean-pages

Clean pages currently in the cache.


nsslapd-db-commit-rate

Number of transactions that have been committed.


nsslapd-db-deadlock-rate

Number of deadlocks detected.


nsslapd-db-dirty-pages

Dirty pages currently in the cache.


nsslapd-db-hash-buckets

Number of hash buckets in buffer hash table.


nsslapd-db-hash-elements-examine-rate

Total number of hash elements traversed during hash table lookups.


nsslapd-db-hash-search-rate

Total number of buffer hash table lookups.


nsslapd-db-lock-conflicts

Total number of locks not immediately available due to conflicts.


nsslapd-db-lock-region-wait-rate

Number of times that a thread of control was forced to wait before obtaining the region lock.


nsslapd-db-lock-request-rate

Total number of locks requested.



nsslapd-db-lockers

Number of current lockers.


nsslapd-db-log-bytes-since-checkpoint

Number of bytes written to this log since the last checkpoint.


nsslapd-db-log-region-wait-rate

Number of times that a thread of control was forced to wait before obtaining the region lock.


nsslapd-db-log-write-rate

Number of megabytes and bytes written to this log.


nsslapd-db-longest-chain-length

Longest chain ever encountered in buffer hash table lookups.


nsslapd-db-page-create-rate

Pages created in the cache.


nsslapd-db-page-read-rate

Pages read into the cache.


nsslapd-db-page-ro-evict-rate

Clean pages forced from the cache.


nsslapd-db-page-rw-evict-rate

Dirty pages forced from the cache.


nsslapd-db-page-trickle-rate

Dirty pages written using the memp_trickle interface.


nsslapd-db-page-write-rate

Pages read into the cache.


nsslapd-db-pages-in-use

All pages, clean or dirty, currently in use.


nsslapd-db-txn-region-wait-rate

Number of times that a thread of control was force to wait before obtaining the region lock.


Database Attributes under cn=default indexes,cn=config,cn=ldbm database, cn=plugins,cn=config

The set of default indexes is stored here. Default indexes are configured per backend in order to optimize Directory Server functionality for the majority of setup scenarios. All indexes, except system-essential ones, can be removed, but care should be taken so as not to cause unnecessary disruptions. This section presents four required indexing attributes and one optional indexing attribute. For further information on indexes, see chapter 10, "Managing Indexes," in the Netscape Directory Server Administrator's Guide.


nsSystemIndex

This mandatory attribute specifies whether or not 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.  

Entry DN:

cn=default indexes,cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

true | false

Default Value:

N/A

Syntax:

DirectoryString

Example:

nssystemindex: true


nsIndexType

This optional multivalued attribute specifies the type of index for Directory Server operations and takes the values of the attributes to be indexed. Each desired index type has to be entered on a separate line.  

Entry DN:

cn=default indexes,cn=config,cn=ldbm database,cn=plugins,cn=config

Valid Values:

pres = presence index

eq = equality index

approx = approximate index

sub = substring index

matching rule = international index

index browse = browsing index

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsindextype: eq


nsMatchingRule

This optional, multivalued attribute specifies the collation order object identifier (OID) required for the Directory Server to operate international indexing.  

Entry DN:

cn=default indexes,cn=monitor,cn=ldbm database,cn=plugins,cn=config

Valid Values:

Any valid collation order object identifier (OID)

Default Value:

None

Syntax:

DirectoryString

Example:

cn=2.16.840.1.113730.3.3.2.3.1 (For Bulgarian)


cn

Provides the name of the attribute you want to index.  

Entry DN:

cn=default indexes,cn=monitor,cn=ldbm database,cn=plugins,cn=config

Valid Values:

Any valid index cn

Default Value:

None

Syntax:

DirectoryString

Example:

cn: aci


description

This non-mandatory attribute provides a free-hand text description of what the index actually performs.  

Entry DN:

cn=default indexes,cn=monitor,cn=ldbm database,cn=plugins,cn=config

Valid Values:

N/A

Default Value:

None

Syntax:

DirectoryString

Example:

description:substring index


Database Attributes under cn=monitor,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config

Global, read-only entries for monitoring activity on the NetscapeRoot database. These attributes containing database statistics are given for each file that makes up your database. For further information, see chapter 12, "Monitoring Server and Database Activity," in the Netscape Directory Server Administrator's Guide.


dbfilenamenumber

This attribute indicates 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

Number of times that a search requiring data from this file was performed and that the data was successfully obtained from the cache.


dbfilecachemiss

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

Number of pages brought to the cache from this file.


dbfilepageout

Number of pages for this file written from cache to disk.


Database Attributes under cn=index,cn=NetscapeRoot,cn=ldbm database, cn=plugins,cn=config and cn=index,cn=UserRoot,cn=ldbm database, cn=plugins,cn=config

In addition to the set of default indexes that are stored under cn=default indexes,cn=config,cn=ldbm database,cn=plugins,cn=config, custom indexes can be created for o=NetscapeRoot and o=UserRoot and are stored under cn=index,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config and cn=index,cn=UserRoot,cn=ldbm database,cn=plugins,cn=config, respectively. Each indexed attribute represents a subentry under the above cn=config information tree nodes, as shown in Figure 3-2.

Figure 3-2    Indexed Attribute Representing a Subentry

For example, the index file for the aci attribute under o=UserRoot will appear 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


For details regarding the five possible indexing attributes, see the section Database Attributes under cn=default indexes,cn=config,cn=ldbm database, cn=plugins,cn=config. For further information about indexes, see chapter 10, "Managing Indexes," in the Netscape Directory Server Administrator's Guide.


Database Attributes under cn=attributeName, cn=encrypted attributes, cn=database_name, cn=ldbm database, cn=plugins, cn=config

The nsAttributeEncryption object class allows encryption of attributes, within a database, that the Directory Manager selects manually. Extremely sensitive information such as credit card numbers and government identification numbers may not be protected enough by routine access control measures and can be encrypted within the database by using database encryption. This object class has one attribute, nsEncryptionAlgorithm, which sets the type of encryption used for the attribute. Each encrypted attribute represents a subentry under the above cn=config information tree nodes, as shown in Figure 3-3.

Figure 3-3    Encrypted Attributes under the cn=config Node


For example, the database encryption file for the userPassword attribute under o=UserRoot would appear in the Directory Server as follows:  


dn: cn=userPassword,cn=encrypted attributes,o=UserRoot,cn=ldbm database,cn=plugins,cn=config
objectclass:top
objectclass:nsAttributeEncryption
cn=userPassword
nsEncryptionAlgorithm: AES


To configure database encryption, see "Database Encryption," in chapter 3, "Configuring Directory Databases," in the Netscape Directory Server Administrator's Guide. For more information about indexes, see in chapter 10, "Managing Indexes," in the Netscape Directory Server Administrator's Guide.


nsEncryptionAlgorithm

nsEncryptionAlgorithm selects the cipher used by nsAttributeEncryption. The algorithm can be set per encrypted attribute.  

Entry DN:

cn=attributeName,cn=encrypted attributes, cn=databaseName,cn=ldbm database,cn=plugins,cn=config

Valid Values:

The following are supported ciphers:

Advanced Encryption Standard Block Cipher -- AES
Triple Data Encryption Standard Block Cipher -- 3DES

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsEncryptionAlgorithm: AES


Database Link Plug-in Attributes (chaining attributes)

The Database Link Plug-in is also organized in an information tree, as shown in Figure 3-4.

Figure 3-4    Database Link Plug-in

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.


Database Link Attributes under cn=config,cn=chaining database, cn=plugins,cn=config

Global configuration attributes common to all instances are stored in the cn=config,cn=chaining database,cn=plugins,cn=config tree node.


nsActiveChainingComponents

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 you to alter the components used to chain. 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.  

Entry DN:

cn=config,cn=chaining database,cn=plugins,cn=config

Valid Values:

Any valid component entry

Default Value:

None

Syntax:

DirectoryString

Example:

nsActiveChainingComponents: cn=uid uniqueness,cn=plugins,cn=config


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.  

Entry DN:

cn=config,cn=chaining database,cn=plugins,cn=config

Valid Values:

Any valid delay period in seconds

Default Value:

60 seconds

Syntax:

Integer

Example:

nsMaxResponseDelay: 60


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.  

Entry DN:

cn=config,cn=chaining database,cn=plugins,cn=config

Valid Values:

Any valid delay period in seconds

Default Value:

15 seconds

Syntax:

Integer

Example:

nsMaxTestResponseDelay: 15


nsTransmittedControls

This attribute, which can be both a global (and thus dynamic) configuration or an instance (i.e., cn=database link instance,cn=chaining database,cn=plugins,cn=config) configuration attribute, allows you to alter the controls the database link forwards. The following controls are forwarded by default by the database link:

  • Managed DSA, object identifier: 2.16.840.1.113730.3.4.2.

  • Virtual list view (VLV), object identifier:2.16.840.1.113730.3.4.9

  • Server side sorting, object identifier: 1.2.840.113556.1.4.473  

Entry DN:

cn=config,cn=chaining database,cn=plugins,cn=config

Valid Values:

Any valid OID or the above listed controls forwarded by the database link.

Default Value:

None

Syntax:

Integer

Example:

nsTransmittedControls: 1.2.840.113556.1.4.473


Database Link Attributes under cn=default instance config,cn=chaining database,cn=plugins,cn=config

Default instance configuration attributes for instances are housed in the cn=default instance config,cn=chaining database,cn=plugins,cn=config tree node.


nsAbandonedSearchCheckInterval

Number of seconds that pass before the server checks for abandoned operations.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

0 to maximum 32-bit integer (2147483647) seconds

Default Value:

2

Syntax:

Integer

Example:

nsabandonedsearchcheckinterval: 10


nsBindConnectionsLimit

Maximum number of TCP connections the database link establishes with the remote server.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

1 to 50 connections

Default Value:

3

Syntax:

Integer

Example:

nsbindconnectionslimit: 3


nsBindRetryLimit

Contrary to what the name suggests, this attribute does not specify the number of times a database link re tries to bind with the remote server but the number of times it tries to bind with the remote server. A value of 0 here indicates that the database link will only attempt to bind once.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

1 to 5

Default Value:

3

Syntax:

Integer

Example:

nsbindretrylimit: 3


nsBindTimeout

Amount of time before the bind attempt times out. There is no real Valid Range for this attribute, except reasonable patience limits.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

0 to 60 seconds

Default Value:

15

Syntax:

Integer

Example:

nsbindtimeout:15


nsCheckLocalACI

Reserved for advanced use only. 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.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Values:

on | off

Default Value:

off

Syntax:

DirectoryString

Example:

nschecklocalaci: on


nsConcurrentBindLimit

Maximum number of concurrent bind operations per TCP connection.

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

1 to 25 binds

Default Value:

10

Syntax:

Integer

Example:

nsconcurrentbindlimit:10


nsConcurrentOperationsLimit

Specifies the maximum number of concurrent operations allowed.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

1 to 50 operations

Default Value:

50

Syntax:

Integer

Example:

nsconcurrentoperationslimit: 50


nsConnectionLife

Specifies connection lifetime. You can keep connections between the database link and the remote server open for an unspecified time, or you can close them 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 you provide a list of failover servers in the nsFarmServerURL attribute, the "main" server is never contacted after failover to the alternate server.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

0 to limitless seconds (where 0 means forever)

Default Value:

0

Syntax:

Integer

Example:

nsconnectionlife: 0


nsOperationConnectionsLimit

Maximum number of LDAP connections the database link establishes with the remote server.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

1 to 20 connections

Default Value:

10

Syntax:

Integer

Example:

nsoperationconnectionslimit:10


nsProxiedAuthorization

Reserved for advanced use only. Allows you to disable proxied authorization, where a value of off means proxied authorization is disabled.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Values:

on | off

Default Value:

on

Syntax:

DirectoryString

Example:

nsproxiedauthorization: on


nsReferralOnScopedSearch

Controls whether or not referrals are returned by scoped searches. This attribute allows you to optimize your directory because returning referrals in response to scoped searches is more efficient.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Values:

on | off

Default Value:

off

Syntax:

DirectoryString

Example:

nsreferralonscopedsearch: off


nsSizeLimit

Specifies the default size limit for the database link in bytes.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

-1 (no limit) to maxmum 32-bit integer (2147483647) entries

Default Value:

2000

Syntax:

Integer

Example:

nsSizeLimit: 2000


nsTimeLimit

Specifies the default search time limit for the database link.  

Entry DN:

cn=default instance config,cn=chaining database, cn=plugins,cn=config

Valid Range:

-1 to maxmum 32-bit integer (2147483647) seconds

Default Value:

3600

Syntax:

Integer

Example:

nsTimeLimit: 3600


Database Link Attributes under cn=database link instance name,cn=chaining database, cn=plugins,cn=config

This information node stores the attributes concerning the server containing the data. A farm server is a server which contains data on databases. This attribute can contain optional servers for failover, separated by spaces. For cascading chaining, this URL can point to another database link.


nsFarmServerURL

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.  

Entry DN:

cn=database link instance name,cn=chaining database,cn=plugins,cn=config

Valid Values:

Any valid remote server LDAP URL

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsFarmServerURL: ldap://epdiote.example.com:alternate_server:3333


nsMultiplexorBindDN

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.  

Entry DN:

cn=database link instance name,cn=chaining database,cn=plugins,cn=config

Valid Values:

N/A

Default Value:

DN of the multiplexor

Syntax:

DirectoryString

Example:

nsMultiplexerBindDN: cn=proxy manager


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. Please note that the example below is what you view, not what you type.  

Entry DN:

cn=database link instance name,cn=chaining database,cn=plugins,cn=config

Valid Values:

Any valid password, which will then by encrypted using the DES reversible password encryption schema.

Default Value:

N/A

Syntax:

DirectoryString

Example:

nsMultiplexerCredentials: {DES} 9Eko69APCJfF


nshoplimit

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.  

Entry DN:

cn=database link instance name,cn=chaining database,cn=plugins,cn=config

Valid Range:

1 to an appropriate upper limit for your deployment

Default Value:

10

Syntax:

Integer

Example:

nsHopLimit: 3


Database Link Attributes under cn=monitor,cn=database instance name,cn=chaining database, cn=plugins,cn=config

Attributes used for monitoring activity on your instances are stored in the cn=monitor,cn=database link instance name,cn=chaining database,cn=plugins,cn=config information tree.


nsAddCount

Number of add operations received.


nsDeleteCount

Number of delete operations received.


nsModifyCount

Number of modify operations received.


nsRenameCount

Number of rename operations received.


nsSearchBaseCount

Number of base level searches received.


nsSearchOneLevelCount

Number of one-level searches received.


nsSearchSubtreeCount

Number of subtree searches received.


nsAbandonCount

Number of abandon operations received.


nsBindCount

Number of bind requests received.


nsUnbindCount

Number of unbinds received.


nsCompareCount

Number of compare operations received.


nsOperationConnectionCount

Number of open connections for normal operations.


nsBindConnectionCount

Number of open connections for bind operations.


Retro Changelog Plug-in Attributes

Two different types of changelogs are maintained by Directory Server. The first type, referred to as changelog, is used by multi-master replication, and the second changelog, which is in fact a plug-in referred to as retro changelog, is intended for use by LDAP clients for maintaining application compatibility with Directory Server 4.x versions.

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

It is through the Retro Changelog plug-in that you access the changes performed to the Directory Server using searches to cn=changelog,cn=config file.


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

serverRoot/slapd-serverID/db/changelog


Note 

For performance reasons, you will probably want to store this database on a different physical disk.


 

Entry DN:

cn=Retro Changelog Plugin,cn=plugins,cn=config

Valid Values:

Any valid path to the directory

Default Value:

None

Syntax:

DirectoryString

Example:

nsslapd-changelogdir: /var/slapd-serverID/changelog



nsslapd-changelogmaxage (Max Changelog Age)

Specifies the maximum age of any entry in the change log. The change log contains a record for each directory modification and is used when synchronizing consumer servers. Each record contains a timestamp. Any record with a timestamp that is older than the value specified in this attribute will be removed. If this attribute is absent, there is no age limit on change log records, which is the default behavior as this attribute is not present by default.  

Entry DN:

cn=Retro Changelog Plugin,cn=plugins,cn=config

Valid Range:

0 (meaning that entries are not removed according to their age) to the maximum 32 bit integer value (2147483647)

Default Value:

0

Syntax:

DirectoryString IntegerAgeID
where AgeID is s for seconds, m for minutes, h for hours, d for days, or w for weeks.

Example:

nsslapd-changelogmaxage: 30d






Previous
Contents
Index
DocHome Next

© 2001 Sun Microsystems, Inc. Portions copyright 1999, 2002-2004 Netscape Communications Corporation. All rights reserved.
Read the Full Copyright and Third-Party Acknowledgments.

last updated November 26, 2004