[Bug 64472] mod_auth_digest module's AuthDigestProvider directive does not sets 'ldap' as provider to authenticate users from LDAP

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

--- Comment #3 from Ruslan Semchenko  ---
Created attachment 38920
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38920=edit
Simple code

This example uses the AuthType directive with the Digest parameter to specify
the use of Digest authentication. The AuthLDAPURL directive defines the URL of
the LDAP server for authentication. Replace the
`ldap://ldap.example.com/dc=example,dc=com`, `cn=admin,dc=example,dc=com`, and
`adminpassword` values ​​with the appropriate values ​​for your LDAP server.

Make sure the mod_authnz_ldap module is installed and enabled on your server
and restart the web server to apply the configuration changes.
mod_auth_digest's AuthDigestProvider directive does not support "ldap" as an
authentication provider for LDAP users. This directive is only intended for use
with databases such as htdigest or DBM files.

If you need to use Digest authentication with LDAP users, you should use the
mod_authnz_ldap module instead of mod_auth_digest. The mod_authnz_ldap module
provides support for authentication using an LDAP 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

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=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 63300] mod_status lists BusyWorkers IdleWorkers keys twice

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

--- Comment #12 from Rainer Jung  ---
Committed to 2.4.x in r1911892.
Will be part of 2.4.58.

-- 
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