Topic 6

Date: 3/26/2014
Lightweight Directory Access Protocol (LDAP)
Practical guide to Linux systems administration


LDIF (LDAP Data Interchange Format) file with directory entries


# File: ldif00.ldif

# Root node
dn: dc=example,dc=com
objectclass: organization
objectclass: dcObject
o: example.com
dc: example.com

# The Super-User's node
dn: cn=Manager, dc=example,dc=com
objectclass: organizationalRole
cn: Manager

# The IT branch node
dn: ou=IT, dc=example,dc=com
objectclass: organizationalUnit
ou: IT

# The Sales branch node
dn: ou=Sales, dc=example,dc=com
objectclass: organizationalUnit
ou: Sales

# A leaf node
dn: cn=Michael Ram, ou=IT, dc=example,dc=com
objectclass: person
cn: Michael Ram 
sn: Ram 

# Another leaf node
dn: cn=Rich Walsh, ou=IT, dc=example,dc=com
objectclass: person
cn: Rich Walsh
sn: Walsh 

# Another leaf node
dn: cn=Said Bhaub, ou=Sales, dc=example,dc=com
objectclass: person
cn: Said Bhaub 
sn: Bhaub 

# Another leaf node
dn: cn=Bill Ames, ou=Sales, dc=example,dc=com
objectclass: person
cn: Bill Ames 
sn: Ames 

# Another leaf node
dn: cn=Jenn Brown, ou=Sales, dc=example,dc=com
objectclass: person
cn: Jenn Brown 
sn: Brown 
   



Take me to the Course Website