Skip to main content
jcamareno
Staff
Staff
February 27, 2020

Troubleshooting Tip: Connection status: ldap_-5

  • February 27, 2020
  • 0 replies
  • 5391 views
Description
When setting up a new LDAP server in the FortiGate, an error like the one below might be displayed.
Connection status: ldap_-5.


This usually indicates that the response from the LDAP server takes longer than the configured timeout.
This is due to a timeout in the connection, a delay in the network or a LDAP too big to browse in under 5 seconds.
The default has been set to 5 seconds in an attempt to improve security, but depending on the circumstances, 5 seconds may not be long enough to receive a response.



Solution
Normally, address any underlying issue that delays the response from the server; but can also increase the default timeout to a more suitable value.
# config system global
    set remoteauthtimeout >seconds<
end

If the problem persists after the change and LDAPS is being used, make a new attempt using LDAP instead.

Related Articles

Technical Tip: SSLVPN issue when using LDAPS

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT