Pierangelo Masarati
5e5e0cd98a
quick hack for ITS#3118; may need work
2004-04-28 00:09:25 +00:00
Kurt Zeilenga
5f2497910b
ITS#3115: don't increment argument to TOLOWER macro
2004-04-26 23:13:19 +00:00
Kurt Zeilenga
1372965d89
ITS#3092: Rename sl_free() and friends to slap_sl_free()
2004-04-20 03:44:57 +00:00
Kurt Zeilenga
69eeb79662
Additional invalid objectClass changes (ITS#3097)
...
catch error in validation/pretty functions
2004-04-19 20:45:26 +00:00
Kurt Zeilenga
44725e7303
use BER_BVNULL
2004-04-07 04:11:43 +00:00
Kurt Zeilenga
ad6969e6cd
Add a yet-to-be-tested deliveryMethodValidate function
2004-04-02 02:25:36 +00:00
Kurt Zeilenga
855c22d862
Add numericStringOrderingMatch rule (ITS#2988)
2004-03-26 18:58:01 +00:00
Kurt Zeilenga
ec4e7ef232
Add note that some of the unimplemented matching rules are
...
now described in RFC 3698. Would be good to implement these.
2004-03-18 21:39:57 +00:00
Pierangelo Masarati
129aa2884b
fix numericStringMatch (ITS#2938)
2004-02-17 20:30:37 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Pierangelo Masarati
f2a9089e4d
cleanup most of the -pedantic warnings (ITS#2884) and other small fixes
2003-12-17 20:55:46 +00:00
Kurt Zeilenga
4e15a84452
Updated notices
2003-11-27 01:17:14 +00:00
Howard Chu
ccf224a759
ITS#2808 fix UUIDNormalize, use it.
2003-11-03 08:22:13 +00:00
Kurt Zeilenga
80fa73bf8c
Update entryUUID to latest draft specification
2003-10-31 17:41:31 +00:00
Howard Chu
7126ccf569
Fix caseExact/caseIgnore IA5 normalization
2003-10-23 05:28:22 +00:00
Kurt Zeilenga
aa225c2c70
Explicitly mark attribute/assertion syntax of values to be normalized
2003-10-18 06:18:05 +00:00
Howard Chu
dee604c608
ITS#2771 fix memory usage in LDAPDN_rewrite, fix normalizer
2003-10-18 05:49:58 +00:00
Kurt Zeilenga
c57db6c33e
Add basic support for certificateMatch (as an extensible matching rule)
2003-10-18 04:20:19 +00:00
Kurt Zeilenga
3fbe93c704
Rework support for certificate exact matching based, in part,
...
on patch submitted by Mark Ruijter <openldap@siennax.com>.
This addresses (hopefully) ITS 2702, 2703, 2719, 2771.
Additional work:
fix extraneous frees in libldap/getdn.c x509 rewrite routine
indexing
2003-10-18 02:39:08 +00:00
Luke Howard
ff073b8cd5
Check for HAVE_LONG_LONG in STRTOL macro
2003-09-22 14:01:31 +00:00
Luke Howard
3846a8881a
Define SLAP_STRTOL macro for integerBitAndMatch() and integerBitOrMatch()
...
usage - necessary to use larger types for interop with a certain client
that would expect the assertion (attr:1.2.840.113556.1.4.803:=2147483648)
to match a signed value (eg. -2147483646).
There are probably better / more portable solutions; review appreciated.
2003-09-21 06:26:43 +00:00
Kurt Zeilenga
f39fb6d91b
Add missing assignment in last commit.
2003-08-22 21:16:16 +00:00
Kurt Zeilenga
be22981d78
Add nameAndOptionalUID pretty routine... improves uniqueMember handling
...
Should resolve ITS#2664.
2003-08-22 21:03:03 +00:00
Hallvard Furuseth
2d48b5dc99
Handle full syntax of Generalized Time and UTC Time.
...
No longer accept initial and trailing spaces in these syntaxes.
2003-08-13 20:04:59 +00:00
Kurt Zeilenga
2f5fbeb180
ITS#2664: add uniqueMemberMatch
2003-08-11 02:12:20 +00:00
Howard Chu
a505d0c1fa
ITS#2587 fix failure return from telephoneNumberNormalize
2003-06-13 17:28:45 +00:00
Kurt Zeilenga
af6b191c96
misc cleanup
2003-06-09 21:33:46 +00:00
Kurt Zeilenga
001953cdc5
Schema cleanup
2003-05-31 18:57:32 +00:00
Pierangelo Masarati
074f54f300
clarify the size of a generalizedTime
2003-05-19 21:10:49 +00:00
Kurt Zeilenga
4604634592
NVALUES updates to approximate matching...
2003-05-16 03:57:01 +00:00
Kurt Zeilenga
d0f025bd46
updated certificateExactMatch support,
...
doesn't yet use ctx malloc routines
2003-05-14 20:52:23 +00:00
Kurt Zeilenga
5cd994ed21
remove dnNormalize2
...
replace calls to dnNormalize2 with calls to dnNormalize
2003-04-29 18:28:14 +00:00
Kurt Zeilenga
eebc51b9bf
remove dnPretty
...
rename dnPretty2 to dnPretty
2003-04-29 18:13:10 +00:00
Kurt Zeilenga
a0bcff1630
generic first component matching routines
...
Need to add specific routines for schema attribute types
2003-04-28 04:41:47 +00:00
Kurt Zeilenga
7bbc903201
fix up nvalues code so that pretty routines work properly
...
re-add objectClass pretty routines
2003-04-25 02:28:06 +00:00
Kurt Zeilenga
519faf22c2
Backout last commit... needs more work
2003-04-24 23:46:12 +00:00
Kurt Zeilenga
3067954616
rework objectClass mucking to use syntax "pretty" routine
...
(be liberal in what you accept, strict in what you generate)
2003-04-24 23:40:55 +00:00
Kurt Zeilenga
79262c5703
Fix typo
2003-04-24 12:43:30 +00:00
Kurt Zeilenga
65ea6c23c2
New integer syntax / matching routines
...
A pretty function likely should be added "to be liberal in what we accept"
2003-04-24 05:16:06 +00:00
Kurt Zeilenga
a6da45c9c7
Fix typo in last commit
2003-04-22 20:35:41 +00:00
Kurt Zeilenga
b9fe2c2fd6
Fix up subtreeSpecification to allow new GSER-based string format
...
(real validatator needed).
2003-04-22 20:33:08 +00:00
Jong Hyuk Choi
8e12768eed
subtreeSpecification syntax change : -binary +validator
2003-04-22 20:08:37 +00:00
Pierangelo Masarati
3a5cd746b7
use global bervals for TRUE/FALSE
2003-04-16 19:49:00 +00:00
Pierangelo Masarati
d9d5912383
use syntax and matching rules knowledge when preparing SQL filters (to reduce pseudo-normalization efforts and search candidate number)
2003-04-16 10:22:33 +00:00
Kurt Zeilenga
fc7e29e0c5
Add associated matching rules
2003-04-16 05:56:28 +00:00
Howard Chu
808cb504ce
More memory context tweaks
2003-04-11 03:57:10 +00:00
Howard Chu
ece7452b05
More memory context tweaks
2003-04-11 01:29:28 +00:00
Pierangelo Masarati
c2d59edef9
need OpenLDAPaciMatch
2003-04-07 08:54:12 +00:00
Kurt Zeilenga
926b2cf0bf
cleanup
2003-04-07 03:46:22 +00:00
Kurt Zeilenga
91b6bc606f
more SLAP_NVALUES tweaking
2003-04-07 01:19:47 +00:00
Kurt Zeilenga
67d6b23d22
SLAP_NVALUES code cleanup
2003-04-07 01:06:46 +00:00
Kurt Zeilenga
b59bb2de35
More #unifdef -DSLAP_NVALUES
2003-04-06 19:16:49 +00:00
Kurt Zeilenga
35df710c64
partial #unifdef -DSLAP_NVALUES
2003-04-06 18:57:17 +00:00
Kurt Zeilenga
c75be97ae9
#ifdef -DSLAP_NVALUES
2003-04-05 03:35:16 +00:00
Pierangelo Masarati
95991161c6
FIXME: is this the intended behavior?
2003-04-03 22:18:17 +00:00
Luke Howard
8f0542d260
s/octetStringIndexer/octetStringMatch
2003-04-02 02:40:17 +00:00
Luke Howard
c52d604265
Apply Kurt's fix for octet string normalization/filtering of integers
2003-04-02 01:54:03 +00:00
Kurt Zeilenga
ce5bff041d
SLAP_NVALUES: a few more matching rules
2003-03-24 06:49:55 +00:00
Kurt Zeilenga
d50064ddb8
SLAP_NVALUES: telephoneNumberNormalize
2003-03-24 02:16:10 +00:00
Kurt Zeilenga
8b19daa35a
SLAP_NVALUES: add numericStringNormalize()
2003-03-24 02:11:41 +00:00
Kurt Zeilenga
2d78fafe03
Boolean indexing support
2003-03-23 05:54:52 +00:00
Kurt Zeilenga
8b6e1db2d3
SLAP_NVALUES: remove all the extra frees
2003-03-16 23:54:22 +00:00
Kurt Zeilenga
b1d245d9de
SLAP_NVALUES: fix extraneous free bug.
2003-03-16 23:52:44 +00:00
Kurt Zeilenga
f172e06cc0
SLAP_NVALUES: substrings indexing/filterring
2003-03-01 20:21:39 +00:00
Kurt Zeilenga
208971a65f
SLAP_NVALUES: A couple of more normalizers...
2003-03-01 01:27:09 +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
cd6657fdf0
SLAP_NVALUES: fix UTF8StringNormalize
...
tests 0-2 now run correctly
2003-02-28 20:00:54 +00:00
Pierangelo Masarati
e0a70010d9
missing OpenLDAPaciMatch definition
2003-02-28 12:05:48 +00:00
Kurt Zeilenga
840f3644f4
SLAP_NVALUES: a couple of basic normalizers... but not working yet.
2003-02-28 05:13:29 +00:00
Kurt Zeilenga
70f5bd5d9d
SLAP_NVALUES: More preparation for new normalization routines
2003-02-27 17:35:23 +00:00
Kurt Zeilenga
7a7f482623
SLAP_NVALUES: prepare for new schema routines
...
(hopefully I didn't break -USLAP_NVALUES)
2003-02-27 06:51:53 +00:00
Kurt Zeilenga
32399d9bd9
axe mr_ptr in favor or schema_prep
2003-02-27 03:29:07 +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
627de4de15
Additional indexer normalization (need to check all Indexers)
2003-02-25 19:21:18 +00:00
Kurt Zeilenga
ec9db8dec1
Quick (and incomplete) fix to " foo " indexing
2003-02-25 19:01:33 +00:00
Luke Howard
d54548b9a0
Use strtol() not strtoul() in integerBit{And,Or}Match matching rules
2003-01-19 15:20:09 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Hallvard Furuseth
aeaaa8c6ca
Fix octetStringOrderingMatch(). It thought "b"<"aa", becuase "b" is shorter.
2003-01-03 17:06:01 +00:00
Hallvard Furuseth
b0f9305b66
Delete bitStringNormalize().
2003-01-03 16:17:06 +00:00
Hallvard Furuseth
d96236b5ce
Fix attribute value parsing in objectIdentifierFirstComponentMatch().
2003-01-02 15:01:56 +00:00
Kurt Zeilenga
b2a3ceb002
A few X.509 certificate tweaks... needs work (and testing)
2002-12-21 22:54:51 +00:00
Kurt Zeilenga
854e447231
misc cleanup
2002-12-11 20:39:05 +00:00
Howard Chu
56c11f4a13
Fix ITS#2227, nameUIDNormalize fell behind the times...
2002-12-11 01:33:24 +00:00
Kurt Zeilenga
32f6c9ec6d
Make digit a local static variable instead of a global
2002-12-10 16:44:02 +00:00
Julius Enarusai
fe569dbb75
Converted ch_malloc and ch_calloc calls to SLAP_MALLOC and SLAP_CALLOC.
2002-11-19 18:24:18 +00:00
Kurt Zeilenga
1d0e916c6f
Misc CLIENT_UPDATE cleanups
2002-09-15 22:22:51 +00:00
Jong Hyuk Choi
4b48c05a8e
LDAP Client Update Protocol - non-persistent update (TODO: response control ...)
2002-09-04 02:00:42 +00:00
Kurt Zeilenga
8a5b200c44
Add appropriate matching rule checks.
...
Clean up syntax error reporting.
2002-09-03 07:01:09 +00:00
Kurt Zeilenga
e9a71156cc
Add matching rule use support where assertion syntax != value syntax
2002-08-31 20:42:25 +00:00
Pierangelo Masarati
71aecea2aa
fix bitwise matching (courtesy of Luke Howard)
2002-08-31 10:56:27 +00:00
Pierangelo Masarati
e2ec62f09f
add matchingRuleUse to schema; use a berval instead of _oidlen in syntax and matching rule
2002-08-31 10:45:22 +00:00
Kurt Zeilenga
b04483a6a2
We don't support substrings matching via extensibleMatch
2002-08-30 19:30:58 +00:00
Kurt Zeilenga
923d033c99
Finish adding subclassing indexing support
2002-08-29 02:27:15 +00:00
Kurt Zeilenga
1086ffb438
Round one of subclass indexing for objectClass and structualObjectClasss.
...
add soc_cname to ObjectClass structure
2002-08-29 01:12:59 +00:00
Howard Chu
e5091f5926
Updated register_syntax, register_matching_rule for more convenient
...
calling from other modules
2002-08-17 01:29:18 +00:00
Pierangelo Masarati
a7349c100e
fix printableStringValidate return value bug
2002-08-16 16:32:42 +00:00
Kurt Zeilenga
4a4323e3b7
Move large string comment to just above UTF8StringValidate().
2002-08-07 08:19:11 +00:00
Kurt Zeilenga
3f2faa1a84
other->invalid
2002-08-06 05:38:49 +00:00
Kurt Zeilenga
a35d5b90fc
For IA5, printable, telephone:
...
Don't allow empty string values.
Treat string values with only spaces as one space.
DirectoryString needs more work (space handling needs
to be done post normalization).
2002-08-06 05:35:59 +00:00
Kurt Zeilenga
6fdcdeb816
Add a summary to strings comment
2002-08-06 04:25:54 +00:00