Paul J. Reder
ca8e9d2988
A couple of cleanups to the nested group code based on review comments.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@562165 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 16:17:17 +00:00
Paul J. Reder
cc4a706e61
mod_ldap, mod_authnzldap: Add support for nested groups (i.e. the ability
...
to authorize an authenticated user via a "require ldap-group X" directive
where the user is not in group X, but is in a subgroup contained in X.
PR 42891 [Paul J. Reder]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@560373 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 20:34:41 +00:00
Roy T. Fielding
de659cbed0
update license header text
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:33:53 +00:00
Roy T. Fielding
778fd134e0
revert accidental copyright year changes
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395423 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 23:03:26 +00:00
Colm MacCarthaigh
dd95d7c37c
Update the copyright year in all .c, .h and .xml files
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 12:11:27 +00:00
Jim Jagielski
b72e610410
No functional change: more indenting/formatting changes due to
...
tabbing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332316 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 16:03:23 +00:00
Jim Jagielski
5061d9fa92
No functional Change: Removing trailing whitespace. This also
...
means that "blank" lines consisting of just spaces or
tabs are now really blank lines
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:11:44 +00:00
Joe Orton
d8af9c446c
* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_display): Replace
...
ap_rputs(apr_psprintf(...)) with simpler ap_rprintf(...).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225797 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 15:13:51 +00:00
Joe Orton
3bf62178e5
* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert,
...
util_ald_cache_remove, util_ald_cache_fetch): Always use "unsigned
long" for hash values, for consistency.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225749 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 10:52:52 +00:00
Joe Orton
9a76da4fef
* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert): Fix a
...
cache corruption case: ensure that there is room in the cache for a
copy of the payload before inserting the node.
PR: 34209
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225746 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 10:45:59 +00:00
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
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
Bradley Nicholes
8ace27ccb1
Don't display the cache statistics if the node is empty
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105629 13f79535-47bb-0310-9956-ffa450edef68
2004-10-30 04:49:58 +00:00
Graham Leggett
74fd534f2b
mod_ldap: prevent the possiblity of an infinite loop in the LDAP
...
statistics display.
PR: 29216
Obtained from:
Submitted by: Graham Leggett
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105373 13f79535-47bb-0310-9956-ffa450edef68
2004-10-03 16:24:53 +00:00
Graham Leggett
b38e066be4
Remove the second initialisation of the variable to NULL. It is already
...
NULL in the definition.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105253 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 16:50:29 +00:00
Graham Leggett
f95b63e596
Fix a segfault in the LDAP cache purge.
...
PR:
Obtained from:
Submitted by: Jess Holle <jessh ptc.com>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105206 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 23:00:25 +00:00
Joe Orton
2661e2869d
* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_display): Return
...
empty string on error path.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105107 13f79535-47bb-0310-9956-ffa450edef68
2004-09-13 11:11:32 +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
4336ca8e14
Missed this one when I removed the other ldap files.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91509 13f79535-47bb-0310-9956-ffa450edef68
2001-10-16 21:37:33 +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
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
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