ldif Files
Chapter 4 Server Instance File Reference 205
ldif Files
Each Directory Server instance contains the
ldif
directory for storing
ldif
-related
files. Code Example 4-4 shows a sample listing of the
ldif
directory contents.
Code Example 4-4 Contents of a Sample LDIF Directory
The following list describes the content of each of the
ldif
files:
•
European.ldif
— Contains European character samples.
•
Example.ldif
— Is a sample
ldif
file.
•
Example-roles.ldif
— Is a sample
ldif
file similar to
Example.ldif,
except
that it uses roles and class of service instead of groups for setting access control
and resource limits for Directory Administrators.
Lock Files
Each Directory Server instance contains a
locks
directory for storing
lock
-related
files. Code Example 4-5 shows a sample listing of the
locks
directory contents.
Code Example 4-5 Contents of a Sample Locks Directory
The lock mechanisms stored under the
locks
subdirectories
exports
,
imports
,
and
server
prevent multiple, simultaneous operations conflicting with each other.
The lock mechanisms allow for one server instance to run at a time, with possible
multiple export jobs. They also permit one
ldif2db
import operation at a time (not
ldif2db.pl
since you can run multiple
ldif2db.pl
operations at any time) to the
exclusion of all export and
slapd
server operations.
../ European.ldif Example.ldif Example-roles.ldif
./ ../ exports/ imports/ server/