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

LDAP and Debian Bullseye #147

Open
scara opened this issue Nov 29, 2021 · 5 comments
Open

LDAP and Debian Bullseye #147

scara opened this issue Nov 29, 2021 · 5 comments

Comments

@scara
Copy link
Contributor

scara commented Nov 29, 2021

Hello Everyone,
I didn't test it by myself, just sharing something that could affect the LDAP tests here when using the Bullseye option and running MOODLE_DOCKER_PHPUNIT_EXTRAS=true:

Oh, in buster the curl package depends on libcurl4 which depends on libldap-2.4-2 which depends on libldap-common.
While in bullseye, the libldap-2.4-2 package only recommends libldap-common.

It looks like we should add libldap-common to PACKAGES_LDAP or wait for docker-library/php#1228.

HTH,
Matteo

@stronk7
Copy link
Member

stronk7 commented Nov 30, 2021

Uhm...

we already have switched to bullseye as default images for PHP 7.4 and 8.0 @ ci.moodle.org and, apparently, tests involving ldap (auth_ldap, enrol_ldap) are passing without any problem. Plus ldap logs also look ok (quick inspection).

And, yes, we are using libldap-2.4-2 there (and libldap2-dev).

Will keep an eye on that issue, but right now all I can say is that it seems to be working ok here.

@scara
Copy link
Contributor Author

scara commented Nov 30, 2021

TNX @stronk7!

I think it could be related to secure LDAP connections only.
Apologies for the noise.

HTH,
Matteo

@stronk7
Copy link
Member

stronk7 commented Nov 30, 2021

TNX @scara , no worries!

@thinkl33t
Copy link

I think it could be related to secure LDAP connections only. Apologies for the noise.

This is the failure mode i've observed in other software, AFAICT the lack of an ldap.conf prevents php-ldap from finding the system CA database, so it can't connect to anything using LDAPS.

@stronk7
Copy link
Member

stronk7 commented Mar 18, 2023

Should we still do anything here?

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

3 participants