Commit Graph

124 Commits

Author SHA1 Message Date
Pierangelo Masarati
5bbfd85a83 ITS#7088 fix deadlock on write operations that do not need to be logged (please check) 2012-04-12 18:04:39 +02:00
Pierangelo Masarati
a47ef8d2b7 ITS#6656 keep loginfo mutex-protected 2012-04-11 00:16:45 +02:00
Pierangelo Masarati
3d99878d0b ITS#6656 make reqEntryUUID searchable 2012-04-10 23:13:55 +02:00
Pierangelo Masarati
f65ee5ddc1 ITS#6656 add reqEntryUUID to logs of write ops 2012-04-10 22:39:35 +02:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
8d74f717ff For test063
add hex timestamp to lutil_debug() output
Fix LASTMOD race condition in accesslog.c
Set refreshInterval even if using refreshAndPersist, since
fallbacks will use refresh params
2011-08-30 19:16:39 -07:00
Howard Chu
7a66c84783 More for ITS#6815, Unbind and Abandon 2011-04-20 12:31:27 -07:00
Howard Chu
28f0f11c6c Fix uninit'd var 2011-02-25 05:32:05 +00:00
Howard Chu
eeb7603de6 Fix prev commit 2011-02-24 13:22:57 +00:00
Howard Chu
2063cc9db7 ITS#6815 add logbase option, to only log requests matching a given suffix 2011-02-23 02:47:19 +00:00
Pierangelo Masarati
75e3a1931d ignore empty attrs in search requests (ITS#6819; see also ITS#6652) 2011-02-01 13:09:11 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Pierangelo Masarati
7c77d9b801 fix control value generation (ITS#6652) 2011-01-02 17:19:14 +00:00
Pierangelo Masarati
0a12ea91df hex digits need to be in pairs (ITS#6652) 2011-01-02 15:58:48 +00:00
Pierangelo Masarati
cddaeff565 fix reqControls validator (partially addresses ITS#6652) 2011-01-02 15:50:00 +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
Howard Chu
a8ffb63331 Better fix - avoid allocating callback for non-logged mod ops 2010-08-04 08:50:29 +00:00
Howard Chu
21d299e370 More for ITS#6608 - don't replicate ppolicy state changes on replicas 2010-08-04 08:14:59 +00:00
Howard Chu
68ce33cd77 ITS#6519 don't replicate purge deletes 2010-04-13 23:28:35 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
3b2380254a ITS#6400 clarify... 2009-11-24 03:41:24 +00:00
Hallvard Furuseth
4b6f2de8ab Silence warning (bv_len >= 0 is always true) 2009-08-19 18:59:33 +00:00
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
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