Commit graph

213 commits

Author SHA1 Message Date
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
b1a08d565d Support single parameter substitution in filter 2011-09-18 13:24:24 -07:00
Howard Chu
d37b550c4f ITS#6625 ldap_pvt_thread_t's are not necessarily scalar/printable, just
use idx instead. Can be mapped using rtid table if needed (e.g. in gdb)
2011-02-04 23:23:34 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
78a0be6a42 Plug memory leaks 2010-12-20 10:51:14 +00:00
Hallvard Furuseth
042fa7ff9a ITS#6735 Fix uninitialized filter in slapd-tester 2010-12-04 18:58:20 +00:00
Hallvard Furuseth
7c29e2c7c5 ITS#6723: Handle EOF in test programs 2010-11-23 12:12:54 +00:00
Hallvard Furuseth
5dd8cc1015 Warning cleanup
Avoid "cast pointer to int of different size" warning by passing
the int arg to new threads as an offset into rtid/rwtid.
2010-11-22 15:44:11 +00:00
Hallvard Furuseth
c62b0553ad Some cleanup 2010-11-22 15:26:17 +00:00
Howard Chu
11ee5a5212 Fix typo 2010-10-24 00:01:11 +00:00
Howard Chu
0f30db1c46 ITS#6625 concurrency patch from Doug Leavitt @ Oracle .com 2010-10-22 21:45:48 +00:00
Pierangelo Masarati
7aeb00b494 cleanup debug messages 2010-08-29 01:45:14 +00:00
Pierangelo Masarati
15bcbdbc32 extract at least result code 2010-08-29 01:25:36 +00:00
Pierangelo Masarati
ac4b38ac39 tell what child is causing trouble 2010-08-29 01:12:28 +00:00
Pierangelo Masarati
2b3b07da46 add 'swamp' capability to slapd-read, also via slapd-tester 2010-08-28 22:27:34 +00:00
Pierangelo Masarati
5e5b061719 allow to use 'swamp' from slapd-tester 2010-08-28 21:38:47 +00:00
Pierangelo Masarati
6ac38f9cc6 extra 'swamp' modes: -SS start searches and read responses; -SSS start all searches, then read all responses 2010-08-10 05:59:10 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Hallvard Furuseth
c562508af3 Use getopt() 2009-11-29 09:59:22 +00:00
Hallvard Furuseth
725743abdb ITS#5810 Add ldif-filter for LDIF test output, extending scripts/acfilter.sh 2009-11-29 00:03:06 +00:00
Hallvard Furuseth
02fa0b0235 ITS#6345 cleanup: Simplify tester_ignore_err() and tester_ignore_str2err() 2009-10-21 16:46:58 +00:00
Hallvard Furuseth
0d5ac22a2f ITS#6345: Fix tester_ignore_err() cut&paste error (negative array index) 2009-10-21 16:41:21 +00:00
Howard Chu
638cedebb3 ITS#5836 add -S "swamp" mode: send requests without reading replies 2009-07-01 03:19:07 +00:00
Howard Chu
34c537a046 ITS#6005 ber_strdup/ber_dupbv must use ber_memfree 2009-03-08 00:13:48 +00:00
Howard Chu
b4b0f388cb Fix loop init 2009-03-05 19:26:35 +00:00
Howard Chu
bdd28919c1 ITS#5740 liblutil depends on liblber 2009-02-18 00:01:28 +00:00
Pierangelo Masarati
a7ca1bbc68 fix previous (obviously broken) commit 2009-02-10 14:19:17 +00:00
Pierangelo Masarati
017e63119b prefix '*' to only log first occurrence of ignored error 2009-02-10 14:10:58 +00:00
Howard Chu
cb7575d244 ITS#5893 less verbose on expected errors, exit on ServerDown 2009-02-10 11:46:47 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
38946e1a7f fix logs indentation 2008-07-19 11:54:54 +00:00
Howard Chu
67bb145098 Should accept regular LDIF input 2008-04-03 08:50:19 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
4be35d010a Add BindDN, separate LDAP session for searches, sample interval option 2007-12-22 04:41:28 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
2edc5dc11a Streamlined WeightedAuthRate load generator ala SLAMD 2007-10-11 11:06:29 +00:00
Howard Chu
bf33d106fa Must terminate bind tester args list 2007-10-03 07:02:28 +00:00
Pierangelo Masarati
7ea665ae74 fix bind tester arglist 2007-09-26 23:08:38 +00:00
Pierangelo Masarati
1a86e38815 don't leak URL 2007-08-20 22:24:48 +00:00
Pierangelo Masarati
b155fc666c show scope and attrs; check if anything at all is configured 2007-08-20 18:03:44 +00:00
Pierangelo Masarati
6f2d043907 handle exceptions; spotted by coverity 2007-08-16 11:34:55 +00:00
Pierangelo Masarati
df7f9db8ac use URI to configure client; enable attrlist in slapd-search 2007-08-13 16:20:24 +00:00
Pierangelo Masarati
12fa465fd9 ld could be used after ldap_unbind_ext() 2007-03-18 20:44:11 +00:00
Pierangelo Masarati
225e0014eb fix exit code 2007-02-13 23:31:49 +00:00
Howard Chu
a256afcdc3 Exit if no values returned in do_random 2007-02-13 11:25:51 +00:00
Howard Chu
3dc5b417d2 Coverity leak 2007-02-11 12:05:32 +00:00
Hallvard Furuseth
adfaee0245 make sloops, rloops etc. static so their addresses can be used in initializer. 2007-01-11 13:47:29 +00:00
Hallvard Furuseth
3ef684fd04 ctype.h args should be in the range of unsigned char (or EOF). 2007-01-11 12:00:39 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
dd5e44d496 make sure -i propagates correctly 2006-12-03 21:34:24 +00:00
Pierangelo Masarati
dbe9a54ec0 document -I switch 2006-12-03 20:55:52 +00:00
Pierangelo Masarati
2e4ab03f1f revert -I for slapd-bind 2006-12-02 10:25:56 +00:00
Pierangelo Masarati
17296f11e7 add support for extra ops after bind; allow to skip bind for slapd-search/read 2006-11-18 18:25:46 +00:00
Pierangelo Masarati
968da1cb14 add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names 2006-10-14 17:04:17 +00:00
Pierangelo Masarati
c838ce513d initialize random seed; use high-order bits for better randomness 2006-08-25 15:15:13 +00:00
Pierangelo Masarati
7215346d1d fix prev. commit 2006-07-01 18:27:53 +00:00
Pierangelo Masarati
b6693c3632 remove password from command line 2006-07-01 18:22:43 +00:00
Pierangelo Masarati
a9c7c243c1 need to be bound to lookup userPassword; cleanup 2006-07-01 16:45:44 +00:00
Pierangelo Masarati
0e4fae93be further cleanup; fix filter specification for slapd-bind 2006-06-10 15:20:55 +00:00
Pierangelo Masarati
a3167cc8a2 cleanup 2006-06-09 23:13:08 +00:00
Pierangelo Masarati
04b41bd6a4 under development with 2.3, sorry :) 2006-06-09 21:23:36 +00:00
Pierangelo Masarati
0f2601d0da allow selective handling of errors 2006-06-09 09:30:36 +00:00
Pierangelo Masarati
1b23abb108 cleanup testers 2006-06-09 00:11:34 +00:00
Pierangelo Masarati
9e3581ba64 allow to select credentials; allow subtree search 2006-05-14 17:18:55 +00:00
Pierangelo Masarati
484ba6834b allow extra message in errors 2006-04-08 11:01:01 +00:00
Kurt Zeilenga
721e1c87a8 Have slapd-bind reuse LDAP session (no init). 2006-04-06 19:01:08 +00:00
Pierangelo Masarati
7420472b42 warn in case of error 2006-04-05 18:20:00 +00:00
Pierangelo Masarati
ffc69eadde add missing "break" to previous commit 2006-04-05 18:15:30 +00:00
Pierangelo Masarati
582ee9675f silence warning 2006-04-04 21:07:53 +00:00
Pierangelo Masarati
6d357288d6 allow time/size limit errors as soon as some data is returned; don't divide by zero if no entries were found 2006-04-04 17:55:27 +00:00
Pierangelo Masarati
e45d11b42f cleanup "matched" output 2006-04-04 00:04:39 +00:00
Pierangelo Masarati
56aa6ba1f4 only loop for read/search/bind 2006-03-31 21:35:56 +00:00
Howard Chu
9cc5c6295f Plug leaks 2006-03-31 09:18:38 +00:00
Pierangelo Masarati
e5e8a5a597 fix previous commit: count to nreqs or maxkids, whatever is larger 2006-03-28 11:51:40 +00:00
Pierangelo Masarati
f30c613c5f allow attrsonly; allow "random" read 2006-03-28 00:14:11 +00:00
Pierangelo Masarati
9003f3cfa4 make referral chasing optional 2006-03-25 10:13:30 +00:00
Pierangelo Masarati
82d50f40ed don't chase referrals (essentially, because it may cause an endless loop in libldap/request.c:ldap_chase_v3referrals) 2006-03-25 08:10:31 +00:00
Pierangelo Masarati
86941d0c70 improve referral handling 2006-03-23 00:19:09 +00:00
Pierangelo Masarati
e46f2a137c add search capabilities from a selected pool of filters 2006-03-04 19:27:27 +00:00
Pierangelo Masarati
cfa9178822 split operations in inner/outer loops 2006-03-03 16:02:34 +00:00
Pierangelo Masarati
54b621658b refine previous commits 2006-02-07 19:11:51 +00:00
Pierangelo Masarati
1b95d308b9 further cleanup 2006-02-06 22:08:02 +00:00
Pierangelo Masarati
61da1918a6 allow to reuse the same connection for multiple binds 2006-02-04 16:33:12 +00:00
Pierangelo Masarati
cf94f444fc -FF means: log just once 2006-01-21 16:27:15 +00:00
Pierangelo Masarati
4c39d2c5a0 improve tester_ldap_error 2006-01-12 21:26:54 +00:00
Pierangelo Masarati
120916a962 rework tester common error logging and so 2006-01-12 13:01:38 +00:00
Pierangelo Masarati
8f2342f92a fix resource handling 2006-01-09 16:14:26 +00:00
Pierangelo Masarati
feca42277f add bind to stress tests 2006-01-09 14:21:33 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
fcda57e90f use macros instead of numbers... 2005-12-13 20:11:26 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Hallvard Furuseth
a1856adbe0 Fix format %d errors 2005-11-14 14:36:19 +00:00
Howard Chu
e56ab6a720 Use GetTickCount for timing on Windows 2005-11-10 23:58:24 +00:00
Howard Chu
2c8790aafc Add -F force option to continue after bind failures. Use gettimeofday
for better timing resolution.
2005-11-10 23:22:40 +00:00
Pierangelo Masarati
161d648c8e silence warnings & FPE issue 2005-11-06 23:36:29 +00:00
Pierangelo Masarati
e71b45fb69 add missing "-F" option in usage 2005-11-06 23:35:53 +00:00
Pierangelo Masarati
e730640c02 allow a friendly behavior of write stress testers... 2005-11-04 16:17:32 +00:00
Pierangelo Masarati
203525a64b tolerate more error conditions 2005-11-04 15:51:19 +00:00
Pierangelo Masarati
d08257407d gently handle LDAP_UNAVAILABLE for a few times 2005-11-04 14:49:59 +00:00