]>
git.sur5r.net Git - openldap/log
Howard Chu [Sat, 1 Aug 2009 01:11:15 +0000 (01:11 +0000)]
Fix attributeCertificateValidate
Howard Chu [Sat, 1 Aug 2009 00:39:41 +0000 (00:39 +0000)]
Fix certificateListValidate parsing of CRL extensions
Howard Chu [Fri, 31 Jul 2009 03:26:03 +0000 (03:26 +0000)]
Minor cleanup
Howard Chu [Fri, 31 Jul 2009 01:51:34 +0000 (01:51 +0000)]
Fix, reqcert == ALLOW should ignore cert verification failures
Howard Chu [Fri, 31 Jul 2009 01:32:51 +0000 (01:32 +0000)]
ITS#6239 use our own hostname checking for MozNSS
Hallvard Furuseth [Fri, 31 Jul 2009 00:05:32 +0000 (00:05 +0000)]
Might help ITS#6145: change while to do-while, to make visible that the
loop saving malloced data is run at least once.
Howard Chu [Thu, 30 Jul 2009 21:52:09 +0000 (21:52 +0000)]
Check for CN length match as well in chkhost
Hallvard Furuseth [Thu, 30 Jul 2009 21:45:10 +0000 (21:45 +0000)]
Move common Log*() macro code to new macros LogExpand()/LogArg
Hallvard Furuseth [Thu, 30 Jul 2009 15:34:42 +0000 (15:34 +0000)]
Fix last commit: C90 rejects declaration after code
Hallvard Furuseth [Wed, 29 Jul 2009 23:03:10 +0000 (23:03 +0000)]
More ITS#6215: Fix va_arg integer types for ber_scanf "bei" & ber_printf "BX"
Hallvard Furuseth [Wed, 29 Jul 2009 22:38:19 +0000 (22:38 +0000)]
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.
Hallvard Furuseth [Wed, 29 Jul 2009 22:10:45 +0000 (22:10 +0000)]
More ITS#6215: Free data to the memory context used to allocate it
Hallvard Furuseth [Wed, 29 Jul 2009 21:47:54 +0000 (21:47 +0000)]
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().
Hallvard Furuseth [Wed, 29 Jul 2009 17:21:54 +0000 (17:21 +0000)]
For ITS#6215: No need to maintain ber->ber_usertag except at ber_printf "!"
Hallvard Furuseth [Wed, 29 Jul 2009 17:07:52 +0000 (17:07 +0000)]
For ITS#6215: Do not expose obsolete Seqorset. Note ber_write(,,,nonzero) is gone.
Hallvard Furuseth [Wed, 29 Jul 2009 16:49:42 +0000 (16:49 +0000)]
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.
Hallvard Furuseth [Wed, 29 Jul 2009 15:06:28 +0000 (15:06 +0000)]
Remove useless asserts that will be re-assert()ed before the variable is used
Hallvard Furuseth [Wed, 29 Jul 2009 14:57:09 +0000 (14:57 +0000)]
ITS#6215: Fix buffer overrun and write through NULL pointer
Howard Chu [Wed, 29 Jul 2009 09:21:50 +0000 (09:21 +0000)]
ITS#5946 always allow mirrormode to be set to FALSE
Howard Chu [Wed, 29 Jul 2009 09:04:39 +0000 (09:04 +0000)]
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.
Howard Chu [Wed, 29 Jul 2009 00:58:46 +0000 (00:58 +0000)]
Use distribution hints in searches
Howard Chu [Tue, 28 Jul 2009 22:04:13 +0000 (22:04 +0000)]
ITS#6233 don't advance ptr after storing final NUL.
Howard Chu [Mon, 27 Jul 2009 18:54:56 +0000 (18:54 +0000)]
ITS#6230 fix typos
Howard Chu [Sun, 26 Jul 2009 00:14:15 +0000 (00:14 +0000)]
Change AttributeName.an_oc_exclude to an_oc_flags, avoid multiple
futile searches for OC matches.
Howard Chu [Sat, 25 Jul 2009 23:37:24 +0000 (23:37 +0000)]
ITS#6228 fix typo
Howard Chu [Sat, 25 Jul 2009 07:19:21 +0000 (07:19 +0000)]
fix typo in prev commit
Howard Chu [Sat, 25 Jul 2009 07:17:52 +0000 (07:17 +0000)]
ITS#6222 dncache is now unlimited by default (reverting to RE23 behavior)
Howard Chu [Sat, 25 Jul 2009 07:13:50 +0000 (07:13 +0000)]
ITS#6222 dncachesize defaults to 0 == unlimited
Howard Chu [Sat, 25 Jul 2009 06:47:00 +0000 (06:47 +0000)]
ITS#6222 need to support unsigned long args too
Howard Chu [Sat, 25 Jul 2009 00:09:56 +0000 (00:09 +0000)]
More cleanup
Howard Chu [Sat, 25 Jul 2009 00:06:46 +0000 (00:06 +0000)]
Minor cleanup
Pierangelo Masarati [Fri, 24 Jul 2009 22:00:53 +0000 (22:00 +0000)]
test whether the current entry matches the current uri filter (ITS#6077); also, don't leak DN when adding a base fails
Howard Chu [Fri, 24 Jul 2009 07:12:02 +0000 (07:12 +0000)]
Revert prev commit, agi_mutex is needed sometimes. Need to eliminate the
unnecessary cases still.
Howard Chu [Fri, 24 Jul 2009 06:59:40 +0000 (06:59 +0000)]
Delete unnecessary agi_mutex
Howard Chu [Fri, 24 Jul 2009 06:47:05 +0000 (06:47 +0000)]
Fix db_open, delete unused variables. More cleanup is needed.
Howard Chu [Wed, 22 Jul 2009 07:19:41 +0000 (07:19 +0000)]
ITS#6145 free/close before exit
Howard Chu [Wed, 22 Jul 2009 06:34:37 +0000 (06:34 +0000)]
ITS#4643 never use native getpass(), it's deprecated/unsafe
Howard Chu [Wed, 22 Jul 2009 04:39:57 +0000 (04:39 +0000)]
ITS#6214 use the main thread's context so cleanup can occur
Howard Chu [Tue, 21 Jul 2009 02:04:46 +0000 (02:04 +0000)]
ITS#6220 don't check write timeouts when global_writetimeout isn't set
Ralf Haferkamp [Fri, 17 Jul 2009 16:21:14 +0000 (16:21 +0000)]
Missing #include
Pierangelo Masarati [Thu, 16 Jul 2009 15:41:05 +0000 (15:41 +0000)]
check the value of the olcSubordinate attribute
Pierangelo Masarati [Thu, 16 Jul 2009 15:28:22 +0000 (15:28 +0000)]
subordinate needs a suffix (ITS#6216)
Ralf Haferkamp [Tue, 14 Jul 2009 13:35:56 +0000 (13:35 +0000)]
Should work now when using custom SLAPD_BASEPORT setting (ITS#6213)
Howard Chu [Tue, 14 Jul 2009 00:52:45 +0000 (00:52 +0000)]
External vars need to be wrapped for Windows
Howard Chu [Mon, 13 Jul 2009 18:56:03 +0000 (18:56 +0000)]
Add sssvlv overlay
Howard Chu [Mon, 13 Jul 2009 18:46:36 +0000 (18:46 +0000)]
cleanup space/tab
Howard Chu [Mon, 13 Jul 2009 18:45:43 +0000 (18:45 +0000)]
Add vlv error code
Howard Chu [Mon, 13 Jul 2009 15:45:49 +0000 (15:45 +0000)]
Add sssvlv overlay
Howard Chu [Mon, 13 Jul 2009 15:45:25 +0000 (15:45 +0000)]
sssvlv and seqmod should be off by default
Howard Chu [Mon, 13 Jul 2009 15:22:46 +0000 (15:22 +0000)]
Fix handling for empty results
Howard Chu [Mon, 13 Jul 2009 15:15:27 +0000 (15:15 +0000)]
Fix result when no VLV match
Howard Chu [Mon, 13 Jul 2009 15:00:19 +0000 (15:00 +0000)]
Minor cleanup
Howard Chu [Mon, 13 Jul 2009 14:45:54 +0000 (14:45 +0000)]
Add sssvlv
Howard Chu [Mon, 13 Jul 2009 14:27:04 +0000 (14:27 +0000)]
Add sssvlv overlay
Howard Chu [Mon, 13 Jul 2009 14:20:31 +0000 (14:20 +0000)]
Add sssvlv config
Howard Chu [Mon, 13 Jul 2009 13:35:30 +0000 (13:35 +0000)]
Add sssvlv to build system
Howard Chu [Mon, 13 Jul 2009 13:33:01 +0000 (13:33 +0000)]
Added VLV support
Howard Chu [Mon, 13 Jul 2009 13:24:12 +0000 (13:24 +0000)]
ITS#6203 fix startup
Howard Chu [Mon, 13 Jul 2009 13:14:07 +0000 (13:14 +0000)]
Fix prev commit
Howard Chu [Mon, 13 Jul 2009 13:13:38 +0000 (13:13 +0000)]
Add VLV Error
Howard Chu [Mon, 13 Jul 2009 12:41:02 +0000 (12:41 +0000)]
Add VLV support
Howard Chu [Mon, 13 Jul 2009 12:40:35 +0000 (12:40 +0000)]
More VLV stuff
Howard Chu [Mon, 13 Jul 2009 10:59:09 +0000 (10:59 +0000)]
vlv implemented, untested
Howard Chu [Mon, 13 Jul 2009 09:39:39 +0000 (09:39 +0000)]
csnOrderingMatch should have a normalizer
Howard Chu [Mon, 13 Jul 2009 08:43:06 +0000 (08:43 +0000)]
Undef SLAP_CONTROL_X_SORTEDRESULTS, use sssvlv overlay now.
Will unifdef all relevant code later...
Howard Chu [Mon, 13 Jul 2009 08:39:22 +0000 (08:39 +0000)]
Server Side Sorting (also with PagedResults). VLV still in progress.
Howard Chu [Mon, 13 Jul 2009 08:28:11 +0000 (08:28 +0000)]
Cleanup sss result string
Howard Chu [Mon, 13 Jul 2009 02:42:38 +0000 (02:42 +0000)]
Fix typo in 1.250 fake sorted results control
Howard Chu [Mon, 13 Jul 2009 01:57:25 +0000 (01:57 +0000)]
Fix typo in derefcrit control
Hallvard Furuseth [Wed, 8 Jul 2009 16:20:53 +0000 (16:20 +0000)]
For ITS#5810: Show which backend is being tested
Howard Chu [Wed, 8 Jul 2009 00:55:27 +0000 (00:55 +0000)]
ITS#6195 must normalize cookies before comparing them
Hallvard Furuseth [Tue, 7 Jul 2009 22:31:35 +0000 (22:31 +0000)]
ITS#6101, did not always (re)set rs->sr_sasldata before send_ldap_sasl()
Howard Chu [Tue, 7 Jul 2009 22:30:55 +0000 (22:30 +0000)]
ITS#5892 return -1 from ldif_read_record on error
Hallvard Furuseth [Tue, 7 Jul 2009 22:30:28 +0000 (22:30 +0000)]
ITS#6101, reset rs->sr_rspdata in send_ldap_disconnect()
Howard Chu [Tue, 7 Jul 2009 21:51:27 +0000 (21:51 +0000)]
ITS#5892 make sure ldif error messages are displayed
Hallvard Furuseth [Tue, 7 Jul 2009 21:11:39 +0000 (21:11 +0000)]
ITS#6101: Move sru_search first in union SlapReply.sr_un, for initialization.
Hallvard Furuseth [Tue, 7 Jul 2009 20:05:09 +0000 (20:05 +0000)]
ITS#6197 - normalize & speed up ldap_err2string/ldap_perror():
Use same result code -> string mapping for both, removing ldap_int_error():
- Classify unknown error codes as API/extension/etc like _err2string did.
- Pass all strings through _(), i.e. the optional gettext, as _perror did.
Also use a switch instead of linear search for the code->string mapping.
Hopefully the compiler will optimize that. Though the extra gettext,
if anyone uses it, probably counters that speedup.
Hallvard Furuseth [Mon, 6 Jul 2009 23:19:52 +0000 (23:19 +0000)]
Silence warning. Also avoids pointless umask(0) when umask already is 0.
Howard Chu [Mon, 6 Jul 2009 21:02:28 +0000 (21:02 +0000)]
ITS#5836 more for 1.432, writetimeout wasn't taking effect if
idletimeout wasn't also set. Also, timeout check would keep getting
pushed back if multiple writers were waiting.
Hallvard Furuseth [Mon, 6 Jul 2009 19:52:14 +0000 (19:52 +0000)]
ITS#6091,6092,6093,5369 remove @GSSAPI_LIBS@. configure no longer sets it.
Howard Chu [Sun, 5 Jul 2009 01:45:29 +0000 (01:45 +0000)]
regenerate without gssapi
Howard Chu [Sun, 5 Jul 2009 01:42:26 +0000 (01:42 +0000)]
ITS#6091,6092,6093,5369 remove gssapi from configure, should never be used.
leave code in place for now.
Howard Chu [Fri, 3 Jul 2009 22:19:52 +0000 (22:19 +0000)]
ITS#5696 des_set_key -> des_set_key_and_parity
Ralf Haferkamp [Fri, 3 Jul 2009 14:29:40 +0000 (14:29 +0000)]
error out when adding multiple olcIndex values for the same attribute (ITS#6196)
Howard Chu [Fri, 3 Jul 2009 02:06:24 +0000 (02:06 +0000)]
Cleanup ciphernum
Howard Chu [Thu, 2 Jul 2009 23:19:44 +0000 (23:19 +0000)]
Acknowledge richm
Howard Chu [Thu, 2 Jul 2009 23:14:59 +0000 (23:14 +0000)]
ITS#5696 enable MozNSS support
Howard Chu [Thu, 2 Jul 2009 23:10:23 +0000 (23:10 +0000)]
ITS#5696 Additional MozNSS support from rmeggins@redhat.com
Hallvard Furuseth [Thu, 2 Jul 2009 15:26:52 +0000 (15:26 +0000)]
Handle IPv6 localhost address
Howard Chu [Thu, 2 Jul 2009 00:31:48 +0000 (00:31 +0000)]
Give more time to sync after restart
Howard Chu [Wed, 1 Jul 2009 23:46:36 +0000 (23:46 +0000)]
ITS#6192 add all digests. Also stop using SSLeay-compatible function
names, we're only concerned with OpenSSL these days.
Howard Chu [Wed, 1 Jul 2009 13:12:45 +0000 (13:12 +0000)]
ITS#6191 fix typo in URI for adding back-ldap
Howard Chu [Wed, 1 Jul 2009 07:46:06 +0000 (07:46 +0000)]
Enable cn=config, add test for policy state forwarding
from consumer to provider
Howard Chu [Wed, 1 Jul 2009 07:39:22 +0000 (07:39 +0000)]
More for 1.124 - forwarded updates need Relax control since state attrs
are no-user-mod.
Howard Chu [Wed, 1 Jul 2009 03:19:07 +0000 (03:19 +0000)]
ITS#5836 add -S "swamp" mode: send requests without reading replies
Howard Chu [Wed, 1 Jul 2009 03:01:08 +0000 (03:01 +0000)]
ITS#5836, #6089 fix c_writers counting
Howard Chu [Tue, 30 Jun 2009 12:12:53 +0000 (12:12 +0000)]
ITS#6084 handle pwdAccountLockedTime values set into the future (i.e.,
lame way of setting an expiration date.)
Howard Chu [Tue, 30 Jun 2009 11:54:45 +0000 (11:54 +0000)]
Fix prev commit
Howard Chu [Tue, 30 Jun 2009 11:51:13 +0000 (11:51 +0000)]
ITS#6082 return checker module's error message to client
Howard Chu [Tue, 30 Jun 2009 11:24:11 +0000 (11:24 +0000)]
Fix check_password with {cleartext} passwords