Skip to main content
ovoda
Staff
Staff
September 23, 2026

Troubleshooting Tip: LDAP functionality check

  • September 23, 2026
  • 0 replies
  • 24 views

Description

This article describes how to verify connectivity to the LDAP server and confirm that LDAP queries from FortiMail work as expected.

Scope

FortiMail v7.6.x, v7.4.x, v7.2.x, v7.0.x.

Solution

  1. Verify connection and credentials using Browse in an LDAP profile:


Open the LDAP profile under Profile -> LDAP.

Select Browse…:

23d2a3ed.png


If the output shows values, it means that the connection is successful.

3528c2f7.png


If the output is empty, check if the bind credentials in the LDAP profile are current.

Also, check the connection to the LDAP server with the command:

execute telnettest <LDAP_SERVER_IP_ADDRESS>:389 


If the output is NOT 'Connected', check upstream devices if the LDAP traffic is allowed.

  1. There is also an option to test a specific LDAP query:


437974b1.png


This option provides tests for different query types:

4faed31e.png


  1. Capture LDAP traffic under System -> Utility -> Traffic Capture -> New.


14967b3e.png


  1. The system log provides LDAP-related information. Under Monitor -> Log -> System Event -> Search, search for LDAP in the Message field.


c23249fe.png


The search output example:

a8c6465c.png