Commit Graph

101 Commits

Author SHA1 Message Date
Howard Chu
8597332057 ITS#5979 don't create reqOld attr if there was no previous value 2009-02-28 04:43:40 +00:00
Rein Tollevik
e8ef7e631d ITS#5907 use overlay BackendInfo to read old entry. 2009-01-27 19:18:13 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Hallvard Furuseth
e3bc5b64c6 Warning cleanup: Remove no-op bv_len < 0 and bv_len >= 0 tests 2008-10-17 17:40:48 +00:00
Hallvard Furuseth
b6f83f1a25 Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
error, not LBER_DEFAULT.
2008-10-13 09:17:36 +00:00
Howard Chu
92d39f7376 Fix prev commit 2008-09-10 03:35:26 +00:00
Howard Chu
2547212e43 ITS#5694 update context's entryCSN during log purges 2008-09-10 02:29:26 +00:00
Howard Chu
b0ffd08504 ITS#5490 callback stack may be NULL 2008-04-30 23:50:08 +00:00
Howard Chu
f2de258e3d ITS#5442 slapd_rq mutexes must always be used 2008-04-02 03:08:06 +00:00
Howard Chu
df1aa2fa89 Fix prev commit 2008-02-12 21:18:30 +00:00
Howard Chu
09e624ce6a ITS#5374 don't perform mod_cleanup after a successful response 2008-02-12 20:57:05 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
562b88a3cf Omit auditContext when sync control is present 2007-12-08 17:03:47 +00:00
Howard Chu
54a3ef323b ITS#5161 make sure accesslog_response is called for abandoned writes
This probably needs to be cleaned up more. There should be a log
schema flag that indicates that an op was abandoned.
2007-12-07 11:27:57 +00:00
Pierangelo Masarati
2de9d97ad2 first round of s/sprintf/snprintf/; the rationale is: truncate error messages rather than buffer overflow; otherwise, assert that no buffer overflow occurred. In some cases, error handling could be added. Please note: no real error in the code was found so far, apart from that in syncprov.c and from some config-time error logging; however, errors could slip thru again if things don't change consistently 2007-09-29 17:55:33 +00:00
Howard Chu
a3547e2758 More for a_numvals 2007-09-23 04:40:16 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
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