Content records are the same as change records except that they do not have a changetype specifiers. They are usually generated to list the current entries in a directory and the entry's attributes and values. Content records and change records cannot be placed in the same LDIF file.
Both the Novell Import Convert Export utility and the ldapmodify utility have options that allow content records to be used as add change records.
The -a option of the LDIF source handler of the Novell Import Convert Export utility changes content records into change records with a changetype of add.
The -a option of the ldapmodify utility changes content records into change records with a changetype of add.
The following examples of content records could be used by either utility to add these entries to the directory.
version: 1 dn: o=UofZ objectClass: top objectClass: ndsLoginProperties objectClass: organization dn: ou=Humanities, o=UofZ objectClass: top objectClass: ndsLoginProperties objectClass: organizationalUnit telephoneNumber: +1 415 555 0000 dn: ou=English, ou=Humanities, o=UofZ objectClass: top objectClass: ndsLoginProperties objectClass: organizationalUnit telephoneNumber: +1 415 555 1111 dn: cn=Kim Jones, ou=English, ou=Humanities, o=UofZ sn: Jones givenName: Kim objectClass: top objectClass: ndsLoginProperties objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson telephoneNumber: +1 415 555 2222 mail: Kim.Jones@UofZ.edu userPassword: Kim1234