]> git.sur5r.net Git - openldap/log
openldap
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

17 years agoFix cleanup for extended ops
Howard Chu [Tue, 19 Dec 2006 01:14:35 +0000 (01:14 +0000)]
Fix cleanup for extended ops

17 years agoFix rev 1.121/1.122
Howard Chu [Mon, 18 Dec 2006 22:42:46 +0000 (22:42 +0000)]
Fix rev 1.121/1.122

17 years agoITS#4458 re-encode passwd request
Howard Chu [Mon, 18 Dec 2006 22:30:47 +0000 (22:30 +0000)]
ITS#4458 re-encode passwd request

17 years agoPass extended ops thru as well
Howard Chu [Mon, 18 Dec 2006 22:29:45 +0000 (22:29 +0000)]
Pass extended ops thru as well

17 years agoUse a specific sr_type for intermediate Glue results
Howard Chu [Mon, 18 Dec 2006 19:46:40 +0000 (19:46 +0000)]
Use a specific sr_type for intermediate Glue results

17 years ago(blind) fix type format
Pierangelo Masarati [Mon, 18 Dec 2006 08:21:06 +0000 (08:21 +0000)]
(blind) fix type format

17 years agofix type format
Pierangelo Masarati [Mon, 18 Dec 2006 08:20:43 +0000 (08:20 +0000)]
fix type format

17 years agoAdd common -o nettimeout option to specify network timeout
Luke Howard [Mon, 18 Dec 2006 03:17:43 +0000 (03:17 +0000)]
Add common -o nettimeout option to specify network timeout

17 years agoFake intermediate Results to prevent premature cleanup
Howard Chu [Mon, 18 Dec 2006 03:10:04 +0000 (03:10 +0000)]
Fake intermediate Results to prevent premature cleanup

17 years agoReserve "-o" option for general connection options
Luke Howard [Mon, 18 Dec 2006 02:58:39 +0000 (02:58 +0000)]
Reserve "-o" option for general connection options

17 years agoFix prev commit
Howard Chu [Mon, 18 Dec 2006 02:35:32 +0000 (02:35 +0000)]
Fix prev commit

17 years agocatch double free
Pierangelo Masarati [Mon, 18 Dec 2006 01:29:07 +0000 (01:29 +0000)]
catch double free

17 years agocatch invalid read (i == -1)
Pierangelo Masarati [Mon, 18 Dec 2006 01:28:43 +0000 (01:28 +0000)]
catch invalid read (i == -1)

17 years agoFix callback handling
Howard Chu [Mon, 18 Dec 2006 00:27:38 +0000 (00:27 +0000)]
Fix callback handling

17 years agoRemove redundant search cleanup
Howard Chu [Mon, 18 Dec 2006 00:02:00 +0000 (00:02 +0000)]
Remove redundant search cleanup

17 years ago- add support for "use-temporary-conn" much like back-ldap
Pierangelo Masarati [Sun, 17 Dec 2006 23:52:23 +0000 (23:52 +0000)]
- add support for "use-temporary-conn" much like back-ldap
- fix various connection creation/setup concurrency issues
- use shared connection when always idasserting (similar to ITS#4781)
- reduce the impact of schema mapping when not used (tnx to gprof)
- fix temporary/tainted connection leak in abnormal conditions

17 years agoITS#4638 restore params for Compare and Modify
Howard Chu [Sun, 17 Dec 2006 23:49:42 +0000 (23:49 +0000)]
ITS#4638 restore params for Compare and Modify

17 years agoITS#4638 restore original parameters on op completion
Howard Chu [Sun, 17 Dec 2006 22:57:45 +0000 (22:57 +0000)]
ITS#4638 restore original parameters on op completion
(this is preliminary, more work remains)

17 years agofix another typo
Pierangelo Masarati [Sun, 17 Dec 2006 22:48:17 +0000 (22:48 +0000)]
fix another typo

17 years agofix typo
Pierangelo Masarati [Sun, 17 Dec 2006 22:34:35 +0000 (22:34 +0000)]
fix typo

17 years agofurther fix previous commit
Pierangelo Masarati [Sun, 17 Dec 2006 22:21:41 +0000 (22:21 +0000)]
further fix previous commit

17 years agocleanup and document ITS#4781 commit
Pierangelo Masarati [Sun, 17 Dec 2006 22:20:02 +0000 (22:20 +0000)]
cleanup and document ITS#4781 commit

17 years agosupport a separate cached connection for binds when using (liberal) idassert flagged...
Pierangelo Masarati [Sun, 17 Dec 2006 22:11:40 +0000 (22:11 +0000)]
support a separate cached connection for binds when using (liberal) idassert flagged with "override" (ITS#4781)

17 years agodon't leave dependencies on liblutil in libldap :)
Pierangelo Masarati [Sun, 17 Dec 2006 22:04:25 +0000 (22:04 +0000)]
don't leave dependencies on liblutil in libldap :)

17 years agomore portable fix to ITS#4756
Pierangelo Masarati [Sun, 17 Dec 2006 22:03:03 +0000 (22:03 +0000)]
more portable fix to ITS#4756

17 years agoadd support for auditContext (schema differs a bit from <draft-chu-ldap-logschema...
Pierangelo Masarati [Sat, 16 Dec 2006 14:55:47 +0000 (14:55 +0000)]
add support for auditContext (schema differs a bit from <draft-chu-ldap-logschema>, expired)