Red Hat Directory Server 8.0 Administrator's Guide
Table A.3. LDIF Elements in Organizational Unit Entries
4.3. Specifying Organizational Person Entries
The majority of the entries in the directory represent organizational people.
In LDIF, the definition of an organizational person is as follows:
dn: distinguished_name
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: common_name
sn: surname
list_of_optional_attributes
The following is an example organizational person entry in LDIF format:
dn: uid=bjensen,ou=people,dc=example,dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
cn: Babs Jensen
sn: Jensen
givenname: Babs
uid: bjensen
ou: people
description: Fictional example person
telephonenumber: 555-5557
userpassword: {SSHA}dkfljlk34r2kljdsfk9
Table A.4, “LDIF Elements in Person Entries” defines each aspect of the LDIF person entry.
LDIF Element Description
dn: distinguished_name Required. Specifies the distinguished name
for the entry. For example, dn:
uid=bjensen,ou=people,dc=example,dc=com.
If there is a comma in the DN, the comma
must be escaped with a backslash (\).
objectClass: top Required. Specifies the top object class.
objectClass: person Specifies the person object class. This object
class specification should be included
because many LDAP clients require it during
search operations for a person or an
organizational person.
Specifying Organizational Person Entries
545