]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Sat, 19 Jan 2002 22:33:07 +0000 (22:33 +0000)]
Update collective attribute schema
Kurt Zeilenga [Sat, 19 Jan 2002 19:58:47 +0000 (19:58 +0000)]
Add mods.c
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.
Pierangelo Masarati [Sat, 19 Jan 2002 15:42:59 +0000 (15:42 +0000)]
fix ad_cmp
Kurt Zeilenga [Sat, 19 Jan 2002 06:42:59 +0000 (06:42 +0000)]
Modify ad_cmp() macro to support use as an ordering function.
Kurt Zeilenga [Sat, 19 Jan 2002 06:04:38 +0000 (06:04 +0000)]
Add more reads/searches to pound a little harder
Kurt Zeilenga [Sat, 19 Jan 2002 05:55:18 +0000 (05:55 +0000)]
Fix modify/replace.
Kurt Zeilenga [Sat, 19 Jan 2002 05:13:14 +0000 (05:13 +0000)]
Cleanup prototypes
Howard Chu [Sat, 19 Jan 2002 04:59:39 +0000 (04:59 +0000)]
Fix previous commit
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...)
Howard Chu [Sat, 19 Jan 2002 04:50:26 +0000 (04:50 +0000)]
Cleanup lint
Howard Chu [Sat, 19 Jan 2002 04:32:43 +0000 (04:32 +0000)]
Fix previous commit
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.
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
Howard Chu [Sat, 19 Jan 2002 03:50:37 +0000 (03:50 +0000)]
Fix previous commit
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
Kurt Zeilenga [Sat, 19 Jan 2002 02:20:46 +0000 (02:20 +0000)]
Fix up duplicate error reporting
Kurt Zeilenga [Sat, 19 Jan 2002 01:56:57 +0000 (01:56 +0000)]
Add checks for duplicate values.
Kurt Zeilenga [Sat, 19 Jan 2002 01:56:35 +0000 (01:56 +0000)]
Add checks for duplicate values
Kurt Zeilenga [Sat, 19 Jan 2002 01:54:56 +0000 (01:54 +0000)]
Remove some lint.
Kurt Zeilenga [Fri, 18 Jan 2002 22:01:29 +0000 (22:01 +0000)]
Limit slurpd friendly code to replication user.
Kurt Zeilenga [Fri, 18 Jan 2002 17:55:05 +0000 (17:55 +0000)]
Add a fourth add thread
Kurt Zeilenga [Fri, 18 Jan 2002 17:04:29 +0000 (17:04 +0000)]
Fix compilation error
Howard Chu [Fri, 18 Jan 2002 13:34:50 +0000 (13:34 +0000)]
Added ldap_pvt_thread_yield() after txn_abort
Howard Chu [Fri, 18 Jan 2002 13:32:01 +0000 (13:32 +0000)]
Added "fewest" lockdetect keyword, to abort txn with fewest locks
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.
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
Howard Chu [Fri, 18 Jan 2002 13:27:25 +0000 (13:27 +0000)]
Added compatibility macros for BDB3/4 lock_get, txn_id.
Howard Chu [Fri, 18 Jan 2002 04:50:34 +0000 (04:50 +0000)]
Add missing newline at EOF
Howard Chu [Fri, 18 Jan 2002 04:49:55 +0000 (04:49 +0000)]
In UTF8StringValidate, 1-byte chars are already validated
Howard Chu [Fri, 18 Jan 2002 04:48:58 +0000 (04:48 +0000)]
Change to use dn_match
Howard Chu [Thu, 17 Jan 2002 23:45:40 +0000 (23:45 +0000)]
Cleanup while loops in dn2id_add/delete
Howard Chu [Thu, 17 Jan 2002 23:30:05 +0000 (23:30 +0000)]
Use ber_scanf 'm' format for ignored UDP string
Pierangelo Masarati [Thu, 17 Jan 2002 22:47:55 +0000 (22:47 +0000)]
dn_parent => dnParent
Pierangelo Masarati [Thu, 17 Jan 2002 22:37:38 +0000 (22:37 +0000)]
another round replacing dn_parent ...
Pierangelo Masarati [Thu, 17 Jan 2002 22:36:53 +0000 (22:36 +0000)]
fix dnParent to return '' if the dn is a rdn
Pierangelo Masarati [Thu, 17 Jan 2002 19:58:19 +0000 (19:58 +0000)]
another round replacing dn_parent ...
Pierangelo Masarati [Thu, 17 Jan 2002 19:33:48 +0000 (19:33 +0000)]
fix uninitialized pointer (ITS#1538)
Pierangelo Masarati [Thu, 17 Jan 2002 19:05:21 +0000 (19:05 +0000)]
first round at eliminating dn_parent ...
Kurt Zeilenga [Thu, 17 Jan 2002 17:19:20 +0000 (17:19 +0000)]
Add a safety check to bvcasechr
Pierangelo Masarati [Thu, 17 Jan 2002 17:04:11 +0000 (17:04 +0000)]
publish dnParent()
Howard Chu [Thu, 17 Jan 2002 10:05:04 +0000 (10:05 +0000)]
In db_destroy, cannot checkpoint a NULL dbenv.
Howard Chu [Thu, 17 Jan 2002 09:48:44 +0000 (09:48 +0000)]
DB_NODUPDATA is not a valid open flag
Kurt Zeilenga [Thu, 17 Jan 2002 05:36:47 +0000 (05:36 +0000)]
Run the lock detector
Kurt Zeilenga [Thu, 17 Jan 2002 05:08:26 +0000 (05:08 +0000)]
Add a third entry...
Kurt Zeilenga [Thu, 17 Jan 2002 04:43:39 +0000 (04:43 +0000)]
Add section add.
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.
Kurt Zeilenga [Thu, 17 Jan 2002 00:18:57 +0000 (00:18 +0000)]
replace strcasechr with bvcasechr
Kurt Zeilenga [Wed, 16 Jan 2002 19:31:25 +0000 (19:31 +0000)]
Reverse ber_strccmp assertion order to avoid ""[1] problems
Pierangelo Masarati [Wed, 16 Jan 2002 19:18:41 +0000 (19:18 +0000)]
more ber_*cmp optimizations
Kurt Zeilenga [Wed, 16 Jan 2002 19:03:31 +0000 (19:03 +0000)]
Fix up last commit
Pierangelo Masarati [Wed, 16 Jan 2002 18:51:20 +0000 (18:51 +0000)]
remark for future (questionable) optimization
Pierangelo Masarati [Wed, 16 Jan 2002 18:50:45 +0000 (18:50 +0000)]
fix ber_*str renaming
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.
Howard Chu [Wed, 16 Jan 2002 15:22:08 +0000 (15:22 +0000)]
Fix bdb_idl_fetch/insert_key. Still fails test011.
Pierangelo Masarati [Wed, 16 Jan 2002 12:15:27 +0000 (12:15 +0000)]
use dn_match
Pierangelo Masarati [Wed, 16 Jan 2002 12:06:42 +0000 (12:06 +0000)]
compare attribute type, not value
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
Pierangelo Masarati [Wed, 16 Jan 2002 10:58:04 +0000 (10:58 +0000)]
fix assertion
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...
Pierangelo Masarati [Wed, 16 Jan 2002 09:57:20 +0000 (09:57 +0000)]
don't auto-detect DCE form; assert the UTF-8 charlen is legal
Howard Chu [Wed, 16 Jan 2002 07:39:00 +0000 (07:39 +0000)]
Fix misplaced #if USE_INDIRECT_NIDS/cont_alloc in idl_delete_key
Kurt Zeilenga [Wed, 16 Jan 2002 05:44:21 +0000 (05:44 +0000)]
Fix last commit
Kurt Zeilenga [Wed, 16 Jan 2002 04:40:41 +0000 (04:40 +0000)]
more cleanup
Kurt Zeilenga [Wed, 16 Jan 2002 03:01:19 +0000 (03:01 +0000)]
Remove last uses of dn_validate()
Kurt Zeilenga [Wed, 16 Jan 2002 00:16:51 +0000 (00:16 +0000)]
Remove unused deprecated DN routines.
Only dn_validate, dn_normalize, and dn_parent remain (for now).
Kurt Zeilenga [Tue, 15 Jan 2002 19:54:21 +0000 (19:54 +0000)]
Remove some asserts. Need to re-valid logic
Kurt Zeilenga [Tue, 15 Jan 2002 17:26:44 +0000 (17:26 +0000)]
Switch the default backend to BDB.
Kurt Zeilenga [Tue, 15 Jan 2002 17:18:18 +0000 (17:18 +0000)]
remove lint
Kurt Zeilenga [Tue, 15 Jan 2002 16:23:11 +0000 (16:23 +0000)]
Change replace ACL semantics from U-Mich historical behavior.
U-Mich allows someone with selfwrite to use replace all values
of an attribute with a value containing their DN. Which, of course,
could than be deleted. This behavior was carried forward in all
versions of OpenLDAP.
The new semantics separate checks for deleting all existing values
and adding new values. It is more logical and more inline with
the common use of selfwrite.
Howard Chu [Tue, 15 Jan 2002 09:01:44 +0000 (09:01 +0000)]
Added some reference comments for ldap_utf8_charlen2
Howard Chu [Tue, 15 Jan 2002 08:27:19 +0000 (08:27 +0000)]
Use LDAP_UTF8_CHARLEN2 to check shortest possible encoding
Howard Chu [Tue, 15 Jan 2002 08:07:46 +0000 (08:07 +0000)]
Added LDAP_UTF8_CHARLEN2() to validate shortest possible encoding
of UTF8 string. (Returns charlen if valid, 0 if not.)
Kurt Zeilenga [Tue, 15 Jan 2002 07:29:15 +0000 (07:29 +0000)]
Misc. cleanup, remove lint, remove unused deprecated functions, etc.
Kurt Zeilenga [Tue, 15 Jan 2002 04:38:05 +0000 (04:38 +0000)]
A very basic UTF-8 check
Howard Chu [Tue, 15 Jan 2002 03:31:37 +0000 (03:31 +0000)]
Fix ldap_utf8_lentab to detect illegal two-byte sequences.
Kurt Zeilenga [Tue, 15 Jan 2002 02:47:06 +0000 (02:47 +0000)]
rm noautosubtypes
Howard Chu [Tue, 15 Jan 2002 01:50:09 +0000 (01:50 +0000)]
Deleted autosubtypes support.
Howard Chu [Tue, 15 Jan 2002 01:49:53 +0000 (01:49 +0000)]
Revert previous commit again. autosubtypes are gone for good.
Howard Chu [Mon, 14 Jan 2002 20:49:06 +0000 (20:49 +0000)]
More fixes for autosubtype index generation
Howard Chu [Mon, 14 Jan 2002 20:26:51 +0000 (20:26 +0000)]
Fix previous commit
Howard Chu [Mon, 14 Jan 2002 20:13:25 +0000 (20:13 +0000)]
Revert previous commit
Pierangelo Masarati [Mon, 14 Jan 2002 19:48:09 +0000 (19:48 +0000)]
fix format
Pierangelo Masarati [Mon, 14 Jan 2002 19:44:04 +0000 (19:44 +0000)]
make temporary RDN and AVA arrays rescalable if needed
Pierangelo Masarati [Mon, 14 Jan 2002 19:42:59 +0000 (19:42 +0000)]
fix typo
Pierangelo Masarati [Mon, 14 Jan 2002 19:33:13 +0000 (19:33 +0000)]
quick fix that in pretty mode escapes with hexpair the specials ',', '+' and '\'
Kurt Zeilenga [Mon, 14 Jan 2002 17:25:13 +0000 (17:25 +0000)]
Add a default case with assert() just in case.
Kurt Zeilenga [Mon, 14 Jan 2002 17:19:05 +0000 (17:19 +0000)]
ITS#1530 no value replace ACL fix
Howard Chu [Mon, 14 Jan 2002 11:52:53 +0000 (11:52 +0000)]
In DN_SUBTREE use idl_allids instead of explicit malloc.
Pierangelo Masarati [Mon, 14 Jan 2002 11:09:14 +0000 (11:09 +0000)]
revert previous commit: do accept '\00'
Pierangelo Masarati [Mon, 14 Jan 2002 10:50:02 +0000 (10:50 +0000)]
accept '\<special>' anywhere in the string
Howard Chu [Mon, 14 Jan 2002 10:37:08 +0000 (10:37 +0000)]
Fix subtype indexing. Really really made it the default.
Pierangelo Masarati [Mon, 14 Jan 2002 09:56:54 +0000 (09:56 +0000)]
fix behavior on improperly escaped illegal hexpair; do not accept '\00'
Kurt Zeilenga [Mon, 14 Jan 2002 03:42:24 +0000 (03:42 +0000)]
Misc cleanup
Howard Chu [Mon, 14 Jan 2002 01:43:17 +0000 (01:43 +0000)]
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
liblber:ber_bvarray_{add,free}.
Howard Chu [Sun, 13 Jan 2002 23:52:17 +0000 (23:52 +0000)]
Renamed subdirectories to hide rm warnings
Howard Chu [Sun, 13 Jan 2002 23:23:23 +0000 (23:23 +0000)]
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
Howard Chu [Sun, 13 Jan 2002 23:21:03 +0000 (23:21 +0000)]
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
with minor adjustments.
Howard Chu [Sun, 13 Jan 2002 22:26:29 +0000 (22:26 +0000)]
Turn on BDB_IDL_MULTI by default
Howard Chu [Sun, 13 Jan 2002 22:25:51 +0000 (22:25 +0000)]
Turn on USE_INDIRECT_NIDS by default