Commit Graph

18418 Commits

Author SHA1 Message Date
Hallvard Furuseth
36d2dc034d More ITS#6215 -
Speedup & less memory allocation:
  Simplify the work to encode tag, length, integer/enum, sequence/set.
  Drop struct seqorset and allocations of it.  Replace BerElement.ber_sos.
  Drop ber_write(,,,nonzero) support. Callers, if any, need to be rewritten.
  Make ber_log_sos_dump() and ber_sos_dump() stubs, they could no longer work.
Fix ber_write() buffer overrun after ber_start_seqorset().
Check overflow and max sizes, e.g. for functions returning int size.
Some cleanup, and handwaves in the direction of supporting CHAR_BIT>8.
Add/fix comments and a few descriptive types/macros.
2009-07-29 16:49:42 +00:00
Hallvard Furuseth
53f884ac1d Remove useless asserts that will be re-assert()ed before the variable is used 2009-07-29 15:06:28 +00:00
Hallvard Furuseth
12a6f3e055 ITS#6215: Fix buffer overrun and write through NULL pointer 2009-07-29 14:57:09 +00:00
Howard Chu
8a0284cf04 ITS#5946 always allow mirrormode to be set to FALSE 2009-07-29 09:21:50 +00:00
Howard Chu
bf69b8e065 ITS#5942 consolidate server URL match to config_check_my_url().
In syncrepl, assume consumer pointing to same server but different
searchbase is OK otherwise ignore config.
2009-07-29 09:04:39 +00:00
Howard Chu
850e4ae0d3 Use distribution hints in searches 2009-07-29 00:58:46 +00:00
Howard Chu
82874bed6e ITS#6233 don't advance ptr after storing final NUL. 2009-07-28 22:04:13 +00:00
Howard Chu
016c518652 ITS#6230 fix typos 2009-07-27 18:54:56 +00:00
Howard Chu
82e95f8091 Change AttributeName.an_oc_exclude to an_oc_flags, avoid multiple
futile searches for OC matches.
2009-07-26 00:14:15 +00:00
Howard Chu
25a06ddd43 ITS#6228 fix typo 2009-07-25 23:37:24 +00:00
Howard Chu
2405153aab fix typo in prev commit 2009-07-25 07:19:21 +00:00
Howard Chu
fae08a375a ITS#6222 dncache is now unlimited by default (reverting to RE23 behavior) 2009-07-25 07:17:52 +00:00
Howard Chu
474991afdf ITS#6222 dncachesize defaults to 0 == unlimited 2009-07-25 07:13:50 +00:00
Howard Chu
46feff08ca ITS#6222 need to support unsigned long args too 2009-07-25 06:47:00 +00:00
Howard Chu
addb1320a4 More cleanup 2009-07-25 00:09:56 +00:00
Howard Chu
48ffbcce3c Minor cleanup 2009-07-25 00:06:46 +00:00
Pierangelo Masarati
e9f1452624 test whether the current entry matches the current uri filter (ITS#6077); also, don't leak DN when adding a base fails 2009-07-24 22:00:53 +00:00
Howard Chu
6b07fdbb22 Revert prev commit, agi_mutex is needed sometimes. Need to eliminate the
unnecessary cases still.
2009-07-24 07:12:02 +00:00
Howard Chu
70981a30d9 Delete unnecessary agi_mutex 2009-07-24 06:59:40 +00:00
Howard Chu
c02131a8b8 Fix db_open, delete unused variables. More cleanup is needed. 2009-07-24 06:47:05 +00:00
Howard Chu
048f24150f ITS#6145 free/close before exit 2009-07-22 07:19:41 +00:00
Howard Chu
e0bcb7b571 ITS#4643 never use native getpass(), it's deprecated/unsafe 2009-07-22 06:34:37 +00:00
Howard Chu
e08e89d6a7 ITS#6214 use the main thread's context so cleanup can occur 2009-07-22 04:39:57 +00:00
Howard Chu
553f0f2ffd ITS#6220 don't check write timeouts when global_writetimeout isn't set 2009-07-21 02:04:46 +00:00
Ralf Haferkamp
3ebee592e0 Missing #include 2009-07-17 16:21:14 +00:00
Pierangelo Masarati
40f785f62a check the value of the olcSubordinate attribute 2009-07-16 15:41:05 +00:00
Pierangelo Masarati
7a553ddae8 subordinate needs a suffix (ITS#6216) 2009-07-16 15:28:22 +00:00
Ralf Haferkamp
22083ce459 Should work now when using custom SLAPD_BASEPORT setting (ITS#6213) 2009-07-14 13:35:56 +00:00
Howard Chu
d45c01c008 External vars need to be wrapped for Windows 2009-07-14 00:52:45 +00:00
Howard Chu
db3610ce26 Add sssvlv overlay 2009-07-13 18:56:03 +00:00
Howard Chu
5e29929490 cleanup space/tab 2009-07-13 18:46:36 +00:00
Howard Chu
bde3a4ffcb Add vlv error code 2009-07-13 18:45:43 +00:00
Howard Chu
e7df19fd5a Add sssvlv overlay 2009-07-13 15:45:49 +00:00
Howard Chu
61339a7f7f sssvlv and seqmod should be off by default 2009-07-13 15:45:25 +00:00
Howard Chu
5f211a7dcc Fix handling for empty results 2009-07-13 15:22:46 +00:00
Howard Chu
eab5b9570a Fix result when no VLV match 2009-07-13 15:15:27 +00:00
Howard Chu
783dc77df7 Minor cleanup 2009-07-13 15:00:19 +00:00
Howard Chu
be670c17b2 Add sssvlv 2009-07-13 14:45:54 +00:00
Howard Chu
28b38306c6 Add sssvlv overlay 2009-07-13 14:27:04 +00:00
Howard Chu
aa316f10fe Add sssvlv config 2009-07-13 14:20:31 +00:00
Howard Chu
2ca1c1d916 Add sssvlv to build system 2009-07-13 13:35:30 +00:00
Howard Chu
9bf0a04910 Added VLV support 2009-07-13 13:33:01 +00:00
Howard Chu
789dad4d00 ITS#6203 fix startup 2009-07-13 13:24:12 +00:00
Howard Chu
c401792c20 Fix prev commit 2009-07-13 13:14:07 +00:00
Howard Chu
91dc4501d4 Add VLV Error 2009-07-13 13:13:38 +00:00
Howard Chu
8f336e9107 Add VLV support 2009-07-13 12:41:02 +00:00
Howard Chu
2e4da3f9ee More VLV stuff 2009-07-13 12:40:35 +00:00
Howard Chu
d0bbd6d510 vlv implemented, untested 2009-07-13 10:59:09 +00:00
Howard Chu
dbc0fdba58 csnOrderingMatch should have a normalizer 2009-07-13 09:39:39 +00:00
Howard Chu
f11b45063d Undef SLAP_CONTROL_X_SORTEDRESULTS, use sssvlv overlay now.
Will unifdef all relevant code later...
2009-07-13 08:43:06 +00:00