The resync command enables synchronizing a specific set of DNs that are read from a file using the --sourceInputFile option. This option is useful for large datasets that require faster processing by targeting individual base-level searches for each source DN in the file. If any DN fails (parsing, search, or process errors), the command creates an output file of the skipped entries (resync-failed-DNs.log), which can be run again.
The file must contain only a list of DNs in LDIF format with dn:
or
dn::
. The file can include comment lines. All DNs can be wrapped and
are assumed to be wrapped on any lines that begin with a space followed by text. Empty
lines are ignored.
Small files can be created manually. For large files, use the ldapsearch command to create an LDIF file, as follows: