Commit Graph

223 Commits

Author SHA1 Message Date
Howard Chu
7549abb063 Better fix for prev 2009-02-27 01:31:31 +00:00
Howard Chu
6345812f49 More for prev commit 2009-02-27 01:28:22 +00:00
Howard Chu
755e645da3 ITS#5977 strip duplicates out of sorted attrs 2009-02-27 01:22:23 +00:00
Howard Chu
384f23f59d ITS#5959, cleanup 2009-02-20 02:01:07 +00:00
Howard Chu
1e4060891f ITS#5959 just drop illegal values, keep remainder if any. fix a_numvals. 2009-02-20 01:48:19 +00:00
Howard Chu
4e09f864a9 ITS#5959 drop attrs with illegal values 2009-02-19 02:05:28 +00:00
Pierangelo Masarati
8fa2f07531 do not let entryDN,subschemaSubentry slip into results when mapped out (ITS#5760) 2009-02-14 14:13:46 +00:00
Pierangelo Masarati
5d78ca3c6a fix previous commit (and ITS#5931: now back-meta allows to proxy syncrepl) 2009-02-10 14:08:16 +00:00
Pierangelo Masarati
899398b937 partially addresses an issue with ITS#5931: intermediate responses seem to be handled, as well as entries with controls; syncrepl does not work yet 2009-02-10 13:58:09 +00:00
Pierangelo Masarati
911b5fd42e do not assert when receiving intermediate response (partial fix to ITS#5931) 2009-02-09 14:55:56 +00:00
Pierangelo Masarati
bdb121c967 discard attribute values if attribute name cannot be parsed (ITS#5927) 2009-02-07 15:09:18 +00:00
Howard Chu
2b08e96b53 ITS#5916 - externally callable functions are ldap_pvt, not ldap_int. 2009-02-02 21:14:34 +00:00
Pierangelo Masarati
0ded1f16d5 Allow alias dereferencing in search C API; use new API in proxy backends (ITS#5916) 2009-01-31 10:27:07 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
549455c6c6 fix alias deref in case of retry (ITS#5889) 2009-01-21 08:55:48 +00:00
Pierangelo Masarati
969a0aef0e canonicalize undef objectClass names (much like attributes; ITS#5681) 2008-09-04 08:05:17 +00:00
Pierangelo Masarati
c6f12694fc allow proxies to filter out search references (ITS#5593) 2008-07-07 21:25:59 +00:00
Pierangelo Masarati
a4d14fb2ef missing numvals (ITS#5481) 2008-04-21 16:43:50 +00:00
Pierangelo Masarati
2df4675ac3 don't set sm_nvalues unless required (ITS#5375) 2008-02-14 15:15:53 +00:00
Howard Chu
f481ffef9c ITS#5355 use bi_extra instead of calling directly into back-ldap 2008-02-08 02:01:17 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Pierangelo Masarati
9a00bbb35f add support for session tracking (draft-wahl-ldap-sessio) to proxy backends requests 2007-08-22 15:49:35 +00:00
Pierangelo Masarati
f7a6c4360c defer thread key retrieve as it might not be needed 2007-08-16 10:05:21 +00:00
Pierangelo Masarati
5ec09e2f0a merge attributes as required after mapping; avoid objectClass duplicates (ITS#5091) 2007-08-14 11:46:29 +00:00
Pierangelo Masarati
55bd34079c return entry controls (partially fixes ITS#4591) 2007-07-30 16:32:59 +00:00
Pierangelo Masarati
a28eb7817a fix cleanup 2007-03-14 01:05:42 +00:00
Pierangelo Masarati
6a9c44849c check consistency of referrals and result code (ITS#4861) 2007-03-08 17:57:49 +00:00
Pierangelo Masarati
e5ebfe6662 improve async connect handling in case of errors 2007-02-21 22:22:14 +00:00
Pierangelo Masarati
6155d91143 don't return adminLimitExceeded unless LDAPv3; use largest among candidates timeouts 2007-01-26 01:59:30 +00:00
Pierangelo Masarati
cf226fb029 implement search timeout when the remote server does not respond in the specified timeout 2007-01-26 01:39:05 +00:00
Pierangelo Masarati
814b8a1438 don't bail out if all targets are too lazy... 2007-01-18 01:13:39 +00:00
Pierangelo Masarati
ee2370bf42 one more round of cached connections fixes/improvements 2007-01-13 11:51:28 +00:00
Pierangelo Masarati
3042c57ac0 allow forcing abandon of search operations on a connection basis 2007-01-09 12:19:04 +00:00
Pierangelo Masarati
7bcca30623 better handling of critical conditions 2007-01-08 21:37:45 +00:00
Pierangelo Masarati
3c012a606b fix response code mapping 2007-01-08 00:13:28 +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
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
c89d0db64f fix deadlock in case of bind error; propagate error as appropriate 2006-12-02 17:09:20 +00:00
Pierangelo Masarati
8326ac21b1 add "report" to "onerr" modes: continue a search in case one target returns an error, and only propagate the error at the end 2006-11-23 23:50:36 +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
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
0aebe8af08 rework timeout strategy a little bit 2006-10-21 18:57:27 +00:00
Pierangelo Masarati
f449ee6500 cleanup and streamline response handling 2006-10-14 17:12:05 +00:00
Pierangelo Masarati
968da1cb14 add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names 2006-10-14 17:04:17 +00:00
Pierangelo Masarati
b1a2be99c6 don't mix return codes (ITS#4711) 2006-10-14 09:26:22 +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
b769f44619 fix ITS#4686 (retry with idassert) 2006-09-26 15:12:07 +00:00