7.5. Database Population

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.

7.5.1. Adding Data Entries

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.

7.5.1.1. Using the Graphical User Interface (GUI) ...

Get LDAP Implementation Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.