LDAP API lacks timeout options leading to bad login experiences #4445
Labels
authentication
Authentication related issue/feature
bug
Undesired behaviour
ldap
Issue related to ldap authentication
resolved
A fixed issue
Milestone
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:
Set your primary server to a host that is printable, but down
Logout of Cacti
Attempt to login
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.
The text was updated successfully, but these errors were encountered: