1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-05 05:30:39 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
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
William A. Rowe Jr
e8f3249f5d Catch up for Win32 to authnz_ldap changes, and make win32's module
for util_ldap features named mod_ldap.so as on Unix.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104921 13f79535-47bb-0310-9956-ffa450edef68
2004-08-31 20:11:35 +00:00
Bradley Nicholes
abb23e5ee7 Preserve the return value from the apr_stat() call so that it can be displayed in the error log message. (Done right this time)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104820 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 16:46:55 +00:00
Bradley Nicholes
ca11a13fc3 Preserve the return value from the apr_stat() call so that it can be displayed in the error log message.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104817 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 15:24:51 +00:00
Bradley Nicholes
85b153052e Since OpenLDAP doesn't validate the certificate until it tries to use it, at lease make sure that the file path is good during configuration.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104776 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 23:25:12 +00:00
Bradley Nicholes
1dc216e2fe Fix a few references to mod_auth_ldap to be mod_authnz_ldap
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104749 13f79535-47bb-0310-9956-ffa450edef68
2004-08-20 16:54:19 +00:00
Bradley Nicholes
8c9b218b6b Clean up some compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104727 13f79535-47bb-0310-9956-ffa450edef68
2004-08-19 18:08:19 +00:00
Bradley Nicholes
f7dedf957b Add build files for the util_ldap module
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104726 13f79535-47bb-0310-9956-ffa450edef68
2004-08-19 18:02:58 +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
Cliff Woolley
48af4749de Get rid of an old .cvsignore file so this directory will get pruned
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91656 13f79535-47bb-0310-9956-ffa450edef68
2001-10-23 23:49:59 +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
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
Martin Kraemer
e811bc50a1 Use uniform wrapping for unistd.h, and don't include it if it's aready included via fileio.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90491 13f79535-47bb-0310-9956-ffa450edef68
2001-08-22 15:40:29 +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
0862fbcad8 Fixed LDAP cleanup on graceful restarts. LDAP connections are now
cleaned up when the connection pool pool is cleaned up.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90336 13f79535-47bb-0310-9956-ffa450edef68
2001-08-18 19:18:12 +00:00
Graham Leggett
f428511028 Add a missing .cvsignore file.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90333 13f79535-47bb-0310-9956-ffa450edef68
2001-08-18 17:53:16 +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