You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I apply this on both my openldap. by changing "{URI}".
Note: in the “serverId” and “provider” I put “ldaps://:636/” to match the slapd listening urls of the running openLDAP.
Then I restart the containers to take the changes into account. And I have a rather strange behavior, because the replication seems to work at startup then stops working. For example, if I add an entry in openLDAP1, it is not replicated on openLDAP2. However, if I restart the openLDAP2 container, the entry is replicated.
I don't see any particular error in the logs, except: "connection_read(15) : input error=-2"
The replication seems to work at startup then stops working. For example, if I add an entry in openLDAP1, it is not replicated on openLDAP2. However, if I restart the openLDAP2 container, the entry is replicated.
Additional information
No response
The text was updated successfully, but these errors were encountered:
javsalgar
changed the title
Multi Master replication works only on start-up
[bitnami/openldap] Multi Master replication works only on start-up
Feb 3, 2025
It seems that OpenLDAP is consuming the configuration files you shared, so it is not clear to me if this is an issue with the Bitnami packaging or the application itself. Did you check with the upstream openldap developers?
Thank you for your answer, indeed you are right and I contacted them.
Do you know if it is possible to modify the slapd listening urls ? Bitnami doesn't offer an environment variable to do this, and modifying the contents of /opt/bitnami/openldap/var/run/slapd.arg (pointed by olcArgsFile) via docker volume does not work.
Name and Version
bitnami/openldap:2.6.3
What architecture are you using?
amd64
What steps will reproduce the bug?
I have two openldap running under docker with bitnami image. I'm trying to set up a multi-master replication on database between the two.
For this I add (ldapadd) in order the ldifs below:
I apply this on both my openldap. by changing "{URI}".
Note: in the “serverId” and “provider” I put “ldaps://:636/” to match the slapd listening urls of the running openLDAP.
Then I restart the containers to take the changes into account. And I have a rather strange behavior, because the replication seems to work at startup then stops working. For example, if I add an entry in openLDAP1, it is not replicated on openLDAP2. However, if I restart the openLDAP2 container, the entry is replicated.
I don't see any particular error in the logs, except: "connection_read(15) : input error=-2"
if it helps here is my docker-compose.yml :
Thank you in advance for your help!
What is the expected behavior?
No response
What do you see instead?
The replication seems to work at startup then stops working. For example, if I add an entry in openLDAP1, it is not replicated on openLDAP2. However, if I restart the openLDAP2 container, the entry is replicated.
Additional information
No response
The text was updated successfully, but these errors were encountered: