The LDIF connection handler lets you make changes to directory data by placing LDIF in a file system directory that OpenDJ server regularly polls for changes. The LDIF, once consumed, is deleted.
You configure LDIF file access by using the command-line tool dsconfig.
Procedure 4.11. To Set Up LDIF File Access
-
Activate LDIF file access.
$ dsconfig set-connection-handler-prop --hostname opendj.example.com --port 4444 --bindDN "cn=Directory Manager" --bindPassword password --handler-name "LDIF Connection Handler" --set enabled:true --trustAll --no-prompt
The change takes effect immediately.
-
Add the directory where you put LDIF to be processed.
$ mkdir /path/to/opendj/config/auto-process-ldif
This example uses the default value of the
ldif-directoryproperty for the LDIF connection handler.

