Import LDIF data

Use this window to import data from an LDAP Data Interchange Format (LDIF) file. LDIF is used to represent LDAP entries in text form. You can add entries to an empty directory database or to a database that already contains entries.

Note: Before you import the data, be sure to add any necessary suffixes using Manage suffixes.

You can also use this window to validate the data in the LDIF file without adding the data to the directory.

The server must be stopped before you import LDIF data.

To import LDIF data:

  1. Type the path and file name of the LDIF file in the Path and LDIF file name field. Alternatively, you can click Browse to locate the file.
  2. If you want trailing spaces removed from the data, select the Remove trailing spaces in Standard import or Bulkload check box.
  3. Click Standard import if you want to import the data using the ldif2db utility, or click Bulkload if you want to import the data using the bulkload utility.

    Note: The bulkload utility is a faster alternative to ldif2db if you are importing a large number of entries.

  4. If you clicked Bulkload, click the type or types of checking you want to perform on the LDIF data in the Bulkload options box. You can select one or more of the following:
  5. Click Import.

To validate the data without adding it to the database:

  1. Type the path and file name of the LDIF file in the Path and LDIF file name field. Alternatively, you can click Browse to locate the file.
  2. Click Data validation only.
  3. Click Import.

You can find more detailed help on the following elements of this window:

Path and LDIF file name

Browse

Remove trailing spaces in Standard import or Bulkload

Enable schema checking

Enable ACL checking

Enable password policy

Start time

Elapsed time

Task messages

Clear results

Import

Stop

Close

Help