[Bug 53149] mod_ldap should/could use mod_socache

2024-06-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=53149

jxsnow  changed:

   What|Removed |Added

 CC||jai8.ja...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 53149] mod_ldap should/could use mod_socache

2023-08-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=53149

--- Comment #4 from Eric Covener  ---
(In reply to Ruslan Semchenko from comment #3)
> Created attachment 38919 [details]
> 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.

LDAPCacheSharedCache and LDAPCacheURI don't exist.
mod_ldap doesn't have code to talk to mod_socache.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 53149] mod_ldap should/could use mod_socache

2023-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=53149

--- Comment #3 from Ruslan Semchenko  ---
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-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 53149] mod_ldap should/could use mod_socache

2020-11-14 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=53149

--- Comment #2 from Christophe JAILLET  ---
Hi,
feel free to look at it and propose patches.
Contribution are always welcomed!

Bugzilla is not always the best tool for communication. Should you need to
exchange, ask for advice, explanation or whatever, our mailing list
d...@httpd.apache.org may be more appropriate.

Please also not that some of our developers can be contacted via IRC, depending
of their availability. 

All details on: https://httpd.apache.org/support.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 53149] mod_ldap should/could use mod_socache

2020-11-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=53149

--- Comment #1 from quan  ---
hi I wonder is there anyone working on this, I can lend a hand

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 53149] mod_ldap should/could use mod_socache

2020-09-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=53149

Joseph  changed:

   What|Removed |Added

 CC||mekani...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 53149] mod_ldap should/could use mod_socache

2019-07-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=53149

Haven  changed:

   What|Removed |Added

 CC||havens...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org