By: Fernando M. user 31 May 2019 at 2:53 a.m. CDT

3 Responses
Fernando M. gravatar
I am trying to set up the Cache Refresh in my Gluu installation, but I receive the error "Failed to connect to LDAP server". I see the following error in the oxtrust log every time I hit the "Test LDAP server" button: `oxtrust | 2019-05-31 07:46:24,426 ERROR [qtp859417998-16] [org.xdi.util.properties.FileConfiguration] (FileConfiguration.java:59) - Failed to load '/etc/gluu/conf/oxtrust-ldap.properties' configuration file from config folder` That file does not exist in the oxtrust container filesystem. The backend LDAP server is an OpenDJ 4.4.2 deployed in a docker container. I am almost sure that the configuration is correct. From inside the oxtrust docker container I can connect to the backend LDAP server port (I tried using the `nc` tool), so it is not a network problem. Could you help me? Thank you in advance. Best Regards, F.

By Michael Schwartz Account Admin 31 May 2019 at 3:10 a.m. CDT

Michael Schwartz gravatar
From the Gluu Server, can you ldapsearch the backend ldap server? If you login to the Gluu chroot container, you can use `/opt/opendj/bin/ldapsearch`

By Fernando M. user 31 May 2019 at 3:44 a.m. CDT

Fernando M. gravatar
I have installed Gluu 3.16 Docker Edition. I confirm that from the Gluu LDAP container, I can connect to my backend LDAP server using `/opt/opendj/bin/ldapsearch` and search in the database: Command: `/opt/opendj/bin # ./ldapsearch -h 172.18.0.11 -D "cn=directory manager" -b "dc=example,dc=com" -p 1389 "(objectclass=*)"` Result: ``` Password for user 'cn=directory manager': dn: dc=example,dc=com objectClass: top objectClass: domain dc: example ... ``` The same configuration is not working in Gluu, having the error message written in my last post in the oxtrust container log. BR, F.

By William Lowe user 31 May 2019 at 7:11 a.m. CDT

William Lowe gravatar
We don't offer community support for Docker. The project is license under [Gluu Support](https://gluu.org/support-license). If you'd like to discuss obtaining a license, please [schedule a call](https://gluu.org/booking). Otherwise, please stick to the standard Linux-packages for VM deployment.