Commit Graph

16506 Commits

Author SHA1 Message Date
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
f69306c84a fix previous commit (may be called more than once) 2007-08-17 14:41:32 +00:00
Pierangelo Masarati
1b0c4f5af5 fix UUID parsing (it's in normalized form) 2007-08-17 12:43:16 +00:00
Pierangelo Masarati
403704b7bc move uuid normalized to string to liblutil 2007-08-17 12:42:52 +00:00
Pierangelo Masarati
43d069adac fix error message 2007-08-17 12:39:17 +00:00
Pierangelo Masarati
553d83c3c1 fix previous commit 2007-08-17 12:38:50 +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
Pierangelo Masarati
995359548b more consistent parsing checks 2007-08-17 09:53:47 +00:00
Pierangelo Masarati
ce6b685caf rework previous commit 2007-08-17 09:52:31 +00:00
Pierangelo Masarati
36111934a3 allow "traditional" behavior (more for ITS#4962; please debate) 2007-08-17 09:51:29 +00:00
Pierangelo Masarati
ba9baf154e give the db a chance if rootpw is unset (more for ITS#4962) 2007-08-17 09:50:20 +00:00
Pierangelo Masarati
5acbf5997c re-sort funcs (and enums) in "logical" order 2007-08-17 09:49:17 +00:00
Pierangelo Masarati
6df2df130b don't leak in case of error 2007-08-17 09:47:14 +00:00
Pierangelo Masarati
50a275f15a add a caveat about proxysavequeries 2007-08-17 09:46:42 +00:00
Pierangelo Masarati
e3c515604b allow unknown generic controls (by OID=b64value) 2007-08-17 09:46:02 +00:00
Hallvard Furuseth
6e63bac9eb Remove lint 2007-08-16 22:46:38 +00:00
Howard Chu
a16eea9d8e Paranoia for prev commit 2007-08-16 20:03:27 +00:00
Howard Chu
8133e7005e Fix double-free closing multiple ppolicy overlay instances 2007-08-16 19:59:02 +00:00
Hallvard Furuseth
f5d1a15fec Remove lint 2007-08-16 14:41:48 +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
51152d83a3 consistently use SLAP_* malloc macros; alloc sizeof(Syntax *) instead of sizeof(Syntax) for areray of superiors; free resources also in case of failure of syn_insert() 2007-08-16 12:08:47 +00:00
Pierangelo Masarati
3771d2ed49 fox to ITS#5070 fix: error out if serialNumber requires size > sizeof(long long) (detected by Coverity) 2007-08-16 11:57:34 +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
6f2d043907 handle exceptions; spotted by coverity 2007-08-16 11:34:55 +00:00
Pierangelo Masarati
9029c0902f don't trick coverity... 2007-08-16 11:32:10 +00:00
Pierangelo Masarati
f7a6c4360c defer thread key retrieve as it might not be needed 2007-08-16 10:05:21 +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
Pierangelo Masarati
15545731bc fix previous commit 2007-08-16 09:32:04 +00:00
Pierangelo Masarati
f4844889fd s/orb_tmp_mech/orb_mech/ 2007-08-16 09:29:45 +00:00
Pierangelo Masarati
87f918ebc0 don't dereference save_errnop if NULL; create temporary file in right dir; revert to strtol(3) (ITS#4627) 2007-08-16 09:23:48 +00:00
Pierangelo Masarati
4bc19cbbb9 cleanup tools 2007-08-16 09:22:07 +00:00
Howard Chu
c727d5caf7 ITS#4627 fix tool_entry_next 2007-08-15 20:09:06 +00:00
Hallvard Furuseth
8e30e008c6 Fix rev 1.68 spew_entry() for ITS#4627: Do not dereference NULL save_errnop.
Add missing unlink().  Update debug messages, move one from spew_file().
Also check the close() return code.
2007-08-15 19:43:13 +00:00
Gavin Henry
855d8250d9 Fixes and more content 2007-08-14 23:06:03 +00:00
Howard Chu
b45c15fdc9 TS#4627 fix tool_entry_first() 2007-08-14 18:54:28 +00:00
Pierangelo Masarati
d8f964fb7a fix most of the issues of ITS#4627 2007-08-14 15:54:56 +00:00
Pierangelo Masarati
fd5be1f85e document '-Q' (ITS#4930) 2007-08-14 13:53:37 +00:00
Pierangelo Masarati
9a55fe709c add '-Q' switch (used by slaptest only; ITS#4930) 2007-08-14 13:42:40 +00:00
Pierangelo Masarati
5ec09e2f0a merge attributes as required after mapping; avoid objectClass duplicates (ITS#5091) 2007-08-14 11:46:29 +00:00
Pierangelo Masarati
1f3d88f32b recent check for syncrepl searchbase broke test048; fixing... 2007-08-13 20:51:42 +00:00
Pierangelo Masarati
a73826b834 don't allow NULL values (because of parsing errors; ITS#5090) 2007-08-13 19:33:01 +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