Commit graph

156 commits

Author SHA1 Message Date
Pierangelo Masarati
9146659c6c plug leak when presence filter with undef attr (ITS#6635) 2010-08-29 16:27:08 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
9bd09d7b0e Fully parse undefined substring filters so they can be logged 2009-08-04 22:41:59 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
21264e2cb8 eat all the substrings assertion if the attribute type does not support substrings matching (ITS#5803) 2008-11-11 18:01:35 +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
Pierangelo Masarati
55cb219adc NULL out spurious text (ITS#5688) 2008-09-06 00:00:37 +00:00
Pierangelo Masarati
a20f8b5f97 don't denormalize invalid values (ITS#5386) 2008-02-18 19:47:07 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
b8ab61d2ee More for ITS#5212 make conditional explicit 2007-11-09 07:28:42 +00:00
Howard Chu
33616c51d6 fix prev commit (ITS#5212) 2007-11-07 04:02:21 +00:00
Pierangelo Masarati
617bd11452 de-normalize simple filter values consistently 2007-10-05 09:49:19 +00:00
Pierangelo Masarati
7c6c734226 fix previous commit (didn't have coffee yet :() 2007-10-05 08:34:03 +00:00
Pierangelo Masarati
f7d274e672 for consistency, always represent UUIDs correctly (ITS#5168; really, a de-normalize hook would help) 2007-10-05 08:24:36 +00:00
Pierangelo Masarati
d92e8ad1f7 add helper for internal searchs for objectClass=* 2007-09-15 17:38:53 +00:00
Pierangelo Masarati
d130b7422f this should never occur, but in case keep it readable 2007-02-20 23:08:09 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
bd33fc8678 fix filter structure leak (ITS#4794) 2006-12-28 10:32:46 +00:00
Howard Chu
a2dc5dd494 Fix prev commit 2006-12-26 11:34:33 +00:00
Howard Chu
03dbc30deb Use temporary AttributeDescriptions to prevent unbounded growth 2006-12-26 04:51:08 +00:00
Howard Chu
3bf226382e ITS#3707 preserve filter input, allow (and ignore) undefined attributes 2006-12-25 23:30:45 +00:00
Pierangelo Masarati
2dac2e27b5 - use STRLENOF, looks cleaner
- in case a value is incorrectly empty (technically, it's null because
  that's how it's returned by the stringification function), make enough
  room to add the error string "(null)"
- in case a value is legitimately empty (see above), use it accordingly;
  for example, a filter "(entryDN=)" is valid, so it should be possible
  to stringify it like that.
2006-09-09 16:23:02 +00:00
Howard Chu
51c5916149 ITS#4364 add filter_dup, don't use str2filter to dup filters. 2006-01-23 20:53:52 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Kurt Zeilenga
d1bc820b2f fix ITS#4283/4 segfaults 2005-12-23 02:20:11 +00:00
Pierangelo Masarati
f86543c770 cleanup filter escaping 2005-11-25 12:16:27 +00:00
Pierangelo Masarati
6cb8b14435 allow undefined attrs to be "proxied" (ITS#3959) 2005-08-25 21:14:26 +00:00
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00
Hallvard Furuseth
8a696d21b2 Format fixes (%d<->%lu etc) 2005-07-04 05:29:12 +00:00
Kurt Zeilenga
e3c59d222c Rework substring error checking 2005-06-21 00:38:55 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
90cc409325 Split Operation into Opheader and op 2004-11-25 22:59:00 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Kurt Zeilenga
a3df8a82b4 cleanup 2004-05-19 19:39:40 +00:00
Kurt Zeilenga
1372965d89 ITS#3092: Rename sl_free() and friends to slap_sl_free() 2004-04-20 03:44:57 +00:00
Pierangelo Masarati
2fe1eb921d cleanup 2004-03-09 07:08:04 +00:00
Pierangelo Masarati
6f9b99bc69 improve filter error logging in case of unknown attribute type 2004-02-23 11:45:19 +00:00
Pierangelo Masarati
04096a3cca fix ITS#2901 2004-01-11 22:52:07 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
4e15a84452 Updated notices 2003-11-27 01:17:14 +00:00
Hallvard Furuseth
6194b91ca9 Declare filter_escape_value_x() and make it static. 2003-09-29 14:09:31 +00:00
Howard Chu
b7fd633e8a Fix computed filter inversion 2003-04-29 20:40:26 +00:00
Hallvard Furuseth
fca812e3aa Must have ';' between default: and '}' 2003-04-29 20:12:00 +00:00
Kurt Zeilenga
eebc51b9bf remove dnPretty
rename dnPretty2 to dnPretty
2003-04-29 18:13:10 +00:00
Howard Chu
2931966ea5 Fix computed TRUE/FALSE filters 2003-04-29 05:58:28 +00:00
Howard Chu
6b524914c5 Fix undefined substring filters 2003-04-18 04:44:06 +00:00
Howard Chu
be28bf247e Added sl_context() to return the context associated with an alloc'd ptr.
Improved ch_malloc/sl_malloc compatibility.
2003-04-12 05:12:40 +00:00
Howard Chu
ece7452b05 More memory context tweaks 2003-04-11 01:29:28 +00:00
Howard Chu
374d919fc0 More memory context tweaks 2003-04-10 06:21:53 +00:00
Howard Chu
f897519d11 Minor cleanups 2003-04-09 23:37:00 +00:00