Skip to content

LDAP API lacks timeout options leading to bad login experiences #4445

@TheWitness

Description

@TheWitness

Describe the bug

The LDAP API in php provides two timeout options for both network (syn) and bind. The default is approximately two minutes. These defaults are too high and should be reduced or rather be configurable.

To Reproduce

Steps to reproduce the behavior:

  1. Set your primary server to a host that is printable, but down

  2. Logout of Cacti

  3. Attempt to login

  4. See error

Expected behavior

Cacti should fail over to the second server if the syn does not come back in two seconds. This should be approximately the same for the connect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    authenticationAuthentication related issue/featurebugUndesired behaviourldapIssue related to ldap authenticationresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions