Open scara opened 2 years ago
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.
TNX @stronk7!
I think it could be related to secure LDAP connections only. Apologies for the noise.
HTH, Matteo
TNX @scara , no worries!
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.
Should we still do anything here?
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
:It looks like we should add
libldap-common
toPACKAGES_LDAP
or wait for https://github.com/docker-library/php/issues/1228.HTH, Matteo