Note: this component is designated "advanced", which means that objects of this type are not expected to be created or altered in most environments. If you believe that such a change is necessary, you may want to contact UnboundID support in order to understand the potential impact of that change.
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 Component
↓Properties
↓dsconfig Usage
The LDIF Backend component inherits from the Backend
The properties supported by this managed object are as follows:
Basic Properties: | Advanced Properties: |
---|---|
↓ backend-id | ↓ is-private-backend |
↓ description | |
↓ enabled | |
↓ writability-mode | |
↓ base-dn | |
↓ set-degraded-alert-when-disabled | |
↓ return-unavailable-when-disabled | |
↓ ldif-file |
Description | Specifies a name to identify the associated backend. The 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 Value | None |
Allowed Values | A string |
Multi-Valued | No |
Required | Yes |
Admin Action Required | None. Modification requires no further action |
Description | A description for this Backend |
Default Value | None |
Allowed Values | A string |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | Indicates whether the backend is enabled in the server. If a backend is not enabled, then its contents are not accessible when processing operations. |
Default Value | None |
Allowed Values | true false |
Multi-Valued | No |
Required | Yes |
Admin Action Required | None. Modification requires no further action |
Description | Specifies the behavior that the backend should use when processing write operations. |
Default Value | enabled |
Allowed Values | 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). disabled - Causes all write attempts to fail. internal-only - Causes external write attempts to fail but allows writes by replication and internal operations. |
Multi-Valued | No |
Required | Yes |
Admin Action Required | None. Modification requires no further action |
Description | Specifies the base DN(s) for the data that the backend handles. A 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 Value | None |
Allowed Values | A valid DN. |
Multi-Valued | Yes |
Required | Yes |
Admin Action Required | None. 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. |
set-degraded-alert-when-disabled
Description | Determines whether the Synchronization Server enters a DEGRADED state (and sends a corresponding alert) when this Backend is disabled. |
Default Value | true |
Allowed Values | true false |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
return-unavailable-when-disabled
Description | Determines whether any LDAP operation that would use this Backend is to return UNAVAILABLE when this Backend is disabled. |
Default Value | true |
Allowed Values | true false |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | Specifies the path to the LDIF file containing the data for this backend. |
Default Value | None |
Allowed Values | Unknown |
Multi-Valued | No |
Required | Yes |
Admin Action Required | The LDIF Backend must be disabled and re-enabled for changes to this setting to take effect. Modification requires that this component be disabled and then re-enabled |
is-private-backend (Advanced Property)
Description | Indicates 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 Value | false |
Allowed Values | true false |
Multi-Valued | No |
Required | No |
Admin Action Required | The LDIF Backend must be disabled and re-enabled for changes to this setting to take effect. Modification requires that this component be disabled and then re-enabled |
To list the configured Backends:
dsconfig list-backends [--property {propertyName}] ...
To view the configuration for an existing Backend:
dsconfig get-backend-prop --backend-name {name} [--tab-delimited] [--script-friendly] [--property {propertyName}] ...
To update the configuration for an existing Backend:
dsconfig set-backend-prop --backend-name {name} (--set|--add|--remove) {propertyName}:{propertyValue} [(--set|--add|--remove) {propertyName}:{propertyValue}] ...
To create a new LDIF Backend:
dsconfig create-backend --backend-name {name} --type ldif --set enabled:{propertyValue} --set base-dn:{propertyValue} --set ldif-file:{propertyValue} [--set {propertyName}:{propertyValue}] ...
To delete an existing Backend:
dsconfig delete-backend --backend-name {name}