Commit Graph

9439 Commits

Author SHA1 Message Date
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
403704b7bc move uuid normalized to string to liblutil 2007-08-17 12:42:52 +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
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
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
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
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
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
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
Howard Chu
8b27523e4c Add config keyword for DN cache size (aka EntryInfoSize)
default is 2x entry cache size
2007-08-11 19:29:14 +00:00
Pierangelo Masarati
5eef8c7f40 fix objectClass inheritance (ITS#5088) 2007-08-11 09:37:55 +00:00
Pierangelo Masarati
147f1c157f use RFC4523 objectClasses 2007-08-11 09:32:24 +00:00
Pierangelo Masarati
3119bba337 more on ITS#4868 2007-08-11 09:31:48 +00:00
Pierangelo Masarati
d8636d8e60 fix previous commit: op is not a bind if error 2007-08-11 09:30:52 +00:00
Pierangelo Masarati
d354844cf9 fix previous commit (crash if no rewrite but just mapping is present) 2007-08-11 09:28:33 +00:00