Commit Graph

104 Commits

Author SHA1 Message Date
Pierangelo Masarati
9b388e5328 fix cleanup concurrency 2006-05-17 01:34:46 +00:00
Pierangelo Masarati
3b7084c170 reset the conn field in the cached connection if the bound DN is privileged (ITS#4547) 2006-05-15 01:42:05 +00:00
Pierangelo Masarati
1c16fa382a line up back-meta to ITS#4546 2006-05-14 18:10:23 +00:00
Pierangelo Masarati
87ba3eb8b0 refine previous commits (don't leave bindings around) 2006-05-12 19:25:31 +00:00
Pierangelo Masarati
373ded8d24 add URI list resorting feature (ITS#4524) 2006-05-06 16:15:25 +00:00
Pierangelo Masarati
23c766bbfd make sure NULL pointers are not dereferenced 2006-05-04 22:07:35 +00:00
Pierangelo Masarati
45b378c753 don't muck with freed memory (spotted by valgrind) 2006-05-03 18:54:04 +00:00
Pierangelo Masarati
e01743193d more coverity issues 2006-04-14 00:17:27 +00:00
Pierangelo Masarati
8c1b8d3f7b actually, if a connection is already in the AVL tree, use it if not binding; otherwise use a tainted one; taint connections that must be freed when refcnt goes to zero 2006-04-07 01:28:56 +00:00
Pierangelo Masarati
e21f57cf05 complete previous commit (protect binds) 2006-04-04 18:45:59 +00:00
Pierangelo Masarati
543396c804 make sure only on bind at a time occurs; release resources only when appropriate 2006-04-04 17:41:50 +00:00
Pierangelo Masarati
c853ba1f0e more on recovery (ITS#4429) 2006-04-03 00:32:59 +00:00
Pierangelo Masarati
46cb141185 seems to fix the equivalent of ITS#4429 in back-meta; had to give up per-target conn-ttl and idle-timeout 2006-04-01 18:56:39 +00:00
Pierangelo Masarati
53c40fac27 rework connection handling on multiple binds with the same connection 2006-02-11 17:40:28 +00:00
Pierangelo Masarati
d168b49464 make back-meta conform with man page 2006-01-14 15:28:28 +00:00
Pierangelo Masarati
9795721f7a improve back-meta retry capabilities (ITS#4328) 2006-01-11 19:33:44 +00:00
Pierangelo Masarati
543c588772 don't send error with back-meta 2006-01-09 15:13:29 +00:00
Pierangelo Masarati
6995603a3d refine fix to ITS#4315; apply it to back-meta as well 2006-01-09 14:20:37 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
8d4418b044 fix handling of bind-timeout 2005-12-21 17:28:27 +00:00
Pierangelo Masarati
fcda57e90f use macros instead of numbers... 2005-12-13 20:11:26 +00:00
Pierangelo Masarati
bd975514de add (and document) customizable bind-timeout 2005-12-12 15:57:58 +00:00
Pierangelo Masarati
1b42fde372 implement (per-target) per-conn proxy-side idle-timeout (ITS#4115); revitalize (per-target) network-timeout in back-meta; fix issue with connection initialization error in ldap_back_retry(); cleanup configuration of back-ldap 2005-12-07 17:35:02 +00:00
Pierangelo Masarati
5f8f4554ff cleanup 2005-12-05 15:21:49 +00:00
Pierangelo Masarati
7fa4b159bf fix dangling resources issue in slapd-ldap; completely rework slapo-chain to fix the resource leak/concurrency issue; add support for multiple well-known URIs to set credentials for, and deal with unknown URIs anonymously; similar reworking and cleanup for slapd-meta 2005-11-19 15:00:50 +00:00
Pierangelo Masarati
852e4e3109 allow per-target retry in searches; taint invalid connections; don't massage the pseudorootdn (ITS#4150) 2005-11-05 14:44:43 +00:00
Pierangelo Masarati
3cb2bc0c56 various cleanup 2005-11-01 16:36:17 +00:00
Pierangelo Masarati
d3f33d8139 better fix: in case of error during bind, just bail out (very conservative, though) 2005-11-01 11:00:55 +00:00
Pierangelo Masarati
e60d7c7f24 fix incorrect bind error (ITS#4129) 2005-11-01 09:47:30 +00:00
Pierangelo Masarati
67397c46be do not return success; frontend already does (ITS#4122) 2005-10-29 12:49:57 +00:00
Pierangelo Masarati
01bb0fa1ea plug selected leaks resulting from ITS#4056 & ITS#4057 implementation; may need further cleanup and reworking to streamline a bit 2005-10-01 18:07:00 +00:00
Pierangelo Masarati
112be0118e cleanup states/timeout handling in back-ldap/meta; add connection pooling and defer of pseudoroot bind to back-meta 2005-09-24 18:39:26 +00:00
Pierangelo Masarati
85e56eb653 don't lookup rootdn if the password is incorrect (ITS#4004) 2005-09-06 12:35:37 +00:00
Pierangelo Masarati
a2ea1edb48 save target errors for later evaluation 2005-08-31 01:55:34 +00:00
Pierangelo Masarati
093994cfd5 further refine previous commit 2005-08-30 23:55:15 +00:00
Pierangelo Masarati
6ff4357427 fix previous commit 2005-08-30 21:21:32 +00:00
Pierangelo Masarati
b86467e0f8 cleanup previous commit (thanks to Hallvard) 2005-08-30 10:36:24 +00:00
Pierangelo Masarati
39998dfe8d prettify matchedDN; fix memory handling 2005-08-27 19:21:43 +00:00
Pierangelo Masarati
b90daf83f9 honor onerr on bind 2005-08-25 08:55:55 +00:00
Pierangelo Masarati
075220dd7e need some minimal timeout otherwise strange issues occur 2005-08-22 18:14:41 +00:00
Pierangelo Masarati
c4ab7b1af2 in some cases, back-meta needs to propagate pseudo-root identity even if it's not the authorizing backend 2005-08-17 08:19:37 +00:00
Pierangelo Masarati
fa27310d77 use trylock only where necessary 2005-08-07 00:35:11 +00:00
Pierangelo Masarati
fe2492309a improve messages 2005-07-21 08:54:04 +00:00
Pierangelo Masarati
882f43bf01 more about rewrite leaks 2005-07-19 14:24:26 +00:00
Pierangelo Masarati
efe74fbae0 fix yet another leak 2005-07-19 11:16:24 +00:00
Pierangelo Masarati
754a059951 fix concurrency issues 2005-07-04 22:41:54 +00:00
Pierangelo Masarati
a215fdea66 a bit more reworking and streamline; the change to the LAST_CONN test seems to eliminate the last LDAP_BUSY problems on the only machine that was showing it yet; please test 2005-05-05 17:34:11 +00:00
Pierangelo Masarati
4d9750afb5 honor T-F filters (ITS#3706) and lots of cleanup 2005-05-04 23:57:55 +00:00
Pierangelo Masarati
137e46059c don't return client API error if the server is down... 2005-04-30 17:54:35 +00:00
Pierangelo Masarati
58a358e7b2 more cleanup in handling timeouts in ldap_result() 2005-04-26 21:48:43 +00:00