]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Tue, 13 Jun 2000 02:42:13 +0000 (02:42 +0000)]
Reworked thread code to better support thread-library specific
r/w locks and thread pools. Hide internal structures (using
pthread'ish technics). Place common code in threads.c. Move
no-thread code to thr_stub.c. Move thread pool code to tpool.c.
Removed setconcurrency call from initializer, added 'concurrency'
directive to slapd. Tested code under pthreads, pth, and no-threads.
Mark Valence [Mon, 12 Jun 2000 01:35:15 +0000 (01:35 +0000)]
Added .regex, .base, .one, .subtree, and .children "style" modifiers.
Kurt Zeilenga [Sat, 10 Jun 2000 23:13:01 +0000 (23:13 +0000)]
Found ber_error_print pieces which I forgot commit.
Kurt Zeilenga [Sat, 10 Jun 2000 23:06:08 +0000 (23:06 +0000)]
Thought I fixed these errors previously... oh well.
Kurt Zeilenga [Sat, 10 Jun 2000 22:39:30 +0000 (22:39 +0000)]
Misc code cleanup.
Kurt Zeilenga [Sat, 10 Jun 2000 18:47:27 +0000 (18:47 +0000)]
ignore clean-local rm error
Kurt Zeilenga [Sat, 10 Jun 2000 17:31:56 +0000 (17:31 +0000)]
Fix LDAP_END_DECL bug, add LDAP_P() to rebind proc prototype, and
other minor changes.
Kurt Zeilenga [Sat, 10 Jun 2000 17:29:10 +0000 (17:29 +0000)]
Add ldap_unbind_ext_s
Kurt Zeilenga [Sat, 10 Jun 2000 17:28:09 +0000 (17:28 +0000)]
Add sort/vlv controls
Kurt Zeilenga [Sat, 10 Jun 2000 07:19:07 +0000 (07:19 +0000)]
undef DEFSEP before defining it
Mark Valence [Sat, 10 Jun 2000 06:40:03 +0000 (06:40 +0000)]
Removed active_threads count and associated mutex/cond. Replaced with
ldap_pvt_thread_pool_backload() as needed. All tests run OK on pthre
ads (linux), cthreads, NT threads, and Pth.
Mark Valence [Sat, 10 Jun 2000 04:12:49 +0000 (04:12 +0000)]
Fix a race condition by removing (unnecessary) unlock/yield/lock.
Mark Valence [Sat, 10 Jun 2000 02:06:27 +0000 (02:06 +0000)]
Fix make install when build dir is not main ldap dir.
Mark Valence [Sat, 10 Jun 2000 01:39:05 +0000 (01:39 +0000)]
A little cleanup
Mark Valence [Sat, 10 Jun 2000 01:32:36 +0000 (01:32 +0000)]
Add ldap_back_group routine.
Kurt Zeilenga [Sat, 10 Jun 2000 00:17:55 +0000 (00:17 +0000)]
Fix LBER_MEMORY_DEBUG failed realloc bug
Kurt Zeilenga [Fri, 9 Jun 2000 23:09:51 +0000 (23:09 +0000)]
Update PF_INET6 and PF_UNIX detection, both default to auto
Kurt Zeilenga [Fri, 9 Jun 2000 17:42:40 +0000 (17:42 +0000)]
ITS#576: cause subdir make failure to halt subsequent making
Kurt Zeilenga [Fri, 9 Jun 2000 17:01:05 +0000 (17:01 +0000)]
Detect getaddrinfo
Kurt Zeilenga [Fri, 9 Jun 2000 17:00:22 +0000 (17:00 +0000)]
Additional IPv6 changes from Stig Venaas
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
Kurt Zeilenga [Fri, 9 Jun 2000 15:03:04 +0000 (15:03 +0000)]
Fix dependencies
Mark Valence [Fri, 9 Jun 2000 06:48:43 +0000 (06:48 +0000)]
Fix operator precedence bug.
Mark Valence [Fri, 9 Jun 2000 06:45:14 +0000 (06:45 +0000)]
Fix uninitialized var bug.
Kurt Zeilenga [Fri, 9 Jun 2000 06:24:10 +0000 (06:24 +0000)]
remove IA64 lint
Kurt Zeilenga [Fri, 9 Jun 2000 02:29:50 +0000 (02:29 +0000)]
Already in core (damn)
Kurt Zeilenga [Fri, 9 Jun 2000 02:29:00 +0000 (02:29 +0000)]
Add RFC 2589 schema
Kurt Zeilenga [Fri, 9 Jun 2000 02:09:11 +0000 (02:09 +0000)]
Import LDUP drafts and reimport poorly imported ldapext drafts
Kurt Zeilenga [Fri, 9 Jun 2000 00:55:56 +0000 (00:55 +0000)]
Regenerate with autoconf 2.13.1
Julio Sánchez Fernández [Fri, 9 Jun 2000 00:45:59 +0000 (00:45 +0000)]
Added maildap.
Julio Sánchez Fernández [Fri, 9 Jun 2000 00:43:24 +0000 (00:43 +0000)]
A few name changes.
Kurt Zeilenga [Fri, 9 Jun 2000 00:43:04 +0000 (00:43 +0000)]
Use CDPATH clearing mechanism borrowed from autoconf 2.14a
Kurt Zeilenga [Fri, 9 Jun 2000 00:34:52 +0000 (00:34 +0000)]
Regen
Kurt Zeilenga [Fri, 9 Jun 2000 00:32:02 +0000 (00:32 +0000)]
Clear CDPATH
Julio Sánchez Fernández [Fri, 9 Jun 2000 00:03:39 +0000 (00:03 +0000)]
The experimental mail500 has been renamed as maildap. This is an exact
copy of the code formerly in mail500, to properly track changes. An
exception is mail500.m4 that has been committed as maildap.m4 directly
to avoid breaking history twice.
Julio Sánchez Fernández [Thu, 8 Jun 2000 23:58:19 +0000 (23:58 +0000)]
The old mail500 is back restored as of 1999/06/30, plus a few updates
to put it in line with current practices. Most likely I got them wrong,
so maight not even compile right now.
Kurt Zeilenga [Thu, 8 Jun 2000 23:12:52 +0000 (23:12 +0000)]
Initialize peername with EOS.
Kurt Zeilenga [Thu, 8 Jun 2000 20:38:36 +0000 (20:38 +0000)]
Replace AuthMeth, StartTLS, and DIGEST-MD5 I-Ds with RFC
Kurt Zeilenga [Thu, 8 Jun 2000 18:38:17 +0000 (18:38 +0000)]
First cut new schema support.
Back-shell still doesn't support binary data, should use -lldif routines
Kurt Zeilenga [Thu, 8 Jun 2000 18:36:37 +0000 (18:36 +0000)]
Remove lint
Kurt Zeilenga [Thu, 8 Jun 2000 17:24:24 +0000 (17:24 +0000)]
Meantion new features
Kurt Zeilenga [Thu, 8 Jun 2000 17:11:57 +0000 (17:11 +0000)]
Apply Novell's IN_KERNEL support (ITS#576)
Mark Valence [Thu, 8 Jun 2000 06:55:04 +0000 (06:55 +0000)]
Added a yield or two for Pth.
Mark Valence [Thu, 8 Jun 2000 05:14:46 +0000 (05:14 +0000)]
Thread pools enabled again -- test008 passes on NT, cthreads, pthreads
(on Linux), with max_concurrency set to 0 (as many as needed), 1, 2,
and 3.
Kurt Zeilenga [Thu, 8 Jun 2000 03:12:14 +0000 (03:12 +0000)]
~ NULL was a bad idea.
Mark Valence [Thu, 8 Jun 2000 02:07:49 +0000 (02:07 +0000)]
Disable thread pooling while I fix the deadlock.
Kurt Zeilenga [Thu, 8 Jun 2000 01:08:01 +0000 (01:08 +0000)]
remove pointer v. int lint from ber_sockbuf_ctrl.
Kurt Zeilenga [Thu, 8 Jun 2000 00:29:32 +0000 (00:29 +0000)]
Really disable pthread rw locks
Kurt Zeilenga [Thu, 8 Jun 2000 00:26:00 +0000 (00:26 +0000)]
Disable pthread rwlock use til we sort out pool issues
Kurt Zeilenga [Wed, 7 Jun 2000 23:58:16 +0000 (23:58 +0000)]
Add missing -DNO_THREADS trylock and make minor change to TLS
in attempt to get it work with GNU PTH.
Kurt Zeilenga [Wed, 7 Jun 2000 23:43:56 +0000 (23:43 +0000)]
Add VLV/Sort controls (from Novell)
Kurt Zeilenga [Wed, 7 Jun 2000 19:39:49 +0000 (19:39 +0000)]
Add VLV and SortList Control API and related (and other) I-Ds
Mark Valence [Wed, 7 Jun 2000 19:27:33 +0000 (19:27 +0000)]
Use thread pool for operation threads.
Mark Valence [Wed, 7 Jun 2000 19:21:45 +0000 (19:21 +0000)]
Add thread pool routines.
Kurt Zeilenga [Wed, 7 Jun 2000 18:49:36 +0000 (18:49 +0000)]
Include <lber.h> to use ber_strdup(). (probably should create/use
macros LUTIL_STRDUP and friends).
Kurt Zeilenga [Wed, 7 Jun 2000 17:50:58 +0000 (17:50 +0000)]
Use ldap_pvt_url_scheme2tls() to test for ldaps://
Mark Valence [Wed, 7 Jun 2000 17:28:01 +0000 (17:28 +0000)]
ldap_is_ldaps_url takes a char *. Is there a better fix, since the ur
l is already parsed?
Kurt Zeilenga [Wed, 7 Jun 2000 14:18:09 +0000 (14:18 +0000)]
fix up stats/debug messages
Kurt Zeilenga [Wed, 7 Jun 2000 14:07:50 +0000 (14:07 +0000)]
Fix up debug statement as suggested by christian.lorenz@suse.de
Kurt Zeilenga [Wed, 7 Jun 2000 06:33:59 +0000 (06:33 +0000)]
Update a few misc docs
Kurt Zeilenga [Wed, 7 Jun 2000 05:17:29 +0000 (05:17 +0000)]
Use LDAP_VFREE and friends. Other misc code cleanup.
Kurt Zeilenga [Wed, 7 Jun 2000 01:34:00 +0000 (01:34 +0000)]
Add Pth specific r/w lock implementation.
Kurt Zeilenga [Wed, 7 Jun 2000 01:09:40 +0000 (01:09 +0000)]
Rework URI parser to provide true scheme not proto/properties.
Plus more pthread rwlock code
Kurt Zeilenga [Wed, 7 Jun 2000 00:28:35 +0000 (00:28 +0000)]
Use pthread rwlocks, if available
Kurt Zeilenga [Tue, 6 Jun 2000 23:46:45 +0000 (23:46 +0000)]
Fix typo in comment
Kurt Zeilenga [Tue, 6 Jun 2000 21:20:38 +0000 (21:20 +0000)]
Demonstrate how rdwr routines could be easily replaced.
Update comment with reference to publically available examples.
Kurt Zeilenga [Tue, 6 Jun 2000 20:23:22 +0000 (20:23 +0000)]
Basic IPv6 support...
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
Kurt Zeilenga [Tue, 6 Jun 2000 20:21:56 +0000 (20:21 +0000)]
Cleanup slapd.conf sed'ing
Kurt Zeilenga [Tue, 6 Jun 2000 20:00:14 +0000 (20:00 +0000)]
Additional unifdef'ing
Mark Valence [Tue, 6 Jun 2000 19:59:34 +0000 (19:59 +0000)]
In preparation for thread pools
Kurt Zeilenga [Tue, 6 Jun 2000 19:55:26 +0000 (19:55 +0000)]
Cleanup schema/data symlinks
Kurt Zeilenga [Tue, 6 Jun 2000 19:48:06 +0000 (19:48 +0000)]
Axe old schema files
Kurt Zeilenga [Tue, 6 Jun 2000 19:43:18 +0000 (19:43 +0000)]
unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT
Kurt Zeilenga [Tue, 6 Jun 2000 19:32:15 +0000 (19:32 +0000)]
Add presense indexing
Kurt Zeilenga [Tue, 6 Jun 2000 19:31:45 +0000 (19:31 +0000)]
remove init arg from attrs_index_config proto
Kurt Zeilenga [Tue, 6 Jun 2000 19:30:49 +0000 (19:30 +0000)]
Don't automatically index objectlclass eq, ineffective more than not
Kurt Zeilenga [Tue, 6 Jun 2000 07:57:41 +0000 (07:57 +0000)]
Remove old schema directives
Kurt Zeilenga [Tue, 6 Jun 2000 05:54:36 +0000 (05:54 +0000)]
Use err2txt for unknown error
Mark Valence [Tue, 6 Jun 2000 05:21:14 +0000 (05:21 +0000)]
Fix memory leak in new schema code.
Kurt Zeilenga [Tue, 6 Jun 2000 04:50:24 +0000 (04:50 +0000)]
Remove not to be implemented control.
Kurt Zeilenga [Tue, 6 Jun 2000 04:49:19 +0000 (04:49 +0000)]
Prepare for unifdef -DSLAPD_SCHEMA_NOT_COMPAT
Mark Valence [Tue, 6 Jun 2000 04:24:11 +0000 (04:24 +0000)]
Updated for schemas.
Kurt Zeilenga [Tue, 6 Jun 2000 02:12:58 +0000 (02:12 +0000)]
Don't include files moved to attic
Kurt Zeilenga [Tue, 6 Jun 2000 02:11:27 +0000 (02:11 +0000)]
Complete group ACL impl. under new schema code
Kurt Zeilenga [Tue, 6 Jun 2000 02:11:01 +0000 (02:11 +0000)]
Remove lint
Kurt Zeilenga [Tue, 6 Jun 2000 01:23:17 +0000 (01:23 +0000)]
Move experimental Back-BDB2 to Attic
Kurt Zeilenga [Tue, 6 Jun 2000 00:27:49 +0000 (00:27 +0000)]
(very) incomplete Digest-MD5 impl to Attic (until someone steps up
to the plate)
Kurt Zeilenga [Tue, 6 Jun 2000 00:23:50 +0000 (00:23 +0000)]
getbyname/getbyaddr should share mutex per ITS#563.
Patch provided by Steve @ Novell, thanks!
Kurt Zeilenga [Mon, 5 Jun 2000 23:56:26 +0000 (23:56 +0000)]
DNSSRV use res_query, not res_search
Update configure and depend --enable-dnssrv upon finding res_query
Update back-dnssrv to better handle ManageDSAit control
Kurt Zeilenga [Mon, 5 Jun 2000 20:07:02 +0000 (20:07 +0000)]
Remove support for DNS DNs (not to be confused with X.500 DN using
domainComponents (DC)).
Kurt Zeilenga [Mon, 5 Jun 2000 19:22:19 +0000 (19:22 +0000)]
remove old STR_TRANSLATION feature. The use of this feature
was only of limited use with LDAPv2 (worked okay if no non-T.61
values existed) but downright dangerous in the face of LDAPv3.
Any translation must be schema aware and the BER isn't.
Kurt Zeilenga [Mon, 5 Jun 2000 17:47:15 +0000 (17:47 +0000)]
Include core.schema, not old schema files
Kurt Zeilenga [Mon, 5 Jun 2000 16:18:48 +0000 (16:18 +0000)]
Use #ifdef, not #if
Kurt Zeilenga [Mon, 5 Jun 2000 07:48:57 +0000 (07:48 +0000)]
Fix up makefiles after removal of getdxname.c
Kurt Zeilenga [Mon, 5 Jun 2000 07:38:23 +0000 (07:38 +0000)]
A simple (and correct) backend group selection.
Kurt Zeilenga [Mon, 5 Jun 2000 07:19:09 +0000 (07:19 +0000)]
move --enable-dns (LDAP_API_FEATURE_X_OPENLDAP_V2_DNS) to Attic
Kurt Zeilenga [Mon, 5 Jun 2000 07:17:51 +0000 (07:17 +0000)]
Move old schema files to Attic.
SLAPD_SCHEMA_COMPAT *should* be able to use schema files
Mark Valence [Mon, 5 Jun 2000 06:00:15 +0000 (06:00 +0000)]
Fix broken non-schema build (var not defined).
Mark Valence [Mon, 5 Jun 2000 05:10:30 +0000 (05:10 +0000)]
Keep from ldbm_sync'ing a DBCache unless it has been changed.
Mark Valence [Mon, 5 Jun 2000 04:59:26 +0000 (04:59 +0000)]
Use "uri" directive (instead of "server") to specify server. Add "bin
ddn" and "bindpw" directives for supporting group lookups.
Mark Valence [Mon, 5 Jun 2000 04:34:59 +0000 (04:34 +0000)]
backend_group selects the correct backend for the group.