Kurt Zeilenga
9b26e48aa6
ITS#1674: integerOrderingMatch, integerFirstComponentMatch and then some.
2002-03-25 17:08:38 +00:00
Kurt Zeilenga
0be4d842bc
Update control framework
...
Misc cleanup
NT updates
2002-03-24 02:17:21 +00:00
Kurt Zeilenga
c02f448a16
Misc extensible match clean up.
2002-03-11 01:48:37 +00:00
Julius Enarusai
08d0a48ac5
The following file fails compile when NEW_LOGGING is enabled.
2002-03-07 17:50:56 +00:00
Pierangelo Masarati
914d703714
backout previous change; validation has been added to dnNormalize functions
2002-03-02 17:28:19 +00:00
Pierangelo Masarati
9dee603fdf
null length string is not allowed
2002-03-02 14:28:08 +00:00
Stig Venaas
c476878fde
Using new UTF8bv* all over, getting rid of UTF8normalize() and
...
UTF8normcmp().
2002-02-27 16:11:24 +00:00
Stig Venaas
94983da942
Added code for approximate matching in UTF8bvnormalize() and changed to use
...
this in approxMatch etc in schema_init.c
2002-02-26 18:38:40 +00:00
Kurt Zeilenga
33516fa9eb
#ifdef ACI/authpasswd schema
2002-02-18 20:06:50 +00:00
Pierangelo Masarati
2aec424646
use memchr in ber_bvchr
2002-02-14 21:10:13 +00:00
Pierangelo Masarati
215448ac83
substrings match works with NULs in UTF8 strings
2002-02-14 18:55:38 +00:00
Pierangelo Masarati
ef607e65d7
first round at replacing UTF8normalize with UTF8bvnormalize
2002-02-14 16:01:48 +00:00
Pierangelo Masarati
39891e4e5b
make UTF8STringNormalize handle NUL
2002-02-13 21:25:57 +00:00
Howard Chu
6bfe37bdf5
In UTF8StringValidate, 1-byte chars are already validated
2002-01-18 04:49:55 +00:00
Kurt Zeilenga
e25f6ef0cd
Add a safety check to bvcasechr
2002-01-17 17:19:20 +00:00
Kurt Zeilenga
32b955cfc5
replace strcasechr with bvcasechr
2002-01-17 00:18:57 +00:00
Kurt Zeilenga
e154da3a09
Remove some asserts. Need to re-valid logic
2002-01-15 19:54:21 +00:00
Howard Chu
e21e900392
Use LDAP_UTF8_CHARLEN2 to check shortest possible encoding
2002-01-15 08:27:19 +00:00
Kurt Zeilenga
5a378a5ce8
A very basic UTF-8 check
2002-01-15 04:38:05 +00:00
Howard Chu
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +00:00
Kurt Zeilenga
c80d93f2bb
Start of new operational attribute framework
2002-01-10 00:17:21 +00:00
Kurt Zeilenga
645ae7a22f
Hide select matching rules from published schema
2002-01-06 05:29:04 +00:00
Kurt Zeilenga
4b3e7fa668
Add LDAP/X.500 subentry schema (draft-zeilenga-ldap-subentry-xx.txt)
2002-01-06 04:59:26 +00:00
Pierangelo Masarati
d0261ee534
leftover ber_bvdup eliminated; rewritten ber_bvdup in terms of ber_dupbv; eliminated wrapper macro; other ber_* improvements
2002-01-05 17:49:59 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Kurt Zeilenga
f5ab06738b
All empty IA5 and Printable strings, but not Directory strings.
2002-01-03 20:03:27 +00:00
Kurt Zeilenga
763c0de59b
Rework filter code
...
Misc cleanup / lint removal
2002-01-02 17:06:56 +00:00
Howard Chu
f52cc9bab5
Change struct berval ** to BVarray
2002-01-02 11:00:36 +00:00
Howard Chu
5b83bbc681
Fix previous commit
2002-01-01 04:44:59 +00:00
Howard Chu
3d8d9344dd
Optimize ISSPACE checks in UTF8StringNormalize
2002-01-01 04:43:03 +00:00
Howard Chu
e6d4c7dbcc
Added oidm_destroy
2001-12-31 04:35:02 +00:00
Howard Chu
7ffc723c40
Cleanup, fix uninitialized vars
2001-12-30 00:14:45 +00:00
Howard Chu
185ff129b5
Change struct berval * to struct berval in various structures
2001-12-29 15:01:10 +00:00
Howard Chu
92c6c9c25d
Misc berval stuff.
2001-12-28 11:45:25 +00:00
Kurt Zeilenga
21288fbb21
Misc cleanup and dn_normalize() zapping
...
Fix nameAndOptionalIdentifer syntax.
2001-12-26 16:42:35 +00:00
Howard Chu
3da3be8128
Precompute syn_oidlen and mr_oidlen
2001-12-26 14:36:02 +00:00
Howard Chu
65977a0f83
Migrate to dnNormalize
2001-12-26 06:21:23 +00:00
Kurt Zeilenga
50d57151a7
Move dnValidate, dnNormalize, dnPretty to dn.c
2001-12-23 01:19:46 +00:00
Kurt Zeilenga
0c28b66a75
use dnPretty instead of dn_pretty
2001-12-23 00:43:57 +00:00
Kurt Zeilenga
a78053ecfa
Add a couple of FIXME comments
2001-12-22 19:21:32 +00:00
Howard Chu
3bd8946ca0
from jon@symas.com - minor cleanup
2001-12-17 22:48:29 +00:00
Pierangelo Masarati
fe45b74798
minor cleanup
2001-12-10 09:46:50 +00:00
Kurt Zeilenga
30831a4012
misc cleanup
2001-12-09 18:57:46 +00:00
Pierangelo Masarati
67ed3982fb
now dnValidate loops thru each value; added private member to LDAPAVA to hold the attribute description
2001-12-06 11:50:17 +00:00
Pierangelo Masarati
9260b22dec
liberally accept many LDAPv2/LDAPv3 stuff in DN (quoted parts, ';' as rdn separator and so); enforce exact case match of normalized dn in dnMatch (let's see what happens ...); fix a ldapava_free_rdn bug
2001-12-06 10:01:25 +00:00
Kurt Zeilenga
2c07200a3a
pretty DNs
2001-12-06 07:32:53 +00:00
Kurt Zeilenga
575c9469d9
Rework dnNormalize/dnPretty to share LDAP_rewrite
...
Add flag to matching rules to indicate if DN folding is needed.
Don't specify dnPretty as pretty function for DN attribute types as
this works too well (it breaks tests).
2001-12-06 03:24:31 +00:00
Kurt Zeilenga
f26e1b390e
Add basic infrastructure for pretty routines
...
A pretty routine may rewrite the representation of a value but
must not alter the value itself.
2001-12-05 21:36:59 +00:00
Kurt Zeilenga
3f53087f57
Add comments
2001-12-05 21:07:57 +00:00
Pierangelo Masarati
379e0e9d50
another step towards schema aware normalization: ava sorting in rdns; now by defining USE_LDAP_DN_PARSING both the new dn parsing and the server side normalization is used. There might be, every now and then, a flaw mostly due to naive normalization of pseudo-dn (thinking about some acl/regex stuff and so)
2001-12-05 19:26:30 +00:00