Commit Graph

55 Commits

Author SHA1 Message Date
Howard Chu
4f5d087b4f Don't replicate refint repair ops 2011-08-22 14:05:58 -07:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
13f52646b2 ITS#6758 Avoid SlapReply reuse, simple cases.
Caller provides and reuses a SlapReply it does not read after
initialization.  So reinitialize or move the declaration inwards.
In case of refint, move the rs parameter into refint_repair().
2010-12-31 10:46:22 +00:00
Hallvard Furuseth
f7a77545ad noop commit for ITS#6758: simplify future commits 2010-12-30 23:48:41 +00:00
Hallvard Furuseth
3d48d5a360 ITS#6730: Only update modifiersName once per entry 2010-12-01 11:21:29 +00:00
Hallvard Furuseth
a36512660f ITS#6730: Fix missing refint updates with subtrees/subordinates 2010-12-01 11:19:17 +00:00
Hallvard Furuseth
9a9302a2f5 ITS#6663: Fix refint_nothing.
Also move callback trace output out of inner loop in callback.
2010-12-01 10:48:43 +00:00
Howard Chu
9a0e94b4dc More for ITS#6572, fix copy/paste error 2010-06-17 22:05:33 +00:00
Howard Chu
28072167c7 ITS#6572 zero out freed DN vals. from mbackes@symas.com 2010-06-13 18:47:21 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
f2a9d8b9ab Plug leak in prev commit 2009-06-05 01:25:35 +00:00
Howard Chu
57d714176a ITS#6056 refint_repair can be called multiple times for the same
queued item, must not free queue itself
2009-06-04 18:05:19 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
62904cf50d allow to customize the modifiersName of internal modifications (partially addresses ITS#5505) 2008-05-24 11:57:18 +00:00
Pierangelo Masarati
956b50645c allow slapo-refint(5) to implement global referential integrity (ITS#5428) 2008-03-15 18:27:24 +00:00
Pierangelo Masarati
27a61d9411 use OID for dnSubtreeMatch (ITS#5427) 2008-03-15 18:22:25 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
8c6d828a1f More for Modification value counter 2007-09-21 09:34:31 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Pierangelo Masarati
7c9f63a60d fix subtree rename integrity; curiously enough, tes023 only failed on 64 bit arch; probably because we'd need to double the stack of the slab on 64 bit archs... 2007-08-22 17:46:55 +00:00
Pierangelo Masarati
2c13f86cec support subtree rename (ITS#5097) 2007-08-20 19:06:18 +00:00
Ralf Haferkamp
3a9310431e Reworked recent backend API changes, now using a separate struct,
(ConfigReply) for the error messages.
2007-08-03 12:02:07 +00:00
Ralf Haferkamp
5ae46c195e Added a new parameter (ConfigArgs*) to the _db_init, _db_open, _db_close and
_db_destroy functions.
2007-07-25 17:21:05 +00:00
Howard Chu
88cbe052e0 Fallout from ITS#4986 - remove unused param of select_backend() 2007-07-13 03:18:20 +00:00
Hallvard Furuseth
93fbb87545 Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Pierangelo Masarati
7701c82b68 fix ITS#4802 2007-01-17 22:22:00 +00:00
Hallvard Furuseth
d16754c81b Delete unused variables. 2007-01-11 12:04:22 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
48fce3d119 ITS#4742 cleanup config error reporting 2006-11-12 02:15:49 +00:00
Howard Chu
6d601637c7 Resurrect special refint modifiersName 2006-07-14 22:19:00 +00:00
Howard Chu
89697d3a93 Each refint op needs a unique timestamp, must perform searches as rootdn 2006-07-14 01:55:57 +00:00
Pierangelo Masarati
439cd9be74 clean orm_modlist before each mod 2006-06-12 22:56:30 +00:00
Howard Chu
1a86d4f663 Use separate task for refint operations - avoids re-entrancy issue,
prevents delay of client, removes dependency on slap_replog knowledge
2006-06-12 14:06:00 +00:00
Hallvard Furuseth
a242808f7e cleanup (unused variable) 2006-04-27 16:05:41 +00:00
Howard Chu
2cd781eae3 Cleanup close 2006-04-27 02:29:13 +00:00
Howard Chu
8b06446b10 back-config support, cleanup init/destroy 2006-04-27 02:28:07 +00:00
Howard Chu
04dae5a020 ITS#4442 just log refint failures, client only cares about main request 2006-04-04 22:16:24 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
98936ee3c4 streamline overlay configuration 2005-11-25 12:43:43 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Pierangelo Masarati
e066ec210e merge sml_managing into sml_flags (SLAP_MOD_MANAGING) 2005-08-18 08:48:10 +00:00
Pierangelo Masarati
9487629061 zero out sml_managing any time a Modifications is built (use calloc?) 2005-08-18 08:12:26 +00:00
Luke Howard
71d76fbeba slap_mods2entry() should not zero pointers into the modifications
list because checking is performed on these, rather than the entry.

slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Hallvard Furuseth
7ab3d2c245 Silence warnings 2005-07-14 19:32:21 +00:00
Howard Chu
8f58409749 Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Howard Chu
652d0a189a Fix filter crash when DN contains parenthesis 2005-04-01 02:13:17 +00:00
Howard Chu
0f185de2b0 Fix uninit'd search limits 2005-02-01 14:02:53 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +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
Jong Hyuk Choi
98dc97bcb9 memory leak fixes 2004-09-11 02:02:09 +00:00