Howard Chu
e8d95fa072
Fix certificateListValidate parsing of CRL extensions
2009-08-01 00:39:41 +00:00
Howard Chu
d479db53e0
Minor cleanup
2009-07-31 03:26:03 +00:00
Howard Chu
403ee0b62e
Fix, reqcert == ALLOW should ignore cert verification failures
2009-07-31 01:51:34 +00:00
Howard Chu
3f2101198b
ITS#6239 use our own hostname checking for MozNSS
2009-07-31 01:32:51 +00:00
Hallvard Furuseth
02e165258c
Might help ITS#6145: change while to do-while, to make visible that the
...
loop saving malloced data is run at least once.
2009-07-31 00:05:32 +00:00
Howard Chu
d4f2a06887
Check for CN length match as well in chkhost
2009-07-30 21:52:09 +00:00
Hallvard Furuseth
f6c10270d9
Move common Log*() macro code to new macros LogExpand()/LogArg
2009-07-30 21:45:10 +00:00
Hallvard Furuseth
ef0163c198
Fix last commit: C90 rejects declaration after code
2009-07-30 15:34:42 +00:00
Hallvard Furuseth
19b8065922
More ITS#6215: Fix va_arg integer types for ber_scanf "bei" & ber_printf "BX"
2009-07-29 23:03:10 +00:00
Hallvard Furuseth
8b3bb91e93
More ITS#6215: Fix ber_scanf(,"mMvVW",) cleanup on error:
...
Parse args correctly and free up memory.
Also set some lengths=0 and remove unneeded ptr==NULL tests before frees.
2009-07-29 22:38:19 +00:00
Hallvard Furuseth
886520f193
More ITS#6215: Free data to the memory context used to allocate it
2009-07-29 22:10:45 +00:00
Hallvard Furuseth
b6bad3e995
More ITS#6215:
...
Reject indefinite-length format in ber_skip_tag(). localize *len.
Reject broken and too large bitstrings in ber_get_bitstringa().
Simplify a number of functions somewhat - no functionality changes.
Remove unnecessary tests and ber_tag updates after ber_skip_tag().
2009-07-29 21:47:54 +00:00
Hallvard Furuseth
29aa1d07c7
For ITS#6215: No need to maintain ber->ber_usertag except at ber_printf "!"
2009-07-29 17:21:54 +00:00
Hallvard Furuseth
4bed42ae5a
For ITS#6215: Do not expose obsolete Seqorset. Note ber_write(,,,nonzero) is gone.
2009-07-29 17:07:52 +00:00
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