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
Kurt Zeilenga
16c9e81c80
SLAP_NVALUES: test003 now passes (with help of a substr mr hack)
2003-03-01 00:14:32 +00:00
Kurt Zeilenga
152829be87
SLAP_NVALUES:
...
schema engine updated (but not schema routines so things don't run yet)
nvalues mostly populated, enough for tests 0-2 to pass
schema routines needs lots of work
modify/mods codes needs lots of work
2003-02-27 01:54:43 +00:00
Kurt Zeilenga
6d1ca4c747
Remove values match v. filter struct field macro overloads
...
Use LDAP_SLISTs instead of per-struct list management for schema structs
misc cleanup and lint removal
2003-01-20 20:21:17 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Pierangelo Masarati
26d2ea1488
fix typo in comment :)
2002-11-21 02:18:13 +00:00
Pierangelo Masarati
76bf91f553
remove #ifdef SLAP_FILTER_HASSUBORDINATES
2002-11-10 19:48:36 +00:00
Kurt Zeilenga
af183089b8
unifdef -DSLAP_X_MRA_MATCH_DNATTRS
2002-09-01 00:33:20 +00:00
Pierangelo Masarati
c76b36254c
cleanup comments
2002-08-31 10:41:49 +00:00
Pierangelo Masarati
fbc11bd16a
- added the capability to filter based on hasSubordinate attribute
...
to back-bdb, back-ldbm and back-sql (the latter with limitations);
- added handling of ":dn" attributes to extended rfc2254 filters
and to matched value filter
- altered the behavior of get_mra() when a matching rule is given:
now it checks whether it is compatible with the attribute syntax
and, in case it is, the given mr is used. In case of no type,
the check is delayed when filtering
2002-08-29 10:55:48 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00
Kurt Zeilenga
4f48237d22
remove lint
2002-07-08 18:55:50 +00:00
Howard Chu
55cefef7ee
ITS#1797 err used unit'd in Debug statement. (removed)
2002-05-04 10:50:24 +00:00
Kurt Zeilenga
8c152396b9
Matched Values implementation (ITS#1776) based upon submission
...
form Mikhail Sahalaev <M.Sahalayev@pgr.salford.ac.uk>.
Further work needed:
add testxxx-matchedvalues
rework ldapsearch(1) portion of patch to generalize use of options
---
Copyright 2001, Mikhail Sahalaev, All rights reserved.
This software is not subject to any license of University Of
Salford.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice
is preserved.
2002-05-02 18:56:56 +00:00
Kurt Zeilenga
111b464642
move ldap_int_put_filter to ldap_pvt_put_filter
...
and other cleanup
2002-03-30 00:42:40 +00:00
Kurt Zeilenga
c02f448a16
Misc extensible match clean up.
2002-03-11 01:48:37 +00:00
Kurt Zeilenga
c9c3a68496
Deprecate filter_print in favor of filter2bv.
2002-03-10 17:41:14 +00:00
Kurt Zeilenga
1880c23029
Replace get_filter generation of fstr with filter2bv().
2002-03-07 03:13:11 +00:00
Kurt Zeilenga
d9c93faac8
Fix typo
2002-03-04 22:26:47 +00:00
Kurt Zeilenga
faa9956446
Validate filter and compare inputs
2002-03-01 18:52:45 +00:00
Howard Chu
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +00:00
Howard Chu
50277c6abe
Added LDAP_FILTER_EXT case to filter_free()
2002-01-06 06:21:30 +00:00
Howard Chu
ec46a2f33a
Use 'm' ber_scanf format where convenient
2002-01-06 06:11:01 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Howard Chu
b92710e3a5
Minor cleanup
2001-12-31 06:44:36 +00:00
Howard Chu
185ff129b5
Change struct berval * to struct berval in various structures
2001-12-29 15:01:10 +00:00
Howard Chu
15f630545a
Changed ma_rule_text to struct berval.
...
Changed get_filter to struct bervals
2001-12-26 13:47:10 +00:00
Kurt Zeilenga
883196d348
Clean up some symbol scoping
2001-12-24 06:36:44 +00:00
Kurt Zeilenga
5282ecd94b
I should finish my morning coke before making my first commit of the day.
...
Fixes errors in prior commits.
2001-12-05 16:41:45 +00:00
Kurt Zeilenga
f5f0397398
(undefined=*) should precompute to False
2001-12-05 16:31:19 +00:00
Kurt Zeilenga
a5a1fc0846
Add undefined present filter bug fix
2001-12-05 03:21:39 +00:00
Howard Chu
0e16f6acf9
Moved AttributeDescription caching into main code:
...
Changed AttributeDescription.{ad_cname,ad_lang} to struct berval everywhere
Deleted ad_free() everywhere
Added ad_mutex to init.c
The AttributeDescriptions are in a linked list hanging off of the
corresponding AttributeType.
2001-10-22 13:23:05 +00:00
Kurt Zeilenga
60f4554c76
plug substrings filter memory leak
2001-06-22 18:09:19 +00:00
Kurt Zeilenga
733d6296a6
Fix undefined filter parsing
2001-06-16 02:20:48 +00:00
Kurt Zeilenga
820042d013
Add some additional filter checks
2001-05-24 01:07:00 +00:00