]> git.sur5r.net Git - openldap/log
openldap
15 years agoSkip if monitor backend not enabled
Howard Chu [Sat, 15 Aug 2009 22:36:00 +0000 (22:36 +0000)]
Skip if monitor backend not enabled

15 years agoITS#6256 from Jonathan Clarke
Howard Chu [Sat, 15 Aug 2009 14:05:47 +0000 (14:05 +0000)]
ITS#6256 from Jonathan Clarke

15 years agoMore for prev commit
Howard Chu [Fri, 14 Aug 2009 20:02:08 +0000 (20:02 +0000)]
More for prev commit

15 years agoallow to look-ahead entry DN without decoding the whole entry
Pierangelo Masarati [Fri, 14 Aug 2009 15:33:09 +0000 (15:33 +0000)]
allow to look-ahead entry DN without decoding the whole entry

15 years agoharmonize API: source to dest right to left
Pierangelo Masarati [Fri, 14 Aug 2009 14:18:04 +0000 (14:18 +0000)]
harmonize API: source to dest right to left

15 years agohonor requested attrs (ITS#6254), including operational
Pierangelo Masarati [Fri, 14 Aug 2009 01:18:23 +0000 (01:18 +0000)]
honor requested attrs (ITS#6254), including operational

15 years agoimprove previous commit; make sure returned entries match filter (ITS#6255); defer...
Pierangelo Masarati [Fri, 14 Aug 2009 00:49:48 +0000 (00:49 +0000)]
improve previous commit; make sure returned entries match filter (ITS#6255); defer sizelimit exceeded detection

15 years agomake sure filter is applied to final entry (ITS#6255)
Pierangelo Masarati [Fri, 14 Aug 2009 00:14:35 +0000 (00:14 +0000)]
make sure filter is applied to final entry (ITS#6255)

15 years agohonor sizelimit when filter needs to be split between local and remote (ITS#6253)
Pierangelo Masarati [Fri, 14 Aug 2009 00:03:10 +0000 (00:03 +0000)]
honor sizelimit when filter needs to be split between local and remote (ITS#6253)

15 years agoFix prev commit again, IPPROTO_TCP is the documented correct approach
Howard Chu [Thu, 13 Aug 2009 21:35:38 +0000 (21:35 +0000)]
Fix prev commit again, IPPROTO_TCP is the documented correct approach

15 years agoeliminate code duplication
Pierangelo Masarati [Thu, 13 Aug 2009 21:24:32 +0000 (21:24 +0000)]
eliminate code duplication

15 years agoITS#6243 (forced commit, missing ITS number)
Pierangelo Masarati [Thu, 13 Aug 2009 21:01:17 +0000 (21:01 +0000)]
ITS#6243 (forced commit, missing ITS number)

15 years agoremove misleading comment
Pierangelo Masarati [Thu, 13 Aug 2009 21:00:04 +0000 (21:00 +0000)]
remove misleading comment

15 years agoexpose subordinate databases; add a link to the superior DN
Pierangelo Masarati [Thu, 13 Aug 2009 20:58:20 +0000 (20:58 +0000)]
expose subordinate databases; add a link to the superior DN

15 years agoFix prev commit, it was not Linux-only as it claimed to be.
Howard Chu [Thu, 13 Aug 2009 20:55:04 +0000 (20:55 +0000)]
Fix prev commit, it was not Linux-only as it claimed to be.

15 years agohonor per-target tls/chase referrals/rebind as user (ITS#6190)
Pierangelo Masarati [Thu, 13 Aug 2009 19:30:37 +0000 (19:30 +0000)]
honor per-target tls/chase referrals/rebind as user (ITS#6190)

15 years agoadvertise known exops
Pierangelo Masarati [Thu, 13 Aug 2009 15:52:56 +0000 (15:52 +0000)]
advertise known exops

15 years agoFor ITS#6215: Export ber_skip_element() and ber_peek_element()
Hallvard Furuseth [Wed, 12 Aug 2009 22:14:35 +0000 (22:14 +0000)]
For ITS#6215: Export ber_skip_element() and ber_peek_element()

15 years agoITS#6215 cleanup: Export ber_skip_element() to complement ber_peek_element()
Hallvard Furuseth [Wed, 12 Aug 2009 22:13:50 +0000 (22:13 +0000)]
ITS#6215 cleanup: Export ber_skip_element() to complement ber_peek_element()

15 years agoTrying again: No need to maintain ber->ber_usertag except at ber_printf "!"
Hallvard Furuseth [Wed, 12 Aug 2009 22:12:15 +0000 (22:12 +0000)]
Trying again: No need to maintain ber->ber_usertag except at ber_printf "!"

15 years agoAdd pwGraceExpiry to gracecheck
Howard Chu [Wed, 12 Aug 2009 02:43:19 +0000 (02:43 +0000)]
Add pwGraceExpiry to gracecheck
minor cleanup
revert Other Operations change from 09
filled in IANA considerations (no longer TBD)
Reference RFC4520, not 3383 (obsolete)

15 years agoRevision 02
Howard Chu [Mon, 10 Aug 2009 02:08:41 +0000 (02:08 +0000)]
Revision 02

15 years agoRevision 01 (expired)
Howard Chu [Mon, 10 Aug 2009 02:06:46 +0000 (02:06 +0000)]
Revision 01 (expired)

15 years agoAdded version 10
Howard Chu [Mon, 10 Aug 2009 02:03:50 +0000 (02:03 +0000)]
Added version 10

15 years agoFix last commit: cast strcasecmp unsigned char* to char*
Hallvard Furuseth [Fri, 7 Aug 2009 21:46:25 +0000 (21:46 +0000)]
Fix last commit: cast strcasecmp unsigned char* to char*

15 years agoMore ITS#6215: Catch malformed elements in ber_get_stringbvl().
Hallvard Furuseth [Fri, 7 Aug 2009 19:26:11 +0000 (19:26 +0000)]
More ITS#6215: Catch malformed elements in ber_get_stringbvl().
Do not use ber_<first/next>_element(), which have no error return.

15 years agoMore ITS#6215: Define and use ber_tag_and_rest() and ber_<peek/skip>_element()
Hallvard Furuseth [Fri, 7 Aug 2009 19:15:26 +0000 (19:15 +0000)]
More ITS#6215: Define and use ber_tag_and_rest() and ber_<peek/skip>_element()

15 years agoMore ITS#6215: Fix wrong fix in rev 1.121
Hallvard Furuseth [Fri, 7 Aug 2009 16:04:25 +0000 (16:04 +0000)]
More ITS#6215: Fix wrong fix in rev 1.121

15 years agoIn session_chkhost get the last CN, not the first.
Howard Chu [Fri, 7 Aug 2009 11:59:42 +0000 (11:59 +0000)]
In session_chkhost get the last CN, not the first.

15 years agoGive more time for sync after master restart
Howard Chu [Thu, 6 Aug 2009 22:15:56 +0000 (22:15 +0000)]
Give more time for sync after master restart

15 years agolog in case of failure (FIXME: should those logs be at ANY level?)
Pierangelo Masarati [Tue, 4 Aug 2009 23:45:42 +0000 (23:45 +0000)]
log in case of failure (FIXME: should those logs be at ANY level?)

15 years agouse back-config if supported
Pierangelo Masarati [Tue, 4 Aug 2009 23:27:52 +0000 (23:27 +0000)]
use back-config if supported

15 years agoFully parse undefined substring filters so they can be logged
Howard Chu [Tue, 4 Aug 2009 22:41:59 +0000 (22:41 +0000)]
Fully parse undefined substring filters so they can be logged

15 years agoSimplify struct bgbvr and ber_get_stringbvl(), preserving behavior.
Hallvard Furuseth [Tue, 4 Aug 2009 21:11:38 +0000 (21:11 +0000)]
Simplify struct bgbvr and ber_get_stringbvl(), preserving behavior.

15 years agoimprove previous commit
Pierangelo Masarati [Tue, 4 Aug 2009 14:26:40 +0000 (14:26 +0000)]
improve previous commit

15 years agobe liberal in accepting CL (ITS#6241)
Pierangelo Masarati [Tue, 4 Aug 2009 14:14:17 +0000 (14:14 +0000)]
be liberal in accepting CL (ITS#6241)

15 years agoIn slap_mods_check, always compare ordering index first
Howard Chu [Tue, 4 Aug 2009 02:42:20 +0000 (02:42 +0000)]
In slap_mods_check, always compare ordering index first

15 years agosilence warnings; misc cleanup; test refresh as non-allowed user
Pierangelo Masarati [Mon, 3 Aug 2009 22:49:30 +0000 (22:49 +0000)]
silence warnings; misc cleanup; test refresh as non-allowed user

15 years agonote about OpenSSL being more liberal than OpenLDAP when there is garbage past the...
Pierangelo Masarati [Mon, 3 Aug 2009 14:07:49 +0000 (14:07 +0000)]
note about OpenSSL being more liberal than OpenLDAP when there is garbage past the end of a certificateList

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