Skip to Content

How to fix LDAP user query has failed

This article describes how to troubleshoot if the LDAP user query has failed.

Scope

FortiMail.

Solution

  1. The Fortimail LDAP user query has failed for some specific users. The Fortimail LDAP user query has failed for some specific users.
  2. Do a packet capture in the FortiMail, and do the LDAP query again. If the LDAP server does not respond correctly with the user CN, proceed to the next step.
  3. Check whether the name of the user CN is more than 20 characters or not.
  4. In this case, the user CN has 21 characters which caused the issue to happen.
  5. Try to make the user CN to be shorter than 20 characters and verify the result.