• Use the import-ldif tool to import data from an LDIF. Make sure the Directory Server is online before running this command.
    $ bin/import-ldif --task --hostname server1 --port 389 \
      --bindDN uid=admin,dc=example,dc=com --bindPassword password \
      --backendID userRoot --ldifFile userRoot.ldif