Hi Quanah

   Just an update, i tried executing the update_config.ldif which i have sent yesterday using following command

ldapmodify -x -D 'cn=config'  -w <password> -f update_config.ldif

I am seeing following ERROR

modifying entry "cn=module{0},cn=config"
ldap_modify: No such object (32)
        matched DN: cn=config

If i comment following lines from the attached file

dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: syncprov
olcModuleLoad: accesslog

Then i see following ERROR during execution

adding new entry "olcDatabase={2}mdb,cn=config"

adding new entry "olcOverlay=syncprov,olcDatabase={2}mdb,cn=config"

adding new entry "olcOverlay={0}syncprov,olcDatabase={3}mdb,cn=config"

adding new entry "olcOverlay={1}accesslog,olcDatabase={3}mdb,cn=config"
ldap_add: Invalid syntax (21)
        additional info: objectClass: value #1 invalid per syntax

Let me know what i am missing here.


On Tue, Jun 30, 2020 at 3:10 PM kumar rahul <rahul2002mit@gmail.com> wrote:
Hi Quanah

    I have gone through your blog. I have created an update_config.ldif file only for providers based on your example.Can you check if this looks correct based on the configuration I have provided. Also if I am executing this ldif file locally then what should be the command?


On Mon, Jun 29, 2020 at 5:10 PM kumar rahul <rahul2002mit@gmail.com> wrote:
Thank you for the pointers. I will setup delta syncrepl and test to verify if I see the issue or not.


On Mon, Jun 29, 2020 at 4:02 PM Quanah Gibson-Mount <quanah@symas.com> wrote:
--On Monday, June 29, 2020 4:20 PM -0400 kumar rahul
<rahul2002mit@gmail.com> wrote:

>    Thank you for creating the bug. I have added myself as CC. Based on
> the configuration information I have provided, can you provide a set of
> guidelines to configure my setup to use delta-syncrepl.

The admin guide already provides information the configuration bits
necessary to set up delta-syncrepl.  Generally:

a) You need a secondary DB to store the accesslog data from the accesslog

b) You need to reconfigure the olcSyncrepl config to make use of the
accesslog db.


And a blog post I wrote that gives some example configs:




Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP: