]> git.sur5r.net Git - openldap/log
openldap
21 years agoDelete extraneous log msg
Howard Chu [Wed, 26 Feb 2003 12:57:15 +0000 (12:57 +0000)]
Delete extraneous log msg

21 years agoOnly check opinfo.boi_err when ACL check failed.
Howard Chu [Wed, 26 Feb 2003 12:49:21 +0000 (12:49 +0000)]
Only check opinfo.boi_err when ACL check failed.

21 years agoFix attribute/group to allow TXN to abort on lock failure. Save and
Howard Chu [Wed, 26 Feb 2003 12:09:10 +0000 (12:09 +0000)]
Fix attribute/group to allow TXN to abort on lock failure. Save and
restore op->o_do_not_cache on TXN retry, bdb_group will set it if it
fails to get a lock.

21 years agoDon't need TXN/opinfo support in read-only operations
Howard Chu [Wed, 26 Feb 2003 11:45:30 +0000 (11:45 +0000)]
Don't need TXN/opinfo support in read-only operations

21 years agoITS#2122 - actually use the passed in txn handle!!
Howard Chu [Wed, 26 Feb 2003 10:48:02 +0000 (10:48 +0000)]
ITS#2122 - actually use the passed in txn handle!!

21 years agobdb_entry_return must explicitly check for/free attr nvals.
Howard Chu [Wed, 26 Feb 2003 10:10:13 +0000 (10:10 +0000)]
bdb_entry_return must explicitly check for/free attr nvals.

21 years agoFix previous commit
Howard Chu [Wed, 26 Feb 2003 09:59:08 +0000 (09:59 +0000)]
Fix previous commit

21 years agoFix modify_delete_values. This stuff should be completely rewritten
Howard Chu [Wed, 26 Feb 2003 09:55:07 +0000 (09:55 +0000)]
Fix modify_delete_values. This stuff should be completely rewritten
to take full advantage of SLAP_NVALUES.

21 years agoIn slap_mods_check, must null-terminate sm_nvalues array
Howard Chu [Wed, 26 Feb 2003 09:24:01 +0000 (09:24 +0000)]
In slap_mods_check, must null-terminate sm_nvalues array

21 years agoIn entry_decode, must null-terminate a_nvals array
Howard Chu [Wed, 26 Feb 2003 09:11:56 +0000 (09:11 +0000)]
In entry_decode, must null-terminate a_nvals array

21 years agoSync with MR flags in slap.h
Howard Chu [Wed, 26 Feb 2003 08:40:33 +0000 (08:40 +0000)]
Sync with MR flags in slap.h

21 years agoSLAP_NVALUES, round 3
Kurt Zeilenga [Wed, 26 Feb 2003 07:39:30 +0000 (07:39 +0000)]
SLAP_NVALUES, round 3

21 years agoFix -USLAP_NVALUES
Kurt Zeilenga [Wed, 26 Feb 2003 03:12:02 +0000 (03:12 +0000)]
Fix -USLAP_NVALUES

21 years agoChange MR flag names and add comments as to what they mean to slap.h
Kurt Zeilenga [Wed, 26 Feb 2003 02:55:28 +0000 (02:55 +0000)]
Change MR flag names and add comments as to what they mean to slap.h

21 years agoSLAP_NVALUE more add tweaks
Kurt Zeilenga [Wed, 26 Feb 2003 01:57:07 +0000 (01:57 +0000)]
SLAP_NVALUE more add tweaks

21 years agoSLAP_NVALUES mostly populated now
Kurt Zeilenga [Wed, 26 Feb 2003 01:41:22 +0000 (01:41 +0000)]
SLAP_NVALUES mostly populated now

21 years agoPopulate nvals via entry_decode
Kurt Zeilenga [Wed, 26 Feb 2003 01:09:20 +0000 (01:09 +0000)]
Populate nvals via entry_decode

21 years agoSLAP_BVALUES fixes
Kurt Zeilenga [Wed, 26 Feb 2003 00:48:37 +0000 (00:48 +0000)]
SLAP_BVALUES fixes

21 years agoWhoops, SLAP_NVALUES should be off for now
Kurt Zeilenga [Tue, 25 Feb 2003 23:46:40 +0000 (23:46 +0000)]
Whoops, SLAP_NVALUES should be off for now

21 years ago*** empty log message ***
Kurt Zeilenga [Tue, 25 Feb 2003 23:16:21 +0000 (23:16 +0000)]
*** empty log message ***

21 years agoSLAP_NVALUES: fix up modify password exop
Kurt Zeilenga [Tue, 25 Feb 2003 22:57:53 +0000 (22:57 +0000)]
SLAP_NVALUES: fix up modify password exop

21 years agoSLAP_NVALUES, round 2
Kurt Zeilenga [Tue, 25 Feb 2003 22:49:41 +0000 (22:49 +0000)]
SLAP_NVALUES, round 2

21 years agoSLAP_NVALUES back-monitor temporary hack
Kurt Zeilenga [Tue, 25 Feb 2003 21:19:42 +0000 (21:19 +0000)]
SLAP_NVALUES back-monitor temporary hack

21 years agolog message fix
Jong Hyuk Choi [Tue, 25 Feb 2003 21:15:26 +0000 (21:15 +0000)]
log message fix

21 years agoRound one of SLAP_NVALUES code
Kurt Zeilenga [Tue, 25 Feb 2003 21:08:48 +0000 (21:08 +0000)]
Round one of SLAP_NVALUES code

21 years agoFix monitorContext description
Kurt Zeilenga [Tue, 25 Feb 2003 20:41:28 +0000 (20:41 +0000)]
Fix monitorContext description

21 years agoAdditional indexer normalization (need to check all Indexers)
Kurt Zeilenga [Tue, 25 Feb 2003 19:21:18 +0000 (19:21 +0000)]
Additional indexer normalization (need to check all Indexers)

21 years agoAdd test for " jensen " indexing bug
Kurt Zeilenga [Tue, 25 Feb 2003 19:02:21 +0000 (19:02 +0000)]
Add test for " jensen " indexing bug

21 years agoQuick (and incomplete) fix to " foo " indexing
Kurt Zeilenga [Tue, 25 Feb 2003 19:01:33 +0000 (19:01 +0000)]
Quick (and incomplete) fix to " foo " indexing

21 years agoAdd comment about subschema ACLs
Kurt Zeilenga [Tue, 25 Feb 2003 19:00:59 +0000 (19:00 +0000)]
Add comment about subschema ACLs

21 years agoclarify global ACL use
Kurt Zeilenga [Mon, 24 Feb 2003 19:53:03 +0000 (19:53 +0000)]
clarify global ACL use
clarify root and subschema DSE ACLs

21 years agoMisc tweaks
Kurt Zeilenga [Mon, 24 Feb 2003 17:15:31 +0000 (17:15 +0000)]
Misc tweaks

21 years agoSome dn.regex clarifications
Kurt Zeilenga [Sun, 23 Feb 2003 19:38:32 +0000 (19:38 +0000)]
Some dn.regex clarifications

21 years agoAnother odd modify test
Kurt Zeilenga [Sat, 22 Feb 2003 15:55:08 +0000 (15:55 +0000)]
Another odd modify test

21 years agoA tests for a few allowed oddities
Kurt Zeilenga [Sat, 22 Feb 2003 15:42:42 +0000 (15:42 +0000)]
A tests for a few allowed oddities

21 years agoUncomment sleep(1), unintended from previous commit.
Howard Chu [Sat, 22 Feb 2003 12:55:05 +0000 (12:55 +0000)]
Uncomment sleep(1), unintended from previous commit.

21 years agoFix? For bdb_cache_find_entry*, COMMITTED entries are usable, not just
Howard Chu [Sat, 22 Feb 2003 12:39:49 +0000 (12:39 +0000)]
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.

21 years agoAdded data for modrdn concurrency test
Howard Chu [Sat, 22 Feb 2003 12:14:03 +0000 (12:14 +0000)]
Added data for modrdn concurrency test

21 years agoAdded new test slapd-modrdn - string-reverses the RDN of the given DNs,
Howard Chu [Sat, 22 Feb 2003 12:01:59 +0000 (12:01 +0000)]
Added new test slapd-modrdn - string-reverses the RDN of the given DNs,
then undoes the change.

21 years agoChange "goto leave" to "goto exit" to avoid DEC namespace pollution
Howard Chu [Sat, 22 Feb 2003 01:49:55 +0000 (01:49 +0000)]
Change "goto leave" to "goto exit" to avoid DEC namespace pollution

21 years agoFix ITS#2319, use "," comma to delimit port number in rej filename
Howard Chu [Sat, 22 Feb 2003 01:14:24 +0000 (01:14 +0000)]
Fix ITS#2319, use "," comma to delimit port number in rej filename
on Windows instead of ":" colon.

21 years agoAdd a few comments to the ITS#2325 fix
Kurt Zeilenga [Fri, 21 Feb 2003 19:39:09 +0000 (19:39 +0000)]
Add a few comments to the ITS#2325 fix

21 years agoRound 2
Kurt Zeilenga [Fri, 21 Feb 2003 19:27:54 +0000 (19:27 +0000)]
Round 2

21 years agoAdd a safety value
Kurt Zeilenga [Fri, 21 Feb 2003 18:51:27 +0000 (18:51 +0000)]
Add a safety value

21 years agoA little cleanup of last 2 commits
Kurt Zeilenga [Fri, 21 Feb 2003 18:42:15 +0000 (18:42 +0000)]
A little cleanup of last 2 commits

21 years agoForgot to remove one prompts free
Kurt Zeilenga [Fri, 21 Feb 2003 18:41:05 +0000 (18:41 +0000)]
Forgot to remove one prompts free

21 years agoITS#2325 fix: properly freeing prompts->results
Kurt Zeilenga [Fri, 21 Feb 2003 18:39:26 +0000 (18:39 +0000)]
ITS#2325 fix: properly freeing prompts->results

21 years agoWhoops. (I'm reconsidering whether or not to accept the ITS#2325.)
Kurt Zeilenga [Fri, 21 Feb 2003 17:48:03 +0000 (17:48 +0000)]
Whoops.  (I'm reconsidering whether or not to accept the ITS#2325.)

21 years agoRevert last commit
Kurt Zeilenga [Fri, 21 Feb 2003 17:46:11 +0000 (17:46 +0000)]
Revert last commit

21 years agoBack out interact free() fixes. Will fix properly in next commit.
Kurt Zeilenga [Fri, 21 Feb 2003 17:11:46 +0000 (17:11 +0000)]
Back out interact free() fixes.  Will fix properly in next commit.

21 years agoChange - bdb_tool_entry_put always "sorts" entries:
Howard Chu [Fri, 21 Feb 2003 10:13:20 +0000 (10:13 +0000)]
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.

21 years agoMax workers was lowered to 16.
Kurt Zeilenga [Fri, 21 Feb 2003 07:18:43 +0000 (07:18 +0000)]
Max workers was lowered to 16.

21 years agoFix ITS#2320, check for NULL re->re_replicas
Howard Chu [Fri, 21 Feb 2003 02:14:46 +0000 (02:14 +0000)]
Fix ITS#2320, check for NULL re->re_replicas

21 years agoITS#2318: unlink pid file (and args file)
Kurt Zeilenga [Wed, 19 Feb 2003 20:47:57 +0000 (20:47 +0000)]
ITS#2318: unlink pid file (and args file)

21 years agoITS#2236. Add missing connections_shutdown() call.
Kurt Zeilenga [Wed, 19 Feb 2003 20:39:04 +0000 (20:39 +0000)]
ITS#2236.  Add missing connections_shutdown() call.

21 years agoMore understandable error text
Kurt Zeilenga [Wed, 19 Feb 2003 16:19:13 +0000 (16:19 +0000)]
More understandable error text

21 years agoFix do/don't send result logic
Howard Chu [Wed, 19 Feb 2003 00:01:22 +0000 (00:01 +0000)]
Fix do/don't send result logic

21 years agoFix schema errors in tests
Kurt Zeilenga [Mon, 17 Feb 2003 21:36:17 +0000 (21:36 +0000)]
Fix schema errors in tests

21 years agoFix -ULDAP_CLIENT_UPDATE bug (mine)
Kurt Zeilenga [Mon, 17 Feb 2003 17:57:19 +0000 (17:57 +0000)]
Fix -ULDAP_CLIENT_UPDATE bug (mine)

21 years agoLower SLAP_MAX_WORKER_THREAD to 16 (from 32)
Kurt Zeilenga [Mon, 17 Feb 2003 17:36:01 +0000 (17:36 +0000)]
Lower SLAP_MAX_WORKER_THREAD to 16 (from 32)

21 years agoDon't spawn threads based on ltp_pending_count, it doesn't get decremented
Howard Chu [Mon, 17 Feb 2003 12:10:41 +0000 (12:10 +0000)]
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.

21 years agoRevert previous kludge in controls.c, use ldap_pvt_thread_pool_context
Howard Chu [Sun, 16 Feb 2003 19:34:29 +0000 (19:34 +0000)]
Revert previous kludge in controls.c, use ldap_pvt_thread_pool_context
instead if c_sasl_bindop is NULL.

21 years agoKludge - set conn->c_sasl_bindop before calling slap_sasl_getdn, otherwise
Howard Chu [Sun, 16 Feb 2003 12:23:00 +0000 (12:23 +0000)]
Kludge - set conn->c_sasl_bindop before calling slap_sasl_getdn, otherwise
op->o_threadctx is inaccessible.

21 years agoSuppress warning
Howard Chu [Sun, 16 Feb 2003 12:22:06 +0000 (12:22 +0000)]
Suppress warning

21 years agoAdded proxy-whoami keyword for forwarding whoami requests.
Howard Chu [Sun, 16 Feb 2003 11:21:15 +0000 (11:21 +0000)]
Added proxy-whoami keyword for forwarding whoami requests.

21 years agoUse bervals, use LDAP_CONTROL_PROXY_AUTHZ instead of proxied bind
Howard Chu [Sun, 16 Feb 2003 11:15:10 +0000 (11:15 +0000)]
Use bervals, use LDAP_CONTROL_PROXY_AUTHZ instead of proxied bind

21 years agoUse struct berval * instead of ** for newpasswd
Howard Chu [Sun, 16 Feb 2003 09:42:04 +0000 (09:42 +0000)]
Use struct berval * instead of ** for newpasswd

21 years agoFix ber_scanf args
Howard Chu [Sun, 16 Feb 2003 09:30:45 +0000 (09:30 +0000)]
Fix ber_scanf args

21 years agoAdded passwd_exop, added matchedDN rewrite for results.
Howard Chu [Sun, 16 Feb 2003 09:22:44 +0000 (09:22 +0000)]
Added passwd_exop, added matchedDN rewrite for results.

21 years agoFix ber_printf arguments
Howard Chu [Sun, 16 Feb 2003 08:37:19 +0000 (08:37 +0000)]
Fix ber_printf arguments

21 years agoUse struct berval for exop reqoid everywhere. Define berval constants
Howard Chu [Sun, 16 Feb 2003 06:15:28 +0000 (06:15 +0000)]
Use struct berval for exop reqoid everywhere. Define berval constants
for the known exops.

21 years agoFree default_passwd_hash on cleanup
Howard Chu [Sun, 16 Feb 2003 06:13:34 +0000 (06:13 +0000)]
Free default_passwd_hash on cleanup

21 years agomore cleanup
Kurt Zeilenga [Sat, 15 Feb 2003 18:20:37 +0000 (18:20 +0000)]
more cleanup

21 years agocleanup
Kurt Zeilenga [Sat, 15 Feb 2003 17:51:47 +0000 (17:51 +0000)]
cleanup

21 years agoUpdate comment
Kurt Zeilenga [Sat, 15 Feb 2003 16:38:32 +0000 (16:38 +0000)]
Update comment

21 years agoSet stack size for created threads
Howard Chu [Fri, 14 Feb 2003 23:52:38 +0000 (23:52 +0000)]
Set stack size for created threads

21 years agoOnly install readahead layer when connectionless as
Kurt Zeilenga [Fri, 14 Feb 2003 23:32:30 +0000 (23:32 +0000)]
Only install readahead layer when connectionless as
streams as streams may block.

21 years agoFix typo in last commit
Kurt Zeilenga [Fri, 14 Feb 2003 23:14:19 +0000 (23:14 +0000)]
Fix typo in last commit

21 years agoUse bdb_unlocked_cache_return; lock ended when TXN ended.
Howard Chu [Fri, 14 Feb 2003 22:30:07 +0000 (22:30 +0000)]
Use bdb_unlocked_cache_return; lock ended when TXN ended.

21 years agoUse function pointers to get at backend routines.
Kurt Zeilenga [Fri, 14 Feb 2003 20:51:35 +0000 (20:51 +0000)]
Use function pointers to get at backend routines.

21 years agoFix previous commit
Howard Chu [Fri, 14 Feb 2003 10:27:39 +0000 (10:27 +0000)]
Fix previous commit

21 years agoFix previous commit
Howard Chu [Fri, 14 Feb 2003 09:17:42 +0000 (09:17 +0000)]
Fix previous commit

21 years agoUse extended async APIs to allow direct parsing of results. Otherwise
Howard Chu [Fri, 14 Feb 2003 05:23:45 +0000 (05:23 +0000)]
Use extended async APIs to allow direct parsing of results. Otherwise
they will be interleaved in LDAP*. Avoid setting any options on the handle.

21 years agoChange "-Ddef" example to something harmless and hopefully more obvious.
Howard Chu [Thu, 13 Feb 2003 23:58:54 +0000 (23:58 +0000)]
Change "-Ddef" example to something harmless and hopefully more obvious.

21 years agoImplemented connection pooling. Requires libldap_r to allow multiple threads
Howard Chu [Thu, 13 Feb 2003 23:29:56 +0000 (23:29 +0000)]
Implemented connection pooling. Requires libldap_r to allow multiple threads
to access the same LDAP* handle.

21 years agoRevert previous, wasn't broken.
Howard Chu [Thu, 13 Feb 2003 23:19:51 +0000 (23:19 +0000)]
Revert previous, wasn't broken.

21 years agoFix typo in peercred DN. Make it agree with actual name used by slapd
Howard Chu [Thu, 13 Feb 2003 23:11:30 +0000 (23:11 +0000)]
Fix typo in peercred DN. Make it agree with actual name used by slapd
just to avoid confusion.

21 years agoMore for re-entrant LDAP* handles. Works much better.
Howard Chu [Thu, 13 Feb 2003 23:02:31 +0000 (23:02 +0000)]
More for re-entrant LDAP* handles. Works much better.

21 years agoPlace SLAP_EXTENDED_SCHEMA behind defined(LDAP_DEVEL)
Kurt Zeilenga [Thu, 13 Feb 2003 20:47:46 +0000 (20:47 +0000)]
Place SLAP_EXTENDED_SCHEMA behind defined(LDAP_DEVEL)

21 years agoAdded ld_req_mutex and ld_res_mutex to protect ld_requests and ld_responses
Howard Chu [Thu, 13 Feb 2003 10:43:16 +0000 (10:43 +0000)]
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...

21 years agoFix uninit'd timeout value
Howard Chu [Thu, 13 Feb 2003 10:24:32 +0000 (10:24 +0000)]
Fix uninit'd timeout value

21 years agoAdded support for "-H" arg with LDAP uri / ldap_initialize
Howard Chu [Thu, 13 Feb 2003 08:02:40 +0000 (08:02 +0000)]
Added support for "-H" arg with LDAP uri / ldap_initialize

21 years agominor cleanup
Pierangelo Masarati [Tue, 11 Feb 2003 09:23:28 +0000 (09:23 +0000)]
minor cleanup

21 years agoimprove error handling
Pierangelo Masarati [Mon, 10 Feb 2003 22:34:06 +0000 (22:34 +0000)]
improve error handling

21 years agopartially fix ITS#2310
Pierangelo Masarati [Mon, 10 Feb 2003 21:37:30 +0000 (21:37 +0000)]
partially fix ITS#2310

21 years agoMisc updates
Kurt Zeilenga [Mon, 10 Feb 2003 20:33:49 +0000 (20:33 +0000)]
Misc updates

21 years agoRemove lint
Kurt Zeilenga [Mon, 10 Feb 2003 19:59:32 +0000 (19:59 +0000)]
Remove lint

21 years agofix ITS#2309
Pierangelo Masarati [Mon, 10 Feb 2003 18:15:36 +0000 (18:15 +0000)]
fix ITS#2309

21 years agoFix undef'd code for empty attributes.
Howard Chu [Mon, 10 Feb 2003 07:41:30 +0000 (07:41 +0000)]
Fix undef'd code for empty attributes.

21 years agoUse existing --enable-dynamic flag to unset -static.
Kurt Zeilenga [Mon, 10 Feb 2003 06:36:08 +0000 (06:36 +0000)]
Use existing --enable-dynamic flag to unset -static.
May break NT use of flag...