![Netscape NETSCAPE DIRECTORY SERVER 6.02 Administrator'S Manual Download Page 490](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673490.webp)
LDIF File Format
490
Netscape Directory Server Administrator’s Guide • May 2002
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
LDIF Fields
Field
Definition
[id]
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.
dn: distinguished_name
Specifies the distinguished name for the entry. For a
complete description of distinguished names, refer to the
Netscape Directory Server Deployment Guide.
objectClass: object_class
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.
attribute_type
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.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.02
Page 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Page 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Page 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Page 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Page 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Page 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Page 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Page 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Page 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Page 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...