Commit Graph

392 Commits

Author SHA1 Message Date
Jong Hyuk Choi
6baa9b1e2b use ch_malloc for normailzed values 2004-08-31 14:22:56 +00:00
Jong Hyuk Choi
e6df94946d patch for ITS#3296 - do not use sl_malloc on normalized attr values 2004-08-31 13:47:33 +00:00
Kurt Zeilenga
fea393c077 cleanup 2004-08-28 19:26:59 +00:00
Sang Seok Lim
2af6457771 This patch is for a component filter. please refer ITS#3260 for detail
and "implementing GSER and Component Matching" in ODD 2004.
All codes are #ifdef'd with LDAP_COMP_MATCH.
test031-component-filter works correctly only when the LDAP_COMP_MATCH macro is set.
To disable it, set AC_WITH_COMP_MATCH "no" in "openldap_src/tests/run.in".
2004-08-26 00:06:39 +00:00
Jong Hyuk Choi
8b5b2e715b should not assert(0) in UUIDValidate 2004-07-28 17:27:52 +00:00
Pierangelo Masarati
448e2dcad4 fix empty uniqueMember dn portion (ITS#3247) 2004-07-18 21:40:16 +00:00
Sang Seok Lim
ad19032bf2 This patch provides support for rdnMatch matching rule and RDN syntax in
RFC 3687. For now, both the attribute and assertion values are considered
as RDNs. Refer to ITS#3207 to find related discussion.
2004-06-29 23:36:58 +00:00
Pierangelo Masarati
5256cbda6c fix uniqueMemberMatch according to previous fix (related to ITS#3210) 2004-06-29 17:23:54 +00:00
Pierangelo Masarati
c25c3ed9e5 fix nameUID* and uniqueMember* stuff in a consistent manner (related to ITS#3210) 2004-06-29 16:29:00 +00:00
Kurt Zeilenga
6830aca2d1 cleanup 2004-06-28 23:03:01 +00:00
Pierangelo Masarati
279d629c81 fix nameUID/uniqueMember stuff (ITS#3210) 2004-06-28 22:10:27 +00:00
Kurt Zeilenga
25166f8166 cleanup 2004-06-11 00:14:01 +00:00
Pierangelo Masarati
1543d3b95b fix previous commit :) 2004-05-13 22:19:16 +00:00
Pierangelo Masarati
a10fe8e098 caught nasty empty DN bug 2004-05-13 22:12:24 +00:00
Kurt Zeilenga
a3bbc8adec Update substr indexing macros to better separate
initial/final string settings from any string settings.
2004-05-04 22:31:57 +00:00
Kurt Zeilenga
05463503e8 ITS#3118: fix objectIdentifierFirstComponentMatch for schema elements 2004-04-28 20:10:21 +00:00
Kurt Zeilenga
81d31dc721 ITS#3118: initial fix: (objectClasses=2.5.6.0) works
need to add special handler to allow (objectClasses=top) to work
2004-04-28 05:12:53 +00:00
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