]> git.sur5r.net Git - openldap/log
openldap
21 years agoITS#2389 - added conn_max_pending/auth config keywords to cap the number
Howard Chu [Thu, 27 Mar 2003 03:35:46 +0000 (03:35 +0000)]
ITS#2389 - added conn_max_pending/auth config keywords to cap the number
of outstanding requests on a connection. Set rate limits for request
execution:
   no connection can have more than maxthreads/2 ops executing at once.
   a connection that is write-blocked will not execute any new ops.
   queued ops must drain before any new ops can execute.
If the queue exceeds the max_pending limit, the connection is closed.
...also fixed a bug where a connection was not marked active if it never
received a Bind.

21 years agoFix previous commit
Howard Chu [Thu, 27 Mar 2003 03:27:48 +0000 (03:27 +0000)]
Fix previous commit

21 years agoITS#2404 keep the per-thread context in the individual threads...
Howard Chu [Thu, 27 Mar 2003 01:39:42 +0000 (01:39 +0000)]
ITS#2404 keep the per-thread context in the individual threads...

21 years agoRevert previous commit
Howard Chu [Wed, 26 Mar 2003 19:22:33 +0000 (19:22 +0000)]
Revert previous commit

21 years agoCleanup previous commit
Howard Chu [Wed, 26 Mar 2003 17:42:27 +0000 (17:42 +0000)]
Cleanup previous commit

21 years agoSave DB_LOCK structure so it can be released later.
Howard Chu [Wed, 26 Mar 2003 13:33:51 +0000 (13:33 +0000)]
Save DB_LOCK structure so it can be released later.

21 years agoRemove attribute.c, group.c from build
Howard Chu [Wed, 26 Mar 2003 11:52:59 +0000 (11:52 +0000)]
Remove attribute.c, group.c from build

21 years agoDeleted BackendInfo->bi_acl_attribute, bi_acl_group.
Howard Chu [Wed, 26 Mar 2003 11:50:03 +0000 (11:50 +0000)]
Deleted BackendInfo->bi_acl_attribute, bi_acl_group.
Replaced with bi_entry_get_rw.
Implemented for back-bdb, back-ldbm, back-ldap.

21 years agoSLAP_OP_BLOCKS - added response block
Howard Chu [Tue, 25 Mar 2003 23:42:55 +0000 (23:42 +0000)]
SLAP_OP_BLOCKS - added response block

21 years agoAdded slap_op_init/destroy, cache Operation structures
Howard Chu [Tue, 25 Mar 2003 20:18:50 +0000 (20:18 +0000)]
Added slap_op_init/destroy, cache Operation structures

21 years ago#if out unused cache rdwr locks
Howard Chu [Tue, 25 Mar 2003 20:17:05 +0000 (20:17 +0000)]
#if out unused cache rdwr locks

21 years agostruct co_arg is redundant, removed
Howard Chu [Tue, 25 Mar 2003 18:44:00 +0000 (18:44 +0000)]
struct co_arg is redundant, removed

21 years agoSimplify indexer - remove redundant dbname parameter
Howard Chu [Tue, 25 Mar 2003 18:17:34 +0000 (18:17 +0000)]
Simplify indexer - remove redundant dbname parameter

21 years agoITS#2392 - move cache_commit inside transaction. needs lock protection,
Howard Chu [Tue, 25 Mar 2003 17:49:35 +0000 (17:49 +0000)]
ITS#2392 - move cache_commit inside transaction. needs lock protection,
and the lock goes away after txn_commit. Not sure what to do about the
cache if txn_commit actually fails though. Since txn_prepare succeeded,
should never happen. ???

21 years agofix bug in schema check
Pierangelo Masarati [Tue, 25 Mar 2003 14:34:01 +0000 (14:34 +0000)]
fix bug in schema check

21 years agoblind fix of value_match when SLAP_NVALUES is set
Pierangelo Masarati [Mon, 24 Mar 2003 22:23:18 +0000 (22:23 +0000)]
blind fix of value_match when SLAP_NVALUES is set

21 years agoFix prev commit
Howard Chu [Mon, 24 Mar 2003 19:36:25 +0000 (19:36 +0000)]
Fix prev commit

21 years agoFix shadowed text/textbuf
Howard Chu [Mon, 24 Mar 2003 19:19:54 +0000 (19:19 +0000)]
Fix shadowed text/textbuf

21 years agoSLAP_NVALUES fix
Howard Chu [Mon, 24 Mar 2003 17:28:26 +0000 (17:28 +0000)]
SLAP_NVALUES fix

21 years agoITS#2363 - slurpd should now exit cleanly without -KILL
Howard Chu [Mon, 24 Mar 2003 15:00:04 +0000 (15:00 +0000)]
ITS#2363 - slurpd should now exit cleanly without -KILL

21 years agoITS#2363 - use wake_sds ala slapd/daemon.c for signal management
Howard Chu [Mon, 24 Mar 2003 14:57:10 +0000 (14:57 +0000)]
ITS#2363 - use wake_sds ala slapd/daemon.c for signal management

21 years agoClean up SIGBREAK / NT
Howard Chu [Mon, 24 Mar 2003 07:49:59 +0000 (07:49 +0000)]
Clean up SIGBREAK / NT

21 years agoSLAP_NVALUES: a few more matching rules
Kurt Zeilenga [Mon, 24 Mar 2003 06:49:55 +0000 (06:49 +0000)]
SLAP_NVALUES: a few more matching rules

21 years agoClarify that mkrelease script must not muck with the export
Kurt Zeilenga [Mon, 24 Mar 2003 03:50:02 +0000 (03:50 +0000)]
Clarify that mkrelease script must not muck with the export

21 years agomkrelease is too late for modification of the release. This
Kurt Zeilenga [Mon, 24 Mar 2003 03:37:49 +0000 (03:37 +0000)]
mkrelease is too late for modification of the release.  This
needs to be integrated into the MSVC build system.

21 years agoSLAP_NVALUES - quick hack, just set a->a_nvals = a->a_vals. will need to
Howard Chu [Mon, 24 Mar 2003 02:59:43 +0000 (02:59 +0000)]
SLAP_NVALUES - quick hack, just set a->a_nvals = a->a_vals. will need to
fix this if ACLs are expected to work on the local slapd.

21 years agoSLAP_NVALUES - add attr_merge comment
Howard Chu [Mon, 24 Mar 2003 02:24:23 +0000 (02:24 +0000)]
SLAP_NVALUES - add attr_merge comment

21 years agoSLAP_NVALUES - a_nvals is useless if ma_rule isn't the same as attr's.
Howard Chu [Mon, 24 Mar 2003 02:16:42 +0000 (02:16 +0000)]
SLAP_NVALUES - a_nvals is useless if ma_rule isn't the same as attr's.

21 years agoSLAP_NVALUES: telephoneNumberNormalize
Kurt Zeilenga [Mon, 24 Mar 2003 02:16:10 +0000 (02:16 +0000)]
SLAP_NVALUES: telephoneNumberNormalize

21 years agoSLAP_NVALUES: add numericStringNormalize()
Kurt Zeilenga [Mon, 24 Mar 2003 02:11:41 +0000 (02:11 +0000)]
SLAP_NVALUES: add numericStringNormalize()

21 years agoClarify comment
Kurt Zeilenga [Mon, 24 Mar 2003 02:11:16 +0000 (02:11 +0000)]
Clarify comment

21 years agoSLAP_NVALUES fix matchedValues
Howard Chu [Mon, 24 Mar 2003 02:03:33 +0000 (02:03 +0000)]
SLAP_NVALUES fix matchedValues

21 years agoSLAP_NVALUES tweaks - after input, a_nvals is always populated. If there is
Howard Chu [Mon, 24 Mar 2003 01:56:56 +0000 (01:56 +0000)]
SLAP_NVALUES tweaks - after input, a_nvals is always populated. If there is
no normalizer, a_nvals = a_vals.

21 years agoFix order of arguments
Howard Chu [Mon, 24 Mar 2003 01:19:43 +0000 (01:19 +0000)]
Fix order of arguments

21 years agoManpage nitpicks
Hallvard Furuseth [Sun, 23 Mar 2003 16:37:06 +0000 (16:37 +0000)]
Manpage nitpicks

21 years agoITS#2364 fix unterminated AttributeName array
Howard Chu [Sun, 23 Mar 2003 16:00:20 +0000 (16:00 +0000)]
ITS#2364 fix unterminated AttributeName array

21 years agoFix typo
Howard Chu [Sun, 23 Mar 2003 15:45:06 +0000 (15:45 +0000)]
Fix typo

21 years agoCode for SLAP_NVALUES_ON_DISK in entry_encode/entry_decode
Howard Chu [Sun, 23 Mar 2003 15:28:41 +0000 (15:28 +0000)]
Code for SLAP_NVALUES_ON_DISK in entry_encode/entry_decode

21 years agoBDB_HIER was defined by accident, undef
Howard Chu [Sun, 23 Mar 2003 15:27:43 +0000 (15:27 +0000)]
BDB_HIER was defined by accident, undef
Fix up for SLAP_NVALUES_ON_DISK

21 years agoBoolean indexing support
Kurt Zeilenga [Sun, 23 Mar 2003 05:54:52 +0000 (05:54 +0000)]
Boolean indexing support

21 years agoAdd SLAP_NVALUES_ON_DISK define (but not code)
Kurt Zeilenga [Sun, 23 Mar 2003 03:23:32 +0000 (03:23 +0000)]
Add SLAP_NVALUES_ON_DISK define (but not code)

21 years agoAdd namingCSN attribute type
Kurt Zeilenga [Sun, 23 Mar 2003 02:58:36 +0000 (02:58 +0000)]
Add namingCSN attribute type
Make SLAP_NVALUES the default.

21 years agoUse ifdef not comment to comment out code
Kurt Zeilenga [Sat, 22 Mar 2003 22:28:57 +0000 (22:28 +0000)]
Use ifdef not comment to comment out code

21 years agoMinor tweak to search filter
Kurt Zeilenga [Sat, 22 Mar 2003 22:27:56 +0000 (22:27 +0000)]
Minor tweak to search filter

21 years agoPlug ndn leak (re: ITS#2390)
Howard Chu [Sat, 22 Mar 2003 16:59:41 +0000 (16:59 +0000)]
Plug ndn leak (re: ITS#2390)

21 years agoITS#2390 fix for back-bdb
Kurt Zeilenga [Sat, 22 Mar 2003 16:38:31 +0000 (16:38 +0000)]
ITS#2390 fix for back-bdb

21 years agoITS#2390 - freeing uninit'd ndn
Howard Chu [Sat, 22 Mar 2003 16:26:38 +0000 (16:26 +0000)]
ITS#2390 - freeing uninit'd ndn

21 years agoStill need DB_AUTO_COMMIT flag
Howard Chu [Sat, 22 Mar 2003 16:21:44 +0000 (16:21 +0000)]
Still need DB_AUTO_COMMIT flag

21 years agonamingCSN
Kurt Zeilenga [Sat, 22 Mar 2003 16:12:59 +0000 (16:12 +0000)]
namingCSN

21 years agoITS#2847: fix cn=#,...
Kurt Zeilenga [Sat, 22 Mar 2003 16:12:39 +0000 (16:12 +0000)]
ITS#2847: fix cn=#,...

21 years agoRemove cache stuff
Kurt Zeilenga [Thu, 20 Mar 2003 19:50:22 +0000 (19:50 +0000)]
Remove cache stuff

21 years agoITS#2389 - stop reading requests on a conn if it has more than
Howard Chu [Thu, 20 Mar 2003 12:40:11 +0000 (12:40 +0000)]
ITS#2389 - stop reading requests on a conn if it has more than
connection_pool_max/2 operations already executing. May want to tune
this to a higher value, e.g. connection_pool_max - XX, etc. Fix in
result.c throttles the connection too late, all threads are already
consumed by the time the send buffer blocks.

21 years agoITS#2389 - stop reading requests on a connection when we are blocked
Howard Chu [Thu, 20 Mar 2003 11:54:17 +0000 (11:54 +0000)]
ITS#2389 - stop reading requests on a connection when we are blocked
writing responses. This may not be the right fix.

21 years agoITS#2388 fix if() conditions.
Howard Chu [Thu, 20 Mar 2003 11:07:53 +0000 (11:07 +0000)]
ITS#2388 fix if() conditions.

21 years agoEdit portable.nt to update OPENLDAP_VERSION
Howard Chu [Wed, 19 Mar 2003 02:01:49 +0000 (02:01 +0000)]
Edit portable.nt to update OPENLDAP_VERSION

21 years agoUse OPENLDAP_PACKAGE instead of _OLV_PKG
Howard Chu [Wed, 19 Mar 2003 01:39:05 +0000 (01:39 +0000)]
Use OPENLDAP_PACKAGE instead of _OLV_PKG

21 years agoUse OPENLDAP_PACKAGE (from portable.h) instead of _OLV_PKG, etc.
Howard Chu [Wed, 19 Mar 2003 01:38:34 +0000 (01:38 +0000)]
Use OPENLDAP_PACKAGE (from portable.h) instead of _OLV_PKG, etc.

21 years agoUse ol_version.h
Howard Chu [Wed, 19 Mar 2003 01:31:42 +0000 (01:31 +0000)]
Use ol_version.h

21 years agoUse ol_version.h
Howard Chu [Tue, 18 Mar 2003 23:37:14 +0000 (23:37 +0000)]
Use ol_version.h

21 years agoRename version.h to ol_version.h
Howard Chu [Tue, 18 Mar 2003 22:53:15 +0000 (22:53 +0000)]
Rename version.h to ol_version.h

21 years agoNew version.h to replace mkversion
Howard Chu [Tue, 18 Mar 2003 22:50:07 +0000 (22:50 +0000)]
New version.h to replace mkversion

21 years agoITS#2385 fix typo in comment terminator
Howard Chu [Tue, 18 Mar 2003 17:52:48 +0000 (17:52 +0000)]
ITS#2385 fix typo in comment terminator

21 years agovalue is parsed in place; minor cleanup
Pierangelo Masarati [Tue, 18 Mar 2003 14:38:40 +0000 (14:38 +0000)]
value is parsed in place; minor cleanup

21 years agodocument -u option
Pierangelo Masarati [Tue, 18 Mar 2003 10:38:23 +0000 (10:38 +0000)]
document -u option

21 years agoDon't use DB_AUTO_COMMIT when opening a database
Howard Chu [Tue, 18 Mar 2003 00:04:16 +0000 (00:04 +0000)]
Don't use DB_AUTO_COMMIT when opening a database

21 years agoreplace get_substring_filter with get_ssa()
Kurt Zeilenga [Mon, 17 Mar 2003 06:06:02 +0000 (06:06 +0000)]
replace get_substring_filter with get_ssa()

21 years agoSLAP_NVALUES: fix values_find_ex call
Kurt Zeilenga [Mon, 17 Mar 2003 00:30:35 +0000 (00:30 +0000)]
SLAP_NVALUES: fix values_find_ex call

21 years agoSLAP_NVALUES: more fixes
Kurt Zeilenga [Mon, 17 Mar 2003 00:27:33 +0000 (00:27 +0000)]
SLAP_NVALUES: more fixes

21 years agoSLAP_NVALUES updates
Kurt Zeilenga [Mon, 17 Mar 2003 00:10:43 +0000 (00:10 +0000)]
SLAP_NVALUES updates

21 years agoUndo last commit
Kurt Zeilenga [Sun, 16 Mar 2003 23:54:40 +0000 (23:54 +0000)]
Undo last commit

21 years agoSLAP_NVALUES: remove all the extra frees
Kurt Zeilenga [Sun, 16 Mar 2003 23:54:22 +0000 (23:54 +0000)]
SLAP_NVALUES: remove all the extra frees

21 years agoSLAP_NVALUES: fix extraneous free bug.
Kurt Zeilenga [Sun, 16 Mar 2003 23:52:44 +0000 (23:52 +0000)]
SLAP_NVALUES: fix extraneous free bug.

21 years agoFix typos in last commit
Kurt Zeilenga [Sun, 16 Mar 2003 21:58:00 +0000 (21:58 +0000)]
Fix typos in last commit
Still chasing SLAP_NVALUES trashed filter bug

21 years agoRewrite filter routines to malloc() late.
Kurt Zeilenga [Sun, 16 Mar 2003 21:50:39 +0000 (21:50 +0000)]
Rewrite filter routines to malloc() late.

21 years agoSLAP_NVALUES: still chasing an extranous free... this just saves
Kurt Zeilenga [Sun, 16 Mar 2003 19:09:07 +0000 (19:09 +0000)]
SLAP_NVALUES: still chasing an extranous free... this just saves
an unneccessary malloc.  (Actually, we should likely use local
filter structure to read things into and then malloc/copy once
we're sure there are no errors.)

21 years agoreorder to statements for debugging purposes
Kurt Zeilenga [Sun, 16 Mar 2003 18:48:44 +0000 (18:48 +0000)]
reorder to statements for debugging purposes

21 years agoSLAP_NVALUES changes
Kurt Zeilenga [Sun, 16 Mar 2003 18:10:16 +0000 (18:10 +0000)]
SLAP_NVALUES changes
and misc cleanup

21 years agoITS#2382 use ch_calloc
Howard Chu [Sun, 16 Mar 2003 12:34:40 +0000 (12:34 +0000)]
ITS#2382 use ch_calloc

21 years agoSLAP_NVALUES updates
Kurt Zeilenga [Sun, 16 Mar 2003 06:41:53 +0000 (06:41 +0000)]
SLAP_NVALUES updates

21 years agoSLAP_NVALUES updates
Kurt Zeilenga [Sun, 16 Mar 2003 06:03:23 +0000 (06:03 +0000)]
SLAP_NVALUES updates

21 years agoSLAP_NVALUES: value_find v value_find_ex
Kurt Zeilenga [Sun, 16 Mar 2003 01:39:39 +0000 (01:39 +0000)]
SLAP_NVALUES: value_find v value_find_ex

21 years agoNot sure why these asserts are failing... too tired to figure it...
Kurt Zeilenga [Sat, 15 Mar 2003 23:59:14 +0000 (23:59 +0000)]
Not sure why these asserts are failing...  too tired to figure it...
so #ifdef for now.

21 years agoFix typo (ITS#2379)
Kurt Zeilenga [Sat, 15 Mar 2003 23:36:23 +0000 (23:36 +0000)]
Fix typo (ITS#2379)

21 years agoFix test006-acls
Kurt Zeilenga [Sat, 15 Mar 2003 23:02:55 +0000 (23:02 +0000)]
Fix test006-acls

21 years agoNVALUES: fix a couple of value_find_ex() calls
Kurt Zeilenga [Sat, 15 Mar 2003 22:47:17 +0000 (22:47 +0000)]
NVALUES: fix a couple of value_find_ex() calls

21 years agoAdd some additional error checking...
Kurt Zeilenga [Sat, 15 Mar 2003 19:45:36 +0000 (19:45 +0000)]
Add some additional error checking...
but haven't yet figured out why NVALUES crashes in test003

21 years agoPlug leaks in controls_destroy()
Howard Chu [Fri, 14 Mar 2003 09:42:18 +0000 (09:42 +0000)]
Plug leaks in controls_destroy()

21 years agoPlug leaks. (benign. slap_controls and root_dse need a destroy() still,
Howard Chu [Fri, 14 Mar 2003 09:37:27 +0000 (09:37 +0000)]
Plug leaks. (benign. slap_controls and root_dse need a destroy() still,
also still need to clear mr's from the ad_map.)

21 years agojust in case <netdb.h> does something like
Kurt Zeilenga [Fri, 14 Mar 2003 04:56:08 +0000 (04:56 +0000)]
just in case <netdb.h> does something like
#define h_errno (* __h_errno())

21 years agoITS#2373 add declaration of h_errno
Howard Chu [Fri, 14 Mar 2003 04:25:39 +0000 (04:25 +0000)]
ITS#2373 add declaration of h_errno

21 years agoITS#2371, fix BDB_SUBDIRs
Howard Chu [Thu, 13 Mar 2003 15:53:19 +0000 (15:53 +0000)]
ITS#2371, fix BDB_SUBDIRs

21 years agominor cleanup
Kurt Zeilenga [Thu, 13 Mar 2003 04:16:18 +0000 (04:16 +0000)]
minor cleanup

21 years agoFix version check in previous
Howard Chu [Thu, 13 Mar 2003 02:01:14 +0000 (02:01 +0000)]
Fix version check in previous

21 years agoITS#2356 - support Perl newer than 5.6
Howard Chu [Thu, 13 Mar 2003 01:58:26 +0000 (01:58 +0000)]
ITS#2356 - support Perl newer than 5.6

21 years agoMinor tweaks
Kurt Zeilenga [Thu, 13 Mar 2003 01:29:49 +0000 (01:29 +0000)]
Minor tweaks

21 years agoUse BER_BVC
Kurt Zeilenga [Thu, 13 Mar 2003 01:05:40 +0000 (01:05 +0000)]
Use BER_BVC

21 years agoFix typo in last commit
Kurt Zeilenga [Thu, 13 Mar 2003 00:53:40 +0000 (00:53 +0000)]
Fix typo in last commit

21 years agoAnother comment.
Kurt Zeilenga [Thu, 13 Mar 2003 00:51:06 +0000 (00:51 +0000)]
Another comment.

21 years agoAdd comment that this schema is invalid
Kurt Zeilenga [Thu, 13 Mar 2003 00:50:30 +0000 (00:50 +0000)]
Add comment that this schema is invalid

21 years agoFix up lutil_passwd stuff to avoid struct berval definition
Howard Chu [Wed, 12 Mar 2003 23:07:09 +0000 (23:07 +0000)]
Fix up lutil_passwd stuff to avoid struct berval definition