Kurt Zeilenga
11b6d1f284
Misc updates for NT4
2001-06-15 04:16:55 +00:00
Kurt Zeilenga
e2edf459cb
Remove extraneous variable
2001-06-15 00:00:52 +00:00
Kurt Zeilenga
5f0473d127
Fix typo in last commit
2001-05-30 06:28:32 +00:00
Kurt Zeilenga
e4653bde68
Allow empty numericString matching
2001-05-30 06:06:14 +00:00
Kurt Zeilenga
f48cb50f12
Zap presentation address match define
2001-05-09 23:43:06 +00:00
Kurt Zeilenga
508890e75b
Add telephone number indexing support (reuse only)
2001-05-03 00:59:47 +00:00
Mark Valence
efcb4533be
Fixed aci syntax validation to use UTF (aci attrs can have dn's)
2001-02-19 19:06:21 +00:00
Stig Venaas
ac95c255a8
Using UTF8normcmp() from lunicode, removing our own UTF8casecmp()
2001-01-31 15:58:00 +00:00
Stig Venaas
a8b77998f5
Made caseIgnoreIndexer(), caseIgnoreFilter(),
...
caseIgnoreSubstringsIndexer(), caseIgnoreSubstringsFilter(),
caseExactIndexer(), caseExactFilter(), caseExactSubstringsIndexer() and
caseExactSubstringsFilter() use UTF8normalize
2001-01-26 15:56:29 +00:00
Stig Venaas
b371357c13
Made dnNormalize() do Unicode normalization and case folding.
...
dn_normalize() now uses dnNormalize() and fails if normalized string is
longer than original string.
2001-01-25 16:51:59 +00:00
Kurt Zeilenga
79d9ab38ba
Add more restrictive numeric string validate.
...
Need to rework IA5 matching to support empty strings as they should
be allowed for most string types (excepting directoryString).
2001-01-17 21:02:11 +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
Kurt Zeilenga
fcd432ffbd
empty OID values are invalid
2000-11-10 23:07:20 +00:00
Kurt Zeilenga
00b77ca088
Postal Address should be treated like directoryString
2000-11-04 21:11:52 +00:00
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