Commit Graph

84 Commits

Author SHA1 Message Date
Pierangelo Masarati
d92e8ad1f7 add helper for internal searchs for objectClass=* 2007-09-15 17:38:53 +00:00
Howard Chu
dbac914e33 Hide log schema 2007-09-01 22:28:06 +00:00
Pierangelo Masarati
5ed5bc5803 first round of CSN normalization consequences 2007-08-28 18:38:27 +00:00
Pierangelo Masarati
6f9519543e - fix logging of controls;
- add support for Control syntax;
- use Control syntax and objectIdentifierFirstComponentMatch
  with reqControls/reqRespControls
2007-08-24 23:13:41 +00:00
Pierangelo Masarati
511a71067f add logging of request/response controls 2007-08-24 12:50:01 +00:00
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