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

Error in config.php, PHPLDAPADMIN_LDAP_HOSTS/docker-compose.yml #25

Open
jcgruenhage opened this issue Dec 29, 2016 · 3 comments
Open

Comments

@jcgruenhage
Copy link

jcgruenhage commented Dec 29, 2016

When I try to access phpldapadmin, I get Parse error: syntax error, unexpected '}' in /container/service/phpldapadmin/assets/config.php on line 68. Line 68 should contain the ldap host, so I assume that there is an error with that variable.

Here is the excerpt from my docker-compose.yml:

version: '2'
services:
        openldap:
                image:  dinkel/openldap
                container_name: openldap
                environment:
                        - SLAPD_PASSWORD=***REMOVED_SENSITIVE_VALUE***
                        - SLAPD_DOMAIN=***REMOVED_SENSITIVE_VALUE***
                volumes:
                        - ./openldap/etc_ldap:/etc/ldap
                        - ./openldap/var_lib_ldap:/var/lib/ldap
        
        phpldapadmin:
                image:  osixia/phpldapadmin
                container_name: phpldapadmin
                environment:
                        - PHPLDAPADMIN_HTTPS=false
                        - PHPLDAPADMIN_LDAP_HOSTS=openldap
@jcgruenhage
Copy link
Author

I just realised this is #23.. Still occuring for me though :D

@osixia
Copy link
Collaborator

osixia commented Feb 15, 2017

:'(

@ChrisSamo632
Copy link

Made a comment in #28 (#28 (comment)) about using this in a docker-compose.yml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants