Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Pierangelo Masarati
7aeac21440
silence warnings
2007-11-23 12:47:53 +00:00
Ralf Haferkamp
488af9daa2
Fix op->o_abandon handling. Use fake connection to add results to the cache (ITS#5187)
2007-11-08 15:43:42 +00:00
Howard Chu
539109e4f0
Fix prev commit, only defer open for online Add
2007-10-16 16:25:56 +00:00
Howard Chu
ade1fcff20
ITS#5173 simplify defer open behavior
2007-10-08 07:37:53 +00:00
Howard Chu
dbcf98b4d9
Refuse to operate on cacheDB if it hasn't been started yet
2007-10-08 06:34:57 +00:00
Howard Chu
e60536c04a
Fix for dynamic adds
2007-10-08 06:21:13 +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
Ralf Haferkamp
3d1df12527
set mod->sm_numvals
2007-09-26 01:59:24 +00:00
Howard Chu
a3547e2758
More for a_numvals
2007-09-23 04:40:16 +00:00
Ralf Haferkamp
b99749aba4
Use rwlock for CachedQuery to avoid returning incomplete results (ITS#5113)
2007-09-20 17:23:56 +00:00
Ralf Haferkamp
af7f86a2cd
Fixed memory leak in pcache. Cache is now populated in cleanup handler.
...
ITS#5112
2007-09-20 16:15:23 +00:00
Pierangelo Masarati
d92e8ad1f7
add helper for internal searchs for objectClass=*
2007-09-15 17:38:53 +00:00
Pierangelo Masarati
1157b6dc6a
handle sizelimit in caching (in partial fulfilment of ITS#5114)
2007-09-12 21:09:04 +00:00
Pierangelo Masarati
bcf9bce5f4
hide (experimental) schema
2007-09-01 16:09:06 +00:00
Ralf Haferkamp
cd103f9010
Additional fix for ITS#4991. _cleanup callback was always executed when
...
needed.
2007-08-29 14:29:37 +00:00
Pierangelo Masarati
b25eab8a7b
set authorizing backend
2007-08-21 11:37:33 +00:00
Pierangelo Masarati
8e66538dc1
cleanup previous commit; make sure what's queryid and what's entryUUID
2007-08-17 16:37:29 +00:00
Pierangelo Masarati
970471d49c
fix queryDelete by queryID
2007-08-17 16:24:27 +00:00
Pierangelo Masarati
8be1b48263
set the number of cached entries after reload...
2007-08-17 15:46:44 +00:00
Pierangelo Masarati
ca1aed557b
make lutil_uuidstr_from_normalized() return the length of the string
2007-08-17 15:08:47 +00:00
Pierangelo Masarati
0c90b9ece2
revert previous commit: let queryId be an octet string, and modify queryDelete parsing accordingly
2007-08-17 15:04:28 +00:00
Pierangelo Masarati
86c67bd491
use UUID syntax for queryId
2007-08-17 14:43:50 +00:00
Pierangelo Masarati
1b0c4f5af5
fix UUID parsing (it's in normalized form)
2007-08-17 12:43:16 +00:00
Pierangelo Masarati
2245aff52c
further fix specification
2007-08-17 11:36:34 +00:00
Pierangelo Masarati
a2badc7c3c
cleanup error messages; complete privateDB control and queryDelete exop specifications
2007-08-17 11:25:35 +00:00
Pierangelo Masarati
7c0a7571fb
add:
...
- support for the privateDB control, which allows regular LDAP operations
to address the private database instead of the proxied one.
This is essentially intended for cache monitoring and maintenance
- support for the queryDelete extended operation, which allows to delete
from the cache database either a cached query, specified by queryId,
or all queries related to a specific cached entry, specified by entryDN
2007-08-17 10:26:56 +00:00
Pierangelo Masarati
68ab6c87bd
rework previous commit: consistently remove queries, better memory handling and more
2007-08-17 09:57:46 +00:00
Hallvard Furuseth
6a02dd9d92
Fix typo in previous commit: spurious space in UUID syntax OID.
...
Also make remove_query_and_data() return void (it returned nothing) and
remove an unused variable.
2007-08-16 13:44:15 +00:00
Pierangelo Masarati
9c4d147747
fix error checking when parsing UUID (detected by Coverity); added check/prettification of UUID, just in case...
2007-08-16 11:52:10 +00:00
Pierangelo Masarati
c114cb8eb7
provide an interface to remove a set of entries from the cache
2007-08-13 16:50:18 +00:00
Pierangelo Masarati
4a249bbe0d
plug leak
2007-08-13 16:29:04 +00:00
Pierangelo Masarati
ccff813df0
stop pcache task at close
2007-08-13 16:28:33 +00:00
Pierangelo Masarati
32c2dee3f8
fix hot startup commit (read of uninitialized memory; ITS#5081)
2007-08-13 16:27:56 +00:00
Pierangelo Masarati
ae9776a580
fixed few leaks in previous commit (ITS#5081)
2007-08-09 16:33:50 +00:00
Pierangelo Masarati
da44ccbf18
experimental code for hot restart of proxy cache (ITS#5081)
2007-08-09 16:15:57 +00:00
Pierangelo Masarati
5f386d3e31
fix previous commit
2007-08-06 12:48:35 +00:00
Pierangelo Masarati
add25c2f45
honor 1.1, * and + (ITS#5074 and more)
2007-08-06 12:31:30 +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
Hallvard Furuseth
767293dd3a
Cosmetic change: spaces->tab in last patch. Thus readable with tab-width=4.
2007-07-23 21:50:26 +00:00
Ralf Haferkamp
5b897eef52
Fixed return value of _cleanup function
2007-07-20 17:13:22 +00:00
Ralf Haferkamp
11e8c186bf
ITS#4991 restore save_attrs when a request is finished to let do_search()
...
cleanup correctly
2007-05-31 15:49:45 +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
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Howard Chu
6020a6d81d
ITS#4337 implement modrdn for back-config
2006-12-24 00:56:37 +00:00
Howard Chu
69c4495bc2
ITS#4768 more be_add fallout
2006-12-12 21:00:12 +00:00
Pierangelo Masarati
2b242dee14
private database inherits monitoring from underlying one
2006-09-15 00:23:14 +00:00
Pierangelo Masarati
4add034d5d
destroy exactly what needs to
2006-09-14 23:53:23 +00:00
Howard Chu
e04275ca04
Use register_at / register_oc
2006-09-13 13:26:56 +00:00