Commit Graph

8067 Commits

Author SHA1 Message Date
Howard Chu
4c760dfc18 Fix? For bdb_cache_find_entry*, COMMITTED entries are usable, not just
READY entries. This change eliminates a retry bottleneck, and looks safe
to me, but please review.
2003-02-22 12:39:49 +00:00
Howard Chu
fed4c24bea Added data for modrdn concurrency test 2003-02-22 12:14:03 +00:00
Howard Chu
858917d2ef Added new test slapd-modrdn - string-reverses the RDN of the given DNs,
then undoes the change.
2003-02-22 12:01:59 +00:00
Howard Chu
747265419d Change "goto leave" to "goto exit" to avoid DEC namespace pollution 2003-02-22 01:49:55 +00:00
Howard Chu
d3fafb16b2 Fix ITS#2319, use "," comma to delimit port number in rej filename
on Windows instead of ":" colon.
2003-02-22 01:14:24 +00:00
Kurt Zeilenga
4daeff0ef4 Add a few comments to the ITS#2325 fix 2003-02-21 19:39:09 +00:00
Kurt Zeilenga
c3a43e2c4f Round 2 2003-02-21 19:27:54 +00:00
Kurt Zeilenga
182f6e20c3 Add a safety value 2003-02-21 18:51:27 +00:00
Kurt Zeilenga
eb161745a4 A little cleanup of last 2 commits 2003-02-21 18:42:15 +00:00
Kurt Zeilenga
ed91ab4cbe Forgot to remove one prompts free 2003-02-21 18:41:05 +00:00
Kurt Zeilenga
9e984beded ITS#2325 fix: properly freeing prompts->results 2003-02-21 18:39:26 +00:00
Kurt Zeilenga
bc0cc3272c Whoops. (I'm reconsidering whether or not to accept the ITS#2325.) 2003-02-21 17:48:03 +00:00
Kurt Zeilenga
3fb4ae2abd Revert last commit 2003-02-21 17:46:11 +00:00
Kurt Zeilenga
2c939f7196 Back out interact free() fixes. Will fix properly in next commit. 2003-02-21 17:11:46 +00:00
Howard Chu
c756bf0590 Change - bdb_tool_entry_put always "sorts" entries:
instead of just calling bdb_next_id, it calls bdb_dn2id to see if the
    current entry already has an ID. If so, it uses it.
  if not, it recurses to see if its parent exists, and does dn2id_add from
    the database suffix back to the current entry.
2003-02-21 10:13:20 +00:00
Kurt Zeilenga
f620aa08f9 Max workers was lowered to 16. 2003-02-21 07:18:43 +00:00
Howard Chu
9c701c8861 Fix ITS#2320, check for NULL re->re_replicas 2003-02-21 02:14:46 +00:00
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