ldap_bind(): Unable to bind to server: Invalid credentials
I’m trying to develop a login page in Laravel using LDAP.
When I click on the login button, I’ve an error :
ldap_bind(): Unable to bind to server: Invalid credentials
I know it’s configuration but I don’t found the answer…
My .env LDAP Part :
LDAP_LOGGING=true
LDAP_CONNECTION=default
LDAP_HOST=ldap
LDAP_PORT=389
LDAP_BASE_DN="dc=test,dc=fr"
LDAP_SSL=false
LDAP_TLS=false
My docker-compose Ldap container :
ldap:
image: osixia/openldap:1.3.0
ports:
- "389:389"
environment:
LDAP_ORGANISATION: "Testing Company"
LDAP_DOMAIN: "test.fr"
LDAP_BASE_DN: "dc=test,dc=fr"
LDAP_TLS: "false"
volumes:
- ./smart/docker/ldap:/container/service/slapd/assets/config/bootstrap/ldif/custom
command: --copy-service
networks:
- smart
- visuall
If someone can help me …
Source: Docker Questions