Ldif File Structure; Common Entries - Alcatel OmniSwitch 6600 Family Network Configuration Manual

Omniswitch 6600 series
Hide thumbs Also See for OmniSwitch 6600 Family:
Table of Contents

Advertisement

LDAP Servers
LDAP servers are also able to import and export directory databases using LDIF (LDAP Data Interchange
Format).

LDIF File Structure

LDIF is used to transfer data to LDAP servers in order to build directories or modify LDAP databases.
LDIF files specify multiple directory entries or changes to multiple entries, but not both. The file is in
simple text format and can be created or modified in any text editor. In addition, LDIF files import and
export binary data encoded according to the base 64 convention used with MIME (Multipurpose Internet
Mail Extensions) to send various media file types, such as JPEG graphics, through electronic mail.
An LDIF file entry used to define an organizational unit would look like this:
dn: <distinguished name>
objectClass: top
objectClass: organizationalUnit
ou: <organizational unit name>
<list of optional attributes>
Below are definitions of some LDIF file entries:
entries
dn: <distinguished name>
objectClass: top
objectClass: organizationalUnit
ou: <organizationalUnit name>
<list of attritbutes>

Common Entries

The most common LDIF entries describe people in companies and organizations. The structure for such an
entry might look like the following:
dn: <distinguished name>
objectClass: top
objectClass: person
objectClass: organizational Person
cn: <common name>
sn: <surname>
<list of optional attributes>
This is how the entry would appear with actual data in it.
dn: uid=yname, ou=people, o=yourcompany
objectClass: top
objectClass: person
objectClass: organizational Person
cn: your name
sn: last name
givenname: first name
page 20-16
definition
Defines the DN (required).
Defines top object class (at least one is required). Object
class defines the list of attributes required and allowed in
directory server entries.
Specifies that organizational unit should be part of the
object class.
Defines the organizational unit's name.
Defines the list of optional entry attributes.
OmniSwitch 6600 Family Network Configuration Guide
Managing Authentication Servers
April 2006

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents