Kurt Zeilenga
13b63911a4
ITS#2318: unlink pid file (and args file)
2003-02-19 20:47:57 +00:00
Kurt Zeilenga
05619c6ec7
ITS#2236. Add missing connections_shutdown() call.
2003-02-19 20:39:04 +00:00
Kurt Zeilenga
fb73fea612
More understandable error text
2003-02-19 16:19:13 +00:00
Howard Chu
9f0598034e
Fix do/don't send result logic
2003-02-19 00:01:22 +00:00
Kurt Zeilenga
1a8a5dc544
Fix schema errors in tests
2003-02-17 21:36:17 +00:00
Kurt Zeilenga
6d6bed3bc0
Fix -ULDAP_CLIENT_UPDATE bug (mine)
2003-02-17 17:57:19 +00:00
Kurt Zeilenga
4d9a4174f5
Lower SLAP_MAX_WORKER_THREAD to 16 (from 32)
2003-02-17 17:36:01 +00:00
Howard Chu
fabbbafde9
Don't spawn threads based on ltp_pending_count, it doesn't get decremented
...
right away due to ltp_mutex still being held. Just see if all open threads
are active... Use cond_broadcast to signal all waiting threads. Make sure
to remove correct ctx from active list after the thread returns.
2003-02-17 12:10:41 +00:00
Howard Chu
979e5073cf
Revert previous kludge in controls.c, use ldap_pvt_thread_pool_context
...
instead if c_sasl_bindop is NULL.
2003-02-16 19:34:29 +00:00
Howard Chu
09585ad3d0
Kludge - set conn->c_sasl_bindop before calling slap_sasl_getdn, otherwise
...
op->o_threadctx is inaccessible.
2003-02-16 12:23:00 +00:00
Howard Chu
d6dab5dfb4
Suppress warning
2003-02-16 12:22:06 +00:00
Howard Chu
187f1d2ad4
Added proxy-whoami keyword for forwarding whoami requests.
2003-02-16 11:21:15 +00:00
Howard Chu
7f8f2ed7d9
Use bervals, use LDAP_CONTROL_PROXY_AUTHZ instead of proxied bind
2003-02-16 11:15:10 +00:00
Howard Chu
7e1a566391
Use struct berval * instead of ** for newpasswd
2003-02-16 09:42:04 +00:00
Howard Chu
7fffc027b3
Fix ber_scanf args
2003-02-16 09:30:45 +00:00
Howard Chu
532eea87c9
Added passwd_exop, added matchedDN rewrite for results.
2003-02-16 09:22:44 +00:00
Howard Chu
b4db079ac7
Fix ber_printf arguments
2003-02-16 08:37:19 +00:00
Howard Chu
65bf90ff73
Use struct berval for exop reqoid everywhere. Define berval constants
...
for the known exops.
2003-02-16 06:15:28 +00:00
Howard Chu
8f88bc1f8f
Free default_passwd_hash on cleanup
2003-02-16 06:13:34 +00:00
Kurt Zeilenga
4e1310c486
more cleanup
2003-02-15 18:20:37 +00:00
Kurt Zeilenga
552a9ab351
cleanup
2003-02-15 17:51:47 +00:00
Kurt Zeilenga
4ae637a08d
Update comment
2003-02-15 16:38:32 +00:00
Howard Chu
bbdc869d7a
Set stack size for created threads
2003-02-14 23:52:38 +00:00
Kurt Zeilenga
8ca394496b
Only install readahead layer when connectionless as
...
streams as streams may block.
2003-02-14 23:32:30 +00:00
Kurt Zeilenga
619f9a72ec
Fix typo in last commit
2003-02-14 23:14:19 +00:00
Howard Chu
1756206598
Use bdb_unlocked_cache_return; lock ended when TXN ended.
2003-02-14 22:30:07 +00:00
Kurt Zeilenga
1a14def903
Use function pointers to get at backend routines.
2003-02-14 20:51:35 +00:00
Howard Chu
8dac33b6c3
Fix previous commit
2003-02-14 10:27:39 +00:00
Howard Chu
c04f3e7706
Fix previous commit
2003-02-14 09:17:42 +00:00
Howard Chu
0b6772492f
Use extended async APIs to allow direct parsing of results. Otherwise
...
they will be interleaved in LDAP*. Avoid setting any options on the handle.
2003-02-14 05:23:45 +00:00
Howard Chu
4bde125560
Change "-Ddef" example to something harmless and hopefully more obvious.
2003-02-13 23:58:54 +00:00
Howard Chu
202cf8af75
Implemented connection pooling. Requires libldap_r to allow multiple threads
...
to access the same LDAP* handle.
2003-02-13 23:29:56 +00:00
Howard Chu
b228caa723
Revert previous, wasn't broken.
2003-02-13 23:19:51 +00:00
Howard Chu
1128bc63b7
Fix typo in peercred DN. Make it agree with actual name used by slapd
...
just to avoid confusion.
2003-02-13 23:11:30 +00:00
Howard Chu
844cc97928
More for re-entrant LDAP* handles. Works much better.
2003-02-13 23:02:31 +00:00
Kurt Zeilenga
074b1a0d3a
Place SLAP_EXTENDED_SCHEMA behind defined(LDAP_DEVEL)
2003-02-13 20:47:46 +00:00
Howard Chu
a6b3a92cc5
Added ld_req_mutex and ld_res_mutex to protect ld_requests and ld_responses
...
queues for multithreaded access to LDAP*'s. Also used to protect writes and
reads of ld_sb, respectively. Appears to work...
2003-02-13 10:43:16 +00:00
Howard Chu
568829d821
Fix uninit'd timeout value
2003-02-13 10:24:32 +00:00
Howard Chu
04c2de7cdc
Added support for "-H" arg with LDAP uri / ldap_initialize
2003-02-13 08:02:40 +00:00
Pierangelo Masarati
262d021ecf
minor cleanup
2003-02-11 09:23:28 +00:00
Pierangelo Masarati
628bcc7174
improve error handling
2003-02-10 22:34:06 +00:00
Pierangelo Masarati
1db0725502
partially fix ITS#2310
2003-02-10 21:37:30 +00:00
Kurt Zeilenga
85fe59c830
Misc updates
2003-02-10 20:33:49 +00:00
Kurt Zeilenga
22215a396c
Remove lint
2003-02-10 19:59:32 +00:00
Pierangelo Masarati
06b981429a
fix ITS#2309
2003-02-10 18:15:36 +00:00
Howard Chu
a667cd989b
Fix undef'd code for empty attributes.
2003-02-10 07:41:30 +00:00
Kurt Zeilenga
2bf2cb63ba
Use existing --enable-dynamic flag to unset -static.
...
May break NT use of flag...
2003-02-10 06:36:08 +00:00
Kurt Zeilenga
aaf253318b
Move include <slapi.h> behind #ifdef
2003-02-10 02:09:00 +00:00
Kurt Zeilenga
29304f0cee
s/LDAP_SUCCESS/LDAP_OPT_SUCCESS/
2003-02-10 01:48:04 +00:00
Kurt Zeilenga
8c79e4b7c3
Add library version check to prevent mismatch during dynamic linking
2003-02-10 01:43:41 +00:00