-
Notifications
You must be signed in to change notification settings - Fork 977
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
Ldap multi-master replication not working in 1.5.0 #558
Comments
I am looking detail this issue. It seems that startup script try to re-generate configuration into OpenLDAP if container is new. Try setting environment Compared to 1.3.0, 1.5.0 start OpenLDAP for initialization without consideration replication configuration: docker-openldap/image/service/slapd/startup.sh Lines 307 to 313 in 32eb22c
It missing pass ldap://ldap.example.org to docker-openldap/image/service/slapd/startup.sh Lines 255 to 262 in fa517c2
|
Those changes were introduced with this PR. |
Facing the same issue. Any update on this? Also when trying to run 1.5.0 with volume for /container/service/slapd/ the container does not start. |
Hi, I was facing the exact same issue and after a few hours of debugging, I've found a solution. The solution I've found is to provide fully qualified domain name such as: Before doing this, I was not able to start OpenLDAP container with replication set to true and even worse, after making manually the whole replication process, the container refused to restart on both machine. Now, it seems to work like a charm but the point highlighted by @comphilip seems to force the use of FQDN in order to get replication to work as expected. Both startup.sh and process.sh files contains the same kind of code to start the slapd service. It should be the same solution for issue #602 |
@padma0104 I gave up multi-master replication solution and rollback to single master. There is no multi-master replication requirement for me.
|
Even after adding the hostname with extension to the LDAP_REPLICATION_HOSTS I am facing the same error. Can you pls share your docker compose file or the config? |
It seems that upgrading the openldap container to 1.5.0 breaks multi-master replication, while using the same configuration on 1.3.0 works fine. We're using the docker-compose file listed below:
Above configuration gives us working replication across instances. However, when we upgrade our image to 1.5.0, we get the following error:
5acb4ffa read_config: no serverID / URL match found. Check slapd -h arguments. 5acb4ffa slapd stopped.
This is without any configuration changes.
The text was updated successfully, but these errors were encountered: