Skip to main content
Rizios
New Member
August 5, 2025
Question

Extend LDAP Captive Porta user expire

  • August 5, 2025
  • 1 reply
  • 532 views

Hi,

I've a Fortigate (version 7.2.11) that manage Hospitality access to internet with native Captive Portal features.

For internal users I've configured LDAP server and all works correctly, but login expire day by day; every day ldap users must relogin.

 

It's possibile to extend the expire timeout?

 

Thank's 

Maurizio

1 reply

knaveenkumar
Staff
Staff
August 5, 2025

Hi,

Yes, it is possible to extend the expiry timeout for LDAP-authenticated users using FortiGate's native captive portal.

please refer the below document :

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Increase-the-Captive-portal-user-retention-timeout/ta-p/253022

Rizios
RiziosAuthor
New Member
August 5, 2025

Thanks' man, I've already configure this settings.

 

<code>config user setting
set auth-type http https
set auth-cert "Fortinet_Factory"
set auth-on-demand always
set auth-timeout 1
set auth-timeout-type hard-timeout
end

 

edit "Ldap"
set authtimeout 43200
set member "Centrale"
config match
edit 1
set server-name "Centrale"
set group-name "cn=wifi,ou=Group,o=Acme"
next
end

</code>

 

Now I've try to set Ldap auth-timoeout to 0.

Rizios