LDIF Backend

The LDIF Backend provides a mechanism for interacting with data stored in an LDIF file.

All basic LDAP operations are supported in the LDIF backend although it has minimal support for custom controls.

Parent

The LDIF Backend object inherits from Local Backend.

Properties

Use the --advanced option to access advanced properties.

Basic Properties

backend-id

SynopsisSpecifies a name to identify the associated backend.
DescriptionThe name must be unique among all backends in the server. The backend ID may not be altered after the backend is created in the server.
Default ValueNone
Allowed ValuesA string.
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyYes

base-dn

SynopsisSpecifies the base DN(s) for the data that the backend handles.
DescriptionA single backend may be responsible for one or more base DNs. Note that no two backends may have the same base DN although one backend may have a base DN that is below a base DN provided by another backend (similar to the use of sub-suffixes in the Sun Java System Directory Server). If any of the base DNs is subordinate to a base DN for another backend, then all base DNs for that backend must be subordinate to that same base DN.
Default ValueNone
Allowed ValuesA valid DN.
Multi-valuedYes
RequiredYes
Admin Action RequiredNone
No administrative action is required by default although some action may be required on a per-backend basis before the new base DN may be used.
AdvancedNo
Read-OnlyNo

enabled

SynopsisIndicates whether the backend is enabled in the server.
DescriptionIf a backend is not enabled, then its contents are not accessible when processing operations.
Default ValueNone
Allowed Valuestrue
false
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

is-private-backend

SynopsisIndicates whether the backend should be considered a private backend, which indicates that it is used for storing operational data rather than user-defined information.
Default Valuefalse
Allowed Valuestrue
false
Multi-valuedNo
RequiredNo
Admin Action RequiredThe object must be disabled and re-enabled for changes to take effect.
AdvancedNo
Read-OnlyNo

ldif-file

SynopsisSpecifies the path to the LDIF file containing the data for this backend.
Default ValueNone
Allowed ValuesA string.
Multi-valuedNo
RequiredYes
Admin Action RequiredThe object must be disabled and re-enabled for changes to take effect.
AdvancedNo
Read-OnlyNo

writability-mode

SynopsisSpecifies the behavior that the backend should use when processing write operations.
Default Valueenabled
Allowed Values

disabled: Causes all write attempts to fail.

enabled: Allows write operations to be performed in that backend (if the requested operation is valid, the user has permission to perform the operation, the backend supports that type of write operation, and the global writability-mode property is also enabled).

internal-only: Causes external write attempts to fail but allows writes by replication and internal operations.

Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

Advanced Properties

java-class

SynopsisSpecifies the fully-qualified name of the Java class that provides the backend implementation.
Default Valueorg.opends.server.backends.LDIFBackend
Allowed ValuesA Java class that extends or implements:
org.opends.server.api.Backend
Multi-valuedNo
RequiredYes
Admin Action RequiredThe object must be disabled and re-enabled for changes to take effect.
AdvancedYes
Read-OnlyNo