[Date Prev][Date Next]
Re: OpenLDAP Syncrepl issue
Dieter Kluenter wrote:
"Luis Castillo" <firstname.lastname@example.org> writes:
Yes, I read the admin guide and changed the parameters required. I am
pointing to the right server and port and I tested the connection to the
master by using an LDAP browser but it's still not replicating.
[ This is a constant problem of top quoting. ]
I am having an issue getting the OpenLDAP to replicate using syncrepl.process
Basically, after configuring the consumer I can start the slapd
but I see no replication happening. Do you have a sample configuration
file that can provide more info? Is there anything required on the
On the master You have to load the syncprov overlay.
example from there:
syncprov-checkpoint 100 10
Also check, that Your replicating server can read the all entrys
You want to replicate from the master server.
eg. do a
ldapsearch -x -h YOUR_MASTERSERVER -b YOUR_SEARCHBASE
from the replicating LDAP-server
ldapsearch -xh master.example.org -b dc=example,dc=org
If no entrys are returned check permissions on the master.
man 5 slapd.access
If not all entrys are returned, check sizelimit on the master.
The default value for sizelimit is 500 Entrys, meaning that
not more than 500 entrys are returnd for a search request.
look for "sizelimit" in
man 5 slapd.conf
Here an simple example for the synrepl part of the client slapd.conf You
can start with:
retry="60 10 300 10"
Edit rid, provider, searchbase and updateref for Your needs.
After getting it running, You can play with other parameters.
Did you read the admin guide? It has example in it.
Set debug level to sync