Solving Common Replication Conflicts
Renaming an Entry with a Single-Valued Naming Attribute
To rename an entry that has a single-valued naming attribute:
Rename the entry using a different naming attribute, and keep the old RDN.
1.
For example:
prompt> ldapmodify -D adminDN -w password
>dn: nsuniqueid=66446001-1dd211b2+dc=pubs,dc=example,dc=com
>changetype: modrdn
>newrdn: cn=TempValue
>deleteoldrdn: 0
Remove the old RDN value of the naming attribute, and the conflict marker
2.
attribute. For example:
prompt> ldapmodify -D adminDN -w password
>dn: cn=TempValue,dc=example,dc=com
>changetype: modify
>delete: dc
>dc: pubs
>-
>delete: nsds5ReplConflict
>-
NOTE
Rename the entry with the intended attribute-value pair. For example:
3.
prompt> ldapmodify -D adminDN -w password
>dn: cn=TempValue,dc=example,dc=com
>changetype: modrdn
>newrdn: dc=NewValue
>deleteoldrdn: 1
By setting the value of the
temporary attribute-value pair
you can set the value of the
For more information on the
From the Command Line" on page 55 and Netscape Directory Server Configuration,
Command, and File Reference.
346
Netscape Directory Server Administrator's Guide • December 2003
You cannot delete the unique identifier attribute
deleteoldrdn
deleteoldrdn
ldapmodify
attribute to 1, you delete the
. If you want to keep this attribute,
cn=TempValue
attribute to
command, refer to "Managing Entries
.
nsuniqueid
.
0
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers