Created on
08-23-2019
12:48 AM
Edited on
12-12-2025
02:28 AM
By
Jean-Philippe_P
Description
This article describes how to configure LDAP system administrators in FortiManager for FortiGate.
Scope
FortiManager, FortiGate.
Solution

Go to User & Device -> User Groups to create a new user group. Give it a name with 'Firewall' as the type, and add the Remote Authentication Servers pointing to the LDAP server that was added in step 1:












Troubleshooting.
The following diagnostic commands can be used for live debugging while reproducing the login issue:
The debug commands have to be enabled on FortiGate if the login fails when an administrator tries to log in to FortiGate
diagnose debug application fnbamd 255 <- Up to version 6.4.2.
diagnose debug application authd 255 -> From version 6.4.3.
diagnose debug console timestamp enable
diagnose debug enable
Once the logs are collected, it is recommended to disable logging and reset the debugs enabled:
diagnose debug disable
diagnose debug reset
Note:
It is important to allow communication between FortiManager and the LDAP server.
When creating the User Group and selecting the 'Remote Authentication Server', FortiManager probes a TCP SYN packet using port 389 or 636 to the LDAP.
If communication is not allowed and the TCP 3-way Handshake cannot be established, there is no way to talk to LDAP and configure the User Group.
Related articles:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.