Feature #10785
closedAllow Setting of ldapcachetime
100%
Description
We're using Squid/Squidguard with many (!) ldap based group filters.
This does not scale because squidguard does not cache the search results by default.
It has support for caching using the keyword statement ldapcachetime <seconds>.
ldapcachetime This global keyword specifies the number of seconds to cache LDAP search results before contacting the LDAP server again. This keyword is global and must go outside any Source/Destination/Rule blocks. Setting this value to a reasonably low value can allow simulation of near-realtime user groupings in LDAP without restarting squidguard. Recommended value: 300
I already patched the package in our machine, it works well.
I would like to add this patch to upstream to allow updating our system.
I can attach the patch to this ticket or create a pull request in github.
Updated by Jim Pingle almost 4 years ago
Please create a pull request in github, that process is much easier for us to review and approve for inclusion. Thanks!
Updated by Jan Wenzel almost 4 years ago
Updated by Jim Pingle almost 4 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho over 3 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Azamat Khakimyanov over 3 years ago
- Status changed from Feedback to Resolved
Tested on 2.4.5_p1 and on 2.5.0-DEVELOPMENT (built on Sun Nov 15 01:02:10 EST 2020)
LDAP Cache Time option is now available for SquidGuard.
This feature request can be marked resolved.