]> git.sur5r.net Git - openldap/log
openldap
14 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)

14 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

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

14 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)

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

14 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

14 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.

14 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)

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

14 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()

14 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()

14 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 "!"

14 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)

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

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

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

14 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*

14 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.

14 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()

14 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

14 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.

14 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

14 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?)

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

14 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

14 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.

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

14 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)

14 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

14 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

14 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

14 years agorework common options (ITS#6049)
Pierangelo Masarati [Mon, 3 Aug 2009 13:40:28 +0000 (13:40 +0000)]
rework common options (ITS#6049)

14 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)

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

14 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

14 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

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

14 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

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

14 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

14 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

14 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.

14 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

14 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

14 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

14 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"

14 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.

14 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

14 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().

14 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 "!"

14 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.

14 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.

14 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

14 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

14 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

14 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.

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

14 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.

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

14 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.

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

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

14 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)

14 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

14 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

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

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

14 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

14 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.

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

14 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.

14 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

14 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

14 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

14 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

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

14 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

14 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)

14 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)

14 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

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

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

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

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

14 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

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

14 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

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

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

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

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

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

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

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

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

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

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

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

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

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