Hallvard Furuseth
26ea01e67e
goto loop_begin; skipped initialization of scopeok.
2005-07-10 16:14:28 +00:00
Howard Chu
11a1349366
ITS#3843 from jtownsend@opendarwin.org: hide index_attrs / index_dummy
2005-07-07 03:51:43 +00:00
Howard Chu
3232686cc1
ITS#3833 assume environment was already recovered by an external action
...
if it's missing, just succeed in this case.
2005-07-05 02:40:01 +00:00
Hallvard Furuseth
40c91251e6
Debug output: printed soc_cname, should be soc_cname.bv_val
2005-07-04 06:05:04 +00:00
Hallvard Furuseth
430fdb7a1c
isspace() needs <ac/ctype.h>
2005-07-04 05:56:45 +00:00
Hallvard Furuseth
b746066b9b
Let bdb_attr_index_unparser() return int (0) instead of void; the return
...
value of an AVL_APPLY function is significant.
2005-07-04 05:21:39 +00:00
Hallvard Furuseth
cc0d91716e
Don't do pointer arithmetic on void*
2005-07-04 05:18:01 +00:00
Howard Chu
b3655504a7
Tweak prev commit
2005-07-01 02:18:10 +00:00
Howard Chu
17a4215256
ITS#3815 fix olcDbConfig parsing
2005-07-01 02:08:14 +00:00
Howard Chu
c384e2ed13
HDB needs its own config objectclass to avoid confusion when parsing the
...
config db
2005-07-01 00:17:51 +00:00
Howard Chu
52165180f7
ITS#3796 fix IDL cache lock setup/teardown
2005-06-28 00:43:41 +00:00
Pierangelo Masarati
789717fee5
fix ITS#3784
2005-06-16 20:01:41 +00:00
Ralf Haferkamp
f9fb5e63f4
silence warning
2005-06-15 18:00:49 +00:00
Howard Chu
4667a44ae6
Fix typo in prev commit
2005-06-13 23:57:30 +00:00
Howard Chu
a4d2c63a61
ITS#3773 additional fix
2005-06-13 21:25:51 +00:00
Howard Chu
6cacc7fb5d
ITS#3773 fix RDN comparison
2005-06-13 21:21:27 +00:00
Howard Chu
2cc3190c62
ITS#3770 lockf can return either EACCES or EAGAIN
2005-06-11 19:32:03 +00:00
Howard Chu
117b686da4
ITS#3765 don't allocate cache for empty IDLs
2005-06-11 19:12:49 +00:00
Howard Chu
3801ba6435
ITS#3731 catch another BDB error leaking out to the frontend
2005-05-18 04:41:24 +00:00
Kurt Zeilenga
31727f0f4d
Additional manageDIT changes.
...
Now require be_isroot() instead of "manage".
2005-05-13 21:09:26 +00:00
Kurt Zeilenga
feeeabcd68
manageDIT framework and obsolete objectclasses/DIT-content-rule override
2005-05-13 19:07:31 +00:00
Howard Chu
048a36a60f
Fix prev commit, trim unused cfOC vars
2005-05-09 05:02:23 +00:00
Howard Chu
ee59484f7b
Restructured to allow miscellaneous Adds under database/overlay objects
2005-05-09 03:42:51 +00:00
Pierangelo Masarati
d23243a507
more on strict config parsing (ITS#3705)
2005-05-06 16:42:03 +00:00
Howard Chu
1ac4df71c9
ITS#3703 skip checkpoint on close if ReadOnly mode
2005-05-04 06:41:39 +00:00
Howard Chu
d73fa98cf6
ITS#3699 fix dbconfig, limits schema flags
2005-05-03 09:44:46 +00:00
Howard Chu
e3703bfaab
Propagate Abandon to allow cleanup callbacks to run
2005-04-28 18:50:24 +00:00
Howard Chu
b45a912070
Check for abandon during transaction retry
2005-04-28 18:45:31 +00:00
Howard Chu
080586f482
ITS#3688 don't sort range IDLs!
2005-04-27 17:29:30 +00:00
Sang Seok Lim
ea0033e439
Misc bug fix: component matching
2005-04-27 00:25:30 +00:00
Howard Chu
afd3f7c5ec
Fix DB_CONFIG loading
2005-04-23 17:21:45 +00:00
Howard Chu
173330187e
Tweak online_index task interval
2005-04-23 16:58:23 +00:00
Howard Chu
5639c07137
Add hdb symbols, make sure only one indexer runs
2005-04-23 16:16:54 +00:00
Howard Chu
cd1bdf99e2
Add task names to runqueue entries. Display running tasks under
...
cn=Runqueue,cn=Threads,cn=Monitor
2005-04-23 00:28:43 +00:00
Howard Chu
2d277bef3b
More for dynamic dbenv swapping
2005-04-22 23:02:01 +00:00
Howard Chu
8d0fba2d97
Dynamic environment swapping
2005-04-22 21:35:45 +00:00
Howard Chu
9754ccacfd
ITS#3607 use shared memory when configured
2005-04-22 21:18:59 +00:00
Howard Chu
c49ba400db
Cleanup db_close vs db_destroy steps
2005-04-22 18:07:02 +00:00
Howard Chu
0398f254ee
Fix checkpoint task start/stop
2005-04-22 15:32:09 +00:00
Howard Chu
cc2288b444
Fix bdb_attrinfo_free
2005-04-22 14:21:54 +00:00
Howard Chu
8b6d9467ea
Fix prev commit for component indexer op
2005-04-21 19:54:54 +00:00
Howard Chu
180d28dab7
Fix typo, add Truncate support
2005-04-21 19:46:47 +00:00
Howard Chu
5bf5288be5
Allow shutdown to interrupt the indexer
2005-04-21 19:23:33 +00:00
Howard Chu
5de908e7e1
Dynamic indexing support
2005-04-21 19:04:31 +00:00
Howard Chu
eac3fc3737
Added some delete handlers
2005-04-21 12:45:25 +00:00
Howard Chu
41d37a335e
ITS#3660 fix BDB verbose calls
2005-04-16 01:24:00 +00:00
Howard Chu
6399387580
ITS#3616 store contextCSN in glue entry if database suffix is empty
2005-04-15 06:58:03 +00:00
Howard Chu
46bea91379
ITS#3657 added missing check
2005-04-15 03:57:57 +00:00
Howard Chu
5ef9978afe
ITS#3616 don't index the dummy context entry
2005-04-13 19:05:56 +00:00
Howard Chu
d9ab73837a
ITS#3647 back-hdb fixes, create unsorted subtree IDLs and sort later.
2005-04-13 11:55:25 +00:00
Howard Chu
18e19a3a52
ITS#3607 more enhancements
...
- recovers correctly, logs status
- for Quick mode, where no transactional environment exists, refuses to
start if the database is inconsistent
- warns of poor performance if DB_CONFIG is not present
- detects changes to DB_CONFIG and forces a recovery
2005-04-13 04:34:15 +00:00
Howard Chu
28af130e89
unifdef BDB_SUBDIRS, was never used
2005-04-13 04:08:43 +00:00
Howard Chu
fbce032cf2
Fix checkpoint task - must call stoptask before returning
2005-04-12 12:32:48 +00:00
Howard Chu
d38707a952
Fix slapMode parens
2005-04-12 10:48:22 +00:00
Howard Chu
b0627689e8
ITS#3647 fix hdb dn2idl SEGV
2005-04-11 04:00:08 +00:00
Pierangelo Masarati
f7ead8f919
apply naming scheme to global/database schema
2005-04-10 22:27:50 +00:00
Pierangelo Masarati
53ce94a25d
protect all occurrences of ACL_DISCLOSE
2005-04-09 17:00:40 +00:00
Howard Chu
a2a28f7b95
ITS#3616 allow adding entry with zero-length DN if the suffix is zero-length
2005-04-09 11:28:06 +00:00
Howard Chu
20eaae2c7c
Silence warnings in prev commit
2005-04-09 11:21:08 +00:00
Howard Chu
f43086d1c1
ITS#3616 fixes for zero-length DN entry. generate context entry on the
...
fly if a modify is attempted and it does not exist.
2005-04-09 11:15:05 +00:00
Howard Chu
90d9791047
ITS#3616 use fake context entry if suffix is empty.
2005-04-09 10:01:13 +00:00
Howard Chu
d9df909ba4
ITS#3638 Init ids to zero in bdb_dn2idl
2005-04-09 07:45:14 +00:00
Howard Chu
e90f933e8c
ITS#3646 allow default index
2005-04-09 07:32:51 +00:00
Howard Chu
dbb5d00908
ITS#3267 add a comment
2005-04-09 00:56:30 +00:00
Howard Chu
546bc9cf19
ITS#3267 fix out-of-order slapadd
2005-04-09 00:38:18 +00:00
Jong Hyuk Choi
8b53a1f0bb
malloc cleanup
2005-04-08 19:39:58 +00:00
Pierangelo Masarati
4abbf9c610
implement add/delete granularity in write access (ITS#3631)
2005-04-08 00:18:24 +00:00
Kurt Zeilenga
b425b15fc8
Improved log message when cannot find entry of desired class
2005-04-07 00:54:06 +00:00
Pierangelo Masarati
ae3f784d5b
fix database operations in tool mode (ITS#3622)
2005-04-01 12:20:02 +00:00
Howard Chu
f9917a9c16
Truncate \r if it appears at end of DB_CONFIG lines
2005-04-01 12:06:46 +00:00
Howard Chu
bff244da5b
Add dbconfig directive for creating/writing the DB_CONFIG file
2005-04-01 11:26:43 +00:00
Howard Chu
04f6efbe1c
ITS#3607 more for Win32 portability
2005-04-01 08:10:26 +00:00
Howard Chu
18d1821b1f
ITS#3607, added Win32 lock support
2005-04-01 06:10:06 +00:00
Kurt Zeilenga
0b6ed01c05
cleanup
2005-04-01 02:39:01 +00:00
Sang Seok Lim
d2af85fd08
Fixing memory leakage in attribute aliasing
2005-03-29 00:12:05 +00:00
Howard Chu
4d4e58d8f1
ITS#3607 build alock code
2005-03-26 10:21:43 +00:00
Howard Chu
d7396583d5
ITS#3607 add automatic BDB recovery
2005-03-26 09:52:04 +00:00
Kurt Zeilenga
71c2c1c9fe
Change "subtree delete not supported" diagnostic text to
...
"subordinate objects must be deleted first" as the "not supported"
language implies some feature of LDAP is not implemented in slapd(8).
2005-03-26 00:53:00 +00:00
Howard Chu
c9141a9a08
More parsing fixes
2005-03-21 11:14:37 +00:00
Howard Chu
1476ad80a6
Tweak log msg in prev commit
2005-03-20 20:55:49 +00:00
Howard Chu
e2a4978d82
Runtime detection of BDB read-only transaction patch
2005-03-20 20:54:44 +00:00
Kurt Zeilenga
9198281e9e
db mismatch (including patch mismatch) should be an error
2005-03-20 17:18:15 +00:00
Howard Chu
fda662bd34
More for loading config from LDIF
2005-03-20 09:13:48 +00:00
Kurt Zeilenga
43ba1a98db
ITS#3579 fixes
2005-03-20 04:29:35 +00:00
Kurt Zeilenga
9507a11573
cleanup
2005-03-20 01:58:38 +00:00
Howard Chu
83c748fe5c
More for loading config from database. Fix non-reentrant strtok_quote.
2005-03-17 23:07:44 +00:00
Pierangelo Masarati
c90998e60d
cure ITS#3602
2005-03-15 23:01:06 +00:00
Howard Chu
bc4564cac4
More back-config / back-ldif integration, added config_generic_wrapper,
...
added -F option to specify config directory
2005-03-15 08:57:34 +00:00
Howard Chu
b9b087384c
Added config compatibility wrapper for overlays etc...
2005-03-04 10:32:51 +00:00
Howard Chu
0b9ffad770
Don't restrict cache sizes to non-zero
2005-03-04 09:45:08 +00:00
Howard Chu
a025ead532
ITS#3533 use LDAP_DEBUG_TRACE for version info
2005-03-04 00:10:01 +00:00
Howard Chu
74e38c0ad4
More verbmasks cleanup, added index unparsing
2005-03-02 16:35:59 +00:00
Howard Chu
530e93f96e
Cleanup verb/mask processing
2005-03-02 14:49:54 +00:00
Howard Chu
44521fd902
Reorganized config/bconfig. Migrated back-bdb config.
2005-03-02 04:46:50 +00:00
Howard Chu
2b725a3dfe
ITS#3559 fix hdb dn2idl idl_cache usage
2005-02-21 11:11:00 +00:00
Howard Chu
df3d8f3e30
Cleanup unused variables
2005-02-20 04:59:29 +00:00
Howard Chu
caeae75662
bdb_show_key is for hash keys, not IDs
2005-02-20 04:32:54 +00:00
Howard Chu
ee42df4cea
Always return SLAPD_ABANDON in response to op->o_abandon being set.
2005-02-18 00:37:40 +00:00
Sang Seok Lim
583242c9a3
initialize AttributeAssertion before using
2005-02-16 17:00:11 +00:00
Sang Seok Lim
9d59266e25
Attribute Aliasing : equality matching support
2005-02-15 05:24:48 +00:00
Howard Chu
f2d423e084
ITS#3527 fix race in bdb_idl_cache_get
2005-02-01 05:37:09 +00:00
Pierangelo Masarati
fbb2b75ace
matched values is "global"
2005-01-30 22:04:02 +00:00
Howard Chu
87ad189972
Cleanup obsolete bits
2005-01-25 20:29:08 +00:00
Howard Chu
86ab73ecd6
Remove "fasttool" option; obsoleted by "slapadd -q"
2005-01-25 20:21:36 +00:00
Howard Chu
fc337704c5
Fix redundant index lookups from component matching
2005-01-24 12:25:37 +00:00
Howard Chu
ad2a19d8eb
More for SLAP_TOOL_QUICK, disable locks as well
2005-01-24 08:21:55 +00:00
Howard Chu
b674e6dd3d
Omit transaction support when running with SLAP_TOOL_QUICK
2005-01-24 01:37:38 +00:00
Howard Chu
eb7deb9eba
ITS#3494 fix deadlock
2005-01-19 19:18:28 +00:00
Howard Chu
ffcfb8b967
Fix typo in prev commit
2005-01-19 07:02:14 +00:00
Howard Chu
3f4243def9
Cleanup prev commit
2005-01-19 06:43:33 +00:00
Howard Chu
577beaf982
Debugging aid for prev commit
2005-01-19 06:30:08 +00:00
Howard Chu
f2a067d997
Don't use DB->del when converting to a range, use the cursor that's
...
already open.
2005-01-19 06:03:14 +00:00
Howard Chu
1dbe92c27b
Delete dubious use of be_syncinfo - only the consumer can write the
...
database, and it will only perform writes it received from the provider,
so referring back to the provider is pointless. (And of course, the
consumer never chases referrals.)
2005-01-15 10:39:23 +00:00
Pierangelo Masarati
4644584a75
condition compilation of DISCLOSE checking
2005-01-14 11:51:16 +00:00
Howard Chu
2b66ee44bd
More cleanup of unused stuff
2005-01-14 05:57:58 +00:00
Howard Chu
aa27cb2262
Delete obsolete syncprovider stuff
2005-01-14 05:49:45 +00:00
Howard Chu
f845c573b0
Single consumer context per database
2005-01-13 21:15:50 +00:00
Pierangelo Masarati
6bf8b945dd
fix use of uninitialized var
2005-01-12 15:11:17 +00:00
Howard Chu
0bc4b77527
Clean up unused bt_compare references
2005-01-11 22:38:39 +00:00
Howard Chu
89da582d69
Byte-order independence for HDB: dn2id format changed again.
2005-01-11 22:25:52 +00:00
Howard Chu
bd498d2996
Fix undetected deadlock
2005-01-11 22:08:06 +00:00
Howard Chu
98212b7e08
Start removing custom sort functions from hdb
2005-01-11 19:47:05 +00:00
Pierangelo Masarati
f369e34049
honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel)
2005-01-11 15:59:13 +00:00
Pierangelo Masarati
4f9db2e2d7
suggested change for ITS#3475
2005-01-11 00:38:04 +00:00
Howard Chu
d140433c9f
ITS#3470 don't propagate error if hasSubordinates fails, it's not that
...
important.
2005-01-11 00:05:22 +00:00
Pierangelo Masarati
0ea4070eb1
clarify error message and allow -u (dryrun) option for slaptest, to circumvent database startup
2005-01-08 12:02:14 +00:00
Pierangelo Masarati
4b4bdc6bf6
...but rather here: GLUE entries would remain such until the server was restarted
2005-01-08 09:13:16 +00:00
Pierangelo Masarati
6f2ffa30ed
fix ACL value checking for bind (ITS#3446)
2005-01-07 13:50:38 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Pierangelo Masarati
7a1537c640
list permissive in supported controls (ITS#3453)
2004-12-28 10:54:49 +00:00
Sang Seok Lim
e3ab329d4e
Fixing bug in extensible filter indexing
2004-12-22 01:23:27 +00:00
Jong Hyuk Choi
706e7f819a
misc cleanup
2004-12-20 22:07:17 +00:00
Jong Hyuk Choi
35c19ef342
misc fix for the component indexing commit
2004-12-20 20:28:30 +00:00
Sang Seok Lim
28a967584d
Component Indexing support for BDB
...
- only for equality matching
- only components of ASN.1 types used in an X.509 certificate can be indexed
(composite types except for RDN and DN are not supported yet)
- how to use
index [attribute name].[component reference] eq
Ex)
index userCertificate eq
index userCertificate.toBeSigned.issuer.rdnSequence eq
index userCertificate.toBeSigned.serialNumber eq
index userCertificate.toBeSigned.version eq
2004-12-20 03:31:44 +00:00
Jong Hyuk Choi
273052b573
adaptive caching implementation
2004-12-14 17:22:22 +00:00
Sang Seok Lim
3492452a5b
1) <select> and <content> type component reference support
...
2) attribute aliasing support
- x509CertificateIssuer
- x509CertificateSerial
- x509CertificateIssuerAndIssuer
3) AuthorityKeyIdentifier support(one of certificate extension)
4) Misc. improvement
- integrate OID and its decoder mapping table
- normalize and validate the values of both component asserions and
extracted components
5) Misc. bug fix
2004-12-13 16:26:58 +00:00
Howard Chu
72490da301
Fix ITS#3424
2004-12-08 20:55:35 +00:00
Howard Chu
e472ed00e2
Fix inequality cursor management
2004-12-06 21:25:16 +00:00
Howard Chu
89912db91e
Store entryIDs in big-endian order, no more custom sort function.
...
back-hdb still needs work.
2004-12-06 07:28:47 +00:00
Howard Chu
a518895b72
Fix previous commit
2004-12-06 07:27:09 +00:00
Howard Chu
3e5a2904e8
bdb_tool_dn2id_get should use bdb_dn2id, not duplicate the code
2004-12-06 07:25:33 +00:00
Howard Chu
70f375eae0
Fix GE inequality lookups, key was getting overwritten
2004-12-06 07:16:57 +00:00
Howard Chu
30a6f4d24d
Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
...
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Howard Chu
74da2306ff
Add a checkpoint task if time-based checkpointing is configured.
2004-12-03 17:11:39 +00:00
Howard Chu
5f99f7c991
More migration of syncrepl from frontend to syncprov overlay
...
define OPERATION_BUFFER_SIZE for dummy Operations
2004-11-27 00:57:37 +00:00
Howard Chu
3426a11983
More BDB_PSEARCH cleanup
2004-11-26 09:39:33 +00:00
Howard Chu
127a85b553
More Operation/Opheader fixes
2004-11-26 09:39:14 +00:00
Howard Chu
3a5bde98ba
Disable back-bdb native syncrepl support, enable syncprov overlay,
...
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
618cc56265
Merge op->o_sync_mode into op->o_sync
2004-11-25 18:31:31 +00:00
Howard Chu
dca809ff8d
Revert previous commit, it breaks everything.
2004-11-25 07:03:43 +00:00
Howard Chu
47dd8d8732
Dynamic control management
2004-11-23 13:08:45 +00:00
Pierangelo Masarati
dd18c8b2a4
revert last commit
2004-11-17 15:56:25 +00:00
Howard Chu
f1ae2e63c1
Fix BDB 4.3 fasttool, flag must be set before opening environment
2004-11-17 15:12:31 +00:00
Pierangelo Masarati
262df940f1
cleanup previous commit
2004-11-17 15:05:59 +00:00
Pierangelo Masarati
bc478dee46
log the right function names
2004-11-17 14:53:03 +00:00
Pierangelo Masarati
b29bf83e7e
remove back-*/external.h
2004-11-15 19:45:49 +00:00
Pierangelo Masarati
9c550e7235
first step towards removing back-*/external.h
2004-11-13 18:52:44 +00:00
Howard Chu
3cfbe2ec29
fasttool: BDB 4.3 uses DB_LOG_INMEMORY instead of DB_TXN_NOT_DURABLE
2004-11-13 13:23:33 +00:00
Howard Chu
ab25b43364
Update BDB 4.3 errcall prototype again to silence warnings
2004-11-13 13:22:48 +00:00
Pierangelo Masarati
be32dce97f
rework static backend initialization
2004-11-11 00:38:11 +00:00
Jong Hyuk Choi
62febe5dff
fix slap_sl_free() calls in pre / post read controls
2004-11-10 21:38:41 +00:00
Jong Hyuk Choi
71ac7140b6
fix suspicious capitalization to make subentries control work properly
2004-11-10 03:52:42 +00:00
Jong Hyuk Choi
b6f77e2936
ldapsync fix for recursive deletion (ITS#3385)
2004-11-10 03:52:12 +00:00
Howard Chu
73a666778e
Delete incorrect comments
2004-11-10 01:29:51 +00:00
Howard Chu
9dd58533ca
Better cache counting, partially revert 1.85
2004-11-08 07:18:33 +00:00
Howard Chu
504d7ea261
Assist in cache debugging
2004-11-08 04:23:37 +00:00
Ralf Haferkamp
c7a2f95493
Plugged memory leak
2004-11-05 15:29:59 +00:00
Kurt Zeilenga
b29e311ae7
unifdef -DBDB_ALIASES
...
delete dead code
2004-11-05 07:48:15 +00:00
Howard Chu
14b0d4fdad
Fix hdb cache kid counts
2004-10-31 22:07:15 +00:00
Howard Chu
7087ffa2ca
ITS#3356 - when purging cache, free entryInfo if node has no children
2004-10-31 13:04:27 +00:00
Howard Chu
501f749c05
Don't access entry after commit; it may be gone if the cache is full
2004-10-30 23:48:26 +00:00
Howard Chu
e7ec96fc6d
ITS#3358 - make bdb_cache_lru_add skip entries that are being deleted
2004-10-27 14:01:12 +00:00
Howard Chu
e6a12272cc
BDB 4.3 compatibility
2004-10-16 22:10:32 +00:00
Howard Chu
84ce549016
define DB_VERSION_FULL to simplify version checks
2004-10-16 21:59:58 +00:00
Jong Hyuk Choi
6db389efd9
further cleanup of search data upon exit, abandon, cancel
2004-10-16 16:10:00 +00:00
Howard Chu
ca0bf91bba
BDB 4.3 compatibility, if the reader TXN is deadlocked we must abort
...
and recreate it.
2004-10-16 13:07:01 +00:00
Jong Hyuk Choi
0af878ac3f
syncrepl consistency patch: utilize BDB txn rollback
2004-10-12 17:53:50 +00:00
Jong Hyuk Choi
4efd705cc3
syncrepl consistency patch
2004-10-09 09:26:16 +00:00
Pierangelo Masarati
559cf8bfb1
revert previous commit
2004-10-08 00:27:26 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Jong Hyuk Choi
db4bc08d8c
misc cleanup
2004-10-05 00:33:00 +00:00
Pierangelo Masarati
0c1f1f959f
minor cleanup
2004-10-04 20:55:09 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Howard Chu
62b6b32633
Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
...
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +00:00
Jong Hyuk Choi
5c0581b184
Modified @oc supprot code to the share anlist routines; Revised anlist routines
2004-09-23 02:48:14 +00:00
Jong Hyuk Choi
86aa3728b9
referral mem leak fix
2004-09-14 01:03:08 +00:00
Pierangelo Masarati
431acda61b
trying to make names consistent
2004-09-04 10:23:40 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50
Move MSVC port to the Attic
2004-09-04 04:37:41 +00:00
Jong Hyuk Choi
76dfffafe4
fix for test019 glitch
2004-09-03 12:16:15 +00:00
Howard Chu
88e2771bca
ITS#3309 better fix, add op->ord_csn in frontend and use it in backend.
2004-09-02 11:05:13 +00:00
Howard Chu
5c1c0902b4
ITS#3309 fix syncrepl psearch propagation of Delete operations
2004-09-01 03:23:36 +00:00
Luke Howard
8d1f26b7b6
Check for opinfo->boi_txn before using it - sometimes it is NULL even if
...
opinfo isn't
2004-08-26 10:17:53 +00:00
Luke Howard
739dcf2193
boi_bdb must be set
2004-08-26 05:27:59 +00:00
Howard Chu
05e7632c30
ITS#3301 fix prev commit, don't fail op on DB_NOTFOUND
2004-08-25 20:53:39 +00:00
Howard Chu
5cba217006
ITS#3301 check for dn2entry failure
2004-08-25 13:55:55 +00:00
Pierangelo Masarati
809e623cd9
add paged results support to back-ldap
2004-08-24 09:19:33 +00:00
Pierangelo Masarati
9f6f5491fe
slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay
2004-07-25 23:16:40 +00:00
Howard Chu
d9927adf88
Fix ITS#3255, boi_bdb comparisons
2004-07-25 21:10:41 +00:00
Howard Chu
05fd32498d
Fix spurious warning for fasttool keyword when running in Server mode
2004-07-25 19:49:24 +00:00
Howard Chu
dd7003cf9f
Added linearindex option for slapindex. Improves performance when database
...
size exceeds dbcache size by minimizing cache thrashing.
2004-07-22 22:32:37 +00:00
Howard Chu
f9f22058e7
ITS#3178 add "fasttool" option to disable transaction logging in tool mode
2004-07-22 22:14:35 +00:00
Pierangelo Masarati
b94d5e17e2
rework op/rs structures to deal with opeartional attributes
2004-07-18 21:44:29 +00:00
Howard Chu
26b4758938
Make sure hdb gets signed chars for len comparison
2004-07-18 12:29:52 +00:00
Pierangelo Masarati
854863f0b6
normalize authcDN (ITS#3246); don't touch databases when running slapadd in dryryn mode (ITS#3244); release lock when acquiring entry in tool mode (ITS#3245)
2004-07-17 14:45:07 +00:00
Pierangelo Masarati
8d03d74bfd
silence warning
2004-07-14 00:22:27 +00:00
Howard Chu
856a8c1177
Don't bother logging lock failures for tryOnly mode
2004-07-12 20:02:24 +00:00
Howard Chu
3fd4d04168
Release cache locker on db close
2004-07-12 14:29:13 +00:00
Howard Chu
214d3b26c1
Fix for non-thread run
2004-07-12 04:05:26 +00:00
Pierangelo Masarati
1b85d17afe
minor cleanup
2004-07-11 22:55:57 +00:00
Pierangelo Masarati
4424b9d57f
log what backend is starting (bdb/hdb)
2004-07-11 22:52:26 +00:00
Pierangelo Masarati
198b34db35
back-relay doesn't like this
2004-07-11 22:52:01 +00:00
Howard Chu
2d4f58bbf6
Make sure DB result codes are returned to caller; add missing retries to
...
callers of bdb_cache_find_id().
2004-07-10 19:06:20 +00:00
Pierangelo Masarati
8a9c5bb0f8
make sure we only get here when everything is fine
2004-07-10 11:41:28 +00:00
Howard Chu
22f895a4bb
Minor cleanup
2004-07-10 04:48:07 +00:00
Howard Chu
e5ffb0c466
Use previously unused Backend->be_context_csn
2004-07-09 17:27:23 +00:00
Howard Chu
ebc8bb0d83
Use long-lived per-thread TXNs for loading entries from DB.
...
Make sure only one thread tries to load a given entry at a time.
Bump up the DB environment's max TXNs to accomodate the new TXNs.
2004-07-09 17:00:07 +00:00
Ralf Haferkamp
b8113c5df9
ITS#3226: Clear attribute flags after schema_check failed
2004-07-09 11:18:42 +00:00
Jong Hyuk Choi
70314bd98b
SLAP_IDL_CACHE macro removed
2004-07-09 03:31:52 +00:00
Howard Chu
6b59008f26
Plug mem leaks
2004-07-05 21:00:09 +00:00
Howard Chu
5ab38cfa5f
Better fix for ITS#3213, plug mem leaks. Also fix postread response.
2004-07-05 20:08:20 +00:00
Howard Chu
c3984d9f59
Plug memleak from ITS#2895
2004-07-04 04:56:36 +00:00
Howard Chu
56103a575b
Fix misplaced unlock in prev commit
2004-07-03 21:06:34 +00:00
Howard Chu
473b8cb7db
Re-order EntryInfo/DB locks to fix deadlocks
2004-07-03 20:03:14 +00:00
Howard Chu
42e0814247
Fix prev commit
2004-07-03 16:17:54 +00:00
Howard Chu
f696f7ab55
Fix: LRU corruption, HDB rename detection, Ctxcsn assert failure
2004-07-03 15:47:44 +00:00
Jong Hyuk Choi
a46d84544f
cleanup
2004-07-01 22:40:03 +00:00
Pierangelo Masarati
e052d7297d
`err' might be used uninitialized
2004-06-29 17:32:43 +00:00
Ralf Haferkamp
498530fc4c
TS#3213: free copy of e_attrs before retrying the transaction in bdb_modify()
2004-06-29 14:52:03 +00:00
Jong Hyuk Choi
2adcccb27d
logging psearch return code
2004-06-28 23:51:17 +00:00
Pierangelo Masarati
a7a90609a9
propagate search result (maybe this is not what bdb_psearch() is intended to do...)
2004-06-28 21:08:32 +00:00
Jong Hyuk Choi
08949463c5
- use ctxcsn_locker for the ctxcsn add transaction
...
- removal of LOCK_ID_FREE
- misc mem mgmt cleanup
2004-06-28 05:47:36 +00:00
Howard Chu
5fd7534f79
Fix previous commit, deleting under suffix...
2004-06-25 20:04:16 +00:00
Howard Chu
826b177877
More locking cleanup (ITS#3201, etc)
2004-06-25 05:29:33 +00:00
Howard Chu
3c68fc1f14
ITS#3201 fix conflict with BDB internal locks
2004-06-24 23:50:10 +00:00
Howard Chu
f7f6861a26
ITS#3201 fix conflict with BDB internal locks
2004-06-24 23:35:18 +00:00
Howard Chu
c63817b9bd
ITS#3201 partial fix. still encountering deadlocks.
2004-06-24 17:56:43 +00:00
Kurt Zeilenga
8bca3b42f9
Rework pre/post read controls to handle retry conditions...
...
(and plug leaks)
2004-06-23 06:56:23 +00:00
Kurt Zeilenga
e23b0f677f
Move pre/post read calls into outer transaction.
...
Need to fix retry handling.
2004-06-23 06:02:49 +00:00
Jong Hyuk Choi
ec9d21e094
use ltid if it exists; use NULL otherwise.
2004-06-23 05:10:18 +00:00
Jong Hyuk Choi
bc6b28a650
using write lock in accessing pslist
2004-06-23 02:07:12 +00:00
Jong Hyuk Choi
81c59404e9
use txn locker if it exists; get one otherwise.
2004-06-23 02:00:00 +00:00
Kurt Zeilenga
83476f2d98
Add pre-read FIXME comment
2004-06-22 23:44:35 +00:00
Jong Hyuk Choi
b459e59394
patch for ITS#3173
...
- passing transaction ptr to psearch
2004-06-22 23:22:16 +00:00
Kurt Zeilenga
18a68380f6
More paged results cleanup
2004-06-18 23:12:03 +00:00
Kurt Zeilenga
4b2fcbc14d
Fix nentries logging
2004-06-18 23:10:26 +00:00
Kurt Zeilenga
aa9627e61c
Don't return useless estimate.
2004-06-18 23:07:56 +00:00
Kurt Zeilenga
87c28866de
cleanup
2004-06-16 23:49:35 +00:00
Pierangelo Masarati
a317f01dc1
improve pagedResults ignoring (hopefully)
2004-06-16 15:26:21 +00:00
Howard Chu
06f3bfb7f9
More for ITS#3188
2004-06-16 03:29:02 +00:00