Netscape DIRECTORY SERVER 6.01 - ADMINISTRATOR Administrator's Manual page 488

Table of Contents

Advertisement

LDIF File Format
The basic form of a directory entry represented in LDIF is as follows:
dn: distinguished_name
objectClass: object_class
objectClass: object_class
...
attribute_type[;subtype]:attribute_value
attribute_type[;subtype]:attribute_value
...
You must supply the DN and at least one object class definition. In addition, you
must include any attributes required by the object classes that you define for the
entry. All other attributes and object classes are optional. You can specify object
classes and attributes in any order. The space after the colon is also optional. For
information on standard object classes and attributes, refer to Netscape Directory
Server Schema Reference.
Table A-1 describes the LDIF fields shown in the previous definition.
Table A-1
Field
[id]
dn: distinguished_name
objectClass: object_class
attribute_type
488
Netscape Directory Server Administrator's Guide • January 2002
LDIF Fields
Definition
Optional. A positive decimal number representing the
entry ID. The database creation tools generate this ID for
you. Never add or edit this value yourself.
Specifies the distinguished name for the entry. For a
complete description of distinguished names, refer to the
Netscape Directory Server Deployment Guide.
Specifies an object class to use with this entry. The object
class identifies the types of attributes, or schema, allowed
and required for the entry. See the Netscape Directory
Server Schema Reference for a list of standard object
classes, and Chapter 9, "Extending the Directory
Schema" for information on customizing the schema.
Specifies a descriptive attribute to use with the entry. The
attribute should be defined either in the schema. See the
Netscape Directory Server Schema Reference for a list of
standard attributes, and Chapter 9, "Extending the
Directory Schema" for information on customizing the
schema.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents