[389-users] Unable to configure Replication via command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am working on LDIF that will configure replication via command line.  I'm following the direction documented in the Red Hat DS Administration Guide section 8.7.  Particularly I am stuck in step 2 of 8.7.1 when configuring my suppliers.  http://www.redhat.com/docs/manuals/dir-server/8.1/admin/Managing_Replication-Configuring-Replication-cmd.html#Configuring-Replication-Suppliers-cmd

Below is the output from my ldapmodify command.
adding new entry "cn=Replication Manager,cn=config"
adding new entry "cn=changelog5,cn=config"
adding new entry "cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config"
ldap_add: No such object (32)

As you can see, I was able to create my replication manager, and enabled the change log, however, I wasn't able to create the 'dn: cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config' entry.  I can see from the directory console that 'cn="dc=example,dc=com",cn=mapping tree,cn=config' does exist in my directory console.

Is there anything that I did wrong in my LDIF?  Can someone take a look?  Thanks!!!

###############################################################################
###############################################################################
# Step 1 - Create Supplier Bind DN Entry
dn: cn=Replication Manager,cn=config
changetype: add
objectclass: top
objectclass: person
userPassword: password
sn: Replication Manager
description: The Replication Manager Account
###############################################################################
###############################################################################

###############################################################################
###############################################################################
# Step 2 - Configuring Suppliers from the Command Line
dn: cn=changelog5,cn=config
changetype: add
objectclass: top
objectclass: extensibleObject
cn: changelog5
nsslapd-changelogdir: /var/lib/dirsrv/slapd-localhost/changelogdb
nsslapd-changelogmaxage: 10d

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
nsds5replicaid: 1
nsds5replicatype: 3
nsds5flags: 1
nsds5ReplicaPurgeDelay: 604800
nsds5ReplicaBindDN: cn=Replication Manager,cn=config
###############################################################################
###############################################################################

Thanks a lot!

- David
--
389 users mailing list
389-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux