Commit Graph

86 Commits

Author SHA1 Message Date
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Hallvard Furuseth
248dd83add Plug memory leak with dn.regex. Force error for "dn.=pattern". Cleanup. 2008-10-24 18:22:54 +00:00
Hallvard Furuseth
0f22e6bb04 More ITS#5734: Handle empty o_req_ndn. flags=>flags&LDAP_LIMITS_MASK in a test. 2008-10-24 18:16:43 +00:00
Hallvard Furuseth
ee6a9f238e ITS#4467: Fix buffer overflow tests with snprintf / 'unsigned WHATSLEFT'<=0.
Add ptr_APPEND_*. Rename limits_unparse:lm->style, make type/style unsigned.
2008-10-21 19:00:44 +00:00
Hallvard Furuseth
59c4d9fad9 Cleanup:
Add lmpats_out[] to simplify limits2str().  Wrap both in #ifdef LDAP_DEBUG.
Change char *lmpats[] to struct berval[].  Remove always-true compare.
Readability: Add STRSTART, rearrange limits_get, fix comments & long lines.
2008-10-21 18:57:16 +00:00
Hallvard Furuseth
34e8048136 ITS#5734: Search limits by baseDN - limits dn.this="..." 2008-10-21 00:04:44 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
33162c1aef ITS#5230 fix slimit for rootDN w/pagedresults 2007-11-12 08:14:50 +00:00
Pierangelo Masarati
9be22e18bf remove lint (ITS#4878) 2007-03-17 14:22:44 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
16661063d0 silence warnings 2006-05-19 22:37:52 +00:00
Pierangelo Masarati
29af5f93ee fix limits unparse 2006-05-19 22:34:04 +00:00
Pierangelo Masarati
267486bfad fix ITS#4479 2006-04-06 23:48:55 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
4a86a767ab more unparsing buffer overflow cleanup 2005-12-20 15:33:50 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
0de20c028f destroy limits at exit 2005-07-25 20:50:03 +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
Howard Chu
e165806e25 Fix typo, use dn.base instead of dn.exact in unparse 2005-05-10 01:16:21 +00:00
Howard Chu
b6a42fd1a2 Fix prev commit 2005-03-01 23:13:21 +00:00
Howard Chu
58865ccb38 Added general limits retrieval 2005-03-01 23:01:47 +00:00
Howard Chu
58939adc36 Added limits_unparse_one 2005-03-01 21:25:32 +00:00
Pierangelo Masarati
2ed3625a13 fix group limits when objectClass/attribute are provided 2005-01-03 18:09:03 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
47dd8d8732 Dynamic control management 2004-11-23 13:08:45 +00:00
Pierangelo Masarati
d026e2c9f7 preformat "conn=%lu op=%lu" 2004-09-26 23:00:00 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Pierangelo Masarati
d8eff4d1b5 use hard limit instead of returning adminLimitExceeded when requested limit exceeds hard; improve (and document) syntax; modify test025 accordingly 2004-06-22 09:43:41 +00:00
Pierangelo Masarati
445067260e asserts contradict the comment above and are basically wrong 2004-06-22 08:40:53 +00:00
Pierangelo Masarati
eb6dcbe246 fix ITS#3196; more to do 2004-06-21 17:51:28 +00:00
Pierangelo Masarati
120470e1d6 clarify usage for internal searches 2004-06-21 09:10:46 +00:00
Pierangelo Masarati
97f96aaaa6 cleanup limits for internal searches... 2004-06-19 17:07:36 +00:00
Pierangelo Masarati
344edca731 protocol only allows positive integers; remove checks 2004-06-19 10:40:24 +00:00
Pierangelo Masarati
7e833d90a7 implement server side of "max" limit 2004-06-19 10:02:27 +00:00
Pierangelo Masarati
a317f01dc1 improve pagedResults ignoring (hopefully) 2004-06-16 15:26:21 +00:00
Pierangelo Masarati
d1b692ceb4 clarify no limits in (internal) searches 2004-06-12 11:33:21 +00:00
Pierangelo Masarati
d40e5a365a fix DN_SEPARATOR() and clarify its use 2004-05-07 09:03:05 +00:00
Pierangelo Masarati
b34cf02488 more on fixing escaped semicolon in normalized DN 2004-05-07 02:18:08 +00:00
Pierangelo Masarati
dd48690eaa add logs; fix bug in group/dn selection logic 2004-04-17 18:12:37 +00:00
Pierangelo Masarati
249a214ca6 yet another problem in pr limits 2004-04-17 15:42:55 +00:00
Pierangelo Masarati
6624f68725 fix braindead config option (mostly harmless) 2004-04-15 20:27:43 +00:00
Pierangelo Masarati
1f9d280b1a sounds like we're there... 2004-04-15 11:12:01 +00:00
Pierangelo Masarati
165778483b fix paged results limits 2004-04-15 00:18:17 +00:00
Pierangelo Masarati
62198f1c2e re-fix limits checking logic 2004-04-13 20:38:36 +00:00
Pierangelo Masarati
b157f668b7 honor sizelimit requests on the overall count when pagedResults control is used; cleanup and more features 2004-04-09 17:55:21 +00:00
Pierangelo Masarati
2e13fbeea1 completion of limits w/ paged results control 2004-04-09 15:54:46 +00:00
Pierangelo Masarati
36941332a1 improve previous commit; now special limit on the number of total entries of a paged results can be set via the limits. Need to decide whether the default should be unlimited or what 2004-04-09 12:26:34 +00:00
Kurt Zeilenga
c7e89d57be swap be_isroot and be_isroot_dn symbols 2004-04-06 01:06:20 +00:00
Pierangelo Masarati
e516247068 exploit new isroot_dn helper 2004-04-05 17:31:27 +00:00
Pierangelo Masarati
960b5f8656 add sanity checks 2004-03-09 14:45:10 +00:00