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

Missing libldap-common package in PHP 8.3 Docker image causing ldaps connections to fail #509

Closed
LemmingZwerg1 opened this issue Feb 5, 2024 · 2 comments

Comments

@LemmingZwerg1
Copy link

LemmingZwerg1 commented Feb 5, 2024

Description

I have recently upgraded the PHP Docker image I'm using from webdevops/php-apache-dev:8.2 to webdevops/php-apache-dev:8.3 and encountered an issue where I could not establish an ldaps connection from my PHP application.

I've narrowed down the cause to the libldap-common package being absent in the PHP 8.3 image. After manually installing libldap-common, the ldaps connections worked fine as before. I believe this package was present in the PHP 8.2 Docker image and appears to have been removed or is missing in the PHP 8.3 image.

Steps to Reproduce:

  • Use PHP 8.3 Docker image (webdevops/php-apache-dev:8.3) in your environment
  • Attempt to establish an ldaps connection from a PHP application
  • Observe that the connection fails
  • Install libldap-common package in the image
  • Attempt to establish the ldaps connection again

Expected Result:

The application should be able to establish ldaps connections without needing to manually install additional packages.

Actual Result:

The application is unable to establish an ldaps connection until libldap-common is manually installed.

Proposed Solution:

Please include the libldap-common package in the PHP 8.3 Docker image or ensure the LDAP module is properly configured to allow ldaps connections out of the box.

Best regards, Tobias

@thierrydrc
Copy link

Same issue...
Waiting for fix 🙏

@LemmingZwerg1
Copy link
Author

@htuscher thx!

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

2 participants