]> git.sur5r.net Git - openldap/log
openldap
15 years agorework common options (ITS#6049)
Pierangelo Masarati [Mon, 3 Aug 2009 13:40:28 +0000 (13:40 +0000)]
rework common options (ITS#6049)

15 years agoadd entry_dup_to(); use it to address ITS#6172 (thanks to Michael Karcher)
Pierangelo Masarati [Mon, 3 Aug 2009 13:18:05 +0000 (13:18 +0000)]
add entry_dup_to(); use it to address ITS#6172 (thanks to Michael Karcher)

15 years agoblind fix to ITS#6163
Pierangelo Masarati [Mon, 3 Aug 2009 13:08:22 +0000 (13:08 +0000)]
blind fix to ITS#6163

15 years agocount query answerability; allow configuration of private database
Pierangelo Masarati [Sun, 2 Aug 2009 22:00:01 +0000 (22:00 +0000)]
count query answerability; allow configuration of private database

15 years agoITS#6152 add olcProxyCacheOffline for manually toggling cache expiration,
Howard Chu [Sun, 2 Aug 2009 01:20:03 +0000 (01:20 +0000)]
ITS#6152 add olcProxyCacheOffline for manually toggling cache expiration,
assume some external process will tell us when network is on/offline

15 years agoFix attributeCertificateValidate
Howard Chu [Sat, 1 Aug 2009 01:11:15 +0000 (01:11 +0000)]
Fix attributeCertificateValidate

15 years agoFix certificateListValidate parsing of CRL extensions
Howard Chu [Sat, 1 Aug 2009 00:39:41 +0000 (00:39 +0000)]
Fix certificateListValidate parsing of CRL extensions

15 years agoMinor cleanup
Howard Chu [Fri, 31 Jul 2009 03:26:03 +0000 (03:26 +0000)]
Minor cleanup

15 years agoFix, reqcert == ALLOW should ignore cert verification failures
Howard Chu [Fri, 31 Jul 2009 01:51:34 +0000 (01:51 +0000)]
Fix, reqcert == ALLOW should ignore cert verification failures

15 years agoITS#6239 use our own hostname checking for MozNSS
Howard Chu [Fri, 31 Jul 2009 01:32:51 +0000 (01:32 +0000)]
ITS#6239 use our own hostname checking for MozNSS

15 years agoMight help ITS#6145: change while to do-while, to make visible that the
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.

15 years agoCheck for CN length match as well in chkhost
Howard Chu [Thu, 30 Jul 2009 21:52:09 +0000 (21:52 +0000)]
Check for CN length match as well in chkhost

15 years agoMove common Log*() macro code to new macros LogExpand()/LogArg
Hallvard Furuseth [Thu, 30 Jul 2009 21:45:10 +0000 (21:45 +0000)]
Move common Log*() macro code to new macros LogExpand()/LogArg

15 years agoFix last commit: C90 rejects declaration after code
Hallvard Furuseth [Thu, 30 Jul 2009 15:34:42 +0000 (15:34 +0000)]
Fix last commit: C90 rejects declaration after code

15 years agoMore ITS#6215: Fix va_arg integer types for ber_scanf "bei" & ber_printf "BX"
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"

15 years agoMore ITS#6215: Fix ber_scanf(,"mMvVW",) cleanup on error:
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.

15 years agoMore ITS#6215: Free data to the memory context used to allocate it
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

15 years agoMore ITS#6215:
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().

15 years agoFor ITS#6215: No need to maintain ber->ber_usertag except at ber_printf "!"
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 "!"

15 years agoFor ITS#6215: Do not expose obsolete Seqorset. Note ber_write(,,,nonzero) is gone.
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.

15 years agoMore ITS#6215 -
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.

15 years agoRemove useless asserts that will be re-assert()ed before the variable is used
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

15 years agoITS#6215: Fix buffer overrun and write through NULL pointer
Hallvard Furuseth [Wed, 29 Jul 2009 14:57:09 +0000 (14:57 +0000)]
ITS#6215: Fix buffer overrun and write through NULL pointer

15 years agoITS#5946 always allow mirrormode to be set to FALSE
Howard Chu [Wed, 29 Jul 2009 09:21:50 +0000 (09:21 +0000)]
ITS#5946 always allow mirrormode to be set to FALSE

15 years agoITS#5942 consolidate server URL match to config_check_my_url().
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.

15 years agoUse distribution hints in searches
Howard Chu [Wed, 29 Jul 2009 00:58:46 +0000 (00:58 +0000)]
Use distribution hints in searches

15 years agoITS#6233 don't advance ptr after storing final NUL.
Howard Chu [Tue, 28 Jul 2009 22:04:13 +0000 (22:04 +0000)]
ITS#6233 don't advance ptr after storing final NUL.

15 years agoITS#6230 fix typos
Howard Chu [Mon, 27 Jul 2009 18:54:56 +0000 (18:54 +0000)]
ITS#6230 fix typos

15 years agoChange AttributeName.an_oc_exclude to an_oc_flags, avoid multiple
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.

15 years agoITS#6228 fix typo
Howard Chu [Sat, 25 Jul 2009 23:37:24 +0000 (23:37 +0000)]
ITS#6228 fix typo

15 years agofix typo in prev commit
Howard Chu [Sat, 25 Jul 2009 07:19:21 +0000 (07:19 +0000)]
fix typo in prev commit

15 years agoITS#6222 dncache is now unlimited by default (reverting to RE23 behavior)
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)

15 years agoITS#6222 dncachesize defaults to 0 == unlimited
Howard Chu [Sat, 25 Jul 2009 07:13:50 +0000 (07:13 +0000)]
ITS#6222 dncachesize defaults to 0 == unlimited

15 years agoITS#6222 need to support unsigned long args too
Howard Chu [Sat, 25 Jul 2009 06:47:00 +0000 (06:47 +0000)]
ITS#6222 need to support unsigned long args too

15 years agoMore cleanup
Howard Chu [Sat, 25 Jul 2009 00:09:56 +0000 (00:09 +0000)]
More cleanup

15 years agoMinor cleanup
Howard Chu [Sat, 25 Jul 2009 00:06:46 +0000 (00:06 +0000)]
Minor cleanup

15 years agotest whether the current entry matches the current uri filter (ITS#6077); also, don...
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

15 years agoRevert prev commit, agi_mutex is needed sometimes. Need to eliminate the
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.

15 years agoDelete unnecessary agi_mutex
Howard Chu [Fri, 24 Jul 2009 06:59:40 +0000 (06:59 +0000)]
Delete unnecessary agi_mutex

15 years agoFix db_open, delete unused variables. More cleanup is needed.
Howard Chu [Fri, 24 Jul 2009 06:47:05 +0000 (06:47 +0000)]
Fix db_open, delete unused variables. More cleanup is needed.

15 years agoITS#6145 free/close before exit
Howard Chu [Wed, 22 Jul 2009 07:19:41 +0000 (07:19 +0000)]
ITS#6145 free/close before exit

15 years agoITS#4643 never use native getpass(), it's deprecated/unsafe
Howard Chu [Wed, 22 Jul 2009 06:34:37 +0000 (06:34 +0000)]
ITS#4643 never use native getpass(), it's deprecated/unsafe

15 years agoITS#6214 use the main thread's context so cleanup can occur
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

15 years agoITS#6220 don't check write timeouts when global_writetimeout isn't set
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

15 years agoMissing #include
Ralf Haferkamp [Fri, 17 Jul 2009 16:21:14 +0000 (16:21 +0000)]
Missing #include

15 years agocheck the value of the olcSubordinate attribute
Pierangelo Masarati [Thu, 16 Jul 2009 15:41:05 +0000 (15:41 +0000)]
check the value of the olcSubordinate attribute

15 years agosubordinate needs a suffix (ITS#6216)
Pierangelo Masarati [Thu, 16 Jul 2009 15:28:22 +0000 (15:28 +0000)]
subordinate needs a suffix (ITS#6216)

15 years agoShould work now when using custom SLAPD_BASEPORT setting (ITS#6213)
Ralf Haferkamp [Tue, 14 Jul 2009 13:35:56 +0000 (13:35 +0000)]
Should work now when using custom SLAPD_BASEPORT setting (ITS#6213)

15 years agoExternal vars need to be wrapped for Windows
Howard Chu [Tue, 14 Jul 2009 00:52:45 +0000 (00:52 +0000)]
External vars need to be wrapped for Windows

15 years agoAdd sssvlv overlay
Howard Chu [Mon, 13 Jul 2009 18:56:03 +0000 (18:56 +0000)]
Add sssvlv overlay

15 years agocleanup space/tab
Howard Chu [Mon, 13 Jul 2009 18:46:36 +0000 (18:46 +0000)]
cleanup space/tab

15 years agoAdd vlv error code
Howard Chu [Mon, 13 Jul 2009 18:45:43 +0000 (18:45 +0000)]
Add vlv error code

15 years agoAdd sssvlv overlay
Howard Chu [Mon, 13 Jul 2009 15:45:49 +0000 (15:45 +0000)]
Add sssvlv overlay

15 years agosssvlv and seqmod should be off by default
Howard Chu [Mon, 13 Jul 2009 15:45:25 +0000 (15:45 +0000)]
sssvlv and seqmod should be off by default

15 years agoFix handling for empty results
Howard Chu [Mon, 13 Jul 2009 15:22:46 +0000 (15:22 +0000)]
Fix handling for empty results

15 years agoFix result when no VLV match
Howard Chu [Mon, 13 Jul 2009 15:15:27 +0000 (15:15 +0000)]
Fix result when no VLV match

15 years agoMinor cleanup
Howard Chu [Mon, 13 Jul 2009 15:00:19 +0000 (15:00 +0000)]
Minor cleanup

15 years agoAdd sssvlv
Howard Chu [Mon, 13 Jul 2009 14:45:54 +0000 (14:45 +0000)]
Add sssvlv

15 years agoAdd sssvlv overlay
Howard Chu [Mon, 13 Jul 2009 14:27:04 +0000 (14:27 +0000)]
Add sssvlv overlay

15 years agoAdd sssvlv config
Howard Chu [Mon, 13 Jul 2009 14:20:31 +0000 (14:20 +0000)]
Add sssvlv config

15 years agoAdd sssvlv to build system
Howard Chu [Mon, 13 Jul 2009 13:35:30 +0000 (13:35 +0000)]
Add sssvlv to build system

15 years agoAdded VLV support
Howard Chu [Mon, 13 Jul 2009 13:33:01 +0000 (13:33 +0000)]
Added VLV support

15 years agoITS#6203 fix startup
Howard Chu [Mon, 13 Jul 2009 13:24:12 +0000 (13:24 +0000)]
ITS#6203 fix startup

15 years agoFix prev commit
Howard Chu [Mon, 13 Jul 2009 13:14:07 +0000 (13:14 +0000)]
Fix prev commit

15 years agoAdd VLV Error
Howard Chu [Mon, 13 Jul 2009 13:13:38 +0000 (13:13 +0000)]
Add VLV Error

15 years agoAdd VLV support
Howard Chu [Mon, 13 Jul 2009 12:41:02 +0000 (12:41 +0000)]
Add VLV support

15 years agoMore VLV stuff
Howard Chu [Mon, 13 Jul 2009 12:40:35 +0000 (12:40 +0000)]
More VLV stuff

15 years agovlv implemented, untested
Howard Chu [Mon, 13 Jul 2009 10:59:09 +0000 (10:59 +0000)]
vlv implemented, untested

15 years agocsnOrderingMatch should have a normalizer
Howard Chu [Mon, 13 Jul 2009 09:39:39 +0000 (09:39 +0000)]
csnOrderingMatch should have a normalizer

15 years agoUndef SLAP_CONTROL_X_SORTEDRESULTS, use sssvlv overlay now.
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...

15 years agoServer Side Sorting (also with PagedResults). VLV still in progress.
Howard Chu [Mon, 13 Jul 2009 08:39:22 +0000 (08:39 +0000)]
Server Side Sorting (also with PagedResults). VLV still in progress.

15 years agoCleanup sss result string
Howard Chu [Mon, 13 Jul 2009 08:28:11 +0000 (08:28 +0000)]
Cleanup sss result string

15 years agoFix typo in 1.250 fake sorted results control
Howard Chu [Mon, 13 Jul 2009 02:42:38 +0000 (02:42 +0000)]
Fix typo in 1.250 fake sorted results control

15 years agoFix typo in derefcrit control
Howard Chu [Mon, 13 Jul 2009 01:57:25 +0000 (01:57 +0000)]
Fix typo in derefcrit control

15 years agoFor ITS#5810: Show which backend is being tested
Hallvard Furuseth [Wed, 8 Jul 2009 16:20:53 +0000 (16:20 +0000)]
For ITS#5810: Show which backend is being tested

15 years agoITS#6195 must normalize cookies before comparing them
Howard Chu [Wed, 8 Jul 2009 00:55:27 +0000 (00:55 +0000)]
ITS#6195 must normalize cookies before comparing them

15 years agoITS#6101, did not always (re)set rs->sr_sasldata before send_ldap_sasl()
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()

15 years agoITS#5892 return -1 from ldif_read_record on error
Howard Chu [Tue, 7 Jul 2009 22:30:55 +0000 (22:30 +0000)]
ITS#5892 return -1 from ldif_read_record on error

15 years agoITS#6101, reset rs->sr_rspdata in send_ldap_disconnect()
Hallvard Furuseth [Tue, 7 Jul 2009 22:30:28 +0000 (22:30 +0000)]
ITS#6101, reset rs->sr_rspdata in send_ldap_disconnect()

15 years agoITS#5892 make sure ldif error messages are displayed
Howard Chu [Tue, 7 Jul 2009 21:51:27 +0000 (21:51 +0000)]
ITS#5892 make sure ldif error messages are displayed

15 years agoITS#6101: Move sru_search first in union SlapReply.sr_un, for initialization.
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.

15 years agoITS#6197 - normalize & speed up ldap_err2string/ldap_perror():
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.

15 years agoSilence warning. Also avoids pointless umask(0) when umask already is 0.
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.

15 years agoITS#5836 more for 1.432, writetimeout wasn't taking effect if
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.

15 years agoITS#6091,6092,6093,5369 remove @GSSAPI_LIBS@. configure no longer sets it.
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.

15 years agoregenerate without gssapi
Howard Chu [Sun, 5 Jul 2009 01:45:29 +0000 (01:45 +0000)]
regenerate without gssapi

15 years agoITS#6091,6092,6093,5369 remove gssapi from configure, should never be used.
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.

15 years agoITS#5696 des_set_key -> des_set_key_and_parity
Howard Chu [Fri, 3 Jul 2009 22:19:52 +0000 (22:19 +0000)]
ITS#5696 des_set_key -> des_set_key_and_parity

15 years agoerror out when adding multiple olcIndex values for the same attribute (ITS#6196)
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)

15 years agoCleanup ciphernum
Howard Chu [Fri, 3 Jul 2009 02:06:24 +0000 (02:06 +0000)]
Cleanup ciphernum

15 years agoAcknowledge richm
Howard Chu [Thu, 2 Jul 2009 23:19:44 +0000 (23:19 +0000)]
Acknowledge richm

15 years agoITS#5696 enable MozNSS support
Howard Chu [Thu, 2 Jul 2009 23:14:59 +0000 (23:14 +0000)]
ITS#5696 enable MozNSS support

15 years agoITS#5696 Additional MozNSS support from rmeggins@redhat.com
Howard Chu [Thu, 2 Jul 2009 23:10:23 +0000 (23:10 +0000)]
ITS#5696 Additional MozNSS support from rmeggins@redhat.com

15 years agoHandle IPv6 localhost address
Hallvard Furuseth [Thu, 2 Jul 2009 15:26:52 +0000 (15:26 +0000)]
Handle IPv6 localhost address

15 years agoGive more time to sync after restart
Howard Chu [Thu, 2 Jul 2009 00:31:48 +0000 (00:31 +0000)]
Give more time to sync after restart

15 years agoITS#6192 add all digests. Also stop using SSLeay-compatible function
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.

15 years agoITS#6191 fix typo in URI for adding back-ldap
Howard Chu [Wed, 1 Jul 2009 13:12:45 +0000 (13:12 +0000)]
ITS#6191 fix typo in URI for adding back-ldap

15 years agoEnable cn=config, add test for policy state forwarding
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

15 years agoMore for 1.124 - forwarded updates need Relax control since state attrs
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.

15 years agoITS#5836 add -S "swamp" mode: send requests without reading replies
Howard Chu [Wed, 1 Jul 2009 03:19:07 +0000 (03:19 +0000)]
ITS#5836 add -S "swamp" mode: send requests without reading replies