/[Apache-SVN]/httpd/httpd/trunk/include/util_ldap.h
ViewVC logotype

Log of /httpd/httpd/trunk/include/util_ldap.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 883540 - (view) (annotate) - [select for diffs]
Modified Mon Nov 23 23:17:51 2009 UTC (2 days, 6 hours ago) by trawick
File length: 17814 byte(s)
Diff to previous 831542 (colored)
Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex,
and WatchdogMutexPath with a single Mutex directive.  Add APIs to
simplify setup and user customization of APR proc and global mutexes.  
(See util_mutex.h.)  Build-time setting DEFAULT_LOCKFILE is no longer
respected; set DEFAULT_REL_RUNTIMEDIR instead.

Some existing modules, such as mod_ldap and mod_auth_digest gain 
configurability for their mutexes.

Revision 831542 - (view) (annotate) - [select for diffs]
Modified Sat Oct 31 14:02:04 2009 UTC (3 weeks, 4 days ago) by covener
File length: 17879 byte(s)
Diff to previous 831183 (colored)
Stop trying to set the referral HOP limit on each connection since most SDKs don't seem
to do anything with it, and causes an error on released openldap levels.  

Also moves/remove some macros internal to mod_ldap out of the public header for a major bump.

Reported against APR in PR47501, but httpd shouldn't be asking for the option
by default.


Revision 831183 - (view) (annotate) - [select for diffs]
Modified Fri Oct 30 02:07:45 2009 UTC (3 weeks, 6 days ago) by covener
File length: 18107 byte(s)
Diff to previous 614747 (colored)
add LDAPLibraryDebug directive to mod_ldap to turn on
tracing in underlying LDAP SDK, where all the interesting tidbits
about all kinds of LDAP errors are hidden.

Unfortunately windows doesn't implement this LDAP_OPT.

Revision 614747 - (view) (annotate) - [select for diffs]
Modified Thu Jan 24 00:24:01 2008 UTC (22 months ago) by rederpj
File length: 18045 byte(s)
Diff to previous 614605 (colored)
Reduced the bumpiness (from major to minor) and utilized #defines throughout
(per Ruediger's suggestions). Still looking at the dir merge.


Revision 614605 - (view) (annotate) - [select for diffs]
Modified Wed Jan 23 18:14:41 2008 UTC (22 months ago) by rederpj
File length: 17783 byte(s)
Diff to previous 607766 (colored)
This adds Apache support (taking advantage of the new APR capability)
for ldap rebind callback while chasing referrals. This allows direct
searches on LDAP servers (in particular MS Active Directory 2003+)
using referrals without the use of the global catalog.
This addresses PRs 26538, 40268, and 42557


Revision 607766 - (view) (annotate) - [select for diffs]
Modified Mon Dec 31 19:20:25 2007 UTC (22 months, 3 weeks ago) by covener
File length: 17474 byte(s)
Diff to previous 599164 (colored)
When using the MS SDK, re-establish LDAP backend connections on a
return code of LDAP_UNAVAILABLE as if it were LDAP_SERVER_DOWN.

With this SDK, LDAP_UNAVAIALBLE is returned when the socket had been closed 
between LDAP API calls.

PR 39095


Revision 599164 - (view) (annotate) - [select for diffs]
Modified Wed Nov 28 22:19:00 2007 UTC (23 months, 4 weeks ago) by covener
File length: 17236 byte(s)
Diff to previous 593283 (colored)
Perform all per-LDAP-backend related memory allocations in a standalone pool,
provide a local method to completely remove an LDAP backend connection so
we can someday manage/dispose of extra connections in a reasonable way.

Clarify some commentary around the existing murky close/cleanup API
methods.

Minor bump for new members appended to util_ldap_connection_t, which is not
allocated by consumers of the API.


Revision 593283 - (view) (annotate) - [select for diffs]
Modified Thu Nov 8 20:01:04 2007 UTC (2 years ago) by covener
File length: 17045 byte(s)
Diff to previous 592764 (colored)
while technically uldap_connection_cleanup() does leave an entry in the
connection list, it is fully disconnected before it's put back.  My previous
commentary did more harm then good.




Revision 592764 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 14:43:26 2007 UTC (2 years ago) by covener
File length: 17049 byte(s)
Diff to previous 560373 (colored)
Stop registering a cleanup on each LDAP connection created, this cleanup was
never called because it's registered against pconf in the child. LDAP
connections are created in the child and not shared between children, so no
action should be required at child exit

Additionally, clarify comments around uldap_connection_cleanup()


Revision 560373 - (view) (annotate) - [select for diffs]
Modified Fri Jul 27 20:34:41 2007 UTC (2 years, 4 months ago) by rederpj
File length: 17109 byte(s)
Diff to previous 557772 (colored)
 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]


Revision 557772 - (view) (annotate) - [select for diffs]
Modified Thu Jul 19 21:05:16 2007 UTC (2 years, 4 months ago) by covener
File length: 14935 byte(s)
Diff to previous 555470 (colored)
revert revision 555470

Revision 555470 - (view) (annotate) - [select for diffs]
Modified Thu Jul 12 02:42:44 2007 UTC (2 years, 4 months ago) by covener
File length: 14915 byte(s)
Diff to previous 553013 (colored)
This data is passed in an unsafe way to the LDAP SDK if the compiler 
chooses to use shorts for the enum values.
http://www.redbooks.ibm.com/redbooks/SG245992/nn4/SG245992_88.html

Submitted by: David Jones

Revision 553013 - (view) (annotate) - [select for diffs]
Modified Tue Jul 3 23:02:32 2007 UTC (2 years, 4 months ago) by sctemme
File length: 14935 byte(s)
Diff to previous 535169 (colored)
Use correct Doxygen keywords for functions and variables.  TODO: figure out whether those keywords are actually necessary.  HTML-ify some documentation comments for benefit of Doxygen.

Revision 535169 - (view) (annotate) - [select for diffs]
Modified Fri May 4 11:11:26 2007 UTC (2 years, 6 months ago) by rpluem
File length: 14995 byte(s)
Diff to previous 420983 (colored)
* Add extern "C" linkage to several headers to make it easier to use
  them in C++ code.

PR: 42286
Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: rpluem

Revision 420983 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 20:33:53 2006 UTC (3 years, 4 months ago) by fielding
File length: 14928 byte(s)
Diff to previous 395228 (colored)
update license header text

Revision 395228 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:11:27 2006 UTC (3 years, 7 months ago) by colm
File length: 14781 byte(s)
Diff to previous 263931 (colored)
Update the copyright year in all .c, .h and .xml files

Revision 263931 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 23:03:59 2005 UTC (4 years, 2 months ago) by ianh
File length: 14781 byte(s)
Diff to previous 169705 (colored)
Doxygen fixup / cleanup

submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman


Revision 169705 - (view) (annotate) - [select for diffs]
Modified Wed May 11 22:34:18 2005 UTC (4 years, 6 months ago) by bnicholes
File length: 14721 byte(s)
Diff to previous 159619 (colored)
Add the LDAPVerifyServerCert directive to util_ldap to force
verification of a server certificate when establishing an SSL connection
to the LDAP server

Revision 159619 - (view) (annotate) - [select for diffs]
Modified Thu Mar 31 18:44:16 2005 UTC (4 years, 7 months ago) by bnicholes
File length: 14694 byte(s)
Diff to previous 153390 (colored)
Implement the exported function from mod_ldap(util_ldap) as optional functions so that we can eliminate the load ordering of mod_ldap and mod_authnz_ldap.

Revision 153390 - (view) (annotate) - [select for diffs]
Modified Fri Feb 11 12:22:16 2005 UTC (4 years, 9 months ago) by jorton
File length: 14603 byte(s)
Diff to previous 151408 (colored)
* include/util_ldap.h (util_ldap_state_t): Fix gcc format string
warnings: use a long for connectionTimeout since the code expects a
long.

* modules/ldap/util_ldap.c (compare_client_certs): Make static to fix
gcc missing-prototype warning.

Revision 151408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 20:28:49 2005 UTC (4 years, 9 months ago) by jerenkrantz
File length: 14601 byte(s)
Diff to previous 126565 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 126565 - (view) (annotate) - [select for diffs]
Modified Thu Jan 27 01:13:15 2005 UTC (4 years, 10 months ago) by bnicholes
File length: 14565 byte(s)
Diff to previous 125645 (colored)
Added a new LDAPConnectionTimeout directive to util_ldap so that the socket connection timeout value is configurable.

Revision 125645 - (view) (annotate) - [select for diffs]
Modified Wed Jan 19 19:52:08 2005 UTC (4 years, 10 months ago) by minfrin
File length: 14538 byte(s)
Diff to previous 124279 (colored)
mod_ldap: Updated to use the new apr-util v1.1 apr_ldap_*_option()
API for the setting of server and client SSL certificates. Replaced
LDAPTrustedCA directive with LDAPTrustedGlobalCert and
LDAPTrustedClientCert directives to correctly support global certs
(CA certs / Netware client certs) and per connection client certs
as supported by Netware, OpenLDAP and Netscape/Mozilla.

Revision 124279 - (view) (annotate) - [select for diffs]
Modified Wed Jan 5 21:35:51 2005 UTC (4 years, 10 months ago) by wrowe
File length: 14327 byte(s)
Diff to previous 106103 (colored)
  Correct the order of includes to follow httpd conventions, and get
  Win32 compiling again.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
File length: 14354 byte(s)
Diff to previous 105685 (colored)
general property cleanup

Revision 105685 - (view) (annotate) - [select for diffs]
Modified Thu Nov 4 21:00:00 2004 UTC (5 years ago) by bnicholes
File length: 14354 byte(s)
Diff to previous 104039 (colored)
Add util_ldap_cache_getuserdn() prototype to the util_ldap.h header file

Submitted by:Jari Ahonen [jah progress.com]

Revision 104039 - (view) (annotate) - [select for diffs]
Modified Fri Jun 25 19:56:35 2004 UTC (5 years, 5 months ago) by bnicholes
File length: 12915 byte(s)
Diff to previous 103974 (colored)
Replace the thread reader/writer lock that protects the shared memory cache to a global mutex so that the shared memory is protected across processes.

Revision 103974 - (view) (annotate) - [select for diffs]
Modified Wed Jun 16 23:25:27 2004 UTC (5 years, 5 months ago) by bnicholes
File length: 12851 byte(s)
Diff to previous 103706 (colored)
Enhance the util_ldap cache-info page to display the current contents of the search, compare and dn_compare caches

Revision 103706 - (view) (annotate) - [select for diffs]
Modified Thu May 20 22:41:25 2004 UTC (5 years, 6 months ago) by minfrin
File length: 13235 byte(s)
Diff to previous 102619 (colored)
Overhaul handling of LDAP error conditions, so that the util_ldap_*
functions leave the connections in a sane state after errors have
occurred.
PR: 27748, 17274, 17599, 18661, 21787, 24595, 24683, 27134, 27271
Obtained from:
Submitted by:
Reviewed by:

Revision 102619 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:40:53 2004 UTC (5 years, 9 months ago) by nd
File length: 12733 byte(s)
Diff to previous 102548 (colored)
fix name of The Apache Software Foundation

Revision 102548 - (view) (annotate) - [select for diffs]
Modified Sat Feb 7 19:27:57 2004 UTC (5 years, 9 months ago) by nd
File length: 12729 byte(s)
Diff to previous 102525 (colored)
fix copyright dates according to the first check in

Revision 102525 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 22:58:42 2004 UTC (5 years, 9 months ago) by nd
File length: 12729 byte(s)
Diff to previous 102135 (colored)
apply Apache License, Version 2.0

Revision 102135 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 13:26:26 2004 UTC (5 years, 10 months ago) by nd
File length: 14755 byte(s)
Diff to previous 101789 (colored)
update license to 2004.

Revision 101789 - (view) (annotate) - [select for diffs]
Modified Sun Nov 16 02:22:25 2003 UTC (6 years ago) by jerenkrantz
File length: 14755 byte(s)
Diff to previous 101706 (colored)
Sync with APR-util deprecated functions.

Revision 101706 - (view) (annotate) - [select for diffs]
Modified Thu Nov 6 20:45:56 2003 UTC (6 years ago) by trawick
File length: 14758 byte(s)
Diff to previous 98655 (colored)
mod_auth_ldap: Fix some segfaults in the cache logic.

PR:                18756
Submitted by:      Matthieu Estrade <apache@moresecurity.org>
Reviewed by:       Jeff Trawick

Revision 98655 - (view) (annotate) - [select for diffs]
Modified Fri Feb 14 16:04:01 2003 UTC (6 years, 9 months ago) by bnicholes
File length: 14329 byte(s)
Diff to previous 98573 (colored)
Added support for Novell LDAP SDK and standardized the SSL support across
the various LDAP SDKs.  Isolated the SSL functionality to mod_ldap rather than
speading it across mod_auth_ldap and mod_ldap.  Also added LDAPTrustedCA
and LDAPTrustedCAType directives to allow for a more common method of
specifying the SSL certificate.

Revision 98573 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 17:53:28 2003 UTC (6 years, 9 months ago) by nd
File length: 14381 byte(s)
Diff to previous 97156 (colored)
finished that boring job:
update license to 2003.

Happy New Year! ;-))

Revision 97156 - (view) (annotate) - [select for diffs]
Modified Wed Oct 9 06:48:08 2002 UTC (7 years, 1 month ago) by minfrin
File length: 14381 byte(s)
Diff to previous 96260 (colored)
Change the LDAP modules to export their symbols correctly
during a Windows build. Add dsp files for Windows.
PR:
Obtained from:
Submitted by:	Andre Schild <A.Schild@aarboard.ch>
Reviewed by:

Revision 96260 - (view) (annotate) - [select for diffs]
Modified Wed Jul 31 15:43:15 2002 UTC (7 years, 3 months ago) by trawick
File length: 13389 byte(s)
Diff to previous 96243 (colored)
fix a compile problem in util_ldap.c when APU_HAS_LDAP_NETSCAPE_SSL

PR:                10324

Revision 96243 - (view) (annotate) - [select for diffs]
Modified Tue Jul 30 19:31:35 2002 UTC (7 years, 3 months ago) by trawick
File length: 13389 byte(s)
Diff to previous 96242 (colored)
if APR doesn't support threads, we don't need (and can't have) these
thread mutexes

Revision 96242 - (view) (annotate) - [select for diffs]
Modified Tue Jul 30 18:27:14 2002 UTC (7 years, 3 months ago) by trawick
File length: 13335 byte(s)
Diff to previous 93918 (colored)
untabify

Revision 93918 - (view) (annotate) - [select for diffs]
Modified Wed Mar 13 20:48:07 2002 UTC (7 years, 8 months ago) by fielding
File length: 13130 byte(s)
Diff to previous 93339 (colored)
Update our copyright for this year.

Revision 93339 - (view) (annotate) - [select for diffs]
Modified Fri Feb 8 18:32:50 2002 UTC (7 years, 9 months ago) by bnicholes
File length: 13130 byte(s)
Diff to previous 90775 (colored)
Updated to use the newer locking API's.  This file should probably be moved
to the httpd-ldap with the rest of the auth_ldap stuff.

Revision 90775 - (view) (annotate) - [select for diffs]
Modified Tue Aug 28 23:16:12 2001 UTC (8 years, 3 months ago) by minfrin
File length: 13075 byte(s)
Diff to previous 90336 (colored)
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:

Revision 90336 - (view) (annotate) - [select for diffs]
Modified Sat Aug 18 19:18:12 2001 UTC (8 years, 3 months ago) by minfrin
File length: 12868 byte(s)
Diff to previous 90323 (colored)
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:

Revision 90323 - (view) (annotate) - [select for diffs]
Added Sat Aug 18 16:52:02 2001 UTC (8 years, 3 months ago) by minfrin
File length: 12359 byte(s)
Oops - left off the apr_ldap.h file in the commit.
PR:
Obtained from:
Submitted by:
Reviewed by:

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2