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

Re: syncrepl with refreshAndPersist works in 2.2.x, but not in 2.3.x



Andreas Taschner wrote:
Hi

There seems to be many people who have this working, but I have not yet been able to find a configuration example that
works.

The easiest place to look is the configs in the test suite.

Snip of provider :
###############################
overlay syncprov
syncprov-checkpoint: 100 10
syncprov-sessionlog: 3000

database bdb
suffix dc=example,dc=com


Am I missing something or is refreshAndPersist broken ?

refreshAndPersist certainly is not broken...

Any hints would be most appreciated.

It also helps to actually read the manpage, e.g. slapd.conf(5). #### GENERAL DATABASE OPTIONS

Options in this section only apply to the configuration file section for the database in which they are defined. They are supported by every type of backend. Note that the database and at least one suffix option are mandatory for each database.
...
overlay <overlay-name>
Add the specified overlay to this database. An overlay is a piece of code that intercepts database operations in order to extend or change them.
####


Your overlay definition is not inside your database definition.

Thank you

Andreas Taschner
Support Engineer
Novell Inc.

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