
30 Novell eDirectory 8.8 SP7 Troubleshooting Guide
1 version: 1
2 dn: c=US
3 changetype: add
4 objectClass: top
5 objectClass: country
6
7 dn: l=San Francisco, c=US
8 changetype: add
9 objectClass: top
10 objectClass: locality
11 st: San Francisco
12
14 dn: ou=Artists, l=San Francisco, c=US
15 changetype: add
16 objectClass: top
17 objectClass: organizationalUnit
18 telephoneNumber: +1 415 555 0000
19
20 dn: cn=Peter Michaels, ou=Artists, l=San Francisco, c=US
21 changetype: add
22 sn: Michaels
23 givenname: Peter
24 objectClass: top
25 objectClass: person
26 objectClass: organizationalPerson
27 objectClass: iNetOrgPerson
28 telephonenumber: +1 415 555 0001
30 userpassword: Peter123
31
The Delete Change Type
Because a delete change record specifies the deletion of an entry, the only fields required for a delete
change record are the distinguished name specifier and a delete change type.
The following is an example of an LDIF file used to delete the four entries created by the LDIF file
shown in “The Add Change Type” on page 29.
IMPORTANT: To delete entries you have previously added, reverse the order of the entries. If you
do not do this, the delete operation fails because the container entries are not empty.
1 version: 1
2 dn: cn=Peter Michaels, ou=Artists, l=San Francisco, c=US
3 changetype: delete
4
5 dn: ou=Artists, l=San Francisco, c=US
8 changetype: delete
9
10 dn: l=San Francisco, c=US
11 changetype: delete
12
13 dn: c=US
14 changetype: delete
15
The Modify Change Type
The modify change type lets you to specify the addition, deletion, and replacement of attribute values
for an entry that already exists. Modifications take one of the following three forms:
Komentáře k této Příručce