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
Gary Williams
f49fd8a98e
fix format
2001-01-17 16:35:53 +00:00
Gary Williams
ffcdc6d11d
More new logging (Behind NEW_LOGGING)
2001-01-15 19:17:29 +00:00
Julio Sánchez Fernández
336f054d05
Extend MRA. It now has a pointer to a MatchingRule, but a char
...
pointer is kept for messages and to tell a filter without rule
from one with an unknown rule. It matters.
Fix a couple of bugs in debug output.
2000-10-15 19:12:21 +00:00
Julio Sánchez Fernández
d4b63dd3e3
The beginning of extensible matches. Do not use.
2000-10-13 20:39:36 +00:00
Julio Sánchez Fernández
bdf3ec2fb3
Remove lint.
2000-10-09 19:11:46 +00:00
Kurt Zeilenga
bf3df2f7a6
restrictops, requires, disallow knobs; ssf acls; and misc other changes
...
man pages to follow...
2000-08-28 18:38:48 +00:00
Kurt Zeilenga
7ec41919ff
Rename escape_value to filter_escape_value
2000-07-02 17:14:37 +00:00
Mark Valence
bf1c91b165
Fix seg fault (test003).
2000-07-02 07:18:55 +00:00
Kurt Zeilenga
af611de371
Escape filter strings
2000-07-01 04:57:54 +00:00
Kurt Zeilenga
1a20c9a582
Skip over unsupported tags
2000-06-30 17:09:26 +00:00
Kurt Zeilenga
693fb9424a
unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT
2000-06-06 19:43:18 +00:00
Kurt Zeilenga
1a8f509f9a
s/substring/substrings/
2000-05-27 22:46:37 +00:00
Kurt Zeilenga
9d8f60e63c
fix -USLAPD_SCHEMA_NOT_COMPAT
2000-05-27 20:40:26 +00:00
Kurt Zeilenga
58d25f4ab1
SLAPD_SCHEMA_NOT_COMPAT: allocate/deallocate f_sub as needed.
2000-05-27 20:37:59 +00:00
Kurt Zeilenga
6ddde55964
SLAPD_SCHEMA_NOT_COMPAT: Add more three value filter logic code
2000-05-24 00:13:27 +00:00
Kurt Zeilenga
60802201e3
Const'ification
...
SASL mech removed from backend bind callback (as SASL is managed by frontend)
Changes to some backends are untested (as I don't have all dependent
software install)
2000-05-22 03:46:57 +00:00
Kurt Zeilenga
3eec592bb3
Remove lint
2000-05-21 23:15:55 +00:00
Kurt Zeilenga
074be5fb5a
SLAPD_SCHEMA_NOT_COMPAT: numerous changes to syntax flags, mostly minor
...
added new value_normalize() code
need LDAPsyntaxes X- field support
2000-05-18 17:21:42 +00:00
Kurt Zeilenga
fa9f7a7d8e
SLAPD_SCHEMA_NOT_COMPAT: add framework for substr value normalization
...
Calls value_normalize per substr component (like old code),
likely should have/call substr_normalize which takes all components
at once (to allow more sophisticated normalization)
2000-05-17 20:29:26 +00:00
Kurt Zeilenga
1f22c52b8a
SLAP_SCHEMA_NOT_COMPAT: add calls to dummy value_normalize()
...
SLAP_SCHEMA_NOT_COMPAT: Need to sort out normalization of substring components
2000-05-17 20:08:13 +00:00
Kurt Zeilenga
eb248103b0
Fix -USLAPD_SCHEMA_NOT_COMPAT
2000-05-16 22:04:49 +00:00
Kurt Zeilenga
df96737bf2
Remove Lint.
2000-05-16 21:54:24 +00:00
Kurt Zeilenga
349bec7c0e
Fix desc not NULL bugs
2000-05-16 21:44:54 +00:00
Kurt Zeilenga
8d407bc2a6
Modify ava code to return error text
...
Filter code needs to be updated to properly handle soft errors.
2000-05-16 21:03:18 +00:00
Kurt Zeilenga
c689e1cb74
bv2ad expects desc pointer to be NULL if unallocated
2000-05-16 20:50:49 +00:00
Kurt Zeilenga
a1430fdfdb
Rework root dse and other info entry codes to produce entry
...
to caller (do_search) such that info can be used by other
operations (ie: do_compare).
SLAPD_SCHEMA_NOT_COMPAT: Add additional code to support filters (needs work)
2000-05-16 16:22:52 +00:00
Kurt Zeilenga
6af8b86a7e
SLAPD_SCHEMA_NOT_COMPAT: need to set desc to NULL
2000-05-15 23:47:51 +00:00
Kurt Zeilenga
37235b71c0
SLAPD_SCHEMA_NOT_COMPAT: working cn=schema
2000-05-15 23:36:37 +00:00
Kurt Zeilenga
ef6ee899cb
Fix -USLAPD_SCHEMA_NOT_COMPAT bugs introduced in last commit
2000-05-15 19:28:26 +00:00
Kurt Zeilenga
59aba7711b
SLAPD_SCHEMA_NOT_COMPAT: basic filter parsing
2000-05-15 18:46:03 +00:00
Kurt Zeilenga
4bc786f34b
Y2k copyright update
2000-05-13 02:47:56 +00:00
Kurt Zeilenga
065af58fb7
Fix debug messages
2000-04-12 01:39:52 +00:00
Kurt Zeilenga
e96865c1a8
Reorder error detection based upon precedence
2000-03-01 22:59:34 +00:00
Kurt Zeilenga
ac7f6c2e37
Replace do_*() return -1 with return SLAPD_DISCONNECT.
...
Only return SLAPD_DISCONNECT with a send_ldap_disconnect()
was called.
Add initial code for support predetermined filter results
when filter is undefined (or known to be true or false).
2000-02-29 23:48:01 +00:00
Kurt Zeilenga
0dbaf87730
Another round of changes behind -DSLAPD_SCHEMA_NOT_COMPAT
...
plus these changes unhidden changes:
remove now meaning --enable-discreteaci configure option
fix ITS#451, slapd filters
Add ber_bvecadd() to support above
constify ldap_pvt_find_wildcard() and misc slapd routines
renamed some slap.h macros
likely broken something
2000-02-14 20:57:34 +00:00