Commit Graph

107 Commits

Author SHA1 Message Date
Kurt Zeilenga
451146f795 Update validation of printable-like syntaxes 2000-11-04 21:09:23 +00:00
Kurt Zeilenga
17bcb2b3bb Update printableString to restrict characters per RFC1778 not isprint() 2000-11-04 20:31:50 +00:00
Mark Adamson
caf384a37c Improve handling of initials in approximate search strings. 2000-11-03 16:16:27 +00:00
Kurt Zeilenga
9117cbd488 Fix another #if 0 v UTF8MATCH bug 2000-10-25 01:32:35 +00:00
Kurt Zeilenga
b065d8e01b Missed on #if 0 to #if UTF8MATCH is last commit
Also, enable UTF8MATCH... this is devel!
2000-10-24 22:25:41 +00:00
Kurt Zeilenga
7d2d2d6583 UTF8 aware caseIgnore matching
---
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.

Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
2000-10-24 22:23:30 +00:00
Mark Adamson
c165d93ecd Implement 2 approximate matching algorithms. 2000-10-24 20:25:37 +00:00
Kurt Zeilenga
d30264a2a1 Trim unimplemented syntaxes and matching rules from subschema subentry 2000-10-16 23:47:46 +00:00
Kurt Zeilenga
e30826ea36 Per IETF LDAPext discussions, ;binary transfer of binary syntax
makes little sense.  Implementations should not require or by
default return ;binary for attributes of this syntax.  This means
inetOrgPerson needs updating.  This means Netscape roaming doesn't.
2000-10-14 01:37:48 +00:00
Kurt Zeilenga
4dadd52ce7 allow numericString match indexing 2000-10-04 02:23:42 +00:00
Kurt Zeilenga
cd9b8b1fe9 ITS#786: fix IA5 string indexing to use appropriate routines 2000-09-29 00:24:43 +00:00
Kurt Zeilenga
6949ab9d15 Replace indexing hash with 32-bit FNV-1... should be much faster than MD5 2000-09-22 22:19:46 +00:00
Kurt Zeilenga
adf7955160 Add indirection to hash routines to allow for easier replacement
(MD5 should be replaced with something faster)
2000-09-22 20:47:46 +00:00
Kurt Zeilenga
048cb81a0f Use LUTIL_MD5_BYTES constant 2000-09-22 20:36:27 +00:00
Kurt Zeilenga
45cf7e1dfe Add additional error checking... need to better handle
garbage input from slapadd or pre-existing database.
2000-09-15 03:26:22 +00:00
Kurt Zeilenga
16cdbd9c74 Update handling of binary syntax to require ";binary" transfer 2000-09-13 21:50:24 +00:00
Kurt Zeilenga
6c3e915ceb Fix reversed assert logic 2000-09-13 01:23:39 +00:00
Kurt Zeilenga
5864dfdb7b remove lint 2000-09-12 00:38:47 +00:00
Kurt Zeilenga
0549d647de Fix bad merge 2000-09-12 00:37:03 +00:00
Kurt Zeilenga
5170fc3a98 Add BitString syntax/matching rule handlers
Add NameAndOptionalUID/UniqueMemberMatch handlers
2000-09-12 00:32:08 +00:00
Kurt Zeilenga
a3ae90ac8a Rework integer syntax to support signed values.
Validation is quite rigid allowing use of simple normalization
and caseExactIA5 matching (and indexing).
2000-09-12 00:00:25 +00:00
Julio Sánchez Fernández
95eacae431 Integer (not numericString, that are different) matches.
Good for nss_ldap (equality indexing of uidNumber and the
like now work).
2000-09-11 18:34:14 +00:00
Kurt Zeilenga
a20800a964 backout ucdata change as being a little too experimental 2000-09-07 23:46:07 +00:00
Kurt Zeilenga
a4fac87687 Use ucdata (very experimental) 2000-09-07 23:19:10 +00:00
Kurt Zeilenga
89766f131e ITS#713 check_time_syntax suggested by klasen@zdv.uni-tuebingen.de
Portions Copyright 2000, Norbert Klasen, All rights reserved.
      This software is not subject to any license of
      Universitaet Tuebingen.

      This is free software; you can redistribute and use it
      under the same terms as OpenLDAP itself.
2000-09-06 19:17:33 +00:00
Kurt Zeilenga
5a4f5e5c50 reuse dnMatch as uniqueMemberMatch 2000-09-05 22:07:08 +00:00
Kurt Zeilenga
f2bcf33e23 Use DN syntax routines for Name and Optional OID syntax.
This is quite bogus but meets most users needs.
Should be replaced with real Name and Optional OID routines.
2000-09-05 20:10:39 +00:00
Kurt Zeilenga
cee040a321 Bring UCdata infrastructure. 2000-09-03 23:48:35 +00:00
Kurt Zeilenga
91bdd84b96 Duplicate IA5 matching rule routines as needed to implement UTF-8 varients. 2000-09-03 18:04:08 +00:00
Kurt Zeilenga
179cd46266 ITS#705: nisNetgroupTripleValidate
ITS#706: bootParameterValidate
Submitted by Stig Venass <venaas@uninett.no>
Modified by Kurt Zeilenga <kurt@openldap.org> for stricter
	adherence to specification (RFC 2307).

Portions
Copyright 2000 Stig Venaas
All rights reserved.

Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. This software is provided ``as is'' without express or
implied warranty.
2000-09-03 17:35:39 +00:00
Kurt Zeilenga
90f0d9c85e Remove lint 2000-08-28 22:20:19 +00:00
Kurt Zeilenga
4739a3015b Align with re20 2000-08-26 19:55:08 +00:00
Kurt Zeilenga
537704b540 Update void syntax and entry/children pseudo-attribute types
to have publishable OIDs.
2000-08-26 19:52:21 +00:00
Kurt Zeilenga
511e26641e Assign publishable OID for caseExactIA5SubstringsMatch 2000-08-26 18:49:50 +00:00
Kurt Zeilenga
4a3b51e0da Add fake validators for nisNetgroupTriple and bootParameter syntaxes.
Note that real validators would likely break common usage as 'keystring'
is too limiting.
2000-08-24 19:54:16 +00:00
Kurt Zeilenga
67ddc87e68 Fix substring any filters 2000-08-22 22:34:37 +00:00
Kurt Zeilenga
02f888c563 First cut of LDBM substrings indexing. Needs testing. 2000-08-22 21:26:25 +00:00
Kurt Zeilenga
32c7186b9c Add frontend support for "any" substrings assertions.
Needs to be tied into index mask and backend search code.
2000-08-22 02:23:52 +00:00
Kurt Zeilenga
4f43f8262e Remove extraneous ber_bvfree() 2000-08-22 02:07:32 +00:00
Kurt Zeilenga
f207bd9dd2 Fix uninitialized value ptr bug 2000-08-21 23:20:26 +00:00
Kurt Zeilenga
3c1f76d568 jpeg syntax should be using blobValidator. 2000-08-17 17:55:33 +00:00
Kurt Zeilenga
146f9d7ddf Split a = b = c statement to remove warnings (errors) from picking compilers 2000-08-15 21:59:18 +00:00
Kurt Zeilenga
a2804649a5 Fix reversed assertion logic 2000-08-11 19:25:09 +00:00
Kurt Zeilenga
5b856458a2 s/SAFEMEMCPY/AC_MEMCPY/
Use AC_FMEMCPY where appropriate (-llber)
2000-07-28 01:07:07 +00:00
Kurt Zeilenga
6c41d272cf Update framework to support registration of approximate matching
rules.
2000-07-24 21:29:30 +00:00
Kurt Zeilenga
c0bbb090b7 Fix substring indices and enable in tests. 2000-07-18 22:59:34 +00:00
Kurt Zeilenga
9c5ad6291b Add experimental caseExact/Ignore substrings indexer/filter routines. 2000-07-18 17:46:34 +00:00
Kurt Zeilenga
5594efabc0 Provide caseExactIA5SubstringsMatch using OpenLDAP OID 2000-07-02 16:36:21 +00:00
Kurt Zeilenga
854b6d1839 genTime: Move validate above normalizer 2000-06-30 02:18:58 +00:00
Kurt Zeilenga
8d4ec58151 Initial, very unforgiving, booleanValidate and booleanMatch. 2000-06-29 19:00:17 +00:00