CAUTION:

This attribute should never be turned off. If the nsslapd-lastmodis set to off, then generating nsUniqueIDs is also disabled, replication does not work, and other issues may arise.

If for some reason this attribute were set to off, the solution is to export the database to ldif (db2ldif or db2ldif.pl or from the console), set the value to on, and import the data. The import process assigns each entry a unique id.

2.3.1.63 nsslapd-ldapifilepath (LDAPI socket file path)

This attribute is applicable only if nsslapd-ldapilistenis enabled. This attribute indicates the path to the socket file used for communicating using LDAP over UNIX domains (LDAPI).

Parameter

Description

Entry DN

cn=config

 

 

Valid Values

Any valid file name

 

 

Default Value

/var/opt/dirsrv/slapd-instance_name/slapd-instance_name.socket

 

 

Syntax

DirectoryString

 

 

Example

nsslapd-ldapifilepath: /var/opt/dirsrv/slapd-example/slapd-example.socket

 

 

2.3.1.64 nsslapd-ldapilisten (Enable LDAPI socket)

This attribute is applicable only if nsslapd-ldapilistenis enabled. This attribute indicates the path to the socket file used for communicating using LDAP over UNIX domains (LDAPI).

Parameter

Description

Entry DN

cn=config

 

 

Valid Values

on or off

 

 

Default Value

off

 

 

Syntax

DirectoryString

 

 

Example

nsslapd-ldapilisten: off

 

 

2.3.1.65 nsslapd-listenhost (Listen to IP address)

This attribute allows multiple Directory Server instances to run on a multihomed machine (or makes it possible to limit listening to one interface of a multihomed machine). There can be multiple IP addresses associated with a single host name, and these IP addresses can be a mix of both IPv4 and IPv6. This parameter can be used to restrict the Directory Server instance to a single IP interface.

If a host name is given as the nsslapd-listenhostvalue, then the Directory Server responds to requests for every interface associated with the host name. If a single IP interface (either IPv4 or IPv6) is given as the nsslapd-listenhostvalue, Directory Server only responds to requests sent to that specific interface. Either an IPv4 or IPv6 address can be used.

The server has to be restarted for changes to this attribute to go into effect.

Parameter

Description

Entry DN

cn=config

 

 

Valid Values

Any local host name, IPv4 or IPv6 address

 

 

2.3 Core server configuration attributes reference

47