Commit Graph

133 Commits

Author SHA1 Message Date
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
Hallvard Furuseth
8c1210cb78 Format fixes: %p takes void*, not struct* whose representation may differ.
Warning cleanup.
2006-05-25 16:14:41 +00:00
Howard Chu
6f08468e2f Fix concurrency issues 2006-05-25 05:08:04 +00:00
Howard Chu
5e50d2e2e4 Fix prev commit, LE/GE searches advanced in wrong direction.
Terminate EQ/SUBSTR query searches sooner.
2006-05-23 02:53:54 +00:00
Howard Chu
fa2425005a More cleanup 2006-05-20 05:05:13 +00:00
Howard Chu
b83ef38c51 cleanup debug msg 2006-05-20 05:03:35 +00:00
Howard Chu
fde6482629 Cleanup (revert ITS#4472, etc.) 2006-05-19 15:51:09 +00:00
Howard Chu
e6475734fa ITS#4549, rewritten query_containment etc... 2006-05-19 15:25:33 +00:00
Howard Chu
f0adb769ad Cleanup query attrs 2006-05-19 09:15:42 +00:00
Howard Chu
8eace69ddb Cleanup template searching 2006-05-19 08:07:59 +00:00
Hallvard Furuseth
eca5f7bf2d ITS#4472: Make t_rwlock a lock pointer instead of a lock, and malloc/free it.
That way, realloc(qm->templates...) won't move the ldap_pvt_thread_rdwr_t data.
2006-04-04 23:12:58 +00:00
Howard Chu
abb01fa437 cleanup 2006-04-04 10:47:42 +00:00
Hallvard Furuseth
da0c0360e4 Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL). 2006-04-02 19:54:24 +00:00
Howard Chu
e18a6ab7f9 ITS#4406 don't cache attrsonly results 2006-02-16 08:16:49 +00:00
Howard Chu
71d439aba7 Use "pcache" dynamic debug level 2006-02-02 08:31:15 +00:00