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.
Thanks Rahul
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?
Thanks Rahul
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.
Thanks Rahul
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 overlay.
b) You need to reconfigure the olcSyncrepl config to make use of the accesslog db.
https://www.openldap.org/doc/admin24/replication.html#Delta-syncrepl
And a blog post I wrote that gives some example configs:
< https://mishikal.wordpress.com/2019/04/23/configuring-mmr-using-delta-syncre...
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com