To add entries to the directory, you can either use the DMT (see 7.1, “The Directory Management Tool” on page 159) or you must provide the data in a file in LDIF format. LDIF (LDAP Data Interchange Format) is a standard format for representing LDAP entries in text form (see also 4.7.1, “The LDIF File Format” on page 93). Also, a suffix (DN) must exist on the server (see previous section), and all entries to be added must have a suffix that matches this DN value.
There are two ways to import an LDIF file, either through the graphical user interface (GUI) or by using the appropriate command on the command line. Both methods are described below.