Kurt Zeilenga
85c2a7a2a8
Update NT build to include recently added SASL sources.
2000-07-13 23:43:24 +00:00
Kurt Zeilenga
5fc22599e2
Update SASL code to reuse context through life of session.
...
Replace 'negotiated' with 'interactive' bind
Add hooks for SASL/EXTERNAL
Disable SASL security layers
Rework SASL command line and config file parameters
2000-07-13 22:54:38 +00:00
Kurt Zeilenga
821f0e17f2
Fix get/set conconcurrency routines under Solaris
2000-07-06 17:21:21 +00:00
Mark Valence
c1223a70e6
Added NO_THREADS version of ldap_pvt_thread_pool_maxthreads
2000-07-05 17:36:58 +00:00
Mark Valence
d4d03e36e5
Added "threads" config to slapd.conf.
2000-07-04 19:24:13 +00:00
Kurt Zeilenga
e2fa599482
Move old files to the Attic
2000-06-25 22:01:42 +00:00
Mark Valence
719b945c78
Fix for thread/fork problem. Don't start a worker thread until one is
...
needed.
2000-06-21 06:09:45 +00:00
Kurt Zeilenga
9ef1a740c2
Round one of LDAP_F() macro changes. In this round we rename
...
macros into our namespace and limit use to headers. A subsequent
round will add macros to separately handle forward declarations
of variables from declaration of function prototypes. The last
round will add additional macros for declaring actual variables and
functions.
2000-06-18 19:48:07 +00:00
Mark Valence
54f7e85770
Put cond_signal loop inside of mutex'ed area to fix race bug (seen on
...
Digital OSF 4.0e on an Alpha?)
2000-06-18 05:56:17 +00:00
Kurt Zeilenga
e393afaeec
Kill LinuxThreads clones
2000-06-17 18:49:25 +00:00
Kurt Zeilenga
35e77f88be
Add asserts aliasing debugging purposes.
2000-06-16 21:25:03 +00:00
Kurt Zeilenga
63d05c74f4
Fix up NT port after thread changes
2000-06-13 20:43:59 +00:00
Kurt Zeilenga
ec426532b2
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.
2000-06-13 02:42:13 +00:00
Kurt Zeilenga
a56c161bdb
Misc code cleanup.
2000-06-10 22:39:30 +00:00
Kurt Zeilenga
89d7b86178
Add sort/vlv controls
2000-06-10 17:28:09 +00:00
Mark Valence
1f4b174c37
Fix a race condition by removing (unnecessary) unlock/yield/lock.
2000-06-10 04:12:49 +00:00
Mark Valence
d6ee9542ec
A little cleanup
2000-06-10 01:39:05 +00:00
Mark Valence
3c0e4d35a1
Added a yield or two for Pth.
2000-06-08 06:55:04 +00:00
Mark Valence
a1a78cd2e8
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.
2000-06-08 05:14:46 +00:00
Mark Valence
da355b317e
Disable thread pooling while I fix the deadlock.
2000-06-08 02:07:49 +00:00
Kurt Zeilenga
e68b429d45
Really disable pthread rw locks
2000-06-08 00:29:32 +00:00
Kurt Zeilenga
0eb19657fa
Add missing -DNO_THREADS trylock and make minor change to TLS
...
in attempt to get it work with GNU PTH.
2000-06-07 23:58:16 +00:00
Kurt Zeilenga
22b8b60e49
Add VLV and SortList Control API and related (and other) I-Ds
2000-06-07 19:39:49 +00:00
Mark Valence
33f4955c07
Add thread pool routines.
2000-06-07 19:21:45 +00:00
Kurt Zeilenga
107e99e302
Add Pth specific r/w lock implementation.
2000-06-07 01:34:00 +00:00
Kurt Zeilenga
f192014c1a
Use pthread rwlocks, if available
2000-06-07 00:28:35 +00:00
Kurt Zeilenga
93a3f4e7b1
Fix typo in comment
2000-06-06 23:46:45 +00:00
Kurt Zeilenga
5cc86c1745
Demonstrate how rdwr routines could be easily replaced.
...
Update comment with reference to publically available examples.
2000-06-06 21:20:38 +00:00
Mark Valence
72bf2552eb
In preparation for thread pools
2000-06-06 19:59:34 +00:00
Kurt Zeilenga
c1002301d5
Don't include files moved to attic
2000-06-06 02:12:58 +00:00
Kurt Zeilenga
252ccfddbc
(very) incomplete Digest-MD5 impl to Attic (until someone steps up
...
to the plate)
2000-06-06 00:27:49 +00:00
Kurt Zeilenga
c1117666b1
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.
2000-06-05 19:22:19 +00:00
Kurt Zeilenga
921d24cf3a
Fix up makefiles after removal of getdxname.c
2000-06-05 07:48:57 +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
3e82a5309b
Add missing copyright notices
2000-05-13 02:43:19 +00:00
Kurt Zeilenga
29d9fa20a2
Y2k copyright update
2000-05-13 02:36:07 +00:00
Howard Chu
a556140e65
Fix for systems like AIX where pthread_create creates Detached by default
2000-05-11 09:51:24 +00:00
Howard Chu
588b23cd1c
Fix dynamic linking dependencies for NT and Unix
2000-05-11 09:49:40 +00:00
Kurt Zeilenga
d0555fffe6
Error handling changes including separation of client v. server
...
SASL to LDAP translation. plus comments and other minor changes
2000-05-03 18:59:58 +00:00
Kurt Zeilenga
274bf59441
replace ldap_dnssrv_init() with lower level calls
...
ldap_domain2dn()
ldap_domain2hostlist()
and provide prototype to soon-to-be-implemented
ldap_dn2domain().
ldap_dnssrv_init(), if needed, can easily be implemented
using ldap_create(), ldap_set_option() and the above
commands.
2000-04-25 10:38:03 +00:00
Kurt Zeilenga
db662b516f
Fix NT builds and remove lint
2000-03-13 19:30:14 +00:00
Kurt Zeilenga
c044b2a667
Remove race condition noted in ITS#216.
2000-03-11 00:58:10 +00:00
Kurt Zeilenga
11c92c8fc8
Last change actually broke VPATH support
2000-01-28 21:38:18 +00:00
Kurt Zeilenga
106ec28414
Fix VPATH support.
2000-01-28 21:32:42 +00:00
Kurt Zeilenga
f3cb97e973
Add utf-8 to MSVC projects and remove lint.
2000-01-25 20:22:17 +00:00
Kurt Zeilenga
23afcd5c6e
Initial UTF-8 routines.
2000-01-22 01:55:34 +00:00
Luke Howard
a466a64318
Added support for connecting to LDAP servers located using DNS
...
SRV records. Added lock around resolver library which is shared
by the DNS SRV code and the getdxbyname() code.
2000-01-03 02:33:22 +00:00
Luke Howard
9b4e3b2234
Merged in preliminary support for Cyrus SASL library;
...
support for DCE slash-delimited, left-to-right DNs;
support for a domain socket transport (enable with
--enable-ldapi); and extensions to URL parsing to
support the latter transport.
2000-01-02 01:21:25 +00:00
Howard Chu
d92d403a76
NT requires $(SECURITY_LIBS) at link time.
1999-12-26 00:11:14 +00:00
Kurt Zeilenga
fd9f76f911
Fix reader/writer bug that allowed 2 writers! Yiks.
...
Reported by tsarna@endicor.com
1999-12-08 23:54:33 +00:00