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

"OpenLDAP & phpLDAPadmin in 1" Example Script not working #111

Open
fabpico opened this issue Dec 23, 2024 · 0 comments
Open

"OpenLDAP & phpLDAPadmin in 1" Example Script not working #111

fabpico opened this issue Dec 23, 2024 · 0 comments

Comments

@fabpico
Copy link

fabpico commented Dec 23, 2024

There is this script "OpenLDAP & phpLDAPadmin in 1'" in readme:

#!/bin/bash -e
docker run --name ldap-service --hostname ldap-service --detach osixia/openldap:1.1.8
docker run --name phpldapadmin-service --hostname phpldapadmin-service --link ldap-service:ldap-host --env PHPLDAPADMIN_LDAP_HOSTS=ldap-host --detach osixia/phpldapadmin:0.9.0

PHPLDAP_IP=$(docker inspect -f "{{ .NetworkSettings.IPAddress }}" phpldapadmin-service)

echo "Go to: https://$PHPLDAP_IP"
echo "Login DN: cn=admin,dc=example,dc=org"
echo "Password: admin"

When I run this, I get this output

cfcc233e0ac1120fcee25343765491d5868928b5c8a1c53e58061d3e308f8ad8
6278b54188fc1ae6eb7e202f397d0358f1f680844ddee923e0ca22aae81cdf3c
Go to: https://172.17.0.3
Login DN: cn=admin,dc=example,dc=org
Password: admin

But when I go to https://172.17.0.3 in my browser, It loads a while and fails with ERR_CONNECTION_TIMED_OUT.

Is there not missing a port mapping to port 80?

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

No branches or pull requests

1 participant