https://bz.apache.org/bugzilla/show_bug.cgi?id=53149
--- Comment #3 from Ruslan Semchenko <lastdayserq22@gmail.com> ---
Created attachment 38919
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38919&action=edit
Simple code
1. Added mod_socache module to handle various caches:
- Use `socache_socache dbm:/path/to/ldap_cache.dbm` for LDAP cache.
- Used `socache_socache shmcb:/path/to/other_cache.shmcb` for other caches.
2. Configured mod_ldap cache options using mod_socache:
- `LDAPCacheEntries` sets the maximum number of cache entries.
- `LDAPCacheTTL` sets cache lifetime (in seconds).
- `LDAPCacheSize` sets the maximum cache size in kilobytes.
- `LDAPCacheURI` specifies the URI to access the LDAP server.
- `LDAPCacheSharedCache` sets the shared cache path for mod_ldap and
mod_socache modules.
Note that you need to replace `/path/to/ca.crt`, `/path/to/ldap_cache.dbm` and
`/path/to/other_cache.shmcb` with the appropriate values ??for your
configuration. Also configure the rest of the values ??(e.g.
`ldap.example.com`, `dc=example,dc=com`, `cn=admin,dc=example,dc=com` and
`adminpassword`) according to your LDAP configuration- server.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
--- Comment #3 from Ruslan Semchenko <lastdayserq22@gmail.com> ---
Created attachment 38919
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38919&action=edit
Simple code
1. Added mod_socache module to handle various caches:
- Use `socache_socache dbm:/path/to/ldap_cache.dbm` for LDAP cache.
- Used `socache_socache shmcb:/path/to/other_cache.shmcb` for other caches.
2. Configured mod_ldap cache options using mod_socache:
- `LDAPCacheEntries` sets the maximum number of cache entries.
- `LDAPCacheTTL` sets cache lifetime (in seconds).
- `LDAPCacheSize` sets the maximum cache size in kilobytes.
- `LDAPCacheURI` specifies the URI to access the LDAP server.
- `LDAPCacheSharedCache` sets the shared cache path for mod_ldap and
mod_socache modules.
Note that you need to replace `/path/to/ca.crt`, `/path/to/ldap_cache.dbm` and
`/path/to/other_cache.shmcb` with the appropriate values ??for your
configuration. Also configure the rest of the values ??(e.g.
`ldap.example.com`, `dc=example,dc=com`, `cn=admin,dc=example,dc=com` and
`adminpassword`) according to your LDAP configuration- server.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org