Solving Common Replication Conflicts
Chapter 8
Managing Replication
365
•
nsuniqueid=66446001-1uid=adamss,dc=example,dc=com
(created
at time
t2
)
The second entry needs to be renamed in such a way that it has a unique DN. The
renaming procedure depends on whether the naming attribute is single-valued or
multi-valued. Each procedure is described below.
Renaming an Entry with a Multi-Valued Naming Attribute
To rename an entry that has a multi-valued naming attribute:
1.
Rename the entry using a new value for the naming attribute, and keep the old
RDN. For example:
prompt> ldapmodify -D
adminDN
-w
password
>dn:
nsuniqueid=66446001-1uid=adamss,dc=example,dc=com
>changetype: modrdn
>newrdn: uid=
NewValue
>deleteoldrdn: 0
2.
Remove the old RDN value of the naming attribute and the conflict marker
attribute. For example:
prompt> ldapmodify -D
adminDN
-w
password
>dn: uid=
NewValue
,dc=example,dc=com
>changetype: modify
>delete: uid
>uid: adamss
>-
>delete: nsds5ReplConflict
>-
For more information on the
ldapmodify
command, refer to “Managing Entries
from the Command-Line,” on page 55, and
Red Hat Directory Server Configuration,
Command, and File Reference
.
The Console does not support editing of multi-valued RDNs. For example, assume
you configured two servers in a multi-master mode, created an entry on each
server with the same user ID, and changed the new entries' RDN to the
nsuniqueid uid
value. If you attempt to modify this entry from the Console, you
get the following error:
Changes cannot be saved for entries with
multi-valued RDNs.
NOTE
You cannot delete the unique identifier attribute
nsuniqueid
.
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...