[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Using replication LDAP



Daniel Lopes de Carvalho wrote:
Rodrigo,

Try this:

...
type=refreshOnly
retry="60 30 300 +"
...

When replying to questions, please post what your answer *means*, not just a canned response. Our purpose here is to help people to *understand* how to do things on their own, not to just give them meaningless snippets to memorize.

This particular question is addressed in the slapd.conf(5) manpage. The right answer is RTFM.

Daniel

On Tue, Oct 23, 2012 at 10:39 AM, rodrigo tavares
<rodrigofariat@yahoo.com.br> wrote:
Hello !

I'm trying  make a replication from  master for slave.

My configure master:

moduleload syncprov.la
moduleload back_monitor.la
moduleload back_bdb

overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100

Slave:

syncrepl rid=123
provider=ldap://10.26.7.45:389
type=refreshOnly
interval=00:00:05:00
searchbase="dc=company,dc=mg,dc=gov,dc=br"
filter="(objectClass=organizationalPerson)"
scope=sub
attrs="*,+"
schemachecking=off
bindmethod=simple
binddn="cn=admin,dc=company,dc=mg,dc=gov,dc=br"
credentials=secret


I syslog i see this message:

Oct 23 10:23:32 replica slapd[1827]: syncrepl rid=123
searchbase="dc=company,dc=mg,dc=gov,dc=br": no retry defined, using default.

How I can to resolve it ?

Best regards,

Rodrigo Faria








--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/