]>
git.sur5r.net Git - openldap/log
Luke Howard [Fri, 26 Sep 2003 17:10:03 +0000 (17:10 +0000)]
Implementation of slapi_send_ldap_search_reference()
Howard Chu [Thu, 25 Sep 2003 20:33:07 +0000 (20:33 +0000)]
Fix typo in libslapi rule
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
Howard Chu [Thu, 25 Sep 2003 11:28:31 +0000 (11:28 +0000)]
Plug SLAPI leak
Jong Hyuk Choi [Thu, 25 Sep 2003 07:49:50 +0000 (07:49 +0000)]
do not cache internal search results for present entry priming
Jong Hyuk Choi [Thu, 25 Sep 2003 07:48:53 +0000 (07:48 +0000)]
no caching flag in Operation structure
Jong Hyuk Choi [Thu, 25 Sep 2003 02:14:20 +0000 (02:14 +0000)]
revert changes for persistent search
Jong Hyuk Choi [Thu, 25 Sep 2003 01:40:33 +0000 (01:40 +0000)]
followup of the previous commit
Jong Hyuk Choi [Thu, 25 Sep 2003 01:00:34 +0000 (01:00 +0000)]
didn't compile without cyrus-sasl
Jong Hyuk Choi [Thu, 25 Sep 2003 00:59:27 +0000 (00:59 +0000)]
loose ends fixed
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.
Howard Chu [Wed, 24 Sep 2003 04:30:41 +0000 (04:30 +0000)]
Add memctx param to build_new_dn(). cleanup DN leaks.
Howard Chu [Wed, 24 Sep 2003 03:03:53 +0000 (03:03 +0000)]
Silence valgrind warnings of uninit'd memory
Howard Chu [Wed, 24 Sep 2003 00:32:27 +0000 (00:32 +0000)]
ITS#2735 - plug memory leaks
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
Howard Chu [Tue, 23 Sep 2003 22:52:35 +0000 (22:52 +0000)]
ITS#2735 - plug memory leaks, cleanup
Howard Chu [Tue, 23 Sep 2003 22:52:35 +0000 (22:52 +0000)]
ITS#2735 - plug memory leaks
Howard Chu [Tue, 23 Sep 2003 17:14:01 +0000 (17:14 +0000)]
Plug a leak.
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
Howard Chu [Tue, 23 Sep 2003 11:29:20 +0000 (11:29 +0000)]
Fix prev commit for empty attrs
Howard Chu [Tue, 23 Sep 2003 11:06:21 +0000 (11:06 +0000)]
Make new print_entry() the default
Howard Chu [Tue, 23 Sep 2003 10:55:57 +0000 (10:55 +0000)]
Fix alignment issues in hdb_dn2idl_internal
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
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...
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.
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
Howard Chu [Tue, 23 Sep 2003 02:56:48 +0000 (02:56 +0000)]
ITS#2726 make libldbm.a conditional on --enable-ldbm
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
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.
Howard Chu [Mon, 22 Sep 2003 18:54:08 +0000 (18:54 +0000)]
ITS#2678 complain if updateref is missing on a slave database
Luke Howard [Mon, 22 Sep 2003 14:01:31 +0000 (14:01 +0000)]
Check for HAVE_LONG_LONG in STRTOL macro
Howard Chu [Mon, 22 Sep 2003 10:11:10 +0000 (10:11 +0000)]
Cleanup prev commit
Howard Chu [Mon, 22 Sep 2003 08:37:32 +0000 (08:37 +0000)]
back-hdb caching updates, use EntryInfo cache for hdb_dn2idl.
Kurt Zeilenga [Mon, 22 Sep 2003 06:07:52 +0000 (06:07 +0000)]
Clean up CYRUS test
Kurt Zeilenga [Mon, 22 Sep 2003 06:07:25 +0000 (06:07 +0000)]
Fix long long comment
Kurt Zeilenga [Mon, 22 Sep 2003 06:07:15 +0000 (06:07 +0000)]
Fix LONG LONG header comment
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.
Howard Chu [Sun, 21 Sep 2003 11:07:32 +0000 (11:07 +0000)]
ITS#2497 value-level ACLs
Howard Chu [Sun, 21 Sep 2003 10:52:44 +0000 (10:52 +0000)]
More for dynamic groups
Howard Chu [Sun, 21 Sep 2003 10:45:57 +0000 (10:45 +0000)]
ITS#2573 dynamic group support
Howard Chu [Sun, 21 Sep 2003 10:34:40 +0000 (10:34 +0000)]
ITS#2497 value-level ACLs
Howard Chu [Sun, 21 Sep 2003 10:11:46 +0000 (10:11 +0000)]
Revert broken index optimizations
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.
Luke Howard [Sun, 21 Sep 2003 06:04:14 +0000 (06:04 +0000)]
Also check for strtoll()
Luke Howard [Sun, 21 Sep 2003 05:49:07 +0000 (05:49 +0000)]
Check for strtoq, strtouq
Luke Howard [Sun, 21 Sep 2003 05:37:20 +0000 (05:37 +0000)]
Check for strtoq, strtouq
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
Howard Chu [Sat, 20 Sep 2003 08:12:22 +0000 (08:12 +0000)]
Fix crashes if test_filter is called with NULL op
Howard Chu [Sat, 20 Sep 2003 07:48:57 +0000 (07:48 +0000)]
Fix segfault if entry_get is called with NULL attribute
Howard Chu [Sat, 20 Sep 2003 05:55:48 +0000 (05:55 +0000)]
Plug memleak in slap_parseURI
Howard Chu [Sat, 20 Sep 2003 03:26:40 +0000 (03:26 +0000)]
cn=ldapsync berval cleanup
Howard Chu [Sat, 20 Sep 2003 03:25:05 +0000 (03:25 +0000)]
Tweak normalization in slap_entry2mods
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.*
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.
Kurt Zeilenga [Fri, 19 Sep 2003 18:41:28 +0000 (18:41 +0000)]
Hide experimental features
Kurt Zeilenga [Fri, 19 Sep 2003 18:38:35 +0000 (18:38 +0000)]
Hide experimental controls
Kurt Zeilenga [Fri, 19 Sep 2003 18:23:37 +0000 (18:23 +0000)]
add "proxy" to "authorization" in a few places
Howard Chu [Fri, 19 Sep 2003 00:49:33 +0000 (00:49 +0000)]
ITS#2729 fix typos
Kurt Zeilenga [Thu, 18 Sep 2003 17:12:27 +0000 (17:12 +0000)]
Fix pre/post attrs init bug (ITS#2728)
Jong Hyuk Choi [Thu, 18 Sep 2003 06:04:28 +0000 (06:04 +0000)]
error behavior fix and TODO
Jong Hyuk Choi [Wed, 17 Sep 2003 23:30:43 +0000 (23:30 +0000)]
correction of binddn= requirement in the example section
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="*"
Luke Howard [Wed, 17 Sep 2003 11:05:06 +0000 (11:05 +0000)]
fix typo
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
Jong Hyuk Choi [Wed, 17 Sep 2003 05:34:47 +0000 (05:34 +0000)]
fix config file processing (ITS#2722)
Howard Chu [Tue, 16 Sep 2003 22:03:26 +0000 (22:03 +0000)]
ITS#2679 don't use cached ACL state from different attribute
Kurt Zeilenga [Tue, 16 Sep 2003 20:17:18 +0000 (20:17 +0000)]
Require Cyrus SASL 2.1
Kurt Zeilenga [Tue, 16 Sep 2003 20:17:07 +0000 (20:17 +0000)]
Require Cyrus SASL 2.1 or better
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
Kurt Zeilenga [Tue, 16 Sep 2003 05:27:20 +0000 (05:27 +0000)]
Update refs
Kurt Zeilenga [Tue, 16 Sep 2003 05:16:33 +0000 (05:16 +0000)]
Initial proxy cache and syncrepl chapters
Kurt Zeilenga [Tue, 16 Sep 2003 04:39:14 +0000 (04:39 +0000)]
s/mech/saslmech/ in sasl directives
Kurt Zeilenga [Mon, 15 Sep 2003 21:53:58 +0000 (21:53 +0000)]
cleanup
Kurt Zeilenga [Mon, 15 Sep 2003 21:50:13 +0000 (21:50 +0000)]
Add dn.subtree="" clause
Kurt Zeilenga [Mon, 15 Sep 2003 21:22:20 +0000 (21:22 +0000)]
Don't pass NULL when string is expected.
Other Cleanup
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
Howard Chu [Sun, 14 Sep 2003 10:27:59 +0000 (10:27 +0000)]
More deadlock tweaks.
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.
Howard Chu [Sat, 13 Sep 2003 11:15:23 +0000 (11:15 +0000)]
ITS#2649, never defer Abandon requests
Howard Chu [Sat, 13 Sep 2003 10:20:27 +0000 (10:20 +0000)]
ITS#2691 use putenv() instead of setenv() for portability
Howard Chu [Sat, 13 Sep 2003 09:51:28 +0000 (09:51 +0000)]
Add comment about normalized values in mods vs entry attributes
Jong Hyuk Choi [Sat, 13 Sep 2003 00:36:14 +0000 (00:36 +0000)]
fix in slap_entry2mods()
Jong Hyuk Choi [Fri, 12 Sep 2003 22:49:14 +0000 (22:49 +0000)]
LDAP_SASL_INTERACTIVE -> LDAP_SASL_QUIET
Jong Hyuk Choi [Fri, 12 Sep 2003 21:06:29 +0000 (21:06 +0000)]
fix for Makefile change
Kurt Zeilenga [Fri, 12 Sep 2003 20:10:05 +0000 (20:10 +0000)]
-y should not require -W
Howard Chu [Fri, 12 Sep 2003 19:40:04 +0000 (19:40 +0000)]
Fix prev commit
Howard Chu [Fri, 12 Sep 2003 18:53:59 +0000 (18:53 +0000)]
Fix prev commit
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
Howard Chu [Fri, 12 Sep 2003 00:54:21 +0000 (00:54 +0000)]
Clarify/standardize library version mismatch error messages
Luke Howard [Thu, 11 Sep 2003 09:04:03 +0000 (09:04 +0000)]
Fix SLAPI bind pre-operation plugin regression
Jong Hyuk Choi [Wed, 10 Sep 2003 17:03:01 +0000 (17:03 +0000)]
add bdb_get_commit_csn() for use in bdb_search
Kurt Zeilenga [Wed, 10 Sep 2003 02:33:36 +0000 (02:33 +0000)]
ITS#2707: fix 'access to dn.subtree="" by ...' directives
Kurt Zeilenga [Tue, 9 Sep 2003 18:37:31 +0000 (18:37 +0000)]
subtree ACI patch from Ralf
Kurt Zeilenga [Tue, 9 Sep 2003 17:17:21 +0000 (17:17 +0000)]
ITS#2696:
ldappasswd -T and -t options don't work, they try to open the file ldappasswd
instead of the argument passed.
Applied patch provided by Nicolas Schodet.
Jong Hyuk Choi [Tue, 9 Sep 2003 01:25:58 +0000 (01:25 +0000)]
more EntryInfo handling fix code (overriding the prev fix)
Jong Hyuk Choi [Mon, 8 Sep 2003 22:55:04 +0000 (22:55 +0000)]
use of bdb_modify_internal() in bdb_csn_commit()
fix EntryInfo handling in bdb_csn_commit()
Jong Hyuk Choi [Fri, 5 Sep 2003 20:13:10 +0000 (20:13 +0000)]
structrual oc fix
Jong Hyuk Choi [Fri, 5 Sep 2003 18:11:39 +0000 (18:11 +0000)]
It's verified that back-hdb performs as a sync provider as well as a sync consumer.
Jong Hyuk Choi [Thu, 4 Sep 2003 19:48:53 +0000 (19:48 +0000)]
misc cleanup
Jong Hyuk Choi [Wed, 3 Sep 2003 23:47:37 +0000 (23:47 +0000)]
memory mgmt cleanup