Commit Graph

353 Commits

Author SHA1 Message Date
Sang Seok Lim
71e78dd7f9 Component Matching module
See "contrib/slapd-modules/comp_match/README" to understand
what's the purpose of  this patch is and how to use it.
2004-10-27 19:37:02 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Howard Chu
62b6b32633 Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +00:00
Howard Chu
fc44ed4593 Tweak exact hashing in prev commit 2004-09-28 04:13:09 +00:00
Howard Chu
bf7c7a22d6 ITS#2661: configurable substring index lengths
ITS#2588: use subany to help long subinitial/subfinal matches
2004-09-28 02:51:00 +00:00
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Kurt Zeilenga
910076d26f Add additional DN matching rules. 2004-09-09 03:56:58 +00:00
Kurt Zeilenga
741f9ea383 Add initial dnSubtreeMatch.
Should reuse other DN routines.
Need to add various other DN matching rule functions.
This commit, combined with entryDN and slapcat -a, should
fully address ITS#3112.
2004-09-09 02:07:27 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Jong Hyuk Choi
70fda7725a revert prev commit to normalizers 2004-09-01 16:01:36 +00:00
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