FortiClient
FortiClient proactively defends against advanced attacks. Its tight integration with the Security Fabric enables policy-based automation to contain threats and control outbreaks. FortiClient is compatible with Fabric-Ready partners to further strengthen enterprises’ security posture.
Anil_Solakoglu
Article Id 280372
Description This article describes troubleshooting methods and possible fixes for user verification type LDAP. Troubleshooting can be also extended to other verification types.
Scope LDAP, EMS, FortiClient, User Verification.
Solution

For demonstrating steps for user verification via EMS invitation code with verification type LDAP created on the testing environment.

 

Anil_Solakoglu_0-1698020573926.png

 

For testing user verification via LDAP there are 3 security groups created on AD: TEST1, TEST2, and TEST3.

 

Anil_Solakoglu_1-1698020573927.png

 

Anil_Solakoglu_2-1698020573927.png

 

There is a testing username with user1 which includes as a part of domain users and a member of 3 created security groups.

 

Anil_Solakoglu_3-1698020573928.png

 

On the EMS side -> User Management -> Authorized User Groups there is the following configuration.

 

Anil_Solakoglu_4-1698020573928.png

 

When trying to connect the specific invitation code from FortiClient.

 

Anil_Solakoglu_5-1698020573931.png

 

There is no way to distribute configuration directly via EMS since the telemetry connection is not established.

It is necessary to unlock settings from the FortiClient UI’s left bottom.

 

Anil_Solakoglu_6-1698020573933.png

 

From UI under the settings and logging tab telemetry should be included.

 

Anil_Solakoglu_7-1698020573936.png

 

When trying to connect via a specific test user called user1, it will prompt us again to authenticate since authentication failed.

 

Anil_Solakoglu_8-1698020573938.png

 

Anil_Solakoglu_9-1698020573952.png

 

In order to troubleshoot further, it is necessary to export diagnostic logs from the About page, once the diagnostic output opened on the directory which is FCDiagData\general\logs\trace\ FortiESNAC_1.log.

 

Anil_Solakoglu_10-1698020573955.png

 

Anil_Solakoglu_11-1698020573960.png

 

There is a clear User Authentication error on the logs.

Why and how?

 

The main reason this configuration set is not working is all security groups including user1 are not authorized to login into EMS.

 

How to fix it?

 

Anil_Solakoglu_12-1698020573960.png

 

It is necessary to authorize each individual security group which are including user1.

After changing the configuration side results look like same.

 

Anil_Solakoglu_13-1698020573967.png

 

User1 successfully registered EMS via verification type LDAP.

 

Anil_Solakoglu_14-1698020573970.png

 

Note: This article shows the only way to connect via verification type LDAP on the other hand these troubleshooting methods are also valid for Azure AD verification type and security groups.