]> git.sur5r.net Git - openldap/log
openldap
17 years agobetter handling of critical conditions
Pierangelo Masarati [Mon, 8 Jan 2007 21:37:45 +0000 (21:37 +0000)]
better handling of critical conditions

17 years agosyncrepl inherits default TLS settings from main slapd config
Howard Chu [Mon, 8 Jan 2007 20:38:42 +0000 (20:38 +0000)]
syncrepl inherits default TLS settings from main slapd config

17 years agoMake syncrepl inherit default TLS settings from main slapd config (except
Howard Chu [Mon, 8 Jan 2007 20:16:45 +0000 (20:16 +0000)]
Make syncrepl inherit default TLS settings from main slapd config (except
for reqcert, default demand)

17 years agoITS#4797
Howard Chu [Mon, 8 Jan 2007 19:10:23 +0000 (19:10 +0000)]
ITS#4797

17 years agofix idassert mode=self for anonymous operations (ITS#4798)
Pierangelo Masarati [Mon, 8 Jan 2007 18:34:59 +0000 (18:34 +0000)]
fix idassert mode=self for anonymous operations (ITS#4798)

17 years agofix response code mapping
Pierangelo Masarati [Mon, 8 Jan 2007 00:13:28 +0000 (00:13 +0000)]
fix response code mapping

17 years agobetter async connection and partial error handling
Pierangelo Masarati [Sun, 7 Jan 2007 22:06:13 +0000 (22:06 +0000)]
better async connection and partial error handling

17 years agohonor network timeout even when doing full async
Pierangelo Masarati [Sun, 7 Jan 2007 22:05:33 +0000 (22:05 +0000)]
honor network timeout even when doing full async

17 years agoFirst cut to truly async connect:
Pierangelo Masarati [Sun, 7 Jan 2007 19:20:46 +0000 (19:20 +0000)]
First cut to truly async connect:
- after connect(2), if async the connection is in "connecting" state
- the first time a request is sent, "connecting" conns are polled
- in case of success, the request is sent
- in case still connecting, LDAP_X_CONNECTING is returned;
  clients are expected to retry later
- the "async" behavior must be explicitly enabled by setting
  the LDAP_OPT_CONNECT_ASYNC option

"local" connections need work

17 years agodocument LDAP Sync API
Pierangelo Masarati [Sun, 7 Jan 2007 19:13:05 +0000 (19:13 +0000)]
document LDAP Sync API

17 years agodon't leave attrs with no values 'round; fix description
Pierangelo Masarati [Sun, 7 Jan 2007 18:53:09 +0000 (18:53 +0000)]
don't leave attrs with no values 'round; fix description

17 years agoimport of LDAP Sync client API
Pierangelo Masarati [Sat, 6 Jan 2007 18:28:32 +0000 (18:28 +0000)]
import of LDAP Sync client API

17 years agominor cleanup
Pierangelo Masarati [Sat, 6 Jan 2007 18:27:34 +0000 (18:27 +0000)]
minor cleanup

17 years agoself-document thread monitoring
Pierangelo Masarati [Sat, 6 Jan 2007 16:19:15 +0000 (16:19 +0000)]
self-document thread monitoring

17 years agocleanup ITS#4781 enhancement
Pierangelo Masarati [Sat, 6 Jan 2007 00:45:02 +0000 (00:45 +0000)]
cleanup ITS#4781 enhancement

17 years agoimprove disconnect handling
Pierangelo Masarati [Fri, 5 Jan 2007 16:18:42 +0000 (16:18 +0000)]
improve disconnect handling

17 years agounsolicited responses shouldn't necessarily end the connection
Pierangelo Masarati [Fri, 5 Jan 2007 15:23:39 +0000 (15:23 +0000)]
unsolicited responses shouldn't necessarily end the connection

17 years agocleanup
Pierangelo Masarati [Fri, 5 Jan 2007 10:34:32 +0000 (10:34 +0000)]
cleanup

17 years agoAvoid calling purge too often
Howard Chu [Fri, 5 Jan 2007 06:49:25 +0000 (06:49 +0000)]
Avoid calling purge too often

17 years agodisconnect without notice
Pierangelo Masarati [Thu, 4 Jan 2007 20:17:53 +0000 (20:17 +0000)]
disconnect without notice

17 years agoreturn unsolicited responses
Pierangelo Masarati [Thu, 4 Jan 2007 19:58:29 +0000 (19:58 +0000)]
return unsolicited responses

17 years agofix previous commit
Pierangelo Masarati [Thu, 4 Jan 2007 19:26:59 +0000 (19:26 +0000)]
fix previous commit

17 years agofix \& improve previous commit
Pierangelo Masarati [Thu, 4 Jan 2007 18:33:45 +0000 (18:33 +0000)]
fix \& improve previous commit

17 years agoimplement client-side handling of RFC 4511 unsolicited responses and "Notice of Disco...
Pierangelo Masarati [Thu, 4 Jan 2007 15:01:22 +0000 (15:01 +0000)]
implement client-side handling of RFC 4511 unsolicited responses and "Notice of Disconnect"

17 years agoPartially revert prev commit, fix lru_purge loop
Howard Chu [Thu, 4 Jan 2007 11:01:59 +0000 (11:01 +0000)]
Partially revert prev commit, fix lru_purge loop

17 years agoFix HDB - don't use IDL cache when it's not configured
Howard Chu [Thu, 4 Jan 2007 10:56:18 +0000 (10:56 +0000)]
Fix HDB - don't use IDL cache when it's not configured

17 years agoUnify use of BDB lockers
Howard Chu [Thu, 4 Jan 2007 08:36:59 +0000 (08:36 +0000)]
Unify use of BDB lockers

17 years agoFix prev commits...
Howard Chu [Thu, 4 Jan 2007 03:26:54 +0000 (03:26 +0000)]
Fix prev commits...

17 years agoSimpler fix
Howard Chu [Thu, 4 Jan 2007 03:17:59 +0000 (03:17 +0000)]
Simpler fix

17 years agoFix idl_cache teardown again - skip if cache is empty
Howard Chu [Thu, 4 Jan 2007 03:14:46 +0000 (03:14 +0000)]
Fix idl_cache teardown again - skip if cache is empty

17 years agoshortcut schema mapping if not configured
Pierangelo Masarati [Wed, 3 Jan 2007 21:35:18 +0000 (21:35 +0000)]
shortcut schema mapping if not configured

17 years agosilence warnings
Pierangelo Masarati [Wed, 3 Jan 2007 21:34:49 +0000 (21:34 +0000)]
silence warnings

17 years agoRemember our own success code in case an overlay changes it
Howard Chu [Wed, 3 Jan 2007 20:28:56 +0000 (20:28 +0000)]
Remember our own success code in case an overlay changes it

17 years agoJust return API errors to the frontend, don't attempt to send them.
Howard Chu [Wed, 3 Jan 2007 20:21:07 +0000 (20:21 +0000)]
Just return API errors to the frontend, don't attempt to send them.

17 years agoUse Clock algorithm for IDL cache too
Howard Chu [Wed, 3 Jan 2007 19:00:07 +0000 (19:00 +0000)]
Use Clock algorithm for IDL cache too

17 years agoDelete unused idl_cache_entry rwlock field
Howard Chu [Wed, 3 Jan 2007 05:36:49 +0000 (05:36 +0000)]
Delete unused idl_cache_entry rwlock field

17 years ago#if out unnecessary code in prev commit
Howard Chu [Wed, 3 Jan 2007 02:10:30 +0000 (02:10 +0000)]
#if out unnecessary code in prev commit

17 years agoTweak entry alignment, play with STRIPE/STRIDE definitions to test.
Howard Chu [Wed, 3 Jan 2007 02:06:06 +0000 (02:06 +0000)]
Tweak entry alignment, play with STRIPE/STRIDE definitions to test.

17 years agohappy new year
Kurt Zeilenga [Tue, 2 Jan 2007 22:47:14 +0000 (22:47 +0000)]
happy new year

17 years agoUse soelim to fix .so problem
Kurt Zeilenga [Tue, 2 Jan 2007 20:25:16 +0000 (20:25 +0000)]
Use soelim to fix .so problem
(Assumes soelim is generally available)

17 years agohappy new year
Kurt Zeilenga [Tue, 2 Jan 2007 20:00:42 +0000 (20:00 +0000)]
happy new year

17 years agoFWIW, SIGBREAK on Windows should only be ignored when running as a Service.
Howard Chu [Tue, 2 Jan 2007 10:10:16 +0000 (10:10 +0000)]
FWIW, SIGBREAK on Windows should only be ignored when running as a Service.

17 years agoRevert to ordering behavior of original attrs_free()
Howard Chu [Mon, 1 Jan 2007 13:42:36 +0000 (13:42 +0000)]
Revert to ordering behavior of original attrs_free()

17 years agoBypass a few redundant locks
Howard Chu [Mon, 1 Jan 2007 11:44:39 +0000 (11:44 +0000)]
Bypass a few redundant locks

17 years agoTweak cache_lru_print
Howard Chu [Mon, 1 Jan 2007 11:17:13 +0000 (11:17 +0000)]
Tweak cache_lru_print

17 years agoFix prev commit, hdb_cache_find_parent
Howard Chu [Mon, 1 Jan 2007 07:09:22 +0000 (07:09 +0000)]
Fix prev commit, hdb_cache_find_parent

17 years agoDrop unnecessary memset()s
Howard Chu [Mon, 1 Jan 2007 06:46:47 +0000 (06:46 +0000)]
Drop unnecessary memset()s

17 years agoFix typo in prev commit
Howard Chu [Mon, 1 Jan 2007 02:16:25 +0000 (02:16 +0000)]
Fix typo in prev commit

17 years agoFix prev commit
Howard Chu [Mon, 1 Jan 2007 01:07:57 +0000 (01:07 +0000)]
Fix prev commit

17 years agopartial revert - keep acquiring BDB lock in lru_purge.
Howard Chu [Mon, 1 Jan 2007 01:00:19 +0000 (01:00 +0000)]
partial revert - keep acquiring BDB lock in lru_purge.

17 years agoCleanup db_lock/unlock parameters
Howard Chu [Sun, 31 Dec 2006 23:37:06 +0000 (23:37 +0000)]
Cleanup db_lock/unlock parameters

17 years agoDitch LRU cache replacement in favor of 2nd-chance/clock.
Howard Chu [Sun, 31 Dec 2006 16:16:48 +0000 (16:16 +0000)]
Ditch LRU cache replacement in favor of 2nd-chance/clock.
Much better concurrency.

17 years agoDon't log EAGAIN returns from ber_get_next()
Howard Chu [Sun, 31 Dec 2006 16:15:45 +0000 (16:15 +0000)]
Don't log EAGAIN returns from ber_get_next()

17 years agoFix prev commit
Howard Chu [Sat, 30 Dec 2006 12:47:17 +0000 (12:47 +0000)]
Fix prev commit

17 years agoIn bdb_cache_add use a readlock outside the txn to protect the entry
Howard Chu [Sat, 30 Dec 2006 12:05:55 +0000 (12:05 +0000)]
In bdb_cache_add use a readlock outside the txn to protect the entry
until send_ldap_result completes.

17 years agoITS#4795 drop "disallow bind_simple_unprotected"...
Howard Chu [Sat, 30 Dec 2006 08:04:42 +0000 (08:04 +0000)]
ITS#4795 drop "disallow bind_simple_unprotected"...

17 years agostreamline attrs_free
Howard Chu [Fri, 29 Dec 2006 01:00:24 +0000 (01:00 +0000)]
streamline attrs_free

17 years agomove slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701)
Pierangelo Masarati [Thu, 28 Dec 2006 16:41:36 +0000 (16:41 +0000)]
move slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701)

17 years agomove slapo-{denyop,lastmod} to contrib/slapd-modules/{denyop,lastlog}/ (ITS#4701)
Pierangelo Masarati [Thu, 28 Dec 2006 16:33:36 +0000 (16:33 +0000)]
move slapo-{denyop,lastmod} to contrib/slapd-modules/{denyop,lastlog}/ (ITS#4701)

17 years agomove slapo-denyop to contrib/slapd-modules/debyop/
Pierangelo Masarati [Thu, 28 Dec 2006 16:30:53 +0000 (16:30 +0000)]
move slapo-denyop to contrib/slapd-modules/debyop/

17 years agomove slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701)
Pierangelo Masarati [Thu, 28 Dec 2006 16:30:33 +0000 (16:30 +0000)]
move slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701)

17 years agomove slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701)
Pierangelo Masarati [Thu, 28 Dec 2006 16:23:57 +0000 (16:23 +0000)]
move slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701)

17 years agonote workaround for ITS#4785; cleanup
Pierangelo Masarati [Thu, 28 Dec 2006 12:17:19 +0000 (12:17 +0000)]
note workaround for ITS#4785; cleanup

17 years agofix filter structure leak (ITS#4794)
Pierangelo Masarati [Thu, 28 Dec 2006 10:32:46 +0000 (10:32 +0000)]
fix filter structure leak (ITS#4794)

17 years agocleanup debug msg
Howard Chu [Wed, 27 Dec 2006 01:15:05 +0000 (01:15 +0000)]
cleanup debug msg

17 years agoFix connection_get race condition on Windows
Howard Chu [Tue, 26 Dec 2006 23:40:00 +0000 (23:40 +0000)]
Fix connection_get race condition on Windows

17 years agoFix prev commit
Howard Chu [Tue, 26 Dec 2006 11:34:33 +0000 (11:34 +0000)]
Fix prev commit

17 years agotimeval requires <ac/time.h>
Howard Chu [Tue, 26 Dec 2006 05:05:28 +0000 (05:05 +0000)]
timeval requires <ac/time.h>

17 years agoUse temporary AttributeDescriptions to prevent unbounded growth
Howard Chu [Tue, 26 Dec 2006 04:51:08 +0000 (04:51 +0000)]
Use temporary AttributeDescriptions to prevent unbounded growth

17 years agoITS#3707 changed SLAPD_FILTER_COMPUTED
Howard Chu [Tue, 26 Dec 2006 00:00:48 +0000 (00:00 +0000)]
ITS#3707 changed SLAPD_FILTER_COMPUTED

17 years agoITS#3707 preserve filter input, allow (and ignore) undefined attributes
Howard Chu [Mon, 25 Dec 2006 23:30:45 +0000 (23:30 +0000)]
ITS#3707 preserve filter input, allow (and ignore) undefined attributes

17 years agopool privileged connections (ITS#4791)
Pierangelo Masarati [Sun, 24 Dec 2006 18:23:36 +0000 (18:23 +0000)]
pool privileged connections (ITS#4791)

17 years agoapparently, structural_class() args changed
Pierangelo Masarati [Sun, 24 Dec 2006 15:45:48 +0000 (15:45 +0000)]
apparently, structural_class() args changed

17 years agodon't leak callbacks if stuff cannot be registered; provide a means to dispose of...
Pierangelo Masarati [Sun, 24 Dec 2006 15:44:56 +0000 (15:44 +0000)]
don't leak callbacks if stuff cannot be registered; provide a means to dispose of private stuff if required

17 years agofix RID format
Pierangelo Masarati [Sun, 24 Dec 2006 15:43:43 +0000 (15:43 +0000)]
fix RID format

17 years agosilence warning
Pierangelo Masarati [Sun, 24 Dec 2006 15:43:01 +0000 (15:43 +0000)]
silence warning

17 years agoplug rootDSE info one-time leak
Pierangelo Masarati [Sun, 24 Dec 2006 10:51:07 +0000 (10:51 +0000)]
plug rootDSE info one-time leak

17 years ago(blind) compile fix; please review
Pierangelo Masarati [Sun, 24 Dec 2006 10:50:22 +0000 (10:50 +0000)]
(blind) compile fix; please review

17 years agoITS#4788 op->o_no_schema_check allows unknown attrs in slap_mods_check
Howard Chu [Sun, 24 Dec 2006 07:14:54 +0000 (07:14 +0000)]
ITS#4788 op->o_no_schema_check allows unknown attrs in slap_mods_check

17 years agoPass op to slap_mods_check()
Howard Chu [Sun, 24 Dec 2006 06:55:02 +0000 (06:55 +0000)]
Pass op to slap_mods_check()

17 years agoUnify rs_modlist in Add/Modify/Modrdn req structs
Howard Chu [Sun, 24 Dec 2006 06:45:57 +0000 (06:45 +0000)]
Unify rs_modlist in Add/Modify/Modrdn req structs

17 years agoRevert prev commit, need a different solution
Howard Chu [Sun, 24 Dec 2006 06:26:01 +0000 (06:26 +0000)]
Revert prev commit, need a different solution

17 years agoFix prev commit, renaming schema
Howard Chu [Sun, 24 Dec 2006 03:51:08 +0000 (03:51 +0000)]
Fix prev commit, renaming schema

17 years agoITS#4337 insert EntryInfo in proper slot
Howard Chu [Sun, 24 Dec 2006 03:44:08 +0000 (03:44 +0000)]
ITS#4337 insert EntryInfo in proper slot

17 years agoITS#4337 allow suffix overlap when inserting new DB before existing ones
Howard Chu [Sun, 24 Dec 2006 01:27:35 +0000 (01:27 +0000)]
ITS#4337 allow suffix overlap when inserting new DB before existing ones

17 years agoITS#4337 implement modrdn for back-config
Howard Chu [Sun, 24 Dec 2006 00:56:37 +0000 (00:56 +0000)]
ITS#4337 implement modrdn for back-config

17 years agoFix modrdn, must also rename the directory if it exists.
Howard Chu [Sun, 24 Dec 2006 00:54:14 +0000 (00:54 +0000)]
Fix modrdn, must also rename the directory if it exists.

17 years agoITS#4788 don't return auditContext attr on syncrepl searches
Howard Chu [Sat, 23 Dec 2006 22:10:34 +0000 (22:10 +0000)]
ITS#4788 don't return auditContext attr on syncrepl searches

17 years agofix typo (ITS#4784)
Pierangelo Masarati [Thu, 21 Dec 2006 22:05:49 +0000 (22:05 +0000)]
fix typo (ITS#4784)

17 years agoITS#4733 make sure frontend and config DB entries exist.
Howard Chu [Thu, 21 Dec 2006 07:36:16 +0000 (07:36 +0000)]
ITS#4733 make sure frontend and config DB entries exist.

17 years agoIn connections_shutdown - check for Uninitialized struct first, since
Howard Chu [Thu, 21 Dec 2006 06:06:32 +0000 (06:06 +0000)]
In connections_shutdown - check for Uninitialized struct first, since
attempting to lock an unint'd mutex may crash on some platforms. And
there is no chance for an unint'd conn to get init'd while shutdown
is occurring, so the unprotected check of struct state is safe.

17 years agocleanup
Howard Chu [Wed, 20 Dec 2006 17:02:18 +0000 (17:02 +0000)]
cleanup

17 years agoNote supported commands
Howard Chu [Wed, 20 Dec 2006 14:32:51 +0000 (14:32 +0000)]
Note supported commands

17 years agoCleanup, document include: extension
Howard Chu [Wed, 20 Dec 2006 14:25:06 +0000 (14:25 +0000)]
Cleanup, document include: extension

17 years agoITS#4780 plug leak
Howard Chu [Wed, 20 Dec 2006 05:41:14 +0000 (05:41 +0000)]
ITS#4780 plug leak

17 years agoMoved lists of backends and overlays to their own manpages
Howard Chu [Wed, 20 Dec 2006 04:58:33 +0000 (04:58 +0000)]
Moved lists of backends and overlays to their own manpages

17 years agofurther fix of ITS#4782
Pierangelo Masarati [Tue, 19 Dec 2006 22:11:33 +0000 (22:11 +0000)]
further fix of ITS#4782

17 years ago(almost) blind fixes to ITS#4782
Pierangelo Masarati [Tue, 19 Dec 2006 21:59:23 +0000 (21:59 +0000)]
(almost) blind fixes to ITS#4782

17 years agoITS#4782 quick fix, never send result from proxy authz check.
Howard Chu [Tue, 19 Dec 2006 20:37:38 +0000 (20:37 +0000)]
ITS#4782 quick fix, never send result from proxy authz check.

17 years agoFix: don't modify original filter in filter_map_rewrite
Howard Chu [Tue, 19 Dec 2006 19:47:01 +0000 (19:47 +0000)]
Fix: don't modify original filter in filter_map_rewrite