Deleting an Entry Using LDIF
Use
changetype:delete
delete leaf entries. Therefore, when you delete an entry, make sure that no other
entries exist under that entry in the directory tree. That is, you cannot delete an
organizational unit entry unless you have first deleted all the entries that belong to
the organizational unit.
For example, of the following three entries:
ou=People,dc=example,dc=com
cn=Paula Simon,ou=People,dc=example,dc=com
cn=Jerry O'Connor,ou=People,dc=example,dc=com
you can delete only the last two entries. The entry that identifies the People subtree
can be deleted only if no other entries exist below it.
The following LDIF update statements can be used to delete person entries:
dn: cn=Pete Minsky,ou=People,dc=example,dc=com
changetype: delete
dn: cn=Sue Jacobs,ou=People,dc=example,dc=com
changetype: delete
CAUTION
Do not delete the suffix
Administration Server uses this suffix to store information about
installed Netscape servers. Deleting this suffix could force you to
reinstall all of your Netscape servers, including the directory server.
Modifying an Entry in an Internationalized
Directory
If the attribute values in your directory are associated with one or more languages
other than English, the attribute values are associated with language tags. When
using the
ldapmodify
associated language tag, you must match the value and language tag exactly or the
modify operation will fail.
For example, if you want to modify an attribute value that has a language tag of
lang-fr, you must include the lang-fr in the modify operation as follows:
to delete an entry from your directory. You can only
o=NetscapeRoot
command-line utility to modify an attribute that has an
LDIF Update Statements
. The Netscape
Chapter 2
Creating Directory Entries
67
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers