Commit Graph

2924 Commits

Author SHA1 Message Date
Julius Enarusai
35bc1bf43c Added LDAP_LOG messages to these files to match the existing Debug messages 2002-03-14 22:23:44 +00:00
Julius Enarusai
02412251f1 Added LDAP_LOG messages to the above files to match the existing Debug messages 2002-03-14 16:34:24 +00:00
Kurt Zeilenga
a1d757a038 Check components of extensible match filter sooner than later. 2002-03-12 23:07:07 +00:00
Kurt Zeilenga
dbfc18985a Align with back-ldbm version 2002-03-12 22:46:13 +00:00
Kurt Zeilenga
9eac390e2f Return inappropriate matching if the syntaxes don't line up for
extensible matching
2002-03-11 16:29:01 +00:00
Kurt Zeilenga
815e2ac717 Add a comment to the check which needs extending to support
new extensible matching rules.
2002-03-11 16:12:36 +00:00
Kurt Zeilenga
5ea0bf2f9b Use put/get filter to convert string to filter 2002-03-11 05:21:49 +00:00
Kurt Zeilenga
b56f7c7222 Add no-op mru_schema_info()...
Not sure how best to populate matchingRuleUses...
2002-03-11 03:06:34 +00:00
Kurt Zeilenga
2f7858044e ITS#1636 fix 2002-03-11 03:05:43 +00:00
Kurt Zeilenga
c02f448a16 Misc extensible match clean up. 2002-03-11 01:48:37 +00:00
Kurt Zeilenga
c9c3a68496 Deprecate filter_print in favor of filter2bv. 2002-03-10 17:41:14 +00:00
Kurt Zeilenga
902350f991 Fix up handling of extended operations with no request data 2002-03-10 17:40:22 +00:00
Pierangelo Masarati
a1b65bcdfe detect unavailable hash algorithms at startup 2002-03-09 11:02:32 +00:00
Howard Chu
f0a453dfca Fix ITS#1615 2002-03-07 20:23:48 +00:00
Julius Enarusai
08d0a48ac5 The following file fails compile when NEW_LOGGING is enabled. 2002-03-07 17:50:56 +00:00
Kurt Zeilenga
1880c23029 Replace get_filter generation of fstr with filter2bv(). 2002-03-07 03:13:11 +00:00
Kurt Zeilenga
a4635f3ada CLDAP fixes 2002-03-06 20:58:20 +00:00
Kurt Zeilenga
93a45a02aa Update handling of AND/OR indexing where element is undefined. 2002-03-04 22:32:33 +00:00
Kurt Zeilenga
d9c93faac8 Fix typo 2002-03-04 22:26:47 +00:00
Kurt Zeilenga
3d89f398a9 Fix callback initializer. 2002-03-04 21:28:46 +00:00
Pierangelo Masarati
914d703714 backout previous change; validation has been added to dnNormalize functions 2002-03-02 17:28:19 +00:00
Kurt Zeilenga
ad0858dea4 Add validation. 2002-03-02 17:05:29 +00:00
Pierangelo Masarati
9dee603fdf null length string is not allowed 2002-03-02 14:28:08 +00:00
Kurt Zeilenga
ef7883c028 Fix substring index error handling 2002-03-01 19:07:15 +00:00
Kurt Zeilenga
faa9956446 Validate filter and compare inputs 2002-03-01 18:52:45 +00:00
Kurt Zeilenga
a71cd15182 Add normalize_validate_normalize() to be use instead of value_normalize()
where value has not yet been validated.
2002-03-01 18:05:47 +00:00
Kurt Zeilenga
c0fdb1aaca Add a value_validate() function to be used by prior to value_normalize
calls as needed (compare/filters).
2002-03-01 17:36:22 +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
5d347b6153 tool install should not be dependent on $(BUILD_LDBM) 2002-02-25 16:57:29 +00:00
Kurt Zeilenga
d50eb2e959 C translator portability changes (ITS#1609) 2002-02-23 23:47:37 +00:00
Kurt Zeilenga
cea1746182 Return proper result codes for usage errors 2002-02-21 19:29:32 +00:00
Kurt Zeilenga
75d97a43eb Fix bug in unused function 2002-02-21 19:28:49 +00:00
Pierangelo Masarati
2d1eb56725 #ifdef local time hack 2002-02-19 09:11:55 +00:00
Kurt Zeilenga
33516fa9eb #ifdef ACI/authpasswd schema 2002-02-18 20:06:50 +00:00
Kurt Zeilenga
348e489b35 #ifdef experimental controls 2002-02-18 19:48:27 +00:00
Howard Chu
f9902a32b4 Changed supportedFeatures to array of struct bervals 2002-02-15 16:33:44 +00:00
Howard Chu
81c3c311a8 Changed reqoid to struct berval 2002-02-15 16:27:31 +00:00
Howard Chu
a0bfd8b058 Add basic objectClass filtering to filtered replicas 2002-02-15 15:21:13 +00:00
Howard Chu
ce4466655e Fix ad_inlist typo on oc->required 2002-02-15 14:48:01 +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
55993dc66a don't free dangling pointers :( 2002-02-14 18:15:56 +00:00
Pierangelo Masarati
ef607e65d7 first round at replacing UTF8normalize with UTF8bvnormalize 2002-02-14 16:01:48 +00:00
Howard Chu
933f6a5fdd For ITS#1601, add ber_init2() using given buffer in-place instead of
allocating a copy.
2002-02-14 13:32:40 +00:00
Pierangelo Masarati
39891e4e5b make UTF8STringNormalize handle NUL 2002-02-13 21:25:57 +00:00
Pierangelo Masarati
6e88ea7108 fix dnValidate (leak and return SUCCESS) 2002-02-13 19:25:58 +00:00
Pierangelo Masarati
3cc674589d DNs may include NULs 2002-02-13 19:18:31 +00:00
Kurt Zeilenga
6ebe49f1b6 Limit the length of [R]DNs on input to 8192. A lower limit,
especially for anonymous clients, might be even more reasonable.
2002-02-13 18:11:52 +00:00
Kurt Zeilenga
ee6d1a4d40 Check for NULs in DNs. 2002-02-13 16:41:41 +00:00