Pierangelo Masarati
fb2d3926ce
only abort update if failed pre/post read control is critical: the only thing RFC 4527 says about failure is that in case of failure of the read, no control is appended to the result message; maybe no failure should ever occur (please review)
2006-10-14 01:08:41 +00:00
Kurt Zeilenga
d3e288dffe
s/managedit/relax/
...
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Ralf Haferkamp
b8bf18f36b
ITS#4532: check *pre/postread_ctrl before freeing
2006-05-10 09:07:37 +00:00
Kurt Zeilenga
5487575086
Add link to FAQ entry on BDB tuning
2006-03-30 17:56:56 +00:00
Kurt Zeilenga
71511a0569
more txn infrastructure
2006-03-08 05:54:10 +00:00
Kurt Zeilenga
815c178edc
control/TXN cleanup
2006-03-07 22:05:57 +00:00
Kurt Zeilenga
247536744e
Some more txn infrastructure
2006-03-07 08:07:21 +00:00
Howard Chu
fe3b6d0071
ITS#4384 rework entryCSN handling, retrieve from incoming request
...
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Howard Chu
a4a85e03c1
ITS#3950 delete gratuitous yield()s
2006-01-15 13:33:29 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
93e8395e30
log what is being modified
2005-12-15 17:45:31 +00:00
Pierangelo Masarati
55c52c5c72
better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)
2005-11-18 00:00:39 +00:00
Pierangelo Masarati
e88c4b48e3
don't leak fakeroot save_attrs
2005-11-14 19:16:00 +00:00
Pierangelo Masarati
fe59b0be6e
reset freed resources
2005-11-14 18:38:58 +00:00
Pierangelo Masarati
144ad3657e
handle empty parent (related to ITS#4171)
2005-11-14 18:21:55 +00:00
Kurt Zeilenga
ecd86725f2
Update result code to IANA-assigned values
...
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
6e2c36b03d
Fix noop behavior, don't same TXN twice. Use consistent return code.
2005-10-17 08:09:28 +00:00
Howard Chu
7dcb68f6fa
Move CSN invocations to backends
2005-10-13 11:58:44 +00:00
Howard Chu
a59c109109
Check errcode from dn2entry before using ei
2005-09-08 11:14:12 +00:00
Luke Howard
12d006d17d
Add o_no_schema_check to operation structure
...
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +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
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
6399387580
ITS#3616 store contextCSN in glue entry if database suffix is empty
2005-04-15 06:58:03 +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
Kurt Zeilenga
9507a11573
cleanup
2005-03-20 01:58:38 +00:00
Howard Chu
df3d8f3e30
Cleanup unused variables
2005-02-20 04:59:29 +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
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
4b4bdc6bf6
...but rather here: GLUE entries would remain such until the server was restarted
2005-01-08 09:13:16 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +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
3426a11983
More BDB_PSEARCH cleanup
2004-11-26 09:39:33 +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
Pierangelo Masarati
bc478dee46
log the right function names
2004-11-17 14:53:03 +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
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
Jong Hyuk Choi
0af878ac3f
syncrepl consistency patch: utilize BDB txn rollback
2004-10-12 17:53:50 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Jong Hyuk Choi
86aa3728b9
referral mem leak fix
2004-09-14 01:03:08 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Ralf Haferkamp
b8113c5df9
ITS#3226: Clear attribute flags after schema_check failed
2004-07-09 11:18:42 +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
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