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
Howard Chu
813d5c8ed8
First cut at thread-local malloc. Only used by search() for now...
...
Needs work in normalizers, etc.
2003-04-09 16:52:03 +00:00
Kurt Zeilenga
45d74c676e
cleanup
2003-04-07 04:03:55 +00:00
Kurt Zeilenga
c75be97ae9
#ifdef -DSLAP_NVALUES
2003-04-05 03:35:16 +00:00
Howard Chu
e8c58b4e7f
Major API change - (SLAP_OP_BLOCKS) All request parameters are
...
consolidated into the Operation structure. All reply parameters
are consolidated into the new SlapReply structure. Most operations
now have identical call signatures... Changes are not #ifdef'd,
revert to -r NO_SLAP_OP_BLOCKS if necessary to back out.
2003-03-30 09:03:54 +00:00
Pierangelo Masarati
26e6e44bec
value is parsed in place; minor cleanup
2003-03-18 14:38:40 +00:00
Kurt Zeilenga
c79c13d480
replace get_substring_filter with get_ssa()
2003-03-17 06:06:02 +00:00
Kurt Zeilenga
1a55430c65
SLAP_NVALUES: more fixes
2003-03-17 00:27:33 +00:00
Kurt Zeilenga
e3b1020e75
Fix typos in last commit
...
Still chasing SLAP_NVALUES trashed filter bug
2003-03-16 21:58:00 +00:00
Kurt Zeilenga
261d127281
Rewrite filter routines to malloc() late.
2003-03-16 21:50:39 +00:00
Kurt Zeilenga
19ddf0d63d
SLAP_NVALUES: still chasing an extranous free... this just saves
...
an unneccessary malloc. (Actually, we should likely use local
filter structure to read things into and then malloc/copy once
we're sure there are no errors.)
2003-03-16 19:09:07 +00:00
Kurt Zeilenga
e1980876f4
SLAP_NVALUES updates
2003-03-16 06:41:53 +00:00
Kurt Zeilenga
52fb5b1342
Not sure why these asserts are failing... too tired to figure it...
...
so #ifdef for now.
2003-03-15 23:59:14 +00:00
Kurt Zeilenga
776e3f2248
Add some additional error checking...
...
but haven't yet figured out why NVALUES crashes in test003
2003-03-15 19:45:36 +00:00
Kurt Zeilenga
e4b507dfe9
Use ch_malloc instead of malloc for unchecked allocations
2003-03-09 20:11:12 +00:00
Pierangelo Masarati
bf35f8e37f
improved filter mapping/rewrite; improved result rewriting; improved attribute/objectclass mapping configuration
2003-03-01 11:08:53 +00:00