Skip to main content
haitouahman
Staff
Staff
Sep 27, 2024 11:23 AM UTC

Technical Tip: How to change the LDAP user and group cache update times on the FortiProxy

  • Apr 16, 2026 11:05 AM UTC
  • 0 replies
  • 1704 views
  • Translate All
Description

This article describes that when 'ldap-user-cache' is enabled, FortiProxy retrieves user and group membership data from the LDAP server and stores it for 24 hours before refreshing. By default, the cache refresh interval is set to 24 hours (1400 minutes). This configuration is essential for maintaining up-to-date user access permissions and group memberships, especially in dynamic environments with frequent changes.

Scope FortiProxy v7.2.7+
Solution

If an administrator needs to change this update interval, they can modify the cache update times to better suit their organization’s requirements using the following CLI commands:


diagnose debug enable
diagnose test app wad 2500
diagnose test application wad 1900xyz <== Change the user cache time (xyz=minutes)
diagnose test application wad 1910xyz <== Change the Group cache time (xyz=minutes)


The example below changes the user and group timers from default 1440 to 5 minutes:

FPX1 # diagnose debug enable

FPX1 # diag test app wad 2500
Set diagnosis process: type=user-info index=0 pid=1513

FPX1 # diag test app wad 1900005
Change user cache flushing timeout from: 1440 to 5

FPX1 # diag test app wad 1910005
Change group cache flushing timeout from: 1440 to 5


Related article:
Technical Tip: Users group membership is not updated at FortiProxy 

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024