![Netscape NETSCAPE DIRECTORY SERVER 6.02 Administrator'S Manual Download Page 63](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673063.webp)
LDIF Update Statements
Chapter
2
Creating Directory Entries
63
Modifying an Entry Using LDIF
Use
changetype:modify
to add, replace, or remove attributes and/or attribute
values to the entry. When you specify
changetype:modify
, you must also provide
a change operation to indicate how the entry is to be modified. Change operations
can be as follows:
•
add:
attribute
Adds the specified attribute or attribute value. If the attribute type does not
currently exist for the entry, then the attribute and its corresponding value are
created. If the attribute type already exists for the entry, then the specified
attribute value is added to the existing value. If the particular attribute value
already exists for the entry, then the operation fails and the server returns an
error.
•
replace:
attribute
The specified values are used to entirely replace the attribute’s value(s). If the
attribute does not already exist, it is created. If no replacement value is
specified for the attribute, the attribute is deleted.
•
delete:
attribute
The specified attribute is deleted. If more than one value of an attribute exists
for the entry, then all values of the attribute are deleted in the entry. To delete
just one of many attribute values, specify the attribute and associated value on
the line following the delete change operation.
This section contains the following topics:
•
Adding Attributes to Existing Entries Using LDIF
•
Changing an Attribute Value Using LDIF
•
Deleting All Values of an Attribute Using LDIF
•
Deleting a Specific Attribute Value Using LDIF
Adding Attributes to Existing Entries Using LDIF
You use
changetype:modify
with the add operation to add an attribute and an
attribute value to an entry.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.02
Page 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Page 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Page 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Page 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Page 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Page 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Page 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Page 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Page 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Page 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...