Commit Graph

16282 Commits

Author SHA1 Message Date
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
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
df7f9db8ac use URI to configure client; enable attrlist in slapd-search 2007-08-13 16:20:24 +00:00
Pierangelo Masarati
723115d340 sync with code; fix bold 2007-08-13 16:19:37 +00:00
Kurt Zeilenga
5e836e59d9 Add RFC 5020 (entryDN). 2007-08-13 16:17:32 +00:00
Gavin Henry
32b270be53 organisations block was changed to organizations. 2007-08-12 19:00:15 +00:00
Gavin Henry
3fcf354160 Currently index.html is broken, thought this was a problem, but it isn't. Will keep digging. Seems to be something that broke on the 5th of August, as that was the last complete index.html I had. 2007-08-12 17:26:10 +00:00
Howard Chu
7dc9fd9a04 Add dncachesize 2007-08-11 19:36:52 +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
fa6aeb37bd forced commit: previous commit fixed ITS#5084 2007-08-11 09:41:00 +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
Howard Chu
a87b4592a4 Remove tool_id2entry_get 2007-08-11 04:19:53 +00:00
Howard Chu
ed4b5d1bd7 ITS#5087 fix tool_id2entry_get for hdb
TODO: rip this all out and just use tool_entry_get
2007-08-11 02:11:27 +00:00
Howard Chu
a49ff7878e Fix prev commit 2007-08-10 23:26:25 +00:00
Howard Chu
cd47824bbb ITS#5077 fix attr_cmp loop termination 2007-08-10 23:10:59 +00:00
Howard Chu
856bf9bd48 ITS#5065 don't crash if old cookieCSN is sent 2007-08-10 22:52:04 +00:00
Howard Chu
e4a7d8ad77 ITS#5082 must remove olcPasswordHash from global config... 2007-08-10 22:32:03 +00:00
Howard Chu
faf9339cc8 ITS#5082 allow olcPassdwordHash in frontendDB config 2007-08-10 22:28:24 +00:00
Gavin Henry
60cde2f3c3 ITS#5085 2007-08-10 16:55:50 +00:00
Pierangelo Masarati
ae9776a580 fixed few leaks in previous commit (ITS#5081) 2007-08-09 16:33:50 +00:00