Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

Backend Information

The following parameters allow you to access information about directory backends through the parameter block.

Table 18–4 Backend Information Parameters

Parameter ID  

Data Type  

Description  

SLAPI_BACKEND

Slapi_Backend *

Backend serving the current operation. 

May be NULL if no backend is associated with the current operation.

SLAPI_BE_LASTMOD

int

Whether the backend tracks modification time and who made the modification: 

  • 0 if modifications are not tracked

  • 1 if modifications are tracked

SLAPI_BE_READONLY

int

Value of nsslapd-readonly in the server configuration file:

  • 0 if the backend is writable.

  • 1 if the backend is read-only.

SLAPI_BE_TYPE

char *

Value of nsslapd-database in the server configuration file.

SLAPI_DBSIZE

unsigned int

Size of the backend database in KB.