Prev | Next |
The easiest method of loading an LDAP directory is by means of an
LDAP Data Interchange File (LDIF) formatted file. An example of the
contents of an LDIF file is shown in
initial.ldif
name: value
The LDIF format also specifies formatting of continuation lines (for long data types) and binary data types. Full details of the LDIF format may be found in RFC-2849.
An LDIF file can be loaded with the ldapadd
utility. For example:
ldapadd -x -D "cn=Manager, dc=matchg, dc=com" -w secret -c -f initial.ldif
Prev | Next |