Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to enable delta syncrepl with accesslog #223

Open
rajkumar-dm opened this issue Dec 17, 2024 · 3 comments
Open

Is there a way to enable delta syncrepl with accesslog #223

rajkumar-dm opened this issue Dec 17, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@rajkumar-dm
Copy link

Is your feature request related to a problem? Please describe.
Is there a way to enable delta syncrepl using accesslog . I want to enable delta sync for the multi master setup i didnt finds any options in the existing chart. so Just wanted to check if that is possible or any guidance on how it can be acheived.

@rajkumar-dm rajkumar-dm added the enhancement New feature or request label Dec 17, 2024
@jp-gouin
Copy link
Owner

Hi @rajkumar-dm ,

It looks like it’s possible in the container see access login

@tiborauer
Copy link
Contributor

tiborauer commented Feb 14, 2025

I am not sure if it is related or intentional, but accesslog does not seem created on the replicas:

67af7e8d.20333360 0x7cd3543ba740 slapd starting
67af7e8f.00d3b801 0x7cd3126006c0 olcAccessLogDB: value #0: <olcAccessLogDB> no matching backend found for suffix "cn=accesslog"
67af7e8f.00d5bd0b 0x7cd3126006c0 syncrepl_null_callback : error code 0x50
67af7e8f.00d6233b 0x7cd3126006c0 syncrepl_entry: rid=001 be_add olcOverlay={3}accesslog,olcDatabase={2}mdb,cn=config failed (80)

It causes some annoyance for the ldapadmin portal, if it reads the replica rather than the main.

What is even more disturbing is that it also causes the connection to the replica via TLS to fail (even when using your fixed image). Switching off accesslog solves the issue.

@tiborauer
Copy link
Contributor

The same also applies to ppolicy: Enabling ppolicy crashes the replica creation leading to the abovementioned connection issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants