Description
This article describes how to create FortiGate admin users which can be authenticated by a LDAP server.
Scope
Access FortiGate WebGUI using LDAP users
Solution
Configuration Method.
In order to use an LDAP server to authenticate administrators in a VDOM, the authentication has to be configured before the administrator accounts are created.
For example:
edit "ldap" set server "10.40.9.78" set cnid "sAMAccountName" set dn "dc=dubailab,dc=lab" set type regular set username "cn=administrator,cn=users,dc=dubailab,dc=lab" set password p@ssword end If only a particular group of members are to be allowed to login to the FortiGate as administrators then a FortiGate group must be configured to limit the access. |
# config user group edit "salesgrp" set group-type firewall set authtimeout 0 set auth-concurrent-override disable set http-digest-realm '' set member "ldap" # config match edit 1 set server-name "ldap" set group-name "CN=salesgrp,CN=Users,DC=dubailab,DC=lab" next end next end |
# config system admin edit "ldap_admin" set remote-auth enable set accprofile "prof_admin" set vdom "root" set wildcard enable set remote-group "salesgrp" next end |
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.