I am adding the syncprovider to a running server with these:
dn: cn=module{0},cn=config changetype: modify add: olcModuleLoad olcModuleLoad: syncprov
dn: olcOverlay=syncprov,olcDatabase={2}mdb,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov olcSpNoPresent: TRUE olcSpCheckpoint: 100 10 olcSpSessionlog: 100
However when I do slapd -VVV the overlay is not listed. Do I need to
1. restart? 2. use syncprov.la instead of syncprov?
On 8/27/19 2:06 PM, Marc Roos wrote:
However when I do slapd -VVV the overlay is not listed.
slapd -VVV only lists those backend and overlay modules which were linked into the slapd executable at build time. This has nothing to do with your current configuration.
Ciao, Michael.
--On Tuesday, August 27, 2019 3:06 PM +0200 Marc Roos M.Roos@f1-outsourcing.eu wrote:
dn: olcOverlay=syncprov,olcDatabase={2}mdb,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov olcSpNoPresent: TRUE
Unless {2}mdb is an accesslog database, this is not a valid setting. Please read the slapo-syncprov(5) man page.
I would also note your setttings for the sessionlog size is also likely incorrect, unless you have fewer than 100 entries in your database.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org