Red Hat Directory Server 8.0 Administrator's Guide
Object Class or Attribute Description Values
bind DN.
nsds5replicareferral: URL Optional. An LDAP URL
which a consumer or hub to
which a consumer or hub can
forward update requests. By
default, update requests are
sent to the masters for the
consumer; use this parameter
to override the default.
Any LDAP URL. For example:
nsds5replicareferral:
ldap://supplier1.example.com:389
.
Table 8.2. Replica Attributes
7.2. Configuring Consumers from the Command Line
On the consumer host, such as consumer1.example.com, create the replica entry. This entry
identifies the database and suffix as participating in replication and sets what kind of replica the
database is. There are four key attributes:
• nsds5replicaroot sets the subtree (suffix) which is being replicated.
• nsds5replicatype sets what kind of replica this database is. For a consumer, this value must
be 2.
• nsds5ReplicaBindDN give the DN as which the supplier will bind to the consumer to make
changes.
• nsds5flags sets whether the replica writes to the changelog. For a consumer, this value must
be 0.
This ldapmodify creates a new consumer replica on the consumer1.example.com host for the
dc=example,dc=com subtree.
ldapmodify -v -h consumer1.example.com -p 389 -D "cn=directory manager" -w
password
dn: cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config
changetype: add
objectclass: top
objectclass: nsds5replica
objectclass: extensibleObject
cn: replica
nsds5replicaroot: dc=example,dc=com
Configuring Consumers from the Command
315