Bradley Nicholes
aad2e44aae
Actually use the compare_cache_size value that is being set by LDAPOpCacheEntries. The actual cache_size was previously defaulting to the value of search _cache_size set by LDAPCacheEntries.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@159542 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 23:25:47 +00:00
Bradley Nicholes
9182642bfd
Don't attempt to remove the cache_file if one was never specified.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156665 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 18:10:47 +00:00
Bradley Nicholes
a92c5fa98c
Keep track of the number of attributes retrieved from LDAP so that all the values can be properly cached even if the value is NULL. [PR 33901]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156587 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 00:15:01 +00:00
Justin Erenkrantz
905cdf9f0b
Update copyright year to 2005 and standardize on current copyright owner line.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
William A. Rowe Jr
8aea7cff22
Correct the order of includes to follow httpd conventions, and get
...
Win32 compiling again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124279 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 21:35:51 +00:00
Joe Orton
733fefe0b8
* modules/ldap/util_ldap.c (util_ldap_post_config): Fix false
...
positives from gcc -Wformat-security.
* modules/ldap/util_ldap_cache.c (util_ldap_url_node_display): Add default
to switch to avoid uninitialised variable warnings.
* modules/ldap/util_ldap_cache_mgr.c (util_ald_create_caches): Fix to
return NULL rather than random chunk from stack on error path.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105105 13f79535-47bb-0310-9956-ffa450edef68
2004-09-13 10:59:55 +00:00
Bradley Nicholes
871dcc3f67
Move util_ldap out of experimental and into ldap.
...
See Attic in experimental directory for previous change history.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104718 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 22:18:39 +00:00
Ryan Bloom
74f34a272e
Remove all of the ldap modules. These have been moved to their own
...
repository, httpd-ldap, and they now form their own sub-project of the
httpd project.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91508 13f79535-47bb-0310-9956-ffa450edef68
2001-10-16 21:32:41 +00:00
Graham Leggett
f94ab6fedd
Added some bulletproofing to memory allocation in the LDAP cache
...
code.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90789 13f79535-47bb-0310-9956-ffa450edef68
2001-08-30 00:46:25 +00:00
Graham Leggett
2d122b4e55
Add specified user attributes to the environment when using
...
mod_auth_ldap. This allows you to use mod_include to embed specified
user attributes in a page like so:
Hello <!--#echo var="AUTHENTICATE_CN"-->, how are you?
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90775 13f79535-47bb-0310-9956-ffa450edef68
2001-08-28 23:16:12 +00:00
Graham Leggett
38c3d804d5
Enabled negative caching on attribute comparisons in the LDAP cache.
...
Fixed a problem where the default cache TTL was set in milliseconds
not microseconds causing the cache to time out almost immediately.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90340 13f79535-47bb-0310-9956-ffa450edef68
2001-08-18 21:10:03 +00:00
Graham Leggett
e32f5c9e03
Fixed all the #if APR_HAS_SHARED_MEMORY checks within the LDAP
...
module code to follow APR.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90338 13f79535-47bb-0310-9956-ffa450edef68
2001-08-18 19:44:59 +00:00
Graham Leggett
08276849da
Clean up an unnecessary function.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90332 13f79535-47bb-0310-9956-ffa450edef68
2001-08-18 17:52:11 +00:00
Graham Leggett
011142a2af
Landing of mod_ldap - the LDAP cache and connection pooling module.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90321 13f79535-47bb-0310-9956-ffa450edef68
2001-08-18 16:43:27 +00:00