]> git.sur5r.net Git - openldap/log
openldap
19 years agoMore shtool stuff
Kurt Zeilenga [Sun, 5 Sep 2004 07:20:40 +0000 (07:20 +0000)]
More shtool stuff

19 years agoUse shtool(1) (to a limited degree, more use would simplify things)
Kurt Zeilenga [Sun, 5 Sep 2004 03:24:28 +0000 (03:24 +0000)]
Use shtool(1) (to a limited degree, more use would simplify things)
Fix ITS#3285 (relative linking of slap tools).

19 years agoUpdate shtool to 2.0.1
Kurt Zeilenga [Sun, 5 Sep 2004 02:13:26 +0000 (02:13 +0000)]
Update shtool to 2.0.1

19 years agoneed a lot of space for stress tests; need to bind for searches to avoid size limits...
Pierangelo Masarati [Sat, 4 Sep 2004 18:31:43 +0000 (18:31 +0000)]
need a lot of space for stress tests; need to bind for searches to avoid size limits and so; log failure reason

19 years agoFix typo
Kurt Zeilenga [Sat, 4 Sep 2004 18:00:34 +0000 (18:00 +0000)]
Fix typo

19 years agotrying to make names consistent
Pierangelo Masarati [Sat, 4 Sep 2004 10:23:40 +0000 (10:23 +0000)]
trying to make names consistent

19 years agounifdef -UNEW_LOGGING
Kurt Zeilenga [Sat, 4 Sep 2004 04:54:28 +0000 (04:54 +0000)]
unifdef -UNEW_LOGGING

19 years agoMove MSVC port to the Attic
Kurt Zeilenga [Sat, 4 Sep 2004 04:37:41 +0000 (04:37 +0000)]
Move MSVC port to the Attic

19 years agoUpdate mismatch error messages
Kurt Zeilenga [Fri, 3 Sep 2004 22:45:45 +0000 (22:45 +0000)]
Update mismatch error messages

19 years agoITS#3320: 'restrict' cleanup
Kurt Zeilenga [Fri, 3 Sep 2004 21:49:13 +0000 (21:49 +0000)]
ITS#3320: 'restrict' cleanup

19 years agofix for test019 glitch
Jong Hyuk Choi [Fri, 3 Sep 2004 12:16:15 +0000 (12:16 +0000)]
fix for test019 glitch

19 years agoCleanup
Kurt Zeilenga [Fri, 3 Sep 2004 00:24:07 +0000 (00:24 +0000)]
Cleanup

19 years agoadded avl_free() at the end of do_syncrep2()
Jong Hyuk Choi [Thu, 2 Sep 2004 18:12:37 +0000 (18:12 +0000)]
added avl_free() at the end of do_syncrep2()

19 years agoITS#3309 better fix, add op->ord_csn in frontend and use it in backend.
Howard Chu [Thu, 2 Sep 2004 11:05:13 +0000 (11:05 +0000)]
ITS#3309 better fix, add op->ord_csn in frontend and use it in backend.

19 years agouse of NULL ctx in slap_modrdn2mods
Jong Hyuk Choi [Wed, 1 Sep 2004 16:27:19 +0000 (16:27 +0000)]
use of NULL ctx in slap_modrdn2mods

19 years agorevert prev commit to normalizers
Jong Hyuk Choi [Wed, 1 Sep 2004 16:01:36 +0000 (16:01 +0000)]
revert prev commit to normalizers

19 years agoAvoid gratuitous reindexing of cn and objectclass in syncrepl_updateCookie
Howard Chu [Wed, 1 Sep 2004 04:18:56 +0000 (04:18 +0000)]
Avoid gratuitous reindexing of cn and objectclass in syncrepl_updateCookie

19 years agoITS#3309 fix syncrepl psearch propagation of Delete operations
Howard Chu [Wed, 1 Sep 2004 03:23:36 +0000 (03:23 +0000)]
ITS#3309 fix syncrepl psearch propagation of Delete operations

19 years agosubsequent allows/disallows directives should be additive
Kurt Zeilenga [Wed, 1 Sep 2004 00:34:34 +0000 (00:34 +0000)]
subsequent allows/disallows directives should be additive

19 years agocleanup
Kurt Zeilenga [Wed, 1 Sep 2004 00:23:34 +0000 (00:23 +0000)]
cleanup

19 years agouse ch_malloc for normailzed values
Jong Hyuk Choi [Tue, 31 Aug 2004 14:22:56 +0000 (14:22 +0000)]
use ch_malloc for normailzed values

19 years agopatch for ITS#3296 - do not use sl_malloc on normalized attr values
Jong Hyuk Choi [Tue, 31 Aug 2004 13:47:33 +0000 (13:47 +0000)]
patch for ITS#3296 - do not use sl_malloc on normalized attr values

19 years agoAdd note about test.schema
Kurt Zeilenga [Mon, 30 Aug 2004 22:43:38 +0000 (22:43 +0000)]
Add note about test.schema

19 years agoOn second thought, reverse that commit.
Kurt Zeilenga [Mon, 30 Aug 2004 22:33:18 +0000 (22:33 +0000)]
On second thought, reverse that commit.
Rather not promote use of the old schema.

19 years agokrbName may be useful without old k4bind
Kurt Zeilenga [Mon, 30 Aug 2004 22:28:21 +0000 (22:28 +0000)]
krbName may be useful without old k4bind

19 years agoZap old krb5-kdc schema.
Kurt Zeilenga [Mon, 30 Aug 2004 22:23:50 +0000 (22:23 +0000)]
Zap old krb5-kdc schema.

19 years agofix previous commit
Pierangelo Masarati [Mon, 30 Aug 2004 07:30:01 +0000 (07:30 +0000)]
fix previous commit

19 years agoMisc updates
Kurt Zeilenga [Mon, 30 Aug 2004 03:02:40 +0000 (03:02 +0000)]
Misc updates

19 years agoClarify error messages
Kurt Zeilenga [Mon, 30 Aug 2004 02:57:22 +0000 (02:57 +0000)]
Clarify error messages

19 years agoITS#3289 - exattrs support
Jong Hyuk Choi [Sun, 29 Aug 2004 22:28:28 +0000 (22:28 +0000)]
ITS#3289 - exattrs support

19 years agoUse global alloc for now
Jong Hyuk Choi [Sun, 29 Aug 2004 20:01:21 +0000 (20:01 +0000)]
Use global alloc for now

19 years agoFurther fixes for ITS#3297
Jong Hyuk Choi [Sun, 29 Aug 2004 19:19:22 +0000 (19:19 +0000)]
Further fixes for ITS#3297

19 years agoITS#3310: Fix lud_host typo
Kurt Zeilenga [Sun, 29 Aug 2004 14:55:56 +0000 (14:55 +0000)]
ITS#3310: Fix lud_host typo

19 years agoForced Commit - prev commit (1.56) also fixes ITS#3263 (partially?)
Howard Chu [Sat, 28 Aug 2004 23:52:29 +0000 (23:52 +0000)]
Forced Commit - prev commit (1.56) also fixes ITS#3263 (partially?)

19 years agoTLS SSF does not imply a transport_ssf.
Kurt Zeilenga [Sat, 28 Aug 2004 21:58:20 +0000 (21:58 +0000)]
TLS SSF does not imply a transport_ssf.

19 years agoReplace compfilter.schema with test.schema, which now
Kurt Zeilenga [Sat, 28 Aug 2004 19:41:13 +0000 (19:41 +0000)]
Replace compfilter.schema with test.schema, which now
holds a single attribute type 'componentTest'.  Fix
up test031 to avoid modification of standard schema.
(Not sure why this attribute is needed, tests likely
should operate on userCertificate and other existing
attributes which complex syntaxes.)

19 years agocleanup
Kurt Zeilenga [Sat, 28 Aug 2004 19:26:59 +0000 (19:26 +0000)]
cleanup

19 years agocleanup
Kurt Zeilenga [Sat, 28 Aug 2004 17:55:05 +0000 (17:55 +0000)]
cleanup

19 years agodeprecated
Kurt Zeilenga [Sat, 28 Aug 2004 15:52:18 +0000 (15:52 +0000)]
deprecated

19 years agonew RFCs
Kurt Zeilenga [Sat, 28 Aug 2004 15:50:21 +0000 (15:50 +0000)]
new RFCs

19 years agoAdd FIXME comment regarding improper return of unavailableCriticalExtension
Kurt Zeilenga [Sat, 28 Aug 2004 13:45:53 +0000 (13:45 +0000)]
Add FIXME comment regarding improper return of unavailableCriticalExtension
Misc Clean.

19 years agofix typo in last commit
Kurt Zeilenga [Sat, 28 Aug 2004 04:01:19 +0000 (04:01 +0000)]
fix typo in last commit

19 years agoAdd scheme check to find_connection
Kurt Zeilenga [Sat, 28 Aug 2004 03:55:02 +0000 (03:55 +0000)]
Add scheme check to find_connection

19 years ago.conf and .schema files for test31-component-filter
Sang Seok Lim [Sat, 28 Aug 2004 03:53:41 +0000 (03:53 +0000)]
.conf and .schema files for test31-component-filter

19 years agoA better find_connection() port fix
Kurt Zeilenga [Sat, 28 Aug 2004 03:53:31 +0000 (03:53 +0000)]
A better find_connection() port fix

19 years agoPartial ITS#3280 fix. ldap:// referrals only.
Kurt Zeilenga [Sat, 28 Aug 2004 03:25:59 +0000 (03:25 +0000)]
Partial ITS#3280 fix.  ldap:// referrals only.

19 years agoFix typo
Kurt Zeilenga [Sat, 28 Aug 2004 02:30:18 +0000 (02:30 +0000)]
Fix typo

19 years agoNote fixme
Kurt Zeilenga [Sat, 28 Aug 2004 01:26:34 +0000 (01:26 +0000)]
Note fixme

19 years agoReferrals should not (except in special cases) be
Kurt Zeilenga [Sat, 28 Aug 2004 01:08:24 +0000 (01:08 +0000)]
Referrals should not (except in special cases) be
returned for Bind operations, instead invalidCreditials
should be returned.

19 years agoITS#3275: fix logging
Kurt Zeilenga [Sat, 28 Aug 2004 00:50:15 +0000 (00:50 +0000)]
ITS#3275: fix logging

19 years agofix uninit'd be_context_csn for syncrepl
Howard Chu [Sat, 28 Aug 2004 00:26:35 +0000 (00:26 +0000)]
fix uninit'd be_context_csn for syncrepl

19 years agoRemove bogus SLAPI code path which special-cased modlist == NULL
Luke Howard [Fri, 27 Aug 2004 19:34:14 +0000 (19:34 +0000)]
Remove bogus SLAPI code path which special-cased modlist == NULL

This had the effect of setting the result code to LDAP_SUCCESS for modlist == NULL
even on a replica when an update-ref might be set. This was causing a plugin (that
implements the commit phase in a post-op plugin) to write to "read-only" replica.

19 years agocleanup
Kurt Zeilenga [Fri, 27 Aug 2004 19:00:15 +0000 (19:00 +0000)]
cleanup

19 years agoInstead of removing AI_ADDRCONFIG, place behind #ifdef (of undefined
Kurt Zeilenga [Fri, 27 Aug 2004 18:59:34 +0000 (18:59 +0000)]
Instead of removing AI_ADDRCONFIG, place behind #ifdef (of undefined
macro).  Add comment indicating configure test needed.

19 years agoMove LDAP_COMP_MATCH define from ldap.h to slap.h
Kurt Zeilenga [Fri, 27 Aug 2004 18:53:44 +0000 (18:53 +0000)]
Move LDAP_COMP_MATCH define from ldap.h to slap.h

19 years agoUpdate RFCs and I-Ds...
Kurt Zeilenga [Fri, 27 Aug 2004 18:41:02 +0000 (18:41 +0000)]
Update RFCs and I-Ds...

19 years agoFix init error
Kurt Zeilenga [Fri, 27 Aug 2004 17:54:18 +0000 (17:54 +0000)]
Fix init error

19 years agoAllow mods to be NULL in slapi_int_ldapmods2modifications()
Luke Howard [Fri, 27 Aug 2004 17:27:09 +0000 (17:27 +0000)]
Allow mods to be NULL in slapi_int_ldapmods2modifications()

19 years agoFix a SLAPI bug where slapd could crash if a preop plugin changed the mods
Luke Howard [Fri, 27 Aug 2004 17:12:01 +0000 (17:12 +0000)]
Fix a SLAPI bug where slapd could crash if a preop plugin changed the mods
list and a subsequent plugin aborted the operation -- regardless of the
preop result the frontend must refetch the array of LDAPMods

19 years agoadded new test slapd-modify (based on slapd-modrdn). Adds a single attribute to an...
Ralf Haferkamp [Fri, 27 Aug 2004 17:07:18 +0000 (17:07 +0000)]
added new test slapd-modify (based on slapd-modrdn). Adds a single attribute to an entry and removes it again.

19 years agoMisc Bug Fix:
Sang Seok Lim [Thu, 26 Aug 2004 16:43:28 +0000 (16:43 +0000)]
Misc Bug Fix:
- Remove unused variables
- Remove the attribute for component filter test in core.schema

19 years agoCheck for opinfo->boi_txn before using it - sometimes it is NULL even if
Luke Howard [Thu, 26 Aug 2004 10:17:53 +0000 (10:17 +0000)]
Check for opinfo->boi_txn before using it - sometimes it is NULL even if
opinfo isn't

19 years agoDon't use SLAPI_TARGET_DN for group plugins - it is required elsewhere
Luke Howard [Thu, 26 Aug 2004 10:04:08 +0000 (10:04 +0000)]
Don't use SLAPI_TARGET_DN for group plugins - it is required elsewhere

19 years agoSync with slapd/slapi/slapi.h (whose idea was it ever to have the same
Luke Howard [Thu, 26 Aug 2004 05:30:49 +0000 (05:30 +0000)]
Sync with slapd/slapi/slapi.h (whose idea was it ever to have the same
headers in two places? :))

19 years agoboi_bdb must be set
Luke Howard [Thu, 26 Aug 2004 05:27:59 +0000 (05:27 +0000)]
boi_bdb must be set

19 years agobackend_compute_output_attr() should use actual computed attribute type
Luke Howard [Thu, 26 Aug 2004 05:18:33 +0000 (05:18 +0000)]
backend_compute_output_attr() should use actual computed attribute type
returned by the plugin, rather than that requested by backend_attribute(),
for ACL checking.

They should of course be the same but this is the "correct" approach from
both a security and readability perspective

19 years agoFix "FIXME" in slapi_attr_add_value() - store normalized value as well as
Luke Howard [Thu, 26 Aug 2004 05:02:21 +0000 (05:02 +0000)]
Fix "FIXME" in slapi_attr_add_value() - store normalized value as well as
real value

19 years agoExtend backend_attribute() to support computed attributes (SLAPI)
Luke Howard [Thu, 26 Aug 2004 05:02:01 +0000 (05:02 +0000)]
Extend backend_attribute() to support computed attributes (SLAPI)

19 years agoAdd SLAPI_X_GROUP_TARGET_ENTRY so that group plugin can use target entry
Luke Howard [Thu, 26 Aug 2004 04:24:29 +0000 (04:24 +0000)]
Add SLAPI_X_GROUP_TARGET_ENTRY so that group plugin can use target entry

19 years agoThis patch is for a component filter. please refer ITS#3260 for detail
Sang Seok Lim [Thu, 26 Aug 2004 00:06:39 +0000 (00:06 +0000)]
This patch is for a component filter.  please refer ITS#3260 for detail
and "implementing GSER and Component Matching" in ODD 2004.
All codes are #ifdef'd with LDAP_COMP_MATCH.
test031-component-filter works correctly only when the LDAP_COMP_MATCH macro is set.
To disable it, set AC_WITH_COMP_MATCH "no" in "openldap_src/tests/run.in".

19 years agoITS#3301 fix prev commit, don't fail op on DB_NOTFOUND
Howard Chu [Wed, 25 Aug 2004 20:53:39 +0000 (20:53 +0000)]
ITS#3301 fix prev commit, don't fail op on DB_NOTFOUND

19 years agoSupport pre-operation and post-operations for backend_group()
Luke Howard [Wed, 25 Aug 2004 15:20:19 +0000 (15:20 +0000)]
Support pre-operation and post-operations for backend_group()

This allows computed attribute plugins to also provide their attributes to
the ACL engine, for example

19 years agoAdd pblock types for backend_group SLAPI plugins
Luke Howard [Wed, 25 Aug 2004 15:18:56 +0000 (15:18 +0000)]
Add pblock types for backend_group SLAPI plugins

19 years agocleanup
Pierangelo Masarati [Wed, 25 Aug 2004 14:37:28 +0000 (14:37 +0000)]
cleanup

19 years agocheck if "rootdn" is defined
Pierangelo Masarati [Wed, 25 Aug 2004 14:29:40 +0000 (14:29 +0000)]
check if "rootdn" is defined

19 years agoITS#3301 check for dn2entry failure
Howard Chu [Wed, 25 Aug 2004 13:55:55 +0000 (13:55 +0000)]
ITS#3301 check for dn2entry failure

19 years agoRemove unused variable
Luke Howard [Wed, 25 Aug 2004 12:31:43 +0000 (12:31 +0000)]
Remove unused variable

19 years ago"order by" plus -S "" seems to work...
Pierangelo Masarati [Wed, 25 Aug 2004 12:14:07 +0000 (12:14 +0000)]
"order by" plus -S "" seems to work...

19 years agotry with "order by"...
Pierangelo Masarati [Wed, 25 Aug 2004 12:09:05 +0000 (12:09 +0000)]
try with "order by"...

19 years agoThis patch fixes some subtle interactions between SLAPI and syncrepl. Due to
Luke Howard [Wed, 25 Aug 2004 11:52:55 +0000 (11:52 +0000)]
This patch fixes some subtle interactions between SLAPI and syncrepl. Due to
SLAPI always assigning connection and operation IDs of zero for internal
operations, such operations would cause a stale contextCSN to be returned from
slap_get_commit_csn(). As a result, SLAPI internal updates would be invisible
to replicas until an external update was made. Also, SLAPI internal operations
never called slap_graduate_commit_csn() which leaked pending CSNs.

Also included in this patch is a general cleanup of some of the SLAPI code.

Note that we need to use a separate mutex on conn_nextid to avoid a deadlock
where a post-operation plugin tries to acquire connections_mutex, having locked
the per-connection mutex, while the listener thread tries to acquire the
per-connection mutex (having locked connections_mutex). connection.c needs to
be fixed to acquire mutexes in the same order.

19 years agoproblems: asort() is not available in all awk implementations
Pierangelo Masarati [Wed, 25 Aug 2004 11:43:21 +0000 (11:43 +0000)]
problems: asort() is not available in all awk implementations

19 years agoremove cruft
Pierangelo Masarati [Wed, 25 Aug 2004 11:32:47 +0000 (11:32 +0000)]
remove cruft

19 years agoworks with IBM db2 as well; at this point the tsts are assumed to wok with any RDBMS...
Pierangelo Masarati [Wed, 25 Aug 2004 11:28:14 +0000 (11:28 +0000)]
works with IBM db2 as well; at this point the tsts are assumed to wok with any RDBMS that allows write operations

19 years agomore definitive improvements; now write operations are consistent; plugged some more...
Pierangelo Masarati [Wed, 25 Aug 2004 10:41:13 +0000 (10:41 +0000)]
more definitive improvements; now write operations are consistent; plugged some more leaks/invalid frees; tests are more complete.  IBM db2 doesn't pass write test because the entries are written in a different order; need to write a script that sorts the results...

19 years agowrite test is almost working for ibmdb2 as well...
Pierangelo Masarati [Tue, 24 Aug 2004 17:08:30 +0000 (17:08 +0000)]
write test is almost working for ibmdb2 as well...

19 years agorevert previous (erroneous) commit
Pierangelo Masarati [Tue, 24 Aug 2004 15:38:40 +0000 (15:38 +0000)]
revert previous (erroneous) commit

19 years agoneed to perform a select after adds...
Pierangelo Masarati [Tue, 24 Aug 2004 15:37:10 +0000 (15:37 +0000)]
need to perform a select after adds...

19 years agocleanup
Pierangelo Masarati [Tue, 24 Aug 2004 15:16:06 +0000 (15:16 +0000)]
cleanup

19 years agoread-tests work also for ibmdb2
Pierangelo Masarati [Tue, 24 Aug 2004 15:14:42 +0000 (15:14 +0000)]
read-tests work also for ibmdb2

19 years agofurther fixes
Pierangelo Masarati [Tue, 24 Aug 2004 15:01:39 +0000 (15:01 +0000)]
further fixes

19 years agoready for test...
Pierangelo Masarati [Tue, 24 Aug 2004 11:45:33 +0000 (11:45 +0000)]
ready for test...

19 years agofix various issues; line up with new tests
Pierangelo Masarati [Tue, 24 Aug 2004 10:31:02 +0000 (10:31 +0000)]
fix various issues; line up with new tests

19 years agomove call to frontend API
Pierangelo Masarati [Tue, 24 Aug 2004 09:29:11 +0000 (09:29 +0000)]
move call to frontend API

19 years agocleanup docs
Pierangelo Masarati [Tue, 24 Aug 2004 09:27:45 +0000 (09:27 +0000)]
cleanup docs

19 years agorework SQL tests invocation; improve all tests
Pierangelo Masarati [Tue, 24 Aug 2004 09:26:39 +0000 (09:26 +0000)]
rework SQL tests invocation; improve all tests

19 years ago- proxy cache erroneously returns the filtering attributes
Pierangelo Masarati [Tue, 24 Aug 2004 09:24:55 +0000 (09:24 +0000)]
- proxy cache erroneously returns the filtering attributes
  and the objectClass right after caching, even if not requested,
  while subsequent searches are fine;
- the response callback needs be apended at the end of the
  callback list, otherwise the resulting entries are cached
  before other overlays can alter them
- the callback structure and its contents needs be freed

19 years agoadd paged results support to back-ldap
Pierangelo Masarati [Tue, 24 Aug 2004 09:19:33 +0000 (09:19 +0000)]
add paged results support to back-ldap

19 years agoldapsearch doesn't handle correctly setting paged results size to 0 to abort
Pierangelo Masarati [Tue, 24 Aug 2004 09:17:10 +0000 (09:17 +0000)]
ldapsearch doesn't handle correctly setting paged results size to 0 to abort

19 years agoITS#3298 - ldap_sasl_int_bind() refers to incorrect Sockbuf when called
Luke Howard [Tue, 24 Aug 2004 05:14:07 +0000 (05:14 +0000)]
ITS#3298 - ldap_sasl_int_bind() refers to incorrect Sockbuf when called
from within a rebind function.

19 years agoITS#3297 (double free)
Luke Howard [Tue, 24 Aug 2004 01:20:49 +0000 (01:20 +0000)]
ITS#3297 (double free)