]> git.sur5r.net Git - openldap/log
openldap
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

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

21 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

21 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

21 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

21 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

21 years agoITS#2707: fix 'access to dn.subtree="" by ...' directives
Kurt Zeilenga [Wed, 10 Sep 2003 02:33:36 +0000 (02:33 +0000)]
ITS#2707: fix 'access to dn.subtree="" by ...' directives

21 years agosubtree ACI patch from Ralf
Kurt Zeilenga [Tue, 9 Sep 2003 18:37:31 +0000 (18:37 +0000)]
subtree ACI patch from Ralf

21 years agoITS#2696:
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.

21 years agomore EntryInfo handling fix code (overriding the prev fix)
Jong Hyuk Choi [Tue, 9 Sep 2003 01:25:58 +0000 (01:25 +0000)]
more EntryInfo handling fix code (overriding the prev fix)

21 years agouse of bdb_modify_internal() in bdb_csn_commit()
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()

21 years agostructrual oc fix
Jong Hyuk Choi [Fri, 5 Sep 2003 20:13:10 +0000 (20:13 +0000)]
structrual oc fix

21 years agoIt's verified that back-hdb performs as a sync provider as well as a sync consumer.
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.

21 years agomisc cleanup
Jong Hyuk Choi [Thu, 4 Sep 2003 19:48:53 +0000 (19:48 +0000)]
misc cleanup

21 years agomemory mgmt cleanup
Jong Hyuk Choi [Wed, 3 Sep 2003 23:47:37 +0000 (23:47 +0000)]
memory mgmt cleanup

21 years agoSchema checking option for LDAP Sync replication
Jong Hyuk Choi [Wed, 3 Sep 2003 21:42:52 +0000 (21:42 +0000)]
Schema checking option for LDAP Sync replication

21 years agomanual update for proxy cache (apurva)
Jong Hyuk Choi [Wed, 3 Sep 2003 16:26:17 +0000 (16:26 +0000)]
manual update for proxy cache (apurva)

21 years agono schema checking patch for proxy cache (apurva)
Jong Hyuk Choi [Wed, 3 Sep 2003 15:44:22 +0000 (15:44 +0000)]
no schema checking patch for proxy cache (apurva)

21 years agoPatch for ITS#2692
Jong Hyuk Choi [Wed, 3 Sep 2003 08:21:51 +0000 (08:21 +0000)]
Patch for ITS#2692

21 years agoSupport per-backend ACL plugins
Luke Howard [Mon, 1 Sep 2003 08:49:22 +0000 (08:49 +0000)]
Support per-backend ACL plugins

21 years agoSupport for ACL plugins
Luke Howard [Sun, 31 Aug 2003 08:17:21 +0000 (08:17 +0000)]
Support for ACL plugins

21 years agoInherit operation pblock for SLAPI
Luke Howard [Sun, 31 Aug 2003 08:14:54 +0000 (08:14 +0000)]
Inherit operation pblock for SLAPI

21 years agoAdd ACL plugin definitions
Luke Howard [Sun, 31 Aug 2003 07:51:28 +0000 (07:51 +0000)]
Add ACL plugin definitions

21 years agoCall SASL bind post-op SLAPI plugin _after_ DN has been set
Luke Howard [Sun, 31 Aug 2003 03:11:05 +0000 (03:11 +0000)]
Call SASL bind post-op SLAPI plugin _after_ DN has been set

21 years agoCall post-op bind functions after SASL bind
Luke Howard [Sun, 31 Aug 2003 03:08:06 +0000 (03:08 +0000)]
Call post-op bind functions after SASL bind

21 years agoSLAPI_X_CONN_SASL_CONTEXT
Luke Howard [Sat, 30 Aug 2003 17:29:54 +0000 (17:29 +0000)]
SLAPI_X_CONN_SASL_CONTEXT

21 years agoExpose SASL context to SLAPI plugins (SLAPI_X_CONN_SASL_CONTEXT)
Luke Howard [Sat, 30 Aug 2003 17:29:14 +0000 (17:29 +0000)]
Expose SASL context to SLAPI plugins (SLAPI_X_CONN_SASL_CONTEXT)

Useful for plugins that may wish to collude with the SASL library to,
for example, retrieve a user's authorization data from a Kerberos ticket
for access control purposes

21 years agoslaptool update for LDAP Sync replication
Jong Hyuk Choi [Sat, 30 Aug 2003 15:19:35 +0000 (15:19 +0000)]
slaptool update for LDAP Sync replication

21 years agocleanup
Jong Hyuk Choi [Fri, 29 Aug 2003 21:24:05 +0000 (21:24 +0000)]
cleanup

21 years agomore patches for ITS#2692 (Thanks Luke!)
Jong Hyuk Choi [Fri, 29 Aug 2003 17:02:53 +0000 (17:02 +0000)]
more patches for ITS#2692 (Thanks Luke!)

21 years agoslapd.conf man page update (LDAP Sync replication configuration)
Jong Hyuk Choi [Thu, 28 Aug 2003 22:29:55 +0000 (22:29 +0000)]
slapd.conf man page update (LDAP Sync replication configuration)

21 years agoSync replication config option format change (interval)
Jong Hyuk Choi [Thu, 28 Aug 2003 22:29:12 +0000 (22:29 +0000)]
Sync replication config option format change (interval)

21 years agounifdef LDAP_CACHING
Jong Hyuk Choi [Wed, 27 Aug 2003 23:21:17 +0000 (23:21 +0000)]
unifdef LDAP_CACHING

21 years agocleanup
Jong Hyuk Choi [Wed, 27 Aug 2003 22:18:52 +0000 (22:18 +0000)]
cleanup

21 years agounifdef LDAP_SYNC and LDAP_SYNCREPL
Jong Hyuk Choi [Wed, 27 Aug 2003 22:16:04 +0000 (22:16 +0000)]
unifdef LDAP_SYNC and LDAP_SYNCREPL

21 years agocleanup
Jong Hyuk Choi [Wed, 27 Aug 2003 20:51:04 +0000 (20:51 +0000)]
cleanup

21 years agoreturning LDAP return code
Jong Hyuk Choi [Wed, 27 Aug 2003 20:26:55 +0000 (20:26 +0000)]
returning LDAP return code

21 years agoNO_SCHEMA_CHECK backend flag
Jong Hyuk Choi [Wed, 27 Aug 2003 16:40:26 +0000 (16:40 +0000)]
NO_SCHEMA_CHECK backend flag

21 years agocleanup
Jong Hyuk Choi [Wed, 27 Aug 2003 16:39:53 +0000 (16:39 +0000)]
cleanup

21 years agoLDAP Sync protocol extension
Jong Hyuk Choi [Tue, 26 Aug 2003 22:49:44 +0000 (22:49 +0000)]
LDAP Sync protocol extension
- do not send updates in state mode when
  syncCookie >= contextCSN (or omitCSN if changelog is used)