]> git.sur5r.net Git - openldap/log
openldap
20 years agoITS#2744
Jong Hyuk Choi [Tue, 30 Sep 2003 18:01:47 +0000 (18:01 +0000)]
ITS#2744

20 years agoFix typo in comment.
Hallvard Furuseth [Tue, 30 Sep 2003 17:11:44 +0000 (17:11 +0000)]
Fix typo in comment.

20 years ago#include "lutil.h", to get lutil_entropy(). Fix call to lutil_entropy().
Hallvard Furuseth [Mon, 29 Sep 2003 23:33:39 +0000 (23:33 +0000)]
#include "lutil.h", to get lutil_entropy().  Fix call to lutil_entropy().

20 years agoDeclare bdb_cache_entry_db_unlock().
Hallvard Furuseth [Mon, 29 Sep 2003 23:32:11 +0000 (23:32 +0000)]
Declare bdb_cache_entry_db_unlock().

20 years ago#include <string.h>, to get memcmp() and memset().
Hallvard Furuseth [Mon, 29 Sep 2003 23:31:18 +0000 (23:31 +0000)]
#include <string.h>, to get memcmp() and memset().

20 years agoITS#2745 reset bei_state when reusing an EntryInfo
Howard Chu [Mon, 29 Sep 2003 22:01:03 +0000 (22:01 +0000)]
ITS#2745 reset bei_state when reusing an EntryInfo

20 years agoITS#2743 initialize rc
Howard Chu [Mon, 29 Sep 2003 19:54:53 +0000 (19:54 +0000)]
ITS#2743 initialize rc

20 years agoDeclare filter_escape_value_x() and make it static.
Hallvard Furuseth [Mon, 29 Sep 2003 14:09:31 +0000 (14:09 +0000)]
Declare filter_escape_value_x() and make it static.

20 years agoMove #include ldap_pvt.h after slap.h, to get ldap_bv2dn_x() & co.
Hallvard Furuseth [Mon, 29 Sep 2003 14:08:23 +0000 (14:08 +0000)]
Move #include ldap_pvt.h after slap.h, to get ldap_bv2dn_x() & co.

20 years agoPlug memory leak in slap_get_csn().
Hallvard Furuseth [Mon, 29 Sep 2003 14:06:48 +0000 (14:06 +0000)]
Plug memory leak in slap_get_csn().

20 years ago#include <ac/unistd.h>, to get geteuid() and getegid().
Hallvard Furuseth [Mon, 29 Sep 2003 14:04:48 +0000 (14:04 +0000)]
#include <ac/unistd.h>, to get geteuid() and getegid().

20 years agoPlug read_config memleak
Howard Chu [Mon, 29 Sep 2003 11:15:12 +0000 (11:15 +0000)]
Plug read_config memleak

20 years agoITS#2130 glued subordinates are not referrals, ignore ManageDSAit control
Howard Chu [Mon, 29 Sep 2003 10:39:41 +0000 (10:39 +0000)]
ITS#2130 glued subordinates are not referrals, ignore ManageDSAit control

20 years agoStarting a collection of overlays
Howard Chu [Mon, 29 Sep 2003 05:49:39 +0000 (05:49 +0000)]
Starting a collection of overlays

20 years agoInitialization fixes
Howard Chu [Mon, 29 Sep 2003 05:04:43 +0000 (05:04 +0000)]
Initialization fixes

20 years agoplug modrdn memleaks
Howard Chu [Sat, 27 Sep 2003 07:52:20 +0000 (07:52 +0000)]
plug modrdn memleaks

20 years agoITS#2736 clear result strings
Howard Chu [Sat, 27 Sep 2003 07:36:20 +0000 (07:36 +0000)]
ITS#2736 clear result strings

20 years agoITS#2600 replica uri= docs
Howard Chu [Sat, 27 Sep 2003 07:14:29 +0000 (07:14 +0000)]
ITS#2600 replica uri= docs

20 years agoAdded description for idlcachesize, shm_key
Howard Chu [Sat, 27 Sep 2003 07:06:48 +0000 (07:06 +0000)]
Added description for idlcachesize, shm_key

20 years agoInclude <ac/socket.h> so Windows can pull in struct timeval def
Howard Chu [Sat, 27 Sep 2003 06:48:15 +0000 (06:48 +0000)]
Include <ac/socket.h> so Windows can pull in struct timeval def

20 years agoDon't timeout slow-running operations
Howard Chu [Sat, 27 Sep 2003 05:36:20 +0000 (05:36 +0000)]
Don't timeout slow-running operations

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