What are your logs saying? Loglevel sync and stats. Oh, and use the
latest 2.4 since you're at the testing/dev stage of your project.
On 23/12/2008, Alan Evans <alanwevans(a)gmail.com> wrote:
I am using OpenLDAP 2.4.11 with all overlays and all backends
company is in the middle if rebuilding our LDAP environment and we would
like to use OpenLDAP + Syncrepl + RWM to neatly move objects into their new
places within the DIT.
Our old DIT looks like:
Our new DIT looks like:
There are about 3100 objects in the ou=people container and we have several
hundred clients to the current ldap setup so we will not be able to migrate
all in one night.
We are setting the new DIT/servers up in paralell to the old and would like
to use syncrepl on the new servers to pull in objects from the old DIT and
use syncrepl to find their new place in the tree. At the moment we are
testing this setup in a lab enviornment so I am using another backend to
represent the old DIT.
Here's what my config looks like:
... snip ...
... snip ...
The ldif backend works as expected, if I do:
ldapsearch -x uid=abc_\* -b ou=people,dc=company,dc=com
I get nicely translated DNs and if I save the output to a file and ldap add
it to the new DIT I get users where they belong.
But, I am not getting synchronization. I know I am missing something,
probably more RWM rules. Maybe instead of doing the rewrites on the 'old'
backend I should be doing them on the 'new' backend as the data comes into
I am also thinking that the searchbase in the syncrepl clause is part of the
problem, I am telling it to sync ou=people and its getting ou=users,o=abc
back so it should probably ignore them correct?
Can anyone steer me in the right direction?
Sent from my mobile device