]> git.sur5r.net Git - openldap/log
openldap
23 years agoBack out unintended commit
Kurt Zeilenga [Sat, 26 Jan 2002 23:36:39 +0000 (23:36 +0000)]
Back out unintended commit

23 years agoLanguage Tag and Range Support <draft-zeilenga-ldap-rfc2596-xx.txt>
Kurt Zeilenga [Sat, 26 Jan 2002 23:14:51 +0000 (23:14 +0000)]
Language Tag and Range Support <draft-zeilenga-ldap-rfc2596-xx.txt>
Based upon code submitted by Steve Omrani <somrani@us.ibm.com> (ITS#1525)

23 years agoFix result
Howard Chu [Sat, 26 Jan 2002 15:06:53 +0000 (15:06 +0000)]
Fix result

23 years agoEliminated dn_normalize. No more migration.
Howard Chu [Sat, 26 Jan 2002 14:51:45 +0000 (14:51 +0000)]
Eliminated dn_normalize. No more migration.

23 years agoappropriately detect index delete failure
Pierangelo Masarati [Sat, 26 Jan 2002 14:33:31 +0000 (14:33 +0000)]
appropriately detect index delete failure

23 years agoChanged slap_authz_info.sai_mech to struct berval.
Howard Chu [Sat, 26 Jan 2002 13:57:41 +0000 (13:57 +0000)]
Changed slap_authz_info.sai_mech to struct berval.
Changed sasl_* to use struct bervals.

23 years agoFix, errno was incorrect after SSL_read returned 0 bytes, caused slapd to
Howard Chu [Sat, 26 Jan 2002 13:43:22 +0000 (13:43 +0000)]
Fix, errno was incorrect after SSL_read returned 0 bytes, caused slapd to
close the connection prematurely.

23 years agoChanged dnParent to void instead of int. (It always returned success...)
Howard Chu [Sat, 26 Jan 2002 08:44:59 +0000 (08:44 +0000)]
Changed dnParent to void instead of int. (It always returned success...)

23 years agoRemove deprecated routines and a little lint.
Kurt Zeilenga [Sat, 26 Jan 2002 07:32:13 +0000 (07:32 +0000)]
Remove deprecated routines and a little lint.

23 years agoChanged be_issuffix and dnParent to struct bervals
Howard Chu [Sat, 26 Jan 2002 06:52:59 +0000 (06:52 +0000)]
Changed be_issuffix and dnParent to struct bervals

23 years agoChanged dnParent to struct bervals
Howard Chu [Sat, 26 Jan 2002 06:52:24 +0000 (06:52 +0000)]
Changed dnParent to struct bervals

23 years agoFix previous commit
Howard Chu [Sat, 26 Jan 2002 06:52:11 +0000 (06:52 +0000)]
Fix previous commit

23 years agoChanged be_issuffix and dnParent to struct bervals
Howard Chu [Sat, 26 Jan 2002 06:40:56 +0000 (06:40 +0000)]
Changed be_issuffix and dnParent to struct bervals

23 years agoChanged be_issuffix and dnParent to take struct bervals.
Howard Chu [Sat, 26 Jan 2002 05:27:28 +0000 (05:27 +0000)]
Changed be_issuffix and dnParent to take struct bervals.
Changed dn_rdnlen, assumes an already pretty/normalized DN.
Added slap_empty_bv, a zero-length non-NULL berval.

23 years agoMissed one db.bv_val in Debug statement
Kurt Zeilenga [Sat, 26 Jan 2002 01:04:20 +0000 (01:04 +0000)]
Missed one db.bv_val in Debug statement

23 years agoStraighten out some argument passing... cache code need more cleanup,
Kurt Zeilenga [Sat, 26 Jan 2002 01:01:10 +0000 (01:01 +0000)]
Straighten out some argument passing... cache code need more cleanup,
uses deprecated routines...

23 years agoInitialize backend ssf set from global.
Kurt Zeilenga [Fri, 25 Jan 2002 21:35:40 +0000 (21:35 +0000)]
Initialize backend ssf set from global.

23 years agoMore updates. Need to add lber-sockbuf.3 ...
Howard Chu [Fri, 25 Jan 2002 12:34:57 +0000 (12:34 +0000)]
More updates. Need to add lber-sockbuf.3 ...

23 years agoEntry caching. Based on ITS#1545 from Jong Hyuk Choi, jongchoi@us.ibm.com
Howard Chu [Fri, 25 Jan 2002 07:19:01 +0000 (07:19 +0000)]
Entry caching. Based on ITS#1545 from Jong Hyuk Choi, jongchoi@us.ibm.com

23 years agoAdded Entry->e_bv for entry_decode
Howard Chu [Fri, 25 Jan 2002 07:11:52 +0000 (07:11 +0000)]
Added Entry->e_bv for entry_decode

23 years agoMinor cleanup, no need to zero fields in calloc'd memory
Howard Chu [Fri, 25 Jan 2002 07:07:55 +0000 (07:07 +0000)]
Minor cleanup, no need to zero fields in calloc'd memory

23 years agoAdd BDB compatibility check. Require Berkeley DB 3.3 or greater.
Kurt Zeilenga [Wed, 23 Jan 2002 19:08:07 +0000 (19:08 +0000)]
Add BDB compatibility check.  Require Berkeley DB 3.3 or greater.

23 years agoallow trailing '\' to continue a config line (ITS#1551)
Pierangelo Masarati [Wed, 23 Jan 2002 16:28:48 +0000 (16:28 +0000)]
allow trailing '\' to continue a config line (ITS#1551)

23 years agocheck on escaped rdn separator not needed any more
Pierangelo Masarati [Tue, 22 Jan 2002 08:30:32 +0000 (08:30 +0000)]
check on escaped rdn separator not needed any more

23 years agofinal dn_parent elimination in back-bdb
Pierangelo Masarati [Tue, 22 Jan 2002 08:18:12 +0000 (08:18 +0000)]
final dn_parent elimination in back-bdb

23 years agoas a temporary hack, return result without rewriting match
Pierangelo Masarati [Tue, 22 Jan 2002 08:17:02 +0000 (08:17 +0000)]
as a temporary hack, return result without rewriting match

23 years agoUpdated todo list
Ralf Haferkamp [Mon, 21 Jan 2002 23:02:44 +0000 (23:02 +0000)]
Updated todo list

23 years agoSet lock detector to DEFAULT, not NORUN.
Kurt Zeilenga [Mon, 21 Jan 2002 08:19:28 +0000 (08:19 +0000)]
Set lock detector to DEFAULT, not NORUN.
Clean up some error handling

23 years agoUpdate for BDB
Kurt Zeilenga [Mon, 21 Jan 2002 06:36:10 +0000 (06:36 +0000)]
Update for BDB

23 years agoset hostname via a variable, may need tweaking in some environments
Kurt Zeilenga [Mon, 21 Jan 2002 06:35:04 +0000 (06:35 +0000)]
set hostname via a variable, may need tweaking in some environments

23 years agoDB4 changes
Kurt Zeilenga [Mon, 21 Jan 2002 03:37:32 +0000 (03:37 +0000)]
DB4 changes

23 years agoMisc thread cleanup
Kurt Zeilenga [Mon, 21 Jan 2002 03:12:40 +0000 (03:12 +0000)]
Misc thread cleanup

23 years agoMore (blind) cthread changes
Kurt Zeilenga [Mon, 21 Jan 2002 02:32:34 +0000 (02:32 +0000)]
More (blind) cthread changes

23 years agoReally Fix typos
Kurt Zeilenga [Mon, 21 Jan 2002 02:23:20 +0000 (02:23 +0000)]
Really Fix typos

23 years agoCorrect cthread typos
Kurt Zeilenga [Mon, 21 Jan 2002 02:07:27 +0000 (02:07 +0000)]
Correct cthread typos

23 years agoFix typo in last commit
Kurt Zeilenga [Sun, 20 Jan 2002 22:31:10 +0000 (22:31 +0000)]
Fix typo in last commit

23 years agoFix cthread header test
Kurt Zeilenga [Sun, 20 Jan 2002 22:25:08 +0000 (22:25 +0000)]
Fix cthread header test

23 years agoITS#1541 fix.
Kurt Zeilenga [Sun, 20 Jan 2002 17:27:53 +0000 (17:27 +0000)]
ITS#1541 fix.

23 years agoMisc updates
Kurt Zeilenga [Sun, 20 Jan 2002 03:32:48 +0000 (03:32 +0000)]
Misc updates

23 years agoMostly up to date.
Howard Chu [Sun, 20 Jan 2002 01:10:51 +0000 (01:10 +0000)]
Mostly up to date.

23 years agoUpdate collective attribute schema
Kurt Zeilenga [Sat, 19 Jan 2002 22:33:07 +0000 (22:33 +0000)]
Update collective attribute schema

23 years agoAdd mods.c
Kurt Zeilenga [Sat, 19 Jan 2002 19:58:47 +0000 (19:58 +0000)]
Add mods.c

23 years agoMove {add,replace,delete}_value() routines to frontend and share.
Kurt Zeilenga [Sat, 19 Jan 2002 19:54:48 +0000 (19:54 +0000)]
Move {add,replace,delete}_value() routines to frontend and share.
Add error detail reporting.

23 years agofix ad_cmp
Pierangelo Masarati [Sat, 19 Jan 2002 15:42:59 +0000 (15:42 +0000)]
fix ad_cmp

23 years agoModify ad_cmp() macro to support use as an ordering function.
Kurt Zeilenga [Sat, 19 Jan 2002 06:42:59 +0000 (06:42 +0000)]
Modify ad_cmp() macro to support use as an ordering function.

23 years agoAdd more reads/searches to pound a little harder
Kurt Zeilenga [Sat, 19 Jan 2002 06:04:38 +0000 (06:04 +0000)]
Add more reads/searches to pound a little harder

23 years agoFix modify/replace.
Kurt Zeilenga [Sat, 19 Jan 2002 05:55:18 +0000 (05:55 +0000)]
Fix modify/replace.

23 years agoCleanup prototypes
Kurt Zeilenga [Sat, 19 Jan 2002 05:13:14 +0000 (05:13 +0000)]
Cleanup prototypes

23 years agoFix previous commit
Howard Chu [Sat, 19 Jan 2002 04:59:39 +0000 (04:59 +0000)]
Fix previous commit

23 years agoReset Entry->e_ocflags to 0 if objectClass attr is modified.
Howard Chu [Sat, 19 Jan 2002 04:51:42 +0000 (04:51 +0000)]
Reset Entry->e_ocflags to 0 if objectClass attr is modified.
(Only an issue with entry caching...)

23 years agoCleanup lint
Howard Chu [Sat, 19 Jan 2002 04:50:26 +0000 (04:50 +0000)]
Cleanup lint

23 years agoFix previous commit
Howard Chu [Sat, 19 Jan 2002 04:32:43 +0000 (04:32 +0000)]
Fix previous commit

23 years agoDon't free bv_vals that were passed to ber_bvarray_add.
Howard Chu [Sat, 19 Jan 2002 04:28:45 +0000 (04:28 +0000)]
Don't free bv_vals that were passed to ber_bvarray_add.

23 years agoUse calloc for new Entries, take care of new e_ocflags field
Howard Chu [Sat, 19 Jan 2002 04:28:07 +0000 (04:28 +0000)]
Use calloc for new Entries, take care of new e_ocflags field

23 years agoFix previous commit
Howard Chu [Sat, 19 Jan 2002 03:50:37 +0000 (03:50 +0000)]
Fix previous commit

23 years agoDefined some ObjectClass->soc_flags values, changed is_entry_*objectclass
Howard Chu [Sat, 19 Jan 2002 02:58:00 +0000 (02:58 +0000)]
Defined some ObjectClass->soc_flags values, changed is_entry_*objectclass
macros to use flags

23 years agoFix up duplicate error reporting
Kurt Zeilenga [Sat, 19 Jan 2002 02:20:46 +0000 (02:20 +0000)]
Fix up duplicate error reporting

23 years agoAdd checks for duplicate values.
Kurt Zeilenga [Sat, 19 Jan 2002 01:56:57 +0000 (01:56 +0000)]
Add checks for duplicate values.

23 years agoAdd checks for duplicate values
Kurt Zeilenga [Sat, 19 Jan 2002 01:56:35 +0000 (01:56 +0000)]
Add checks for duplicate values

23 years agoRemove some lint.
Kurt Zeilenga [Sat, 19 Jan 2002 01:54:56 +0000 (01:54 +0000)]
Remove some lint.

23 years agoLimit slurpd friendly code to replication user.
Kurt Zeilenga [Fri, 18 Jan 2002 22:01:29 +0000 (22:01 +0000)]
Limit slurpd friendly code to replication user.

23 years agoAdd a fourth add thread
Kurt Zeilenga [Fri, 18 Jan 2002 17:55:05 +0000 (17:55 +0000)]
Add a fourth add thread

23 years agoFix compilation error
Kurt Zeilenga [Fri, 18 Jan 2002 17:04:29 +0000 (17:04 +0000)]
Fix compilation error

23 years agoAdded ldap_pvt_thread_yield() after txn_abort
Howard Chu [Fri, 18 Jan 2002 13:34:50 +0000 (13:34 +0000)]
Added ldap_pvt_thread_yield() after txn_abort

23 years agoAdded "fewest" lockdetect keyword, to abort txn with fewest locks
Howard Chu [Fri, 18 Jan 2002 13:32:01 +0000 (13:32 +0000)]
Added "fewest" lockdetect keyword, to abort txn with fewest locks

23 years agoUse DB_RMW in idl_fetch_key if called as part of a txn.
Howard Chu [Fri, 18 Jan 2002 13:29:10 +0000 (13:29 +0000)]
Use DB_RMW in idl_fetch_key if called as part of a txn.

23 years agoDo deadlock detection on any conflict, instead of in a separate thread
Howard Chu [Fri, 18 Jan 2002 13:28:07 +0000 (13:28 +0000)]
Do deadlock detection on any conflict, instead of in a separate thread

23 years agoAdded compatibility macros for BDB3/4 lock_get, txn_id.
Howard Chu [Fri, 18 Jan 2002 13:27:25 +0000 (13:27 +0000)]
Added compatibility macros for BDB3/4 lock_get, txn_id.

23 years agoAdd missing newline at EOF
Howard Chu [Fri, 18 Jan 2002 04:50:34 +0000 (04:50 +0000)]
Add missing newline at EOF

23 years agoIn UTF8StringValidate, 1-byte chars are already validated
Howard Chu [Fri, 18 Jan 2002 04:49:55 +0000 (04:49 +0000)]
In UTF8StringValidate, 1-byte chars are already validated

23 years agoChange to use dn_match
Howard Chu [Fri, 18 Jan 2002 04:48:58 +0000 (04:48 +0000)]
Change to use dn_match

23 years agoCleanup while loops in dn2id_add/delete
Howard Chu [Thu, 17 Jan 2002 23:45:40 +0000 (23:45 +0000)]
Cleanup while loops in dn2id_add/delete

23 years agoUse ber_scanf 'm' format for ignored UDP string
Howard Chu [Thu, 17 Jan 2002 23:30:05 +0000 (23:30 +0000)]
Use ber_scanf 'm' format for ignored UDP string

23 years agodn_parent => dnParent
Pierangelo Masarati [Thu, 17 Jan 2002 22:47:55 +0000 (22:47 +0000)]
dn_parent => dnParent

23 years agoanother round replacing dn_parent ...
Pierangelo Masarati [Thu, 17 Jan 2002 22:37:38 +0000 (22:37 +0000)]
another round replacing dn_parent ...

23 years agofix dnParent to return '' if the dn is a rdn
Pierangelo Masarati [Thu, 17 Jan 2002 22:36:53 +0000 (22:36 +0000)]
fix dnParent to return '' if the dn is a rdn

23 years agoanother round replacing dn_parent ...
Pierangelo Masarati [Thu, 17 Jan 2002 19:58:19 +0000 (19:58 +0000)]
another round replacing dn_parent ...

23 years agofix uninitialized pointer (ITS#1538)
Pierangelo Masarati [Thu, 17 Jan 2002 19:33:48 +0000 (19:33 +0000)]
fix uninitialized pointer (ITS#1538)

23 years agofirst round at eliminating dn_parent ...
Pierangelo Masarati [Thu, 17 Jan 2002 19:05:21 +0000 (19:05 +0000)]
first round at eliminating dn_parent ...

23 years agoAdd a safety check to bvcasechr
Kurt Zeilenga [Thu, 17 Jan 2002 17:19:20 +0000 (17:19 +0000)]
Add a safety check to bvcasechr

23 years agopublish dnParent()
Pierangelo Masarati [Thu, 17 Jan 2002 17:04:11 +0000 (17:04 +0000)]
publish dnParent()

23 years agoIn db_destroy, cannot checkpoint a NULL dbenv.
Howard Chu [Thu, 17 Jan 2002 10:05:04 +0000 (10:05 +0000)]
In db_destroy, cannot checkpoint a NULL dbenv.

23 years agoDB_NODUPDATA is not a valid open flag
Howard Chu [Thu, 17 Jan 2002 09:48:44 +0000 (09:48 +0000)]
DB_NODUPDATA is not a valid open flag

23 years agoRun the lock detector
Kurt Zeilenga [Thu, 17 Jan 2002 05:36:47 +0000 (05:36 +0000)]
Run the lock detector

23 years agoAdd a third entry...
Kurt Zeilenga [Thu, 17 Jan 2002 05:08:26 +0000 (05:08 +0000)]
Add a third entry...

23 years agoAdd section add.
Kurt Zeilenga [Thu, 17 Jan 2002 04:43:39 +0000 (04:43 +0000)]
Add section add.

23 years agoDon't use BDB group/attribute callbacks as they may cause deadlock.
Kurt Zeilenga [Thu, 17 Jan 2002 03:58:52 +0000 (03:58 +0000)]
Don't use BDB group/attribute callbacks as they may cause deadlock.
Add code to bdb_attribute and bdb_group where use TXN id and to
provide error, but need to rework callers (and their callers) to
ensure error is properly bubbled up to the backend operation routine
handling the transaction.  Ugh.

23 years agoreplace strcasechr with bvcasechr
Kurt Zeilenga [Thu, 17 Jan 2002 00:18:57 +0000 (00:18 +0000)]
replace strcasechr with bvcasechr

23 years agoReverse ber_strccmp assertion order to avoid ""[1] problems
Kurt Zeilenga [Wed, 16 Jan 2002 19:31:25 +0000 (19:31 +0000)]
Reverse ber_strccmp assertion order to avoid ""[1] problems

23 years agomore ber_*cmp optimizations
Pierangelo Masarati [Wed, 16 Jan 2002 19:18:41 +0000 (19:18 +0000)]
more ber_*cmp optimizations

23 years agoFix up last commit
Kurt Zeilenga [Wed, 16 Jan 2002 19:03:31 +0000 (19:03 +0000)]
Fix up last commit

23 years agoremark for future (questionable) optimization
Pierangelo Masarati [Wed, 16 Jan 2002 18:51:20 +0000 (18:51 +0000)]
remark for future (questionable) optimization

23 years agofix ber_*str renaming
Pierangelo Masarati [Wed, 16 Jan 2002 18:50:45 +0000 (18:50 +0000)]
fix ber_*str renaming

23 years agoMove most of the new ber_*cmp routines to lber_pvt.h to keep them private,
Kurt Zeilenga [Wed, 16 Jan 2002 18:16:15 +0000 (18:16 +0000)]
Move most of the new ber_*cmp routines to lber_pvt.h to keep them private,
rework them slightly to avoid computations which might result in underflow.
Rename them for consistency with other berval routines.
Remove some utf8 lint.

23 years agoFix bdb_idl_fetch/insert_key. Still fails test011.
Howard Chu [Wed, 16 Jan 2002 15:22:08 +0000 (15:22 +0000)]
Fix bdb_idl_fetch/insert_key. Still fails test011.

23 years agouse dn_match
Pierangelo Masarati [Wed, 16 Jan 2002 12:15:27 +0000 (12:15 +0000)]
use dn_match

23 years agocompare attribute type, not value
Pierangelo Masarati [Wed, 16 Jan 2002 12:06:42 +0000 (12:06 +0000)]
compare attribute type, not value

23 years agoadded ber_[mem|case]cmp() macros for fast berval comparison; extensively used in...
Pierangelo Masarati [Wed, 16 Jan 2002 11:36:47 +0000 (11:36 +0000)]
added ber_[mem|case]cmp() macros for fast berval comparison; extensively used in acl and in dn_match macro at present

23 years agofix assertion
Pierangelo Masarati [Wed, 16 Jan 2002 10:58:04 +0000 (10:58 +0000)]
fix assertion

23 years agoFix idl_insert_key with USE_INDIRECT_NIDS, wasn't setting NIDS...
Howard Chu [Wed, 16 Jan 2002 09:58:11 +0000 (09:58 +0000)]
Fix idl_insert_key with USE_INDIRECT_NIDS, wasn't setting NIDS...