]> git.sur5r.net Git - openldap/log
openldap
21 years agoITS#2736 clear result strings
Howard Chu [Sat, 27 Sep 2003 07:36:20 +0000 (07:36 +0000)]
ITS#2736 clear result strings

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

21 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

21 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

21 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

21 years agoFix hdb cursor leak.
Howard Chu [Sat, 27 Sep 2003 05:17:08 +0000 (05:17 +0000)]
Fix hdb cursor leak.

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

21 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

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

21 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
???

21 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

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

21 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

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

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

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

21 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

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

21 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

21 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

21 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

21 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

21 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

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

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

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

21 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

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

21 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

21 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

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

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

21 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

21 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

21 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

21 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

21 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

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

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

21 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

21 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

21 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

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

21 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

21 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

21 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

21 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

21 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

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

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

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

21 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.*

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

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

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

21 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

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

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

21 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

21 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

21 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="*"

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

21 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

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

21 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

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

21 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

21 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

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

21 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

21 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

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

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

21 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

21 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

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

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

21 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

21 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

21 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

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

21 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

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

21 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

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