Skip to content

[Ldap] Adapter\ExtLdap\Connection : error numbers in class constants should be integers ? #36327

@hedus

Description

@hedus

Symfony version(s) affected: 4.4+

Description
Commit identified : symfony/ldap@ebc066b#diff-417a42cf16696cf4f1941a331a2007f9
Manual page : https://www.php.net/manual/en/function.ldap-errno.php
Apparently, only the ConnectionException is thrown.

Possible Solution
Use the hexadecimal notation :

private const LDAP_INVALID_CREDENTIALS = 0x31;
private const LDAP_TIMEOUT = 0x55;
private const LDAP_ALREADY_EXISTS = 0x44;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy