** Description changed:

  When php-ldap package is installed with --no-install-recommends, the
  libldap-common package is not installed, which results in TLS
  certificate validation failure with useless message: "PHP Warning:
  ldap_bind(): Unable to bind to server: Can't contact LDAP server".
  
  Only with the debugging enabled I could see a bit more relevant
  information "TLS: peer cert untrusted or revoked (0x42)", but that
  information is also misleading as the server certificate is valid.
  
  Full log of actions to reproduce the issue (valid for Ubuntu 22.04 and
  24.04) is in the attached "Ubuntu PHP LDAP bug.txt". It also includes
  the happy path.
  
+ I believe that when php-ldap package is installed with --no-install-
+ recommends option, the libldap-common package should be installed as
+ well.
  
- I believe that when php-ldap package is installed with 
--no-install-recommends option, the libldap-common package should be installed 
as well.
+ N.B. That this was working as expected in Ubuntu 20.04 .

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063161

Title:
  PHP LDAP extension is missing a dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2063161/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to