]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Tue, 29 Feb 2000 23:48:01 +0000 (23:48 +0000)]
Replace do_*() return -1 with return SLAPD_DISCONNECT.
Only return SLAPD_DISCONNECT with a send_ldap_disconnect()
was called.
Add initial code for support predetermined filter results
when filter is undefined (or known to be true or false).
Kurt Zeilenga [Mon, 28 Feb 2000 21:16:05 +0000 (21:16 +0000)]
Yet another round of SLAPD_SCHEMA_NOT_COMPAT changes, including:
limited subtype support, modlist handling, filter updates,
lastmod attribute handling.
Kurt Zeilenga [Fri, 25 Feb 2000 19:36:07 +0000 (19:36 +0000)]
More -DSLAPD_SCHEMA_NOT_COMPAT changes, including initial
impl of slap_modlist2mods() and is_at_subtype().
Kurt Zeilenga [Fri, 25 Feb 2000 19:31:54 +0000 (19:31 +0000)]
noschemacheck should not disable validation of DNs
Kurt Zeilenga [Fri, 25 Feb 2000 19:30:28 +0000 (19:30 +0000)]
tempnam() is available in MSVC5
Kurt Zeilenga [Fri, 25 Feb 2000 19:28:24 +0000 (19:28 +0000)]
Depend libraries upon setup.dsp
Kurt Zeilenga [Thu, 24 Feb 2000 17:59:10 +0000 (17:59 +0000)]
ITS#464: Fix multiple password support
Kurt Zeilenga [Thu, 24 Feb 2000 01:25:49 +0000 (01:25 +0000)]
Add GNU Pth to LTHREAD compatible list
Kurt Zeilenga [Tue, 22 Feb 2000 20:25:54 +0000 (20:25 +0000)]
Correct comment concerning entry LDIF.
Kurt Zeilenga [Tue, 22 Feb 2000 19:43:02 +0000 (19:43 +0000)]
Use common entry cleanup code.
Kurt Zeilenga [Tue, 22 Feb 2000 19:26:15 +0000 (19:26 +0000)]
Additional -DSLAPD_SCHEMA_NOT_COMPAT changes
Not hidden "NULLDN" to "<anonymous>" in modify stats
Kurt Zeilenga [Mon, 21 Feb 2000 20:57:48 +0000 (20:57 +0000)]
Ignore space in filter: ( !(foo=bar))
Kurt Zeilenga [Fri, 18 Feb 2000 19:57:38 +0000 (19:57 +0000)]
Eliminate second session protocol version field.
Kurt Zeilenga [Wed, 16 Feb 2000 23:51:34 +0000 (23:51 +0000)]
Add comment concern appropriate use of LDAP_MEMORY_DEBUG
(basically, it's for testing internals, don't enable it otherwise)
Kurt Zeilenga [Wed, 16 Feb 2000 22:59:15 +0000 (22:59 +0000)]
Fix ldap_set_option( NULL, LDAP_OPT_PROTOCOL_VERSION, &v ) as
suggested by Steve Sonntag.
Kurt Zeilenga [Tue, 15 Feb 2000 18:57:07 +0000 (18:57 +0000)]
More -DSLAPD_SCHEMA_NOT_COMPAT changes
Not hidden: "<anonymous>" modifiersname
Kurt Zeilenga [Mon, 14 Feb 2000 20:57:34 +0000 (20:57 +0000)]
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
Kurt Zeilenga [Sat, 12 Feb 2000 20:04:45 +0000 (20:04 +0000)]
ITS#454: fix VPATH support
Kurt Zeilenga [Fri, 11 Feb 2000 21:11:44 +0000 (21:11 +0000)]
Put *free(NULL) asserts behind LDAP_MEMORY_DEBUG
Kurt Zeilenga [Fri, 11 Feb 2000 02:05:14 +0000 (02:05 +0000)]
ITS#450: teach LDBM/GDBM about cursors
Kurt Zeilenga [Tue, 8 Feb 2000 04:22:31 +0000 (04:22 +0000)]
Don't chdir("/"). Root may not be writable to daemon.
Only user can select appropriate run directory. Best left to user.
Kurt Zeilenga [Mon, 7 Feb 2000 20:37:10 +0000 (20:37 +0000)]
Add Modification/Modifications structures for -DSLAPD_SCHEMA_NOT_COMPAT
Kurt Zeilenga [Mon, 7 Feb 2000 17:50:42 +0000 (17:50 +0000)]
Fix -DSLAPD_SCHEMA_NOT_COMPAT -DLDAP_DEBUG builds (still won't run)
Kurt Zeilenga [Mon, 7 Feb 2000 05:48:17 +0000 (05:48 +0000)]
Move a few obsolete RFCs to the Attic
Kurt Zeilenga [Sun, 6 Feb 2000 21:09:44 +0000 (21:09 +0000)]
Yet another round of SLAPD_SCHEMA_NOT_COMPAT changes...
Changes outside of #ifdef include three value filter processing.
Kurt Zeilenga [Sat, 5 Feb 2000 05:01:41 +0000 (05:01 +0000)]
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.
Kurt Zeilenga [Fri, 4 Feb 2000 17:49:32 +0000 (17:49 +0000)]
ITS#439: Fix logic error
Kurt Zeilenga [Thu, 3 Feb 2000 22:28:12 +0000 (22:28 +0000)]
Use required form if value is zero length, eg "attr-desc:".
Use BASE64 if attr-desc includes ";binary"
Kurt Zeilenga [Thu, 3 Feb 2000 22:26:00 +0000 (22:26 +0000)]
ITS#437: use portable syntax to export environment variable
Kurt Zeilenga [Wed, 2 Feb 2000 21:26:36 +0000 (21:26 +0000)]
Add comment about leaked on exit values.... we likely should
implement an at_exit() handler.
Luke Howard [Tue, 1 Feb 2000 23:34:16 +0000 (23:34 +0000)]
Changed (!strcmp(...)==0) to (strcmp(...)==0); obviously
wrong. Fix from adamson@andrew.cmu.edu.
Kurt Zeilenga [Tue, 1 Feb 2000 18:05:49 +0000 (18:05 +0000)]
Use experimental OID for ACI syntax. Likely need to add
additional schema items.
Kurt Zeilenga [Tue, 1 Feb 2000 17:53:07 +0000 (17:53 +0000)]
ACI attributes should be of ACI syntax. Need to assign
OID for experimental syntax.
Kurt Zeilenga [Tue, 1 Feb 2000 17:38:09 +0000 (17:38 +0000)]
Update to rev 04
Kurt Zeilenga [Tue, 1 Feb 2000 01:22:06 +0000 (01:22 +0000)]
Didn't return after returning unknown critical control.
Noticed that abandon and unbind don't have control support... something for
another day.
Kurt Zeilenga [Tue, 1 Feb 2000 01:11:26 +0000 (01:11 +0000)]
Use LDAP_CONST, not const, in public function declarations.
Kurt Zeilenga [Mon, 31 Jan 2000 22:14:16 +0000 (22:14 +0000)]
Replace -DSLAPD_SCHEMA_COMPAT with -USLAPD_SCHEMA_NOT_COMPAT
Kurt Zeilenga [Mon, 31 Jan 2000 18:21:07 +0000 (18:21 +0000)]
Move oc_check_allowed() next to oc_check_required() in preparation for
rewrite.
Kurt Zeilenga [Mon, 31 Jan 2000 17:59:10 +0000 (17:59 +0000)]
Put type;option trimming codes behind SLAPD_SCHEMA_COMPAT.
Attribute subtyping, especially that using attribute description
options, will have to reengineered.
Kurt Zeilenga [Mon, 31 Jan 2000 01:49:44 +0000 (01:49 +0000)]
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.
Kurt Zeilenga [Sat, 29 Jan 2000 23:36:42 +0000 (23:36 +0000)]
Add matching rule function pointers for index generation and use with
filters.
Kurt Zeilenga [Sat, 29 Jan 2000 22:54:11 +0000 (22:54 +0000)]
Add schema_init to MSVC5 project
Kurt Zeilenga [Sat, 29 Jan 2000 22:46:45 +0000 (22:46 +0000)]
Import locate draft.
Kurt Zeilenga [Sat, 29 Jan 2000 22:03:34 +0000 (22:03 +0000)]
Constify a few attr_*() routines
Kurt Zeilenga [Sat, 29 Jan 2000 20:06:46 +0000 (20:06 +0000)]
Move extern to proto header
Kurt Zeilenga [Sat, 29 Jan 2000 19:43:19 +0000 (19:43 +0000)]
Split out schema initialization of builtin syntax/matching rule
routines to separate file to keep schema.c of managable size.
Kurt Zeilenga [Sat, 29 Jan 2000 07:00:39 +0000 (07:00 +0000)]
Resolve syntax errors created by previous -DSLAPD_SCHEMA_COMPAT work.
Kurt Zeilenga [Fri, 28 Jan 2000 21:52:28 +0000 (21:52 +0000)]
Really fix VPATH support...
Kurt Zeilenga [Fri, 28 Jan 2000 21:38:18 +0000 (21:38 +0000)]
Last change actually broke VPATH support
Kurt Zeilenga [Fri, 28 Jan 2000 21:32:42 +0000 (21:32 +0000)]
Fix VPATH support.
Kurt Zeilenga [Fri, 28 Jan 2000 21:20:28 +0000 (21:20 +0000)]
Fix minor problems with proceeding commit which broken old schema compat
Kurt Zeilenga [Fri, 28 Jan 2000 21:18:55 +0000 (21:18 +0000)]
Remove double listing of libldif which breaks 'make veryclean'
Kurt Zeilenga [Fri, 28 Jan 2000 21:10:34 +0000 (21:10 +0000)]
Remove ai_syntaxinfo (syntax) from AttrInfo. Call attr_syntax() directly.
Kurt Zeilenga [Fri, 28 Jan 2000 20:38:00 +0000 (20:38 +0000)]
Move INDEX_ macros from back-ldbm.h to slap.h and prefix with SLAP_
Move AttrInfo from back-ldbm.h to attr.c
Kurt Zeilenga [Fri, 28 Jan 2000 20:10:25 +0000 (20:10 +0000)]
Fix -DSLAPD_SCHEMA_NOT_COMPAT syntax error in last commit
Kurt Zeilenga [Fri, 28 Jan 2000 20:01:00 +0000 (20:01 +0000)]
Additional changes to migrate to new schema codes
Still not usable.
Kurt Zeilenga [Fri, 28 Jan 2000 01:17:58 +0000 (01:17 +0000)]
place old schema codes behind -DSLAPD_SCHEMA_COMPAT
Kurt Zeilenga [Fri, 28 Jan 2000 00:33:29 +0000 (00:33 +0000)]
Put more old schema code behind SLAPD_SCHEMA_COMPAT (which still
MUST be defined).
Kurt Zeilenga [Thu, 27 Jan 2000 19:33:59 +0000 (19:33 +0000)]
Only allow NDBM if manually selected. Provide no hints that
one can select NDBM as NDBM is not supported.
Kurt Zeilenga [Thu, 27 Jan 2000 19:32:04 +0000 (19:32 +0000)]
Regenerate just to sure
Kurt Zeilenga [Thu, 27 Jan 2000 19:30:57 +0000 (19:30 +0000)]
Don't even spit out NDBM skipped warning
Kurt Zeilenga [Thu, 27 Jan 2000 19:11:44 +0000 (19:11 +0000)]
Don't list NDBM as an option.
Kurt Zeilenga [Thu, 27 Jan 2000 19:02:24 +0000 (19:02 +0000)]
Add code to handle operational attributes via new schema codes
behind -USLAPD_SCHEMA_COMPAT.
Kurt Zeilenga [Thu, 27 Jan 2000 18:35:36 +0000 (18:35 +0000)]
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).
Kurt Zeilenga [Thu, 27 Jan 2000 05:27:36 +0000 (05:27 +0000)]
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...
Kurt Zeilenga [Thu, 27 Jan 2000 01:43:12 +0000 (01:43 +0000)]
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.
Kurt Zeilenga [Thu, 27 Jan 2000 01:04:36 +0000 (01:04 +0000)]
Add NT build support for Unicode library.
Kurt Zeilenga [Thu, 27 Jan 2000 01:04:17 +0000 (01:04 +0000)]
typedef ber_int_t ldap_ucs4_t
Kurt Zeilenga [Thu, 27 Jan 2000 01:02:51 +0000 (01:02 +0000)]
Add IA5StringConvert (to UCS-2/4). May not be needed if we use
UTF-8 internally.
Kurt Zeilenga [Thu, 27 Jan 2000 01:00:02 +0000 (01:00 +0000)]
unifdef -D__STDC__
Kurt Zeilenga [Wed, 26 Jan 2000 00:12:51 +0000 (00:12 +0000)]
Add in hooks for mr conversion routines
Kurt Zeilenga [Wed, 26 Jan 2000 00:00:45 +0000 (00:00 +0000)]
Add -llunicode to build environment
Kurt Zeilenga [Tue, 25 Jan 2000 23:59:50 +0000 (23:59 +0000)]
Use UTF8Normalize, not IA5Normalize for matching rules for directoryString
syntax.
Kurt Zeilenga [Tue, 25 Jan 2000 23:58:44 +0000 (23:58 +0000)]
Fix typo
Kurt Zeilenga [Tue, 25 Jan 2000 22:47:53 +0000 (22:47 +0000)]
Remove Java files from HEAD.
Kurt Zeilenga [Tue, 25 Jan 2000 22:38:34 +0000 (22:38 +0000)]
Initial revision
Kurt Zeilenga [Tue, 25 Jan 2000 21:13:31 +0000 (21:13 +0000)]
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.
Kurt Zeilenga [Tue, 25 Jan 2000 20:22:17 +0000 (20:22 +0000)]
Add utf-8 to MSVC projects and remove lint.
Kurt Zeilenga [Tue, 25 Jan 2000 00:49:14 +0000 (00:49 +0000)]
Move uppercase comment to be next to uppercasing code.
Kurt Zeilenga [Tue, 25 Jan 2000 00:38:48 +0000 (00:38 +0000)]
Start putting old code behind the currently defined SLAPD_SCHEMA_COMPAT.
Kurt Zeilenga [Tue, 25 Jan 2000 00:05:36 +0000 (00:05 +0000)]
Have compare use get_ava().
Well help when we split assertion options out from the description.
Kurt Zeilenga [Mon, 24 Jan 2000 23:31:26 +0000 (23:31 +0000)]
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.
Kurt Zeilenga [Sun, 23 Jan 2000 23:33:01 +0000 (23:33 +0000)]
Make ldap_utf8_bytes() act like strlen() not sizeof()
Kurt Zeilenga [Sun, 23 Jan 2000 23:07:24 +0000 (23:07 +0000)]
Fix bugs in UTF-8 code. Apply to getdn and charray.
Kurt Zeilenga [Sun, 23 Jan 2000 20:53:12 +0000 (20:53 +0000)]
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.
Kurt Zeilenga [Sun, 23 Jan 2000 20:49:17 +0000 (20:49 +0000)]
Add comment: old schema is OC less category (abstract, struct, aux).
Kurt Zeilenga [Sun, 23 Jan 2000 18:43:30 +0000 (18:43 +0000)]
Add some robustness to UTF-8 routines.
Kurt Zeilenga [Sun, 23 Jan 2000 05:35:38 +0000 (05:35 +0000)]
Add comments to UTF-8 declarations.
Add US ASCII optimizations macros.
#ifdef out unused routines
Ready to hack getdn.c and others to support UTF-8
Kurt Zeilenga [Sun, 23 Jan 2000 02:39:55 +0000 (02:39 +0000)]
Add comments.
Kurt Zeilenga [Sat, 22 Jan 2000 21:09:24 +0000 (21:09 +0000)]
Move ldap_utf8_*() declarations from ldap-int.h to ldap_pvt.h.
We may likely want to expose the routines at a later date (ldap_utf8.h?).
Kurt Zeilenga [Sat, 22 Jan 2000 21:03:21 +0000 (21:03 +0000)]
We'll need ldap_utf8_strpbrk() as well.
Kurt Zeilenga [Sat, 22 Jan 2000 20:55:43 +0000 (20:55 +0000)]
Add initial (untested) implementations of ldap_utf8_strtok,
ldap_utf8_strcspn, ldap_utf8_strtok.
Kurt Zeilenga [Sat, 22 Jan 2000 18:48:37 +0000 (18:48 +0000)]
Add additional UTF-8 routines
Kurt Zeilenga [Sat, 22 Jan 2000 03:40:54 +0000 (03:40 +0000)]
Fix charlen and add getc
Kurt Zeilenga [Sat, 22 Jan 2000 01:55:34 +0000 (01:55 +0000)]
Initial UTF-8 routines.
Kurt Zeilenga [Fri, 21 Jan 2000 00:50:57 +0000 (00:50 +0000)]
Remove .tar
Kurt Zeilenga [Thu, 20 Jan 2000 05:48:18 +0000 (05:48 +0000)]
Remove SASL/TLS integration projects from TODO as basic
code has been committed.
Add item to implement SASL/TLS to clients.
(This is not to imply that the code is complete)
Kurt Zeilenga [Mon, 17 Jan 2000 21:27:01 +0000 (21:27 +0000)]
Update RCSid
Kurt Zeilenga [Mon, 17 Jan 2000 17:41:11 +0000 (17:41 +0000)]
Add print.c to handle GeneralizedTime.
Add creat* modify* attributes
Kurt Zeilenga [Mon, 17 Jan 2000 17:09:33 +0000 (17:09 +0000)]
Even more checks around use of crypt(3).