Commit Graph

49 Commits

Author SHA1 Message Date
Kurt Zeilenga
178dc1b708 Treat all phone number syntaxes as numericString 2000-06-15 20:33:56 +00:00
Kurt Zeilenga
d1fd2436da Treat telephone syntax as numeric 2000-06-15 20:14:01 +00:00
Kurt Zeilenga
aa10d362b7 fix substring match bugs 2000-06-15 19:56:51 +00:00
Kurt Zeilenga
07907dda8b Repair case{Ignore,Exact}IA5SubstringsMatch 2000-06-15 19:32:24 +00:00
Mark Valence
3888bac4bf Added Generalized Time matching and ordering (it's just caseExactIA5Ma
tch).  Set OpenLDAP Experimental ACI syntax validation to IA5StringVal
idate for now, to facilitate testing.
2000-06-15 08:34:48 +00:00
Mark Valence
7211daa837 Fixed whitespace prefix checks. Added UTC Time and Generalized Time s
yntax validation and normalization routines.
2000-06-15 07:58:04 +00:00
Mark Valence
6a43d24f48 Bug hunting -- crash when doing substring match. 2000-06-14 06:07:06 +00:00
Kurt Zeilenga
693fb9424a unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT 2000-06-06 19:43:18 +00:00
Kurt Zeilenga
ea069cb7c2 New indexer/filter codes (test suite works) with cheats
Updated NT Project files (with Cyrus SASL library depend)
2000-06-04 22:59:38 +00:00
Kurt Zeilenga
eb70b602ee Rework ACI codes to use OpenLDAPaci. Add needed schema elements.
Needs work.  Volunteers welcomed.
2000-05-30 21:34:55 +00:00
Kurt Zeilenga
64f028a6ab New schema code is now the default.
Use -DSLAPD_SCHEMA_COMPAT to use 1.x compatible schema (deprecated).
2000-05-29 16:39:16 +00:00
Kurt Zeilenga
e45979599d Add NumericString syntax and matching rules. 2000-05-29 04:58:40 +00:00
Kurt Zeilenga
287de3517d SLAPD_SCHEMA_NOT_COMPAT: working tests 1-4! 2000-05-29 01:08:09 +00:00
Kurt Zeilenga
e31e42374e SLAPD_SCHEMA_NOT_COMPAT: cheap DN match 2000-05-29 00:27:49 +00:00
Kurt Zeilenga
ee37a6bdea SLAPD_SCHEMA_NOT_COMPAT: case{Exact,Ignore}IA5SubstringsMatch 2000-05-28 01:18:53 +00:00
Kurt Zeilenga
9baacdcfff SLAPD_SCHEMA_NOT_COMPAT: Add enough matching rules to get through test003 2000-05-27 23:08:28 +00:00
Kurt Zeilenga
b813a5ba30 SLAPD_SCHEMA_NOT_COMPAT: prelim ACL work 2000-05-27 19:33:08 +00:00
Kurt Zeilenga
89b09b020d Split schema_prep() from schema_init.c 2000-05-25 01:49:21 +00:00
Kurt Zeilenga
09965d67de SLAPD_SCHEMA_NOT_COMPAT: fix IA5StringNormalize aswell 2000-05-24 23:28:49 +00:00
Kurt Zeilenga
7ae8225088 SLAPD_SCHEMA_NOT_COMPAT: Fix UTF8StringNormalizer 2000-05-24 23:27:33 +00:00
Kurt Zeilenga
433d9388be SLAPD_SCHEMA_NOT_COMPAT:
Add syntax normalizer, separate from matching rule normalizer.
with mr normalizer defaulting to syntax normalizer.  This allows
for more consistent handling of some syntaxes, such as directoryString
(where all matches should ignore leading, trailing, and other extra
spaces).
2000-05-24 22:20:03 +00:00
Kurt Zeilenga
c1da50a426 SLAPD_SCHEMA_NOT_COMPAT: equality filters
(2.5.4.0=2.5.6.0) works!	ie: (objectclass=top)
2000-05-24 18:49:30 +00:00
Kurt Zeilenga
12acffa96e objectclass needs a special equality match. 2000-05-24 06:38:02 +00:00
Kurt Zeilenga
11ef270498 SLAPD_SCHEMA_NOT_COMPAT: Fix normalization bugs
Disable cn=Schema "merging" messages
2000-05-24 00:59:58 +00:00
Kurt Zeilenga
5ab4c575f4 Add bogus validator for fax number syntax 2000-05-23 21:42:51 +00:00
Kurt Zeilenga
bf3a229423 SLAPD_SCHEMA_NOT_COMPAT: cleanup 2000-05-23 17:00:46 +00:00
Kurt Zeilenga
ec576aae41 SLAPD_SCHEMA_NOT_COMPAT: Use no-op syntax validator 2000-05-23 02:33:56 +00:00
Kurt Zeilenga
60802201e3 Const'ification
SASL mech removed from backend bind callback (as SASL is managed by frontend)
Changes to some backends are untested (as I don't have all dependent
  software install)
2000-05-22 03:46:57 +00:00
Kurt Zeilenga
b2f56a7318 SLAPD_SCHEMA_NOT_COMPAT: framework for value_match() and value_find() 2000-05-21 22:46:51 +00:00
Kurt Zeilenga
cdb5244edf Fix typo in -USLAPD_SCHEMA_NOT_COMPAT varient 2000-05-19 01:06:43 +00:00
Kurt Zeilenga
56c186cb83 Fix typo in last commit 2000-05-19 00:33:09 +00:00
Kurt Zeilenga
a14b3b291a Add X-BINARY (binary transfer required) and X-NOT-H-R (not human readable)
to appropriate syntaxes.
2000-05-18 22:07:34 +00:00
Kurt Zeilenga
074be5fb5a SLAPD_SCHEMA_NOT_COMPAT: numerous changes to syntax flags, mostly minor
added new value_normalize() code
	need LDAPsyntaxes X- field support
2000-05-18 17:21:42 +00:00
Kurt Zeilenga
75b51d523f Add missing syntaxes from RFC 2252. 2000-05-17 18:10:38 +00:00
Kurt Zeilenga
f3f5b6a1b3 Update pilot schema based upon asid ldapv3-attributes I-D.
Add needed syntaxes defs to schema_init.c
2000-05-17 17:25:48 +00:00
Kurt Zeilenga
349bec7c0e Fix desc not NULL bugs 2000-05-16 21:44:54 +00:00
Kurt Zeilenga
318a116910 Misc. schema updates. 2000-05-16 18:11:50 +00:00
Kurt Zeilenga
a1430fdfdb Rework root dse and other info entry codes to produce entry
to caller (do_search) such that info can be used by other
operations (ie: do_compare).
SLAPD_SCHEMA_NOT_COMPAT: Add additional code to support filters (needs work)
2000-05-16 16:22:52 +00:00
Kurt Zeilenga
37235b71c0 SLAPD_SCHEMA_NOT_COMPAT: working cn=schema 2000-05-15 23:36:37 +00:00
Kurt Zeilenga
aa08287e29 SLAPD_SCHEMA_NOT_COMPAT: simple Root DSE search WORKS! 2000-05-15 22:07:10 +00:00
Kurt Zeilenga
40ab90fa9c SLAPD_SCHEMA_NOT_COMPAT: Rework caching of internal schema 2000-05-15 21:05:25 +00:00
Kurt Zeilenga
7b14e1304a Relocate schema_init() call to main()
Add schema_prep() call to main()
Similiar changes to slapcommon.c
Add schema_prep() impl to schema_init.c
Add slap_ad_entry and slap_ad_children globals.
Add "entry" and "children" to openldap.schema (this likely should
  be added to schema via code, not configuration)
2000-05-15 20:04:36 +00:00
Kurt Zeilenga
4bc786f34b Y2k copyright update 2000-05-13 02:47:56 +00:00
Howard Chu
72d53b60e0 Silence some warnings from parameter type mismatches 2000-05-13 01:18:57 +00:00
Kurt Zeilenga
0dbaf87730 Another round of changes behind -DSLAPD_SCHEMA_NOT_COMPAT
plus these changes unhidden changes:
	remove now meaning --enable-discreteaci configure option
	fix ITS#451, slapd filters
	Add ber_bvecadd() to support above
	constify ldap_pvt_find_wildcard() and misc slapd routines
	renamed some slap.h macros
	likely broken something
2000-02-14 20:57:34 +00:00
Kurt Zeilenga
bc51bd5180 Yet another round of SLAPD_SCHEMA_NOT_COMPAT changes...
Changes outside of #ifdef include three value filter processing.
2000-02-06 21:09:44 +00:00
Kurt Zeilenga
2e3d9d7737 Use experimental OID for ACI syntax. Likely need to add
additional schema items.
2000-02-01 18:05:49 +00:00
Kurt Zeilenga
d298e35514 Add SLAP_SYNTAX_BINARY flag to indicate binary storage is used for
attributes of the syntax.  Such attribute values be transferred
using binary syntax unless ber2str/str2ber routines are provided.
Used in conjunction with ";binary" attribute description option
and/or the Binary syntax.
2000-01-31 01:49:44 +00:00
Kurt Zeilenga
4c52827d28 Split out schema initialization of builtin syntax/matching rule
routines to separate file to keep schema.c of managable size.
2000-01-29 19:43:19 +00:00