LDIF File Format
574
Red Hat Directory Server Administrator’s Guide • May 2005
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
Red Hat 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
Red Hat 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
Red Hat 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
Red Hat 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 DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...