Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

235
Visualizações
LDAP Bind failed on docker image php:7.4-apache / bullseye

I have an application that I wrote in PHP using the docker container php:7.4-apache, however recently the php docker containers have been updated to use Debian Bullseye as the base image.

Ever since this update, I am no longer able to perform LDAP Binds. No matter what I try it fails and gives me the following error when turning on ldap debugging:

ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);

TLS: can't connect: (unknown error code).
ldap_err2string

There is an issue on Github on the php docker image however it was closed and we were suggested to use the php:7.4-apache-buster image directly. This does work however it would be nice to figure out what is going on so we can upgrade to the future Bullseye release.

https://github.com/docker-library/php/issues/1194

However, just as I was writing this I turned off TLS for ldap and went to the unencrypted 389 port of my LDAP server and it works, so something is wrong with the TLS connection for sure.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I figured it out. On Debian Bullseye the libldap-common package is not installed when installing libldap2-dev as a dependency. Adding libldap-common as a package to install during the build process fixed the issue.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda