]> git.sur5r.net Git - openldap/log
openldap
20 years agoFix hdb cursor leak.
Howard Chu [Sat, 27 Sep 2003 05:17:08 +0000 (05:17 +0000)]
Fix hdb cursor leak.

20 years agoreinstate first argument to bdb_cache_delete_cleanup()
Luke Howard [Sat, 27 Sep 2003 05:12:17 +0000 (05:12 +0000)]
reinstate first argument to bdb_cache_delete_cleanup()

20 years agoCleanup SLAPI logging
Luke Howard [Sat, 27 Sep 2003 05:03:16 +0000 (05:03 +0000)]
Cleanup SLAPI logging
Remove _SPARC hostname special case - gethostname() should work

20 years agoAdd EntryInfo free list
Howard Chu [Sat, 27 Sep 2003 04:58:36 +0000 (04:58 +0000)]
Add EntryInfo free list

20 years agoFix tree breakage - bdb_cache_delete_cleanup() only takes one argument
Luke Howard [Sat, 27 Sep 2003 04:24:31 +0000 (04:24 +0000)]
Fix tree breakage - bdb_cache_delete_cleanup() only takes one argument
???

20 years agoDon't leak SLAPI_RESULT_MATCHED
Luke Howard [Sat, 27 Sep 2003 03:59:40 +0000 (03:59 +0000)]
Don't leak SLAPI_RESULT_MATCHED
Call SLAPI_PLUGIN_PRE_RESULT_FN plugins

20 years agoAdd slapi_dn_beparent, slapi_dn_parent and slapi_dn_isparent API.
Luke Howard [Sat, 27 Sep 2003 03:29:05 +0000 (03:29 +0000)]
Add slapi_dn_beparent, slapi_dn_parent and slapi_dn_isparent API.

20 years agoITS#2741 yield before backing off
Howard Chu [Sat, 27 Sep 2003 03:16:38 +0000 (03:16 +0000)]
ITS#2741 yield before backing off

20 years agoslapi_send_ldap_search_reference()
Luke Howard [Fri, 26 Sep 2003 17:19:25 +0000 (17:19 +0000)]
slapi_send_ldap_search_reference()

20 years agoImplementation of slapi_send_ldap_search_reference()
Luke Howard [Fri, 26 Sep 2003 17:10:03 +0000 (17:10 +0000)]
Implementation of slapi_send_ldap_search_reference()

20 years agoFix typo in libslapi rule
Howard Chu [Thu, 25 Sep 2003 20:33:07 +0000 (20:33 +0000)]
Fix typo in libslapi rule

20 years agomove c->c_n_ops_executing/completed to the right place
Jong Hyuk Choi [Thu, 25 Sep 2003 20:14:53 +0000 (20:14 +0000)]
move c->c_n_ops_executing/completed to the right place

20 years agoPlug SLAPI leak
Howard Chu [Thu, 25 Sep 2003 11:28:31 +0000 (11:28 +0000)]
Plug SLAPI leak

20 years agodo not cache internal search results for present entry priming
Jong Hyuk Choi [Thu, 25 Sep 2003 07:49:50 +0000 (07:49 +0000)]
do not cache internal search results for present entry priming

20 years agono caching flag in Operation structure
Jong Hyuk Choi [Thu, 25 Sep 2003 07:48:53 +0000 (07:48 +0000)]
no caching flag in Operation structure

20 years agorevert changes for persistent search
Jong Hyuk Choi [Thu, 25 Sep 2003 02:14:20 +0000 (02:14 +0000)]
revert changes for persistent search

20 years agofollowup of the previous commit
Jong Hyuk Choi [Thu, 25 Sep 2003 01:40:33 +0000 (01:40 +0000)]
followup of the previous commit

20 years agodidn't compile without cyrus-sasl
Jong Hyuk Choi [Thu, 25 Sep 2003 01:00:34 +0000 (01:00 +0000)]
didn't compile without cyrus-sasl

20 years agoloose ends fixed
Jong Hyuk Choi [Thu, 25 Sep 2003 00:59:27 +0000 (00:59 +0000)]
loose ends fixed

20 years agoRevert to previous behavior:
Howard Chu [Thu, 25 Sep 2003 00:27:22 +0000 (00:27 +0000)]
Revert to previous behavior:
  always use DB_AUTO_COMMIT when opening a database, don't make it
  dependent on an in-progress transaction

  use mutex instead of DB lock for db access.

20 years agoAdd memctx param to build_new_dn(). cleanup DN leaks.
Howard Chu [Wed, 24 Sep 2003 04:30:41 +0000 (04:30 +0000)]
Add memctx param to build_new_dn(). cleanup DN leaks.

20 years agoSilence valgrind warnings of uninit'd memory
Howard Chu [Wed, 24 Sep 2003 03:03:53 +0000 (03:03 +0000)]
Silence valgrind warnings of uninit'd memory

20 years agoITS#2735 - plug memory leaks
Howard Chu [Wed, 24 Sep 2003 00:32:27 +0000 (00:32 +0000)]
ITS#2735 - plug memory leaks

20 years agolog the cause of the error when ldap_result() returns -1
Jong Hyuk Choi [Tue, 23 Sep 2003 23:41:57 +0000 (23:41 +0000)]
log the cause of the error when ldap_result() returns -1

20 years agoITS#2735 - plug memory leaks, cleanup
Howard Chu [Tue, 23 Sep 2003 22:52:35 +0000 (22:52 +0000)]
ITS#2735 - plug memory leaks, cleanup

20 years agoITS#2735 - plug memory leaks
Howard Chu [Tue, 23 Sep 2003 22:52:35 +0000 (22:52 +0000)]
ITS#2735 - plug memory leaks

20 years agoPlug a leak.
Howard Chu [Tue, 23 Sep 2003 17:14:01 +0000 (17:14 +0000)]
Plug a leak.

20 years agoChange slapd-tester to read search base from file instead of using
Howard Chu [Tue, 23 Sep 2003 11:55:59 +0000 (11:55 +0000)]
Change slapd-tester to read search base from file instead of using
the commandline

20 years agoFix prev commit for empty attrs
Howard Chu [Tue, 23 Sep 2003 11:29:20 +0000 (11:29 +0000)]
Fix prev commit for empty attrs

20 years agoMake new print_entry() the default
Howard Chu [Tue, 23 Sep 2003 11:06:21 +0000 (11:06 +0000)]
Make new print_entry() the default

20 years agoFix alignment issues in hdb_dn2idl_internal
Howard Chu [Tue, 23 Sep 2003 10:55:57 +0000 (10:55 +0000)]
Fix alignment issues in hdb_dn2idl_internal

20 years agoFix back-hdb test006 failures due to bad return code in hdb_dn2idl
Howard Chu [Tue, 23 Sep 2003 08:16:23 +0000 (08:16 +0000)]
Fix back-hdb test006 failures due to bad return code in hdb_dn2idl

20 years agoFix for Howard's fix for ITS #2704
Luke Howard [Tue, 23 Sep 2003 07:40:29 +0000 (07:40 +0000)]
Fix for Howard's fix for ITS #2704

The oblique SLAPI interface requires that preop bind plugins return 1 in the
case that they have authoritatively handled the bind; of course, this is
the same return value that doPluginFNs() returns in the case of no plugins
being called.

This patch should distinguish between the two cases...

20 years agoITS#2526 Fix slapi builds
Howard Chu [Tue, 23 Sep 2003 06:11:38 +0000 (06:11 +0000)]
ITS#2526 Fix slapi builds
  note that -lltdl is added redundantly if --enable-modules was specified.
It seems to me that --enable-slapi should have implied --enable-modules
from the beginning.

20 years agoITS#2704 don't hang client when no preop plugins are loaded
Howard Chu [Tue, 23 Sep 2003 05:35:38 +0000 (05:35 +0000)]
ITS#2704 don't hang client when no preop plugins are loaded

20 years agoITS#2726 make libldbm.a conditional on --enable-ldbm
Howard Chu [Tue, 23 Sep 2003 02:56:48 +0000 (02:56 +0000)]
ITS#2726 make libldbm.a conditional on --enable-ldbm

20 years agofix ITS#2733
Jong Hyuk Choi [Tue, 23 Sep 2003 00:11:46 +0000 (00:11 +0000)]
fix ITS#2733
- if test back-ldbm then
-    run the provider with back-bdb when back-bdb is configured
-    run the provider with back-hdb when back-hdb is configured
-    exit when neither is configured

20 years agoITS#2717, use default SASL_MECH if none was provided.
Howard Chu [Mon, 22 Sep 2003 23:50:33 +0000 (23:50 +0000)]
ITS#2717, use default SASL_MECH if none was provided.

Note that the mech stored in the void *defaults structure is useless
because we can't look inside the structure, and the mech list is needed
as input to the SASL library, before any callbacks are called. It seems
the mech doesn't belong in the *defaults struct, and/or it should be
visible and not opaque.

20 years agoITS#2678 complain if updateref is missing on a slave database
Howard Chu [Mon, 22 Sep 2003 18:54:08 +0000 (18:54 +0000)]
ITS#2678 complain if updateref is missing on a slave database

20 years agoCheck for HAVE_LONG_LONG in STRTOL macro
Luke Howard [Mon, 22 Sep 2003 14:01:31 +0000 (14:01 +0000)]
Check for HAVE_LONG_LONG in STRTOL macro

20 years agoCleanup prev commit
Howard Chu [Mon, 22 Sep 2003 10:11:10 +0000 (10:11 +0000)]
Cleanup prev commit

20 years agoback-hdb caching updates, use EntryInfo cache for hdb_dn2idl.
Howard Chu [Mon, 22 Sep 2003 08:37:32 +0000 (08:37 +0000)]
back-hdb caching updates, use EntryInfo cache for hdb_dn2idl.

20 years agoClean up CYRUS test
Kurt Zeilenga [Mon, 22 Sep 2003 06:07:52 +0000 (06:07 +0000)]
Clean up CYRUS test

20 years agoFix long long comment
Kurt Zeilenga [Mon, 22 Sep 2003 06:07:25 +0000 (06:07 +0000)]
Fix long long comment

20 years agoFix LONG LONG header comment
Kurt Zeilenga [Mon, 22 Sep 2003 06:07:15 +0000 (06:07 +0000)]
Fix LONG LONG header comment

20 years agoTweak entry caching: only maintain LRU list on cached entries, not
Howard Chu [Sun, 21 Sep 2003 23:08:44 +0000 (23:08 +0000)]
Tweak entry caching: only maintain LRU list on cached entries, not
on arbitrary EntryInfo.

20 years agoITS#2497 value-level ACLs
Howard Chu [Sun, 21 Sep 2003 11:07:32 +0000 (11:07 +0000)]
ITS#2497 value-level ACLs

20 years agoMore for dynamic groups
Howard Chu [Sun, 21 Sep 2003 10:52:44 +0000 (10:52 +0000)]
More for dynamic groups

20 years agoITS#2573 dynamic group support
Howard Chu [Sun, 21 Sep 2003 10:45:57 +0000 (10:45 +0000)]
ITS#2573 dynamic group support

20 years agoITS#2497 value-level ACLs
Howard Chu [Sun, 21 Sep 2003 10:34:40 +0000 (10:34 +0000)]
ITS#2497 value-level ACLs

20 years agoRevert broken index optimizations
Howard Chu [Sun, 21 Sep 2003 10:11:46 +0000 (10:11 +0000)]
Revert broken index optimizations

20 years agoDefine SLAP_STRTOL macro for integerBitAndMatch() and integerBitOrMatch()
Luke Howard [Sun, 21 Sep 2003 06:26:43 +0000 (06:26 +0000)]
Define SLAP_STRTOL macro for integerBitAndMatch() and integerBitOrMatch()
usage - necessary to use larger types for interop with a certain client
that would expect the assertion (attr:1.2.840.113556.1.4.803:=2147483648)
to match a signed value (eg. -2147483646).

There are probably better / more portable solutions; review appreciated.

20 years agoAlso check for strtoll()
Luke Howard [Sun, 21 Sep 2003 06:04:14 +0000 (06:04 +0000)]
Also check for strtoll()

20 years agoCheck for strtoq, strtouq
Luke Howard [Sun, 21 Sep 2003 05:49:07 +0000 (05:49 +0000)]
Check for strtoq, strtouq

20 years agoCheck for strtoq, strtouq
Luke Howard [Sun, 21 Sep 2003 05:37:20 +0000 (05:37 +0000)]
Check for strtoq, strtouq

20 years agoITS#2573 dynamic group support
Howard Chu [Sat, 20 Sep 2003 08:16:04 +0000 (08:16 +0000)]
ITS#2573 dynamic group support
  moved labeledURI into system schema
  attribute types that inherit from labeledURI may be used in dynamic
    groups e.g. access to * by group/groupOfURLs/memberURL=foo

20 years agoFix crashes if test_filter is called with NULL op
Howard Chu [Sat, 20 Sep 2003 08:12:22 +0000 (08:12 +0000)]
Fix crashes if test_filter is called with NULL op

20 years agoFix segfault if entry_get is called with NULL attribute
Howard Chu [Sat, 20 Sep 2003 07:48:57 +0000 (07:48 +0000)]
Fix segfault if entry_get is called with NULL attribute

20 years agoPlug memleak in slap_parseURI
Howard Chu [Sat, 20 Sep 2003 05:55:48 +0000 (05:55 +0000)]
Plug memleak in slap_parseURI

20 years agocn=ldapsync berval cleanup
Howard Chu [Sat, 20 Sep 2003 03:26:40 +0000 (03:26 +0000)]
cn=ldapsync berval cleanup

20 years agoTweak normalization in slap_entry2mods
Howard Chu [Sat, 20 Sep 2003 03:25:05 +0000 (03:25 +0000)]
Tweak normalization in slap_entry2mods

20 years agoITS#2497, implement value-level ACLs:
Howard Chu [Sat, 20 Sep 2003 03:23:10 +0000 (03:23 +0000)]
ITS#2497, implement value-level ACLs:
access to attr=foo val.regex=bar.*

20 years agoRevert rev 1.90 ITS#2484 patch; Cyrus 1.5 is no longer supported.
Howard Chu [Sat, 20 Sep 2003 00:33:42 +0000 (00:33 +0000)]
Revert rev 1.90 ITS#2484 patch; Cyrus 1.5 is no longer supported.

20 years agoHide experimental features
Kurt Zeilenga [Fri, 19 Sep 2003 18:41:28 +0000 (18:41 +0000)]
Hide experimental features

20 years agoHide experimental controls
Kurt Zeilenga [Fri, 19 Sep 2003 18:38:35 +0000 (18:38 +0000)]
Hide experimental controls

20 years agoadd "proxy" to "authorization" in a few places
Kurt Zeilenga [Fri, 19 Sep 2003 18:23:37 +0000 (18:23 +0000)]
add "proxy" to "authorization" in a few places

20 years agoITS#2729 fix typos
Howard Chu [Fri, 19 Sep 2003 00:49:33 +0000 (00:49 +0000)]
ITS#2729 fix typos

20 years agoFix pre/post attrs init bug (ITS#2728)
Kurt Zeilenga [Thu, 18 Sep 2003 17:12:27 +0000 (17:12 +0000)]
Fix pre/post attrs init bug (ITS#2728)

20 years agoerror behavior fix and TODO
Jong Hyuk Choi [Thu, 18 Sep 2003 06:04:28 +0000 (06:04 +0000)]
error behavior fix and TODO

20 years agocorrection of binddn= requirement in the example section
Jong Hyuk Choi [Wed, 17 Sep 2003 23:30:43 +0000 (23:30 +0000)]
correction of binddn= requirement in the example section

20 years agomissing or empty attrs list in a syncrepl specification
Jong Hyuk Choi [Wed, 17 Sep 2003 23:06:57 +0000 (23:06 +0000)]
missing or empty attrs list in a syncrepl specification
is changed to mean attrs="*"

20 years agofix typo
Luke Howard [Wed, 17 Sep 2003 11:05:06 +0000 (11:05 +0000)]
fix typo

20 years agofix for persistent search termination (ITS#2724)
Jong Hyuk Choi [Wed, 17 Sep 2003 10:34:10 +0000 (10:34 +0000)]
fix for persistent search termination (ITS#2724)
 - the consumer slapd did not terminate when the provider is alive
 - use a timeout in ldap_result() of syncrepl.c

20 years agofix config file processing (ITS#2722)
Jong Hyuk Choi [Wed, 17 Sep 2003 05:34:47 +0000 (05:34 +0000)]
fix config file processing (ITS#2722)

20 years agoITS#2679 don't use cached ACL state from different attribute
Howard Chu [Tue, 16 Sep 2003 22:03:26 +0000 (22:03 +0000)]
ITS#2679 don't use cached ACL state from different attribute

20 years agoRequire Cyrus SASL 2.1
Kurt Zeilenga [Tue, 16 Sep 2003 20:17:18 +0000 (20:17 +0000)]
Require Cyrus SASL 2.1

20 years agoRequire Cyrus SASL 2.1 or better
Kurt Zeilenga [Tue, 16 Sep 2003 20:17:07 +0000 (20:17 +0000)]
Require Cyrus SASL 2.1 or better

20 years agoInitial support for pre/post read controls.
Kurt Zeilenga [Tue, 16 Sep 2003 18:56:04 +0000 (18:56 +0000)]
Initial support for pre/post read controls.
TODO:
Fix transactional consistency
Add client response control handling

20 years agoUpdate refs
Kurt Zeilenga [Tue, 16 Sep 2003 05:27:20 +0000 (05:27 +0000)]
Update refs

20 years agoInitial proxy cache and syncrepl chapters
Kurt Zeilenga [Tue, 16 Sep 2003 05:16:33 +0000 (05:16 +0000)]
Initial proxy cache and syncrepl chapters

20 years agos/mech/saslmech/ in sasl directives
Kurt Zeilenga [Tue, 16 Sep 2003 04:39:14 +0000 (04:39 +0000)]
s/mech/saslmech/ in sasl directives

20 years agocleanup
Kurt Zeilenga [Mon, 15 Sep 2003 21:53:58 +0000 (21:53 +0000)]
cleanup

20 years agoAdd dn.subtree="" clause
Kurt Zeilenga [Mon, 15 Sep 2003 21:50:13 +0000 (21:50 +0000)]
Add dn.subtree="" clause

20 years agoDon't pass NULL when string is expected.
Kurt Zeilenga [Mon, 15 Sep 2003 21:22:20 +0000 (21:22 +0000)]
Don't pass NULL when string is expected.
Other Cleanup

20 years agoModifications must be copied before calling slap_mods_check() because
Luke Howard [Mon, 15 Sep 2003 06:53:54 +0000 (06:53 +0000)]
Modifications must be copied before calling slap_mods_check() because
the pretty function may replace values which are owned by the SLAPI plugin

slapi_entry_dup() optimization - avoid string re-encoding

Fix slapi_add_internal() logic errors (was this ever tested?)

Don't attempt to free entries that have been cached; see new internal
slapi_add_entry_internal_locked() API

20 years agoMore deadlock tweaks.
Howard Chu [Sun, 14 Sep 2003 10:27:59 +0000 (10:27 +0000)]
More deadlock tweaks.

20 years agoITS#2484, set sasl_maxbuf to SASL_MAX_BUFF_SIZE if it was negotiated
Howard Chu [Sun, 14 Sep 2003 05:19:45 +0000 (05:19 +0000)]
ITS#2484, set sasl_maxbuf to SASL_MAX_BUFF_SIZE if it was negotiated
as zero.

20 years agoITS#2649, never defer Abandon requests
Howard Chu [Sat, 13 Sep 2003 11:15:23 +0000 (11:15 +0000)]
ITS#2649, never defer Abandon requests

20 years agoITS#2691 use putenv() instead of setenv() for portability
Howard Chu [Sat, 13 Sep 2003 10:20:27 +0000 (10:20 +0000)]
ITS#2691 use putenv() instead of setenv() for portability

20 years agoAdd comment about normalized values in mods vs entry attributes
Howard Chu [Sat, 13 Sep 2003 09:51:28 +0000 (09:51 +0000)]
Add comment about normalized values in mods vs entry attributes

20 years agofix in slap_entry2mods()
Jong Hyuk Choi [Sat, 13 Sep 2003 00:36:14 +0000 (00:36 +0000)]
fix in slap_entry2mods()

20 years agoLDAP_SASL_INTERACTIVE -> LDAP_SASL_QUIET
Jong Hyuk Choi [Fri, 12 Sep 2003 22:49:14 +0000 (22:49 +0000)]
LDAP_SASL_INTERACTIVE -> LDAP_SASL_QUIET

20 years agofix for Makefile change
Jong Hyuk Choi [Fri, 12 Sep 2003 21:06:29 +0000 (21:06 +0000)]
fix for Makefile change

20 years ago-y should not require -W
Kurt Zeilenga [Fri, 12 Sep 2003 20:10:05 +0000 (20:10 +0000)]
-y should not require -W

20 years agoFix prev commit
Howard Chu [Fri, 12 Sep 2003 19:40:04 +0000 (19:40 +0000)]
Fix prev commit

20 years agoFix prev commit
Howard Chu [Fri, 12 Sep 2003 18:53:59 +0000 (18:53 +0000)]
Fix prev commit

20 years agoConstruct ctxcsn entries directly, plug memory leaks, remove
Howard Chu [Fri, 12 Sep 2003 18:52:34 +0000 (18:52 +0000)]
Construct ctxcsn entries directly, plug memory leaks, remove
dependency on slap_mods_check and slap_mods2entry

20 years agoClarify/standardize library version mismatch error messages
Howard Chu [Fri, 12 Sep 2003 00:54:21 +0000 (00:54 +0000)]
Clarify/standardize library version mismatch error messages

20 years agoFix SLAPI bind pre-operation plugin regression
Luke Howard [Thu, 11 Sep 2003 09:04:03 +0000 (09:04 +0000)]
Fix SLAPI bind pre-operation plugin regression

20 years agoadd bdb_get_commit_csn() for use in bdb_search
Jong Hyuk Choi [Wed, 10 Sep 2003 17:03:01 +0000 (17:03 +0000)]
add bdb_get_commit_csn() for use in bdb_search