Commit Graph

49 Commits

Author SHA1 Message Date
Pierangelo Masarati
0d0d64518f host part of unique URI must be empty (ITS#7018) 2011-08-13 23:34:31 +02:00
Howard Chu
cbb6fe15b9 ITS#6901 fix filter with zero-length values 2011-06-08 19:17:50 -07:00
Ondrej Kuznik
c0aec23bde ITS#6641 Bypass checks on ops with managedsait
Document the uniqueness changes

Fix whitespace in original patch -- hyc
2011-06-08 16:10:50 -07:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
111b27cfd4 ITS#6270, refix patch from ITS#5511 2009-11-30 06:07:22 +00:00
Hallvard Furuseth
ef0163c198 Fix last commit: C90 rejects declaration after code 2009-07-30 15:34:42 +00:00
Pierangelo Masarati
e9f1452624 test whether the current entry matches the current uri filter (ITS#6077); also, don't leak DN when adding a base fails 2009-07-24 22:00:53 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
6845c2510d don't free and reuse filter structure; don't rewrite undefined filter values (ITS#5731,ITS#5732) 2008-10-09 22:34:43 +00:00
Hallvard Furuseth
ff90e2f8d0 unique_search(): Print key->bv_val rather than key. Broke in r1.32 (ITS#5526). 2008-09-08 16:33:40 +00:00
Pierangelo Masarati
69d8588ab4 suffix must be defined before overlay configuration (ITS#5641) 2008-08-09 10:29:31 +00:00
Pierangelo Masarati
191d8204a3 really check if filter is valid...(more on ITS#5581) 2008-08-09 10:20:46 +00:00
Pierangelo Masarati
48855fcdef make sure the strfilter is in normal form (ITS#5581) 2008-06-29 22:19:14 +00:00
Howard Chu
3c24f1f884 More for #5511 2008-05-27 22:39:12 +00:00
Howard Chu
61198ee41c Fix prev commit 2008-05-23 16:48:46 +00:00
Howard Chu
cd7227b4c6 ITS#5511 make room for filter's terminating NUL character 2008-05-23 15:40:15 +00:00
Howard Chu
a572267f60 ITS#5526 cleanup config structs 2008-05-23 11:47:37 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +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
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
5a6362c453 assert(pointer) -> assert(pointer != NULL) 2007-05-09 19:10:36 +00:00
Howard Chu
bfa0d15834 Fix prev commit, filter construction with URI filters 2007-04-10 02:38:54 +00:00
Howard Chu
d9958cbdbe Enhanced unique configuration 2007-03-22 08:22:53 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
48fce3d119 ITS#4742 cleanup config error reporting 2006-11-12 02:15:49 +00:00
Howard Chu
8b06446b10 back-config support, cleanup init/destroy 2006-04-27 02:28:07 +00:00
Howard Chu
7cd5dddd4c back-config support. from Matthew Backes @ Symas.com and
Karsten Kuenne @ rentec.com (ITS#4506)
2006-04-27 02:12:34 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Howard Chu
4dbc76ebef Fix ITS#4267, don't bother with unique_search if no relevant attributes
were modified. Also use tmpmem for the constructed filter.
2005-12-19 23:53:25 +00:00
Pierangelo Masarati
98936ee3c4 streamline overlay configuration 2005-11-25 12:43:43 +00:00
Pierangelo Masarati
6ab23ef926 add more versatile private API for filter escaping 2005-11-25 10:41:33 +00:00
Pierangelo Masarati
efe575c255 escape filter values (ITS#4212) 2005-11-25 01:13:24 +00:00
Howard Chu
44e9209629 Remove lint 2005-10-11 02:16:09 +00:00
Howard Chu
f093f6788f ITS#4066 ignore writes that aren't under the unique_base 2005-10-05 06:18:56 +00:00
Howard Chu
ba268441bc ITS#3937 tone down informational debug msgs 2005-08-28 07:02:53 +00:00
Hallvard Furuseth
100634c920 Remove unused variables. 2005-07-22 13:18:28 +00:00
Howard Chu
8a31f9a96f Ignore matches from the entry being modified 2005-03-13 23:18:49 +00:00
Howard Chu
1510265454 Init ors_limit to NULL 2005-02-01 15:11:33 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
8a4931c4d6 Fix typo 2004-12-05 03:06:01 +00:00
Howard Chu
3a5bde98ba Disable back-bdb native syncrepl support, enable syncprov overlay,
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
9ebcc83796 Minor cleanup of prev commit 2004-11-04 03:10:03 +00:00
Howard Chu
3d23a4d2c5 Consolidate redundant code 2004-11-04 02:59:34 +00:00
Pierangelo Masarati
b94d5e17e2 rework op/rs structures to deal with opeartional attributes 2004-07-18 21:44:29 +00:00
Pierangelo Masarati
8e3fba7e1e silence a few (mostly harmless) warnings 2004-06-12 15:08:59 +00:00
Pierangelo Masarati
d1b692ceb4 clarify no limits in (internal) searches 2004-06-12 11:33:21 +00:00
Howard Chu
8da6bf194a Added referential integrity and attribute uniqueness overlays 2004-04-17 08:17:43 +00:00