Those seem like reasonable suggestions.
I pulled down a local copy of your PR and tried to get it working, but couldn’t get the LDAP connection to work. I cloned the openmrs-contrib-ansible-docker-compose
repo and started up a local copy of ldap-stg
using docker-compose (I tweaked the docker-compose.yml
to put its openldap
service onto the same network as atlas. I was able to fire up Atlas via docker-compose, but I couldn’t seem to get the environment variables for the LDAP connection correct. I think the closest I got was using ldap://openldap:636
with credentials admin/admin, but it seemed to close the connection. I also tried ldap://openldap:389
but couldn’t get that to work. Port 3389 was refused. I could tell it was resolving the openldap address and reaching it and I could successfully run ldapsearch
from within the openldap container for admin/admin. Then I tried manually running the atlas service container, using npm start
to start the server, hoping I could debug the problem. Unfortunately, I’m not knowledgeable enough with ldap to troubleshoot.
I can try again when I get a chance… maybe coming at it fresh will help. If you can confirm the ldap URI, username, and password I should be using, it would help.