Commit graph

129 commits

Author SHA1 Message Date
Pierangelo Masarati
f4844889fd s/orb_tmp_mech/orb_mech/ 2007-08-16 09:29:45 +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
Howard Chu
52aabd2d21 Coverity deadcode 2007-02-13 11:21:27 +00:00
Pierangelo Masarati
60f48c1932 fix NULL attr value in accesslog (second bit of ITS#4821; might be made cleaner...) 2007-01-27 18:03:30 +00:00
Howard Chu
d84d5e98fb ITS#4809 add reqMod attribute to modrdn records so that operational
attributes may be propagated. use them in delta-sync.
2007-01-24 09:10:37 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
79885438e7 Revert prev commit, need a different solution 2006-12-24 06:26:01 +00:00
Howard Chu
b6d860f556 ITS#4788 don't return auditContext attr on syncrepl searches 2006-12-23 22:10:34 +00:00
Pierangelo Masarati
298d439d59 add support for auditContext (schema differs a bit from <draft-chu-ldap-logschema>, expired) 2006-12-16 14:55:47 +00:00
Howard Chu
69c4495bc2 ITS#4768 more be_add fallout 2006-12-12 21:00:12 +00:00
Howard Chu
b711426a99 Fix prev commit, reset DB pointer 2006-11-16 14:27:49 +00:00
Howard Chu
7cfa3ae34a Use runq to defer creation of log root entry; allows the log DB to come
after the main DB in the configuration. Allows logging cn=config.
2006-11-16 14:12:09 +00:00
Howard Chu
48fce3d119 ITS#4742 cleanup config error reporting 2006-11-12 02:15:49 +00:00
Howard Chu
d3dc069a62 ITS#4704 use an old CSN while purging log. 2006-11-07 02:12:29 +00:00
Howard Chu
1b1a0ebf18 Tweak prev commit:
Preserve delete/replace indication from original request
2006-11-02 19:26:04 +00:00
Howard Chu
730d8e5bd3 ITS#4728 mod/Replace can have no values also 2006-11-02 18:57:55 +00:00
Howard Chu
e04275ca04 Use register_at / register_oc 2006-09-13 13:26:56 +00:00
Pierangelo Masarati
c57782ad66 fix pre-allocated entry/attribute handling 2006-08-29 16:07:39 +00:00
Howard Chu
78172aa0cf Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Howard Chu
ae5c3db555 More config leaks 2006-08-21 04:25:54 +00:00
Howard Chu
282c00c349 Plug config leak 2006-08-21 04:11:29 +00:00
Howard Chu
4629002ec4 Additional shutdown check 2006-08-15 00:04:29 +00:00
Howard Chu
651bc9e40e Don't purge log entries if a shutdown was requested 2006-08-15 00:02:57 +00:00
Howard Chu
a2dd092291 Fix rootDN check 2006-06-26 13:00:29 +00:00
Howard Chu
a9b0a78248 ITS#4595 additional fix - don't allow age/cycle times of zero. 2006-06-17 13:09:14 +00:00
Howard Chu
77dce50110 Omit logpurge attr if no purge time was configured 2006-06-17 01:28:50 +00:00
Howard Chu
4976b9436d Require rootDN to be present on logDB 2006-06-15 00:02:35 +00:00
Pierangelo Masarati
7e275fdc2c address ITS#4586 2006-06-12 15:52:23 +00:00
Howard Chu
a30fa88ad3 Apply logoldattr / reqOld to modRDN requests as well 2006-05-03 21:29:56 +00:00
Howard Chu
e1ec64aaee rmutex_lock etc.: caller supplies thread id 2006-04-28 21:39:38 +00:00
Howard Chu
15ba27d5c1 Add logoldattr keyword for attributes that should always have their old
value logged in a Modify request (that matches the logold filter)
2006-04-28 20:40:43 +00:00
Howard Chu
9207979a86 Use recursive mutex to avoid deadlocks 2006-04-28 20:13:34 +00:00
Howard Chu
32712f4c26 Fix prev commit 2006-04-27 22:47:20 +00:00
Howard Chu
d62fd3fd5a Cleanup prev commit 2006-04-27 00:27:43 +00:00
Howard Chu
6af9770996 Tweak mutexes 2006-04-27 00:19:32 +00:00
Howard Chu
4f1e154c12 Implement reqOld support 2006-04-27 00:01:20 +00:00
Howard Chu
bac546adb0 Fix prev commit 2006-04-26 10:26:46 +00:00
Howard Chu
0836354d1e Fix ITS#4505 2006-04-26 09:12:40 +00:00
Howard Chu
94c3bc332d Fix log_age_parse days parsing 2006-04-25 10:24:54 +00:00
Howard Chu
ec7e2af34a delete now redundant memsets 2006-02-03 19:37:12 +00:00
Pierangelo Masarati
140bc77e50 (blind) fix to ITS#4386 (uninitialized var) 2006-02-03 18:06:00 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Howard Chu
1360f9fa80 More for prev commit - set entryCSN as well. 2005-11-28 05:27:42 +00:00
Howard Chu
abc13afcc9 ITS#4198 initialize logdb contextCSN from main DB contextCSN 2005-11-25 21:51:49 +00:00
Howard Chu
72fee93e31 ITS#4209 release entry when it exists. 2005-11-25 21:40:33 +00:00
Howard Chu
4f15618201 op->ors_slimit is always intact now. 2005-11-25 20:52:25 +00:00
Pierangelo Masarati
98936ee3c4 streamline overlay configuration 2005-11-25 12:43:43 +00:00
Howard Chu
d0b70826d4 Fix prev commit, don't touch logDB in tool mode at all. 2005-11-22 09:09:52 +00:00
Howard Chu
f2ee760e92 Create auditContainer object automatically. 2005-11-21 05:38:50 +00:00
Howard Chu
39f39fcb44 reqMod / reqOld must be OctetString to accomodate all possible values 2005-10-28 03:31:04 +00:00
Howard Chu
625e30929c More matching rules 2005-10-17 12:25:36 +00:00
Howard Chu
c15a509f92 More schema tweaks 2005-10-17 12:19:26 +00:00
Howard Chu
3a47092d3f Change ModDN back to ModRDN. Legacy... 2005-10-17 11:40:20 +00:00
Howard Chu
0265f85fba Schema tweaks 2005-10-17 11:38:13 +00:00
Howard Chu
f46ffc3c6a Fix Bind/Unbind logging, align Search scopes with RFC2255 2005-10-17 08:32:29 +00:00
Howard Chu
df27731f66 Do some rough bounds checks on the age 2005-10-14 23:29:42 +00:00
Howard Chu
860bd2d6a8 Extend age buffer 2005-10-14 23:24:34 +00:00
Howard Chu
4277658ea6 Remove two-digit limitation on days in log purge interval 2005-10-14 23:18:12 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Kurt Zeilenga
6db7e605ee Align Operation buffers using LBER_ALIGNED_BUFFER 2005-10-12 23:17:28 +00:00
Howard Chu
44e9209629 Remove lint 2005-10-11 02:16:09 +00:00
Howard Chu
ebb23234ca Call normalizer directly, not rdnNormalize. 2005-10-05 15:51:34 +00:00
Howard Chu
2027e19e01 Fix rdn timestamp normalization 2005-10-05 08:59:59 +00:00
Howard Chu
fc9bce707d Check log_ops before logging unbind and abandon 2005-09-26 09:49:03 +00:00
Howard Chu
5e1ab5aba3 Add CSN management 2005-09-14 15:18:48 +00:00
Howard Chu
f1ffe0076f Zero out op2 2005-09-14 14:10:25 +00:00
Howard Chu
2babdaab9e Add flag for only logging successful operations 2005-09-14 09:11:03 +00:00
Howard Chu
e641222b10 More for ITS#3854 2005-08-26 03:35:42 +00:00
Howard Chu
6a4839bd23 Windows mod compatibility 2005-08-26 02:21:07 +00:00
Hallvard Furuseth
cc79022b71 Cleanup (unused variable ad_oldest) 2005-08-02 10:36:48 +00:00
Hallvard Furuseth
7ab3d2c245 Silence warnings 2005-07-14 19:32:21 +00:00
Howard Chu
0b93bfc4f3 ITS#3854 fix Modify logging, add handlers for unrecognized ops. 2005-07-12 14:00:01 +00:00
Hallvard Furuseth
f841c364eb Format fixes (%d<->%lu etc) 2005-07-06 05:53:02 +00:00
Ralf Haferkamp
f9fb5e63f4 silence warning 2005-06-15 18:00:49 +00:00
Howard Chu
cd15432de6 More accesslog updates 2005-06-10 11:41:57 +00:00
Howard Chu
257be58eb6 In-directory logging overlay 2005-06-10 09:18:01 +00:00