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 also 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 up 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



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



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



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



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



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



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 the following:

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

Further Information



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



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 locales 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" on page 151 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 Directory Server 6.x 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 6.x 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, "Managing 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



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



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 Information" 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

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

Further Information

Chapter 16, "Using the Pass-Through 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 master 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 NamesTM 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.

Note that 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

Further Information



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



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 6.x 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



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" on page 150 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" on page 148 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 postoperation 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 postoperation 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 integer in entries (where -1 is unlimited)

Default Value:

5000

Syntax:

Integer

Example:

nsLookthroughLimit: 5000



nsslapd-allidsthreshold

This performance related attribute that is present by default, specifies the number of entry IDs that can be maintained for an index key before the server sets the All IDs token and stops maintaining a list of IDs for that specific key. 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.

However, as tuning this attribute is a complex task and can severely degrade performance, it is advisable to keep the default value. For a more detailed explanation of the All IDs Threshold 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-allidsthreshold: 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. Note that 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 becasue the disk/filesystem cache overrides it.

On HP-UX, the maximum value for the nsslapd-dbcachesize attribute is 1GB, which is due to a PA-RISC hardware limitation that prevents memory-mapped files from crossing quadrant boundaries.




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 severly degrade server performance and as such should 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. Note that this parameter is meant for troubleshooting, and 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 transactions 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 be 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 th