Commit Graph

374 Commits

Author SHA1 Message Date
Pierangelo Masarati
1421d522ad fix overlays with private instances of databases (ITS#5736) 2008-10-12 20:20:46 +00:00
Pierangelo Masarati
6845c2510d don't free and reuse filter structure; don't rewrite undefined filter values (ITS#5731,ITS#5732) 2008-10-09 22:34:43 +00:00
Pierangelo Masarati
88bc524422 s/PATH_MAX/MAXPATHLEN/ (ITS#5531) 2008-05-26 20:53:16 +00:00
Pierangelo Masarati
2fe411e337 avoid potential deadlock? 2008-04-28 23:26:45 +00:00
Howard Chu
c0f5fad0f8 For ITS#5346 - reintroduce bd_self pointer (from 2008-03-13) 2008-04-23 10:23:00 +00:00
Hallvard Furuseth
5b526d2544 ITS#5328 - cosmetic cleanup (0 -> LDAP_SUCCESS) 2008-02-11 21:07:25 +00:00
Pierangelo Masarati
f63ec3f497 more attribute values mucking 2008-01-08 17:02:37 +00:00
Pierangelo Masarati
5ebb7ee175 fix zeroing out attribute values (should fix ITS#5311) 2008-01-08 14:58:24 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
233632fa04 Use per-thread slap_counters to eliminate lock contention 2007-10-25 08:45:00 +00:00
Howard Chu
a2a83fe239 From ITS#5164 - treat monitoredInfo normalization consistently, don't
crash if SLAPI plugin doesn't register a description
2007-10-03 08:59:37 +00:00
Howard Chu
d2179d885f Use attr_valfind instead of value_find_ex to optimize lookups 2007-09-24 05:02:31 +00:00
Howard Chu
9281472144 Add comment for prev commit 2007-09-15 23:40:34 +00:00
Howard Chu
3dfab875e8 Fix prev commit 2007-09-15 23:38:12 +00:00
Pierangelo Masarati
06e6e6c053 apply Howard's cleanup of database monitoring registration 2007-09-15 15:34:49 +00:00
Pierangelo Masarati
faa52ce410 forgot to re-sort operation names 2007-08-28 18:37:23 +00:00
Pierangelo Masarati
5fb99e0a23 consistently dispose of limbo 2007-08-27 07:12:12 +00:00
Pierangelo Masarati
2f5bfba296 let req_modify_s and req_modrdn_s have a common portion to interoperate within slap_mods_opattrs() (ITS#5093) 2007-08-16 09:48:53 +00:00
Pierangelo Masarati
27428ac00e uniformly exploit rootdn bind; add support for rootdn bind to backends that didn't have it (ITS#4962) 2007-08-16 09:38:15 +00:00
Howard Chu
a87b4592a4 Remove tool_id2entry_get 2007-08-11 04:19:53 +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
92d9771503 removed bogus cast 2007-08-01 15:42:18 +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
b20c1fe5af Do not access a void* (mi_entry_limbo) as if it were a struct monitor_info_t* 2007-06-15 18:24:01 +00:00
Pierangelo Masarati
d34473cdba always complain when custom monitor stuff cannot be registered (ITS#4965) 2007-06-09 14:11:16 +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
Hallvard Furuseth
4caf7faa74 Warning cleanup (avoid cast double return val -> integer, gcc gets suspicious) 2007-05-18 14:45:56 +00:00
Howard Chu
f886eaa59c coverity scan, e is non-NULL 2007-05-08 14:17:21 +00:00
Howard Chu
eb6b265009 coverity scan, fix typo 2007-05-08 14:07:52 +00:00
Ralf Haferkamp
cb207b846a Moved the check for existing monitor database to the top, otherwise trying
to add multiple monitor databases through back-config deadlocks the server.
2007-04-04 17:14:09 +00:00
Pierangelo Masarati
226133ea38 don't add databases twice; but try as hard as possible... 2007-03-21 23:22:49 +00:00
Pierangelo Masarati
d0fe3b0890 allow adding of back-bdb with monitoring on (ITS#4789) 2007-03-21 22:35:37 +00:00
Pierangelo Masarati
ac96ba3131 fix ITS#4883 2007-03-21 16:33:38 +00:00
Pierangelo Masarati
639d678592 cleanup struct declarations 2007-03-20 01:07:10 +00:00
Pierangelo Masarati
a6e232e7c1 add uptime monitoring (in seconds) 2007-03-19 21:39:43 +00:00
Howard Chu
f92dc7b5fa Partially revert prev commit, just omit the sl_mem_destroy 2007-01-27 18:38:24 +00:00
Howard Chu
2ec71598cd Don't muck with sl_mem 2007-01-25 10:33:28 +00:00
Howard Chu
540878020a Fix call to connection_fake_init, plug leak 2007-01-25 10:01:51 +00:00
Pierangelo Masarati
c635e068a2 make Solaris happy with printf of NULLs (ITS#4811?) 2007-01-23 01:30:13 +00:00
Pierangelo Masarati
da8dd8066d don't leave attrs with no values 'round; fix description 2007-01-07 18:53:09 +00:00
Pierangelo Masarati
0e835b0c32 self-document thread monitoring 2007-01-06 16:19:15 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
6193ee4003 don't leak callbacks if stuff cannot be registered; provide a means to dispose of private stuff if required 2006-12-24 15:44:56 +00:00
Kurt Zeilenga
80d74dc2cd Monitor attributes should have dSAOperation usage,
not directoryOperation usage.  Update test000 to
request return of only @monitor attributes.
2006-12-08 02:30:11 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Howard Chu
4b6a3e8b6d Convert schema parsers to ConfigArgs so they can pass errors back to clients 2006-11-15 01:18:37 +00:00
Pierangelo Masarati
ca3451504c fix building without threads (don't publish any thread-related monitor info...) 2006-10-26 21:44:10 +00:00
Howard Chu
65f7c1a50d Fix uninit (coverity) 2006-10-08 00:31:08 +00:00