personal response for those in the same situation
Using TCL Script with Fortimaneger 5.2, you can define policies object and dynamic mapping
here's an exemple for ldap :
#!
puts [exec_ondb "/adom/root/pkg/policyPackageName" "
config user ldap
edit \"AD-LDAP\"
set server \"10.1.1.1\"
set cnid \"sAMAccountName\"
set dn \"dc=domain,dc=corp\"
set type regular
set username \"cn=admin-fgt,ou=admi,dc=domain,dc=corp\"
set password ENC ***
config dynamic_mapping
edit \"Fortigate01\"-\"root\"
set server \"10.1.1.1\"
set cnid \"sAMAccountName\"
set dn \"dc=domain,dc=corp\"
set type regular
set username \"cn=admin-fgt,ou=admi,dc=domain,dc=corp\"
set password ENC ***
set source-ip 10.5.1.1
next
end
I'm still looking for a loop for all my fortigate
User | Count |
---|---|
2117 | |
1187 | |
770 | |
451 | |
344 |
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.