-
Notifications
You must be signed in to change notification settings - Fork 2k
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
docker-php-ext-configure ldap should fail when libldap-common is not available #1228
Comments
Note: this effects LDAP with TLS - I believe insecure LDAP still works OK, but shouldn't be used for obvious reasons. |
While the package is very small (https://packages.debian.org/buster/libldap-common), we do not install extra packages for extensions that aren't enabled by default.
We do not want to maintain the extension to required packages mapping; that is the goal of https://github.com/mlocati/docker-php-extension-installer. (it looks like they have not updated to ensure
Detecting if it is installed would be maintaining the same map as auto-installing it; see previous answer. |
I have opened an issue upstream with docker-php-extension-installer |
I have added libldap-common to ldap on docker-php-extension-installer, but I can't find any way in which the php container specifications here actually consume that script? Am i missing something or is it completely unrelated? |
https://github.com/mlocati/docker-php-extension-installer#usage "php" does not consume "docker-php-extension-installer". |
🙈 ❤️ |
Since the change reported in #1194, and tracked down in #1194 (comment) , we have encountered multiple pieces of containerized PHP software that have been failing to connect to LDAP, and they have all led back to this common issue.
Since it is non-obvious to developers that installing the ldap module will require this dependency, i suggest either:
docker-php-ext-configure ldap
is rundocker-php-ext-configure ldap
is runI think (1) would be the easiest, but obviously adds a dependency that would be unwanted in a lot of installations.
The text was updated successfully, but these errors were encountered: