Kurt Zeilenga
74bfae5c22
cleanup
2004-05-14 04:48:44 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Luke Howard
399b57eada
Use gmtime_r() if HAVE_GMTIME_R is defined (need to add autoconf check)
2003-12-06 05:37:00 +00:00
Kurt Zeilenga
4e15a84452
Updated notices
2003-11-27 01:17:14 +00:00
Kurt Zeilenga
c75be97ae9
#ifdef -DSLAP_NVALUES
2003-04-05 03:35:16 +00:00
Pierangelo Masarati
216bcd948e
more SLAP_NVALUES cleanup
2003-02-26 22:58:46 +00:00
Kurt Zeilenga
8502301b00
Round one of SLAP_NVALUES code
2003-02-25 21:08:48 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Julius Enarusai
2d98b19bf7
Converted ch_malloc, ch_calloc and ch_realloc calls to SLAP_MALLOC and
...
SLAP_CALLOC in add_value/add_value_one functions and propagated errors to
all functions that use these functions.
2002-11-01 18:59:52 +00:00
Kurt Zeilenga
acc32b9d9e
Basic framework for DIT Content Rules (not yet enforced)
2002-10-09 07:11:50 +00:00
Kurt Zeilenga
f5e6d1db41
#unifdef -DSCHEMA_DN
2002-09-29 04:30:38 +00:00
Pierangelo Masarati
804a111fbd
add {create,modify}Timestamp to subschema subentry (SHOULD per RFC2251; use server startup time to be conservative)
2002-08-31 10:49:03 +00:00
Pierangelo Masarati
b16ee02a49
optimize subschema attribute merge
2002-08-29 10:49:11 +00:00
Howard Chu
07ebdca237
ITS#1893, use "schemadn" to configure subschemasubentry DN. (diff was
...
inaccessible, this is original code, not contributed.)
2002-08-10 03:10:52 +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
aa9612f051
add system schema checks
2002-01-10 06:30:26 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Howard Chu
f52cc9bab5
Change struct berval ** to BVarray
2002-01-02 11:00:36 +00:00
Howard Chu
975a5e9a24
Added dnPretty2/dnNormalize2 using preallocated destination berval
2001-12-29 04:48:00 +00:00
Kurt Zeilenga
21288fbb21
Misc cleanup and dn_normalize() zapping
...
Fix nameAndOptionalIdentifer syntax.
2001-12-26 16:42:35 +00:00
Howard Chu
71aff74f71
Use dnNormalize
2001-12-26 16:23:32 +00:00
Howard Chu
68b1bbb89d
Changed search attrs to struct berval **.
...
Use typedefs for all backend functions, to minimize work in future API
updates. (back-*/external.h will never need updating in the future.)
2001-12-26 08:17:44 +00:00
Kurt Zeilenga
948925a683
Patch slapadd(8) to provide a structuralObjectClass if missing
...
from input. This likely needs to be done by the frontend instead.
Add structuralObjectClass to the root and subschema dses.
2001-12-19 22:41:00 +00:00
Kurt Zeilenga
693fb9424a
unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT
2000-06-06 19:43:18 +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
eb248103b0
Fix -USLAPD_SCHEMA_NOT_COMPAT
2000-05-16 22:04:49 +00:00
Kurt Zeilenga
df96737bf2
Remove Lint.
2000-05-16 21:54:24 +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
4bc786f34b
Y2k copyright update
2000-05-13 02:47:56 +00:00
Kurt Zeilenga
4710c74605
Rework error handling. Add error descriptions.
...
Don't use LDAP_OPERATIONS_ERROR for internal errors. Use LDAP_OTHER
instead. (more changes needed in this area)
2000-03-03 22:37:06 +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
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
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
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
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
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
13f72e9dde
Add missing \n
2000-01-01 19:40:06 +00:00
Kurt Zeilenga
79b31f63c2
don't treat undefined oc as extensibleObject
1999-12-18 03:10:22 +00:00
Mark Valence
72fff129d2
Add supportedACIMechanisms to operation attributes list.
1999-11-22 18:38:42 +00:00