Information about the database

The following parameters specify information about the back-end database. These parameters are available for all types of plug-ins.

Note: These specific parameters cannot be set by calling slapi_pblock_set(). You can get these parameters by calling slapi_pblock_get().
Table 1. Parameters specifying information about the back-end database
Parameter ID Data type Description
SLAPI_BE_MONITORDN char *
Note:
  • Netscape Directory Server 3.x releases only. DN used to monitor the back-end database.
  • Not supported in the Netscape Directory Server 4.0 release.
SLAPI_BE_TYPE char * Type of back-end database that is specified by the database directive in the slapd.conf file.
SLAPI_BE_READONLY int Specifies whether the back-end database is read-only. It is determined by the read-only directive in the slapd.conf file:
  • 1 means that the database back-end is read-only.
  • 0 means that the database back-end is writable.
SLAPI_DBSIZE int Specifies the size of the back-end database. If you are using your own database instead of the default database, your SLAPI_DB_SIZE_FN function must set the value of this parameter.