Commit Graph

401 Commits

Author SHA1 Message Date
Pierangelo Masarati
0f1023b6c7 pedantic cleanup 2006-04-06 23:55:09 +00:00
Pierangelo Masarati
674c98fa7d honor stop on error 2006-04-04 19:48:22 +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
2e9f2995ec only wait if no entry was returned 2006-04-04 17:41:13 +00:00
Pierangelo Masarati
79df3e9c3c don't add unnecessary message 2006-04-03 22:06:12 +00:00
Pierangelo Masarati
14cbf4bc3e make sure an invalid connection is always released as appropriate 2006-04-03 21:56:30 +00:00
Pierangelo Masarati
aecfb85793 immediately return sizelimitExceeded if appropriate 2006-04-03 21:14:14 +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
3160c03dab cleanup previous commit 2006-03-23 23:01:14 +00:00
Pierangelo Masarati
3437406a0b honor "chase-referrals no" (ITS#4447) 2006-03-23 21:01:19 +00:00
Pierangelo Masarati
a3f4f0b2db map result codes as required (ITS#4419) 2006-03-02 00:35:12 +00:00
Pierangelo Masarati
41f963644c be conservative in reading subtree-exclude 2006-02-16 23:37:42 +00:00
Pierangelo Masarati
af0d2b1d2a add support for "subtree-exclude" 2006-02-16 01:26:39 +00:00
Kurt Zeilenga
cbc11c9233 unifdef -DLDAP_NULL_IS_NULL 2006-02-14 23:18:12 +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
6275c6ecdc make sure no invalid candidate gets used (had a core for i == META_TARGET_MULTIPLE) 2006-02-07 18:51:47 +00:00
Pierangelo Masarati
54aefe30f7 implement proxy long-lived connection TTL 2006-02-01 23:10:12 +00:00
Kurt Zeilenga
f5b9ff7940 unifdef -DSLAPD_CONF_UNKNOWN_BAILOUT -DSLAPD_CONF_UNKNOWN_IGNORED=""
-DSLAPD_DEBUG_CONFIG_ERROR=LDAP_DEBUG_ANY
2006-01-24 04:40:01 +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
Pierangelo Masarati
090945b89e allow proxying of dynamic objects (irrespective of the support provided to dynamic objects); but back-meta does not support extended ops yet... 2006-01-06 17:08:06 +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
8346de462b silence warning 2005-12-20 20:36:05 +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
361a97108b minor cleanup 2005-12-12 14:33:34 +00:00
Pierangelo Masarati
e113e18bb6 more about sizelimit disclose issue in back-meta (ITS#4213) 2005-12-11 23:39:09 +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
Kurt Zeilenga
48cb85865d Remove some unnecessary #ifdefs 2005-11-26 07:38:18 +00:00
Pierangelo Masarati
b3c8a976ec use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings 2005-11-25 22:17:24 +00:00
Pierangelo Masarati
ea83f6a669 check sizelimit in frontend (ITS#4213) 2005-11-25 00:28:33 +00:00
Pierangelo Masarati
ce367bcc25 use friendly form for timeouts 2005-11-24 21:21:27 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
0fd295a321 first round of number/time parsing fixes 2005-11-23 17:29:16 +00:00
Pierangelo Masarati
e83f0f900b set the berval length\! (ITS#4196) 2005-11-22 12:13:07 +00:00
Pierangelo Masarati
133a673e65 don't return matchedDN in the case described in ITS#4195 2005-11-22 11:13:14 +00:00
Pierangelo Masarati
4852bf8a58 don't care about empty matched/text #ifdef LDAP_NULL_IS_NULL 2005-11-20 01:59:26 +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
af23be3675 silence warnings... 2005-11-14 21:47:17 +00:00
Pierangelo Masarati
1145840994 remove from AVL before freeing... 2005-11-09 03:28:55 +00:00
Pierangelo Masarati
4cab386d13 backport write operation timeouts from back-meta to back-ldap; minor cleanup & silence warnings 2005-11-06 23:29:10 +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
acb17be789 fix size/time limit (ITS#4145) 2005-11-04 12:42:39 +00:00
Pierangelo Masarati
0207dcd3f9 import leak plug from slapo-rwm 2005-11-03 15:20:33 +00:00
Pierangelo Masarati
ac6b3e1415 don't leak massaged referral DN 2005-11-03 14:06:26 +00:00
Pierangelo Masarati
3cb2bc0c56 various cleanup 2005-11-01 16:36:17 +00:00
Pierangelo Masarati
cedb88c373 eat up values of removed attrs 2005-11-01 13:42:51 +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
cfa2eefe3c fix previous commit 2005-10-25 14:50:05 +00:00
Pierangelo Masarati
8a5a1ab39f fix handling of invalid DN-valued attrs (ITS#4107) 2005-10-24 20:22:08 +00:00
Pierangelo Masarati
a16521ed4e fix error message for invalid "uri" args 2005-10-15 12:33:04 +00:00
Pierangelo Masarati
b48ace2dfe more about ITS#4086: fix back-meta as well 2005-10-14 00:43:23 +00:00
Pierangelo Masarati
644d9000f9 fix ITS#4073 2005-10-10 14:54:14 +00:00
Pierangelo Masarati
97614859be fix ITS#4071 2005-10-08 19:39:56 +00:00
Pierangelo Masarati
ada7954667 deal with the case a pseudorootn is not defined 2005-10-01 18:31:14 +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
Hallvard Furuseth
05f5c7525b Fix snprintf() format 2005-09-26 04:39:51 +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
e2c9c843e1 fix previous commit; cleanup few 64 bit issues 2005-09-24 17:09:19 +00:00
Pierangelo Masarati
ae0b39e3cc use result of validation (ITS#4028) 2005-09-19 09:06:29 +00:00
Pierangelo Masarati
9129a2f7ee silence warnings 2005-09-10 18:59:35 +00:00
Pierangelo Masarati
a1ff59f436 pretty the DN as well 2005-09-06 17:19:36 +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
4ba83103d9 fix test before releasing resources (ITS#3990) 2005-08-31 15:11:25 +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
7a85e25402 prettify matchedDN 2005-08-28 14:50:41 +00:00
Pierangelo Masarati
39998dfe8d prettify matchedDN; fix memory handling 2005-08-27 19:21:43 +00:00
Howard Chu
4cc7efdadc Revert ITS#3577 patch, breaks Windows build and not needed in RE23. 2005-08-26 02:20:45 +00:00
Pierangelo Masarati
6cb8b14435 allow undefined attrs to be "proxied" (ITS#3959) 2005-08-25 21:14:26 +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
ec1042b19e allow a minimal timeout in compares 2005-08-22 09:42:26 +00:00
Pierangelo Masarati
e5d302e84f normalize/pretty attributes when possible 2005-08-20 11:31:07 +00:00
Pierangelo Masarati
9c02a32b7c more about matchedDN in back-meta (ITS#3944) 2005-08-18 14:55:28 +00:00
Pierangelo Masarati
11211d0dae strip entryDN from search entries; frontend will reattach it :( 2005-08-18 11:26:29 +00:00
Pierangelo Masarati
557f5eb2ca allow noUserMod attrs write proxying when manageDIT is set (still to work in frontend for add) 2005-08-17 19:40:02 +00:00
Pierangelo Masarati
99ea177e05 implement overlapping targets enhancement (ITS#3711) 2005-08-17 08:34:49 +00:00
Pierangelo Masarati
76f52279ef fix "matched" return and return code (ITS#3944) 2005-08-17 08:25:48 +00:00
Pierangelo Masarati
24befe380c fix resources release issue 2005-08-17 08:25:10 +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
8fdfe1fcd0 plug yet another one-time leak 2005-08-07 16:45:13 +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
ac590d6b55 fix previous commit 2005-07-19 18:03:06 +00:00
Pierangelo Masarati
c5c0c3e4f5 fix previous commit (ITS#3871) 2005-07-19 14:25:10 +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
54a0c02c3d implement per-target, per-operation timeouts 2005-07-19 00:43:38 +00:00
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00