]> git.sur5r.net Git - openldap/log
openldap
22 years agoAdd mr_usable_with_at() routine. Use both in generation
Kurt Zeilenga [Sat, 31 Aug 2002 21:23:45 +0000 (21:23 +0000)]
Add mr_usable_with_at() routine.  Use both in generation
of rule uses, but also in test_filter_mra()

22 years agoMake sure we don't expose hidden attribute types in rule uses
Kurt Zeilenga [Sat, 31 Aug 2002 20:49:50 +0000 (20:49 +0000)]
Make sure we don't expose hidden attribute types in rule uses

22 years agoAdd matching rule use support where assertion syntax != value syntax
Kurt Zeilenga [Sat, 31 Aug 2002 20:42:25 +0000 (20:42 +0000)]
Add matching rule use support where assertion syntax != value syntax

22 years agoList approximates as well in rule uses.
Kurt Zeilenga [Sat, 31 Aug 2002 19:25:41 +0000 (19:25 +0000)]
List approximates as well in rule uses.
Don't yet list ordering rules yet, these require special attention (and
hence are not marked MR_EXT yet)

22 years agoFix last commit.
Kurt Zeilenga [Sat, 31 Aug 2002 19:17:54 +0000 (19:17 +0000)]
Fix last commit.
Also add uses where mr is the attribute's equality rule.

22 years agoMR_EXT rules can be used with any type whose syntax is same as
Kurt Zeilenga [Sat, 31 Aug 2002 19:05:36 +0000 (19:05 +0000)]
MR_EXT rules can be used with any type whose syntax is same as
the syntax's assertion syntax.

22 years agoDon't hide matchingRuleUse's description (now implemented)
Kurt Zeilenga [Sat, 31 Aug 2002 18:41:21 +0000 (18:41 +0000)]
Don't hide matchingRuleUse's description (now implemented)
Use attribute's cname not oid in matching rule uses

22 years agodefinitely fix NOOP in back-bdb
Pierangelo Masarati [Sat, 31 Aug 2002 17:03:42 +0000 (17:03 +0000)]
definitely fix NOOP in back-bdb

22 years agoadd ldif control support (ITS#2060, patch from David Steck <dsteck@novell.com>)
Pierangelo Masarati [Sat, 31 Aug 2002 12:02:39 +0000 (12:02 +0000)]
add ldif control support (ITS#2060, patch from David Steck <dsteck@novell.com>)

22 years agoimproved support for NOOP; add is fine, the other write funcs still need work
Pierangelo Masarati [Sat, 31 Aug 2002 12:00:39 +0000 (12:00 +0000)]
improved support for NOOP; add is fine, the other write funcs still need work

22 years agouse ldap_charray_add instead of dedicated helper; get rid of dependency from ldap...
Pierangelo Masarati [Sat, 31 Aug 2002 11:14:15 +0000 (11:14 +0000)]
use ldap_charray_add instead of dedicated helper; get rid of dependency from ldap-int.h

22 years agofix bitwise matching (courtesy of Luke Howard)
Pierangelo Masarati [Sat, 31 Aug 2002 10:56:27 +0000 (10:56 +0000)]
fix bitwise matching (courtesy of Luke Howard)

22 years agosilence warnings
Pierangelo Masarati [Sat, 31 Aug 2002 10:54:58 +0000 (10:54 +0000)]
silence warnings

22 years agoadd {create,modify}Timestamp to subschema subentry (SHOULD per RFC2251; use server...
Pierangelo Masarati [Sat, 31 Aug 2002 10:49:03 +0000 (10:49 +0000)]
add {create,modify}Timestamp to subschema subentry (SHOULD per RFC2251; use server startup time to be conservative)

22 years agodefine macros for appropriate sizing of lutil buffers
Pierangelo Masarati [Sat, 31 Aug 2002 10:48:02 +0000 (10:48 +0000)]
define macros for appropriate sizing of lutil buffers

22 years agoadd matchingRuleUse to schema; use a berval instead of _oidlen in syntax and matching...
Pierangelo Masarati [Sat, 31 Aug 2002 10:45:22 +0000 (10:45 +0000)]
add matchingRuleUse to schema; use a berval instead of _oidlen in syntax and matching rule

22 years agocleanup comments
Pierangelo Masarati [Sat, 31 Aug 2002 10:41:49 +0000 (10:41 +0000)]
cleanup comments

22 years agosilence debug check
Pierangelo Masarati [Sat, 31 Aug 2002 10:41:11 +0000 (10:41 +0000)]
silence debug check

22 years agofix extendedMatch and approx hfilter andling; get rid of subtree_cond (argh, need...
Pierangelo Masarati [Sat, 31 Aug 2002 10:39:23 +0000 (10:39 +0000)]
fix extendedMatch and approx hfilter andling; get rid of subtree_cond (argh, need to trim it from config and docs ...)

22 years agobetter handling of children_cond
Pierangelo Masarati [Sat, 31 Aug 2002 10:38:29 +0000 (10:38 +0000)]
better handling of children_cond

22 years agotrace illegal condition in backsql_strfcat
Pierangelo Masarati [Sat, 31 Aug 2002 10:37:42 +0000 (10:37 +0000)]
trace illegal condition in backsql_strfcat

22 years agoadd 'children_cond' config statement
Pierangelo Masarati [Sat, 31 Aug 2002 10:36:16 +0000 (10:36 +0000)]
add 'children_cond' config statement

22 years agoadded referral support to back-{ldap,meta}; need to allow send_serch_reference()...
Pierangelo Masarati [Sat, 31 Aug 2002 10:35:23 +0000 (10:35 +0000)]
added referral support to back-{ldap,meta}; need to allow send_serch_reference() handle NULL entry pointer

22 years agofix extendedMatch values return filter control
Pierangelo Masarati [Sat, 31 Aug 2002 10:29:03 +0000 (10:29 +0000)]
fix extendedMatch values return filter control

22 years agodocument another (optional) config directive
Pierangelo Masarati [Sat, 31 Aug 2002 10:27:49 +0000 (10:27 +0000)]
document another (optional) config directive

22 years agoFix previous commit
Howard Chu [Sat, 31 Aug 2002 06:23:46 +0000 (06:23 +0000)]
Fix previous commit

22 years agoOS/390 EBCDIC support
Howard Chu [Sat, 31 Aug 2002 05:14:43 +0000 (05:14 +0000)]
OS/390 EBCDIC support

22 years agoWe don't support substrings matching via extensibleMatch
Kurt Zeilenga [Fri, 30 Aug 2002 19:30:58 +0000 (19:30 +0000)]
We don't support substrings matching via extensibleMatch

22 years agoFix debug statement
Howard Chu [Fri, 30 Aug 2002 14:28:45 +0000 (14:28 +0000)]
Fix debug statement

22 years agoFix crash in mra_free, freeing ber-private value.
Howard Chu [Fri, 30 Aug 2002 12:38:50 +0000 (12:38 +0000)]
Fix crash in mra_free, freeing ber-private value.

22 years agoFix unindent commit
Howard Chu [Fri, 30 Aug 2002 11:48:47 +0000 (11:48 +0000)]
Fix unindent commit

22 years agoUse DB_NODUPDATA when adding IDs. Silence log for DB_NOTFOUND in delete_key,
Howard Chu [Fri, 30 Aug 2002 11:37:43 +0000 (11:37 +0000)]
Use DB_NODUPDATA when adding IDs. Silence log for DB_NOTFOUND in delete_key,
let caller log it if they care.

22 years agoUnindented a level. Fixed logging of keys.
Howard Chu [Fri, 30 Aug 2002 11:21:20 +0000 (11:21 +0000)]
Unindented a level. Fixed logging of keys.

22 years agoDon't mask DB_KEYEXIST errors in bdb_idl_insert_key, let dn2id see them.
Howard Chu [Fri, 30 Aug 2002 10:41:46 +0000 (10:41 +0000)]
Don't mask DB_KEYEXIST errors in bdb_idl_insert_key, let dn2id see them.
Ignore DB_KEYEXIST and DB_NOTFOUND errors in key_change.

22 years agoFix large SASL reads. Use EAGAIN instead of EWOULDBLOCK (was right the
Howard Chu [Fri, 30 Aug 2002 10:11:54 +0000 (10:11 +0000)]
Fix large SASL reads. Use EAGAIN instead of EWOULDBLOCK (was right the
first time after all. see read(2) and write(2)...)

22 years agoGenerate subentries control
Kurt Zeilenga [Fri, 30 Aug 2002 07:43:47 +0000 (07:43 +0000)]
Generate subentries control

22 years agoAdd client-side subentries control support.
Kurt Zeilenga [Fri, 30 Aug 2002 07:05:12 +0000 (07:05 +0000)]
Add client-side subentries control support.
Make sure client controls are not specified multiple times.
NT port updates.

22 years agoClose comment
Kurt Zeilenga [Fri, 30 Aug 2002 06:25:51 +0000 (06:25 +0000)]
Close comment

22 years agoFix #ifdefs (DUPENT should be behind the 0)
Kurt Zeilenga [Fri, 30 Aug 2002 06:17:25 +0000 (06:17 +0000)]
Fix #ifdefs (DUPENT should be behind the 0)

22 years agoRemove those #ifdefs NOOP just added.
Kurt Zeilenga [Fri, 30 Aug 2002 05:43:47 +0000 (05:43 +0000)]
Remove those #ifdefs NOOP just added.

22 years agoAssign NOOP its published OID. I-D to follow.
Kurt Zeilenga [Fri, 30 Aug 2002 05:32:51 +0000 (05:32 +0000)]
Assign NOOP its published OID.  I-D to follow.

22 years agoMore noop #ifdef'ing
Kurt Zeilenga [Fri, 30 Aug 2002 05:10:41 +0000 (05:10 +0000)]
More noop #ifdef'ing

22 years agoPlace NOOP behind #ifdef
Kurt Zeilenga [Fri, 30 Aug 2002 05:02:20 +0000 (05:02 +0000)]
Place NOOP behind #ifdef

22 years agoPrint information about control used.
Kurt Zeilenga [Fri, 30 Aug 2002 04:22:22 +0000 (04:22 +0000)]
Print information about control used.

22 years agoAllow generation of no-op control
Kurt Zeilenga [Fri, 30 Aug 2002 04:14:26 +0000 (04:14 +0000)]
Allow generation of no-op control

22 years agoAdd manageDsaIt/NOOP control support to every tool.
Kurt Zeilenga [Thu, 29 Aug 2002 21:52:45 +0000 (21:52 +0000)]
Add manageDsaIt/NOOP control support to every tool.
Update NT build.

22 years agoAdd to NT build
Kurt Zeilenga [Thu, 29 Aug 2002 21:48:00 +0000 (21:48 +0000)]
Add to NT build

22 years agoRework client control parsing... need to implement
Kurt Zeilenga [Thu, 29 Aug 2002 21:36:36 +0000 (21:36 +0000)]
Rework client control parsing...  need to implement
common controls across all tools.

22 years agoYet another bug fix... this one from Luke.
Kurt Zeilenga [Thu, 29 Aug 2002 19:54:17 +0000 (19:54 +0000)]
Yet another bug fix... this one from Luke.

22 years agoreworking of threads in session handling
Pierangelo Masarati [Thu, 29 Aug 2002 19:44:02 +0000 (19:44 +0000)]
reworking of threads in session handling

22 years agocleaner handling of unchecked limit support
Pierangelo Masarati [Thu, 29 Aug 2002 19:43:29 +0000 (19:43 +0000)]
cleaner handling of unchecked limit support

22 years agotest extended filter and values return filter
Pierangelo Masarati [Thu, 29 Aug 2002 19:31:02 +0000 (19:31 +0000)]
test extended filter and values return filter

22 years agoFix objectSubClassIndexer bug
Kurt Zeilenga [Thu, 29 Aug 2002 18:05:49 +0000 (18:05 +0000)]
Fix objectSubClassIndexer bug

22 years agoallow different solutions to debug sasl shutdown
Pierangelo Masarati [Thu, 29 Aug 2002 17:45:12 +0000 (17:45 +0000)]
allow different solutions to debug sasl shutdown

22 years agowhen shutting down a server with open connections (back-{ldap,meta}),
Pierangelo Masarati [Thu, 29 Aug 2002 16:03:38 +0000 (16:03 +0000)]
when shutting down a server with open connections (back-{ldap,meta}),
the backend attempts a ldap_unbind() that results in calling
ldap_pvt_sasl_mutex_lock() with a NULL argument, causing a SIGSEGV.
I added a few assert() to catch this (I wonder if this might
be related to ITS#1982 "kill -INT corrupts database").

22 years agofix server-size controls handling in back-{ldap,meta}
Pierangelo Masarati [Thu, 29 Aug 2002 15:07:18 +0000 (15:07 +0000)]
fix server-size controls handling in back-{ldap,meta}

22 years agoadd server side controls to back-ldap and back-meta
Pierangelo Masarati [Thu, 29 Aug 2002 14:39:31 +0000 (14:39 +0000)]
add server side controls to back-ldap and back-meta

22 years agoFix previous commit - use EWOULDBLOCK instead of EAGAIN
Howard Chu [Thu, 29 Aug 2002 13:38:36 +0000 (13:38 +0000)]
Fix previous commit - use EWOULDBLOCK instead of EAGAIN

22 years agoavoid zero size ch_malloc() when no attributes are present in vrFilter
Pierangelo Masarati [Thu, 29 Aug 2002 13:32:28 +0000 (13:32 +0000)]
avoid zero size ch_malloc() when no attributes are present in vrFilter

22 years agotrim unused var
Pierangelo Masarati [Thu, 29 Aug 2002 12:41:07 +0000 (12:41 +0000)]
trim unused var

22 years agothis test is useless, since noop is masked SLAP_CTRL_UPDATE
Pierangelo Masarati [Thu, 29 Aug 2002 12:17:28 +0000 (12:17 +0000)]
this test is useless, since noop is masked SLAP_CTRL_UPDATE

22 years agoFix ITS#1983, handle writing of large requests. Only one pending request is
Howard Chu [Thu, 29 Aug 2002 12:12:36 +0000 (12:12 +0000)]
Fix ITS#1983, handle writing of large requests. Only one pending request is
allowed per LDAP* handle. It works, but needs review.

22 years agoUse sockbuf_max_incoming_auth after successful Bind
Howard Chu [Thu, 29 Aug 2002 11:53:37 +0000 (11:53 +0000)]
Use sockbuf_max_incoming_auth after successful Bind

22 years ago- added the capability to filter based on hasSubordinate attribute
Pierangelo Masarati [Thu, 29 Aug 2002 10:55:48 +0000 (10:55 +0000)]
- added the capability to filter based on hasSubordinate attribute
  to back-bdb, back-ldbm and back-sql (the latter with limitations);
- added handling of ":dn" attributes to extended rfc2254 filters
  and to matched value filter
- altered the behavior of get_mra() when a matching rule is given:
  now it checks whether it is compatible with the attribute syntax
  and, in case it is, the given mr is used.  In case of no type,
  the check is delayed when filtering

22 years agoadd bdb_hasSubordinates() helper
Pierangelo Masarati [Thu, 29 Aug 2002 10:50:53 +0000 (10:50 +0000)]
add bdb_hasSubordinates() helper

22 years agocleanup
Pierangelo Masarati [Thu, 29 Aug 2002 10:50:12 +0000 (10:50 +0000)]
cleanup

22 years agocleanup hasSubordinate operational attr merge
Pierangelo Masarati [Thu, 29 Aug 2002 10:49:41 +0000 (10:49 +0000)]
cleanup hasSubordinate operational attr merge

22 years agooptimize subschema attribute merge
Pierangelo Masarati [Thu, 29 Aug 2002 10:49:11 +0000 (10:49 +0000)]
optimize subschema attribute merge

22 years agouse appropriate attr list when matching value of operational attrs
Pierangelo Masarati [Thu, 29 Aug 2002 10:45:48 +0000 (10:45 +0000)]
use appropriate attr list when matching value of operational attrs

22 years agofix match result bug
Pierangelo Masarati [Thu, 29 Aug 2002 10:45:24 +0000 (10:45 +0000)]
fix match result bug

22 years agocleanup error check logic; don't deref be->controls when it's NULL
Pierangelo Masarati [Thu, 29 Aug 2002 10:43:39 +0000 (10:43 +0000)]
cleanup error check logic; don't deref be->controls when it's NULL

22 years agocleanup logging
Pierangelo Masarati [Thu, 29 Aug 2002 10:42:42 +0000 (10:42 +0000)]
cleanup logging

22 years agoadd null berval initializer (should replace tons of { 0, NULL})
Pierangelo Masarati [Thu, 29 Aug 2002 10:42:13 +0000 (10:42 +0000)]
add null berval initializer (should replace tons of { 0, NULL})

22 years agoimprove control support thru -E switch
Pierangelo Masarati [Thu, 29 Aug 2002 10:41:10 +0000 (10:41 +0000)]
improve control support thru -E switch

22 years agofix backend initialization (including ITS#2048)
Pierangelo Masarati [Thu, 29 Aug 2002 10:32:48 +0000 (10:32 +0000)]
fix backend initialization (including ITS#2048)

22 years agoFix ITS#1983, in sb_sasl_write, set errno = EAGAIN to tell upper layers to
Howard Chu [Thu, 29 Aug 2002 10:12:35 +0000 (10:12 +0000)]
Fix ITS#1983, in sb_sasl_write, set errno = EAGAIN to tell upper layers to
retry partial writes

22 years agoFor ITS#1983, in ber_pvt_sb_do_write, partial writes are not failures
Howard Chu [Thu, 29 Aug 2002 09:46:19 +0000 (09:46 +0000)]
For ITS#1983, in ber_pvt_sb_do_write, partial writes are not failures

22 years agoTwo more bervals instead of strings...
Howard Chu [Thu, 29 Aug 2002 08:47:53 +0000 (08:47 +0000)]
Two more bervals instead of strings...

22 years agoFix ITS#1991 - referrals with sarch base == target (wasn't sure at first,
Howard Chu [Thu, 29 Aug 2002 08:43:23 +0000 (08:43 +0000)]
Fix ITS#1991 - referrals with sarch base == target (wasn't sure at first,
but see diff -r1.6 -r1.7 and it's obvious.)

22 years agoMisc updates...
Kurt Zeilenga [Thu, 29 Aug 2002 04:56:05 +0000 (04:56 +0000)]
Misc updates...

22 years agoadd userid case
Kurt Zeilenga [Thu, 29 Aug 2002 03:03:51 +0000 (03:03 +0000)]
add userid case

22 years agoAdd case to 009
Kurt Zeilenga [Thu, 29 Aug 2002 02:55:39 +0000 (02:55 +0000)]
Add case to 009

22 years agosearch on 'userid' not 'uid'
Kurt Zeilenga [Thu, 29 Aug 2002 02:48:12 +0000 (02:48 +0000)]
search on 'userid' not 'uid'

22 years agoback out last commit
Kurt Zeilenga [Thu, 29 Aug 2002 02:32:58 +0000 (02:32 +0000)]
back out last commit

22 years agoFinish adding subclassing indexing support
Kurt Zeilenga [Thu, 29 Aug 2002 02:27:15 +0000 (02:27 +0000)]
Finish adding subclassing indexing support

22 years agoRound one of subclass indexing for objectClass and structualObjectClasss.
Kurt Zeilenga [Thu, 29 Aug 2002 01:12:59 +0000 (01:12 +0000)]
Round one of subclass indexing for objectClass and structualObjectClasss.
add soc_cname to ObjectClass structure

22 years agoAdd check for sockaddr_storage before enabling IPv6
Kurt Zeilenga [Wed, 28 Aug 2002 19:26:12 +0000 (19:26 +0000)]
Add check for sockaddr_storage before enabling IPv6

22 years agoInclude lber_pvt.h
Kurt Zeilenga [Wed, 28 Aug 2002 16:47:04 +0000 (16:47 +0000)]
Include lber_pvt.h

22 years agoAdded no-op for SASL_VERSION_MAJOR < 2
Howard Chu [Wed, 28 Aug 2002 08:35:38 +0000 (08:35 +0000)]
Added no-op for SASL_VERSION_MAJOR < 2

22 years agoAdded no-op sasl_client_auth if SASL_VERSION_MAJOR < 2.
Howard Chu [Wed, 28 Aug 2002 08:33:24 +0000 (08:33 +0000)]
Added no-op sasl_client_auth if SASL_VERSION_MAJOR < 2.

22 years agoregenerate for sasl version checks
Kurt Zeilenga [Wed, 28 Aug 2002 07:32:00 +0000 (07:32 +0000)]
regenerate for sasl version checks

22 years agocleanup
Kurt Zeilenga [Wed, 28 Aug 2002 07:30:57 +0000 (07:30 +0000)]
cleanup

22 years agoAdded check for Cyrus SASL sasl_version()
Howard Chu [Wed, 28 Aug 2002 07:12:22 +0000 (07:12 +0000)]
Added check for Cyrus SASL sasl_version()

22 years agoMore clarifications
Kurt Zeilenga [Wed, 28 Aug 2002 04:22:12 +0000 (04:22 +0000)]
More clarifications

22 years agoFix typo
Kurt Zeilenga [Wed, 28 Aug 2002 04:08:02 +0000 (04:08 +0000)]
Fix typo

22 years agoFix tables numbering. Add note able system schema extensions.
Kurt Zeilenga [Wed, 28 Aug 2002 04:05:07 +0000 (04:05 +0000)]
Fix tables numbering.  Add note able system schema extensions.

22 years agoDelete unused LDBM_LIB macro. (Not to be confused with LDBM_LIBS...)
Howard Chu [Wed, 28 Aug 2002 02:58:04 +0000 (02:58 +0000)]
Delete unused LDBM_LIB macro. (Not to be confused with LDBM_LIBS...)

22 years agoFix ITS#2047 - link ldbm.lo directly when building back-ldbm as a module
Howard Chu [Wed, 28 Aug 2002 02:50:30 +0000 (02:50 +0000)]
Fix ITS#2047 - link ldbm.lo directly when building back-ldbm as a module

22 years agoClarify that manageDsaIT is not to specified when managing
Kurt Zeilenga [Wed, 28 Aug 2002 01:20:03 +0000 (01:20 +0000)]
Clarify that manageDsaIT is not to specified when managing
entry DSEs.

22 years agoClean up filters
Kurt Zeilenga [Wed, 28 Aug 2002 01:16:25 +0000 (01:16 +0000)]
Clean up filters