Kurt Zeilenga
4091381660
Yet another round of SLAPD_SCHEMA_NOT_COMPAT changes, including:
...
limited subtype support, modlist handling, filter updates,
lastmod attribute handling.
2000-02-28 21:16:05 +00:00
Kurt Zeilenga
76553ea53f
More -DSLAPD_SCHEMA_NOT_COMPAT changes, including initial
...
impl of slap_modlist2mods() and is_at_subtype().
2000-02-25 19:36:07 +00:00
Kurt Zeilenga
2c16d08b7c
noschemacheck should not disable validation of DNs
2000-02-25 19:31:54 +00:00
Kurt Zeilenga
34197ca974
ITS#464: Fix multiple password support
2000-02-24 17:59:10 +00:00
Kurt Zeilenga
ecb915357c
Correct comment concerning entry LDIF.
2000-02-22 20:25:54 +00:00
Kurt Zeilenga
550542e020
Use common entry cleanup code.
2000-02-22 19:43:02 +00:00
Kurt Zeilenga
86bd13846f
Additional -DSLAPD_SCHEMA_NOT_COMPAT changes
...
Not hidden "NULLDN" to "<anonymous>" in modify stats
2000-02-22 19:26:15 +00:00
Kurt Zeilenga
ceb6412e62
More -DSLAPD_SCHEMA_NOT_COMPAT changes
...
Not hidden: "<anonymous>" modifiersname
2000-02-15 18:57:07 +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
4e4b8204ab
ITS#454: fix VPATH support
2000-02-12 20:04:45 +00:00
Kurt Zeilenga
36b0423311
Add Modification/Modifications structures for -DSLAPD_SCHEMA_NOT_COMPAT
2000-02-07 20:37:10 +00:00
Kurt Zeilenga
79e92663e8
Fix -DSLAPD_SCHEMA_NOT_COMPAT -DLDAP_DEBUG builds (still won't run)
2000-02-07 17:50:42 +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
f9195f9b6f
Another round of SLAPD_SCHEMA_NOT_COMPAT changes including
...
basic structures for handing language tags and binary option
(but less actual code to actually support them). Provided
for reference only. Will not even compile.
2000-02-05 05:01:41 +00:00
Kurt Zeilenga
86cedc6ac7
ITS#439: Fix logic error
2000-02-04 17:49:32 +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
9316c4eace
ACI attributes should be of ACI syntax. Need to assign
...
OID for experimental syntax.
2000-02-01 17:53:07 +00:00
Kurt Zeilenga
3708530620
Didn't return after returning unknown critical control.
...
Noticed that abandon and unbind don't have control support... something for
another day.
2000-02-01 01:22:06 +00:00
Kurt Zeilenga
3a6e906194
Replace -DSLAPD_SCHEMA_COMPAT with -USLAPD_SCHEMA_NOT_COMPAT
2000-01-31 22:14:16 +00:00
Kurt Zeilenga
08e3b010d5
Move oc_check_allowed() next to oc_check_required() in preparation for
...
rewrite.
2000-01-31 18:21:07 +00:00
Kurt Zeilenga
10fdd7ff7c
Put type;option trimming codes behind SLAPD_SCHEMA_COMPAT.
...
Attribute subtyping, especially that using attribute description
options, will have to reengineered.
2000-01-31 17:59:10 +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
e0f7614a11
Add matching rule function pointers for index generation and use with
...
filters.
2000-01-29 23:36:42 +00:00
Kurt Zeilenga
916a63d819
Add schema_init to MSVC5 project
2000-01-29 22:54:11 +00:00
Kurt Zeilenga
49976b5bc1
Constify a few attr_*() routines
2000-01-29 22:03:34 +00:00
Kurt Zeilenga
d4c814ecd9
Move extern to proto header
2000-01-29 20:06:46 +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
Kurt Zeilenga
d8d19d4ff9
Resolve syntax errors created by previous -DSLAPD_SCHEMA_COMPAT work.
2000-01-29 07:00:39 +00:00
Kurt Zeilenga
ad262b3ac6
Fix minor problems with proceeding commit which broken old schema compat
2000-01-28 21:20:28 +00:00
Kurt Zeilenga
ce56fbcba8
Remove ai_syntaxinfo (syntax) from AttrInfo. Call attr_syntax() directly.
2000-01-28 21:10:34 +00:00
Kurt Zeilenga
cca2bdcb40
Move INDEX_ macros from back-ldbm.h to slap.h and prefix with SLAP_
...
Move AttrInfo from back-ldbm.h to attr.c
2000-01-28 20:38:00 +00:00
Kurt Zeilenga
17f1024ad5
Fix -DSLAPD_SCHEMA_NOT_COMPAT syntax error in last commit
2000-01-28 20:10:25 +00:00
Kurt Zeilenga
c5da0c76ce
Additional changes to migrate to new schema codes
...
Still not usable.
2000-01-28 20:01:00 +00:00
Kurt Zeilenga
51190984ee
place old schema codes behind -DSLAPD_SCHEMA_COMPAT
2000-01-28 01:17:58 +00:00
Kurt Zeilenga
e9b1012fb1
Put more old schema code behind SLAPD_SCHEMA_COMPAT (which still
...
MUST be defined).
2000-01-28 00:33:29 +00:00
Kurt Zeilenga
434e7229ac
Add code to handle operational attributes via new schema codes
...
behind -USLAPD_SCHEMA_COMPAT.
2000-01-27 19:02:24 +00:00
Kurt Zeilenga
df712b8597
Don't exclude no-user-modification attributes from ACL checks
...
unless access requested is WRITE. This allows you to apply
an ACL to limit search/reading of no-user-modification attributes.
Writes, of course, are always prohibited (by do_add, do_modify).
2000-01-27 18:35:36 +00:00
Kurt Zeilenga
9dde98577d
Move ldap_unicode_t to ldap_pvt.h, typedef to ldap_ucs2_t for now.
...
ldap_ucs2_t is a short. The unicode routines may break if
sizeof(short) != 2...
2000-01-27 05:27:36 +00:00
Kurt Zeilenga
cdcb0390ba
Last commit was a bit premature. This fixes up compiler
...
bugs and adds temporary code to glue things until we sort
out unicode UTF-8 vs UCS-4 vs UCS-2 issues.
2000-01-27 01:43:12 +00:00
Kurt Zeilenga
4ec79023bd
Add IA5StringConvert (to UCS-2/4). May not be needed if we use
...
UTF-8 internally.
2000-01-27 01:02:51 +00:00
Kurt Zeilenga
96ba43c591
Add in hooks for mr conversion routines
2000-01-26 00:12:51 +00:00
Kurt Zeilenga
4be3e66aaf
Use UTF8Normalize, not IA5Normalize for matching rules for directoryString
...
syntax.
2000-01-25 23:59:50 +00:00
Kurt Zeilenga
9fec129997
Second round of schema changes
...
Revert normalization to matching rule per discussions with Julio.
May need separate normalization routines for stored value and asserted
value. Currently rely on passed in syntax/mr to allow "special" behavior.
Reworked filters to pass struct berval * instead of char *. (needs work)
Validation, normalization and matching needed.
2000-01-25 21:13:31 +00:00
Kurt Zeilenga
4bdd788c68
Move uppercase comment to be next to uppercasing code.
2000-01-25 00:49:14 +00:00
Kurt Zeilenga
7f63755d5d
Start putting old code behind the currently defined SLAPD_SCHEMA_COMPAT.
2000-01-25 00:38:48 +00:00
Kurt Zeilenga
a412a0529d
Have compare use get_ava().
...
Well help when we split assertion options out from the description.
2000-01-25 00:05:36 +00:00
Kurt Zeilenga
117a37272d
Modify slapd syntax struct to have both a validation and normalization
...
routine. Could be combined into one routine.
Modify slapd matching rule struct to only have match function.
Modify old attribute such that 'bin' implies octetString, not 'binary'.
Add compatibility for IA5 strings. Only directoryStrings were handled
before.
Treat attribute types without syntax as incomplete, not default.
Add OctetStringValidate (always returns okay).
Add {UTF8,IA5}StringValidate/Normalize (IA5 based loosely on
case_exact_normalize). Need case{Exact,Ignore}UTFMatch, using IA5 versions
for now.
Removed default of syntax/mr handlders, should just skip
registration of syntax/mr's without handlers.
Added comments to slap.h about types versus descriptions.
2000-01-24 23:31:26 +00:00
Kurt Zeilenga
fdcd8465c3
s/case_ignore_normalize/caseIgnoreIA5Normalize/
...
s/case_ignore_compare/caseIgnoreIA5Match/
s/case_exact_normalize/caseExactIA5Normalize/
s/case_exact_compare/caseExactIA5Match/
to make room for UTF-8 and T.61 varients.
2000-01-23 20:53:12 +00:00
Kurt Zeilenga
2f22b6bf0c
Add comment: old schema is OC less category (abstract, struct, aux).
2000-01-23 20:49:17 +00:00
Howard Chu
0b15c19cdf
Fix bug in group spec parsing, was failing to set attributeType if a
...
nondefault objectclass was given
2000-01-15 03:48:37 +00:00