1. Confirm the Directory Server is online.
  2. To import data from an LDIF, use the import-ldif command.
    $ bin/import-ldif --task --hostname server1 --port 389 \
      --bindDN uid=admin,dc=example,dc=com --bindPassword password \
      --backendID userRoot --ldifFile userRoot.ldif