[Date Prev][Date Next]
Replication of new suffix not possible?
I have a system with one master and one slave, which is working fine.
The rootdn and updatedn are of the following form:
There is already a tree with suffix "o=CCC" available in the database, now I
want to add a new tree with suffix "o=DDD".
In the slapd.conf files of both the master and the slave I added the
Everything was restarted and then I try to add to following data:
This is correctly added to the master, but the replication to the slave
fails. I get the following error line in the .rej file:
ERROR: Insufficient access.
When I try to add the same data with ldapadd to the slave with -D
"cn=BBB,o=CCC", I get the following output:
adding new entry "o=DDD"
ldap_add: Insufficient access
ldif_record() = 50
When I reconfigure the slave as master, it is possible to add the data.
After that, I can reconfigure the slave again as slave, and it is possible
to add new data of the following form:
This new data is now correctly replicated to the slave.
Question: How can I add the new tree with root "o=DDD" to the database
without reconfiguring the slave as a master?
It seems that it is not possible to replicate a new suffix.
Once the suffix has been added manually to the slave,
further addition of entries to the new suffix tree works fine.