Pierangelo Masarati
fd1efa13d0
fix previous commit (ITS#4861)
2007-03-09 17:24:56 +00:00
Pierangelo Masarati
6a9c44849c
check consistency of referrals and result code (ITS#4861)
2007-03-08 17:57:49 +00:00
Pierangelo Masarati
ff9b674899
cleanup back-meta according to back-ldap
2007-01-28 00:53:11 +00:00
Pierangelo Masarati
ee2370bf42
one more round of cached connections fixes/improvements
2007-01-13 11:51:28 +00:00
Pierangelo Masarati
7bcca30623
better handling of critical conditions
2007-01-08 21:37:45 +00:00
Pierangelo Masarati
671330a051
better async connection and partial error handling
2007-01-07 22:06:13 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Pierangelo Masarati
7e8242d50d
pool privileged connections (ITS#4791)
2006-12-24 18:23:36 +00:00
Pierangelo Masarati
4e11af075f
- add support for "use-temporary-conn" much like back-ldap
...
- fix various connection creation/setup concurrency issues
- use shared connection when always idasserting (similar to ITS#4781)
- reduce the impact of schema mapping when not used (tnx to gprof)
- fix temporary/tainted connection leak in abnormal conditions
2006-12-17 23:52:23 +00:00
Pierangelo Masarati
14e1feed1f
fix leak when 'rebind-as-user' is set (and client searches without prior bind)
2006-11-18 18:02:46 +00:00
Pierangelo Masarati
efb04832bd
rework compare
...
fix several minor issues with using dangling pointers and uninitialized data
fix caching of privileged connections
fix issues with unresponsive target failures during search
2006-11-05 12:05:47 +00:00
Pierangelo Masarati
71bcd4a4b6
s/ldap_int_discard/ldap_pvt_discard/
2006-10-28 18:13:12 +00:00
Pierangelo Masarati
07abb0eb3a
fix concurrency issue when binding before a search; rework and cleanup data structures (remove unused members)
2006-10-28 16:20:59 +00:00
Pierangelo Masarati
6416d83372
add ldap_int_discard(); use it in proxies (ITS#4717)
2006-10-22 20:31:41 +00:00
Pierangelo Masarati
968da1cb14
add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names
2006-10-14 17:04:17 +00:00
Pierangelo Masarati
f8d1a61866
more on clarification of special proxy identities and resilience to connection failure
2006-10-07 18:07:56 +00:00
Pierangelo Masarati
84d6a04c91
improve timeout support (ITS#4157, ITS#4663)
2006-09-04 08:26:09 +00:00
Pierangelo Masarati
906ff0d51a
don't abandon binds in progress; rather unbind (ITS#4663).
...
Better logging for tracing
2006-09-03 11:04:27 +00:00
Pierangelo Masarati
828d55be4d
invalidate idle connection if a candidate target does not respond for the duration of time limit...
2006-08-26 15:24:49 +00:00
Kurt Zeilenga
4ba9bc1c2d
Use LDAP_OTHER to indicate internal error
2006-08-12 21:46:29 +00:00
Pierangelo Masarati
aec9afc4e3
move retry into response handling (fix ITS#4594; partially addresses ITS#4591 as well)
2006-06-17 12:37:45 +00:00
Pierangelo Masarati
a5b520477c
more cleanup for previous commit
2006-06-15 23:43:09 +00:00
Pierangelo Masarati
3ebb40c4dd
port identity assertion to back-meta; share as much code as possible with back-ldap; misc cleanup
2006-06-15 23:12:38 +00:00
Pierangelo Masarati
20542a045f
fix previous commit
2006-06-10 19:47:31 +00:00
Pierangelo Masarati
33d79d1541
fix error mapping
2006-06-10 18:11:52 +00:00
Pierangelo Masarati
bed74c02cc
improve logging
2006-06-10 17:41:55 +00:00
Pierangelo Masarati
ca0184c309
centralize and cleanup bind response handling
2006-06-10 16:33:55 +00:00
Pierangelo Masarati
942ca17669
cleanup resource release
2006-06-08 23:41:02 +00:00
Pierangelo Masarati
740f196548
rework quarantine locking and so
2006-06-07 23:25:38 +00:00
Pierangelo Masarati
53175f7ba6
more concurrency cleanup
2006-06-07 21:54:37 +00:00
Pierangelo Masarati
63d5a939b3
refine (and fix) back-meta handling of search initialization (ITS#4519)
2006-06-02 17:30:15 +00:00
Pierangelo Masarati
a2b7fd279f
cleanup
2006-06-02 15:43:47 +00:00
Pierangelo Masarati
795841b5a4
implement proxy quarantine (ITS#4569)
2006-05-27 19:54:27 +00:00
Pierangelo Masarati
e5c173691d
add cancel strategies (ITS#4560)
2006-05-20 14:29:01 +00:00
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