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

syncprov_db_open: invalid config, lastmod must be enabled



Hi,

I'm trying to configure chain overlay in a ldap replica consumer. My final purpose is that if this node receives an update, it directly tries to make it in the provider node, instead of returning the referrral. Is that possible? I think so...

	But I have a problem with the configuration. My config is

...
moduleload      back_ldap
moduleload      syncprov
...
database	hdb
suffix		dc=<mysuffix>
...
overlay		syncprov

syncrepl       rid=31
               provider="ldap://<provider>"
               binddn="<replica user dn>"
               bindmethod=simple
               credentials=<password>
               searchbase="dc=<mysuffix>"
               type=refreshAndPersist
               interval=00:00:00:10
               retry="5 5 300 +"
               timeout=1

overlay		chain
chain-max-depth 1
chain-return-error true

chain-uri ldap://<provider>
chain-rebind-as-user yes
chain-idassert-bind bindmethod=simple
        binddn=<replica user dn>
        credentials=<password>
        starttls=no
        mode="self"

	But when I test configuration with slaptest, I get:

root@canis32:/etc/ldap# slaptest -f /etc/ldap/slapd.conf
syncprov_db_open: invalid config, lastmod must be enabled
backend_startup_one (type=hdb, suffix="<mysuffix>"): bi_db_open failed! (-1)
slap_startup failed (test would succeed using the -u switch)

	and I can't run slapd. Any idea?

	I'm running slapd 2.4.21 (ubuntu lucid package)

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información       _o)
y las Comunicaciones Aplicadas (ATICA)      / \\
http://www.um.es/atica                    _(___V
Tfo: 868887590
Fax: 868888337