]> git.sur5r.net Git - openldap/log
openldap
8 years agoITS#8215 Add config tool delete support
Ondřej Kuzník [Tue, 11 Aug 2015 12:31:50 +0000 (14:31 +0200)]
ITS#8215 Add config tool delete support

8 years agoITS#8215 Add mdb tool delete support
Ondřej Kuzník [Tue, 11 Aug 2015 12:31:35 +0000 (14:31 +0200)]
ITS#8215 Add mdb tool delete support

8 years agoITS#8215 Add bdb tool delete support
Ondřej Kuzník [Tue, 11 Aug 2015 12:31:22 +0000 (14:31 +0200)]
ITS#8215 Add bdb tool delete support

8 years agoITS#8215 Change BI_tool_entry_delete signature
Ondřej Kuzník [Tue, 11 Aug 2015 12:30:47 +0000 (14:30 +0200)]
ITS#8215 Change BI_tool_entry_delete signature

8 years agoITS#8215 Make editing of invalid entries possible
Ondřej Kuzník [Tue, 11 Aug 2015 12:28:43 +0000 (14:28 +0200)]
ITS#8215 Make editing of invalid entries possible

If the database does not conform to any known schema, make it possible
to edit such a database using slapmodify when schema-checking is
disabled.

8 years agoITS#8215 Do not crash on an empty entry
Ondřej Kuzník [Tue, 11 Aug 2015 12:27:22 +0000 (14:27 +0200)]
ITS#8215 Do not crash on an empty entry

8 years agoITS#8215 Remove a memory leak
Ondřej Kuzník [Tue, 11 Aug 2015 12:26:39 +0000 (14:26 +0200)]
ITS#8215 Remove a memory leak

8 years agoITS#8215 Use the correct transaction
Ondřej Kuzník [Tue, 11 Aug 2015 12:25:11 +0000 (14:25 +0200)]
ITS#8215 Use the correct transaction

8 years agoITS#8215 Add slapmodify manpage
Ondřej Kuzník [Tue, 11 Aug 2015 12:22:48 +0000 (14:22 +0200)]
ITS#8215 Add slapmodify manpage

8 years agoITS#8215 Manpage fixes
Ondřej Kuzník [Tue, 11 Aug 2015 12:22:15 +0000 (14:22 +0200)]
ITS#8215 Manpage fixes

8 years agoITS#8284 olcRelay needs quotes
Howard Chu [Sun, 25 Oct 2015 08:19:03 +0000 (08:19 +0000)]
ITS#8284 olcRelay needs quotes

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Sun, 25 Oct 2015 08:14:55 +0000 (08:14 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8263, 8264, 7771, 8270
Howard Chu [Sun, 25 Oct 2015 08:13:25 +0000 (08:13 +0000)]
ITS#8263, 8264, 7771, 8270

8 years agoITS#8270 win32: fix conversion error with MSVC
Ignacio Casal Quinteiro [Thu, 15 Oct 2015 20:22:25 +0000 (13:22 -0700)]
ITS#8270 win32: fix conversion error with MSVC

8 years agoITS#7771 fix cursor tracking on fake pages
Howard Chu [Sun, 11 Oct 2015 23:08:41 +0000 (00:08 +0100)]
ITS#7771 fix cursor tracking on fake pages

node_del shifts nodes around, cursors pointing at fake pages
need to have their mc_pg[0] corrected.

8 years agoITS#8263 streamline prev patch
Hallvard Furuseth [Sun, 11 Oct 2015 20:40:49 +0000 (21:40 +0100)]
ITS#8263 streamline prev patch

8 years agoITS#8263 fix cursor tracking in cursor_put
Howard Chu [Wed, 7 Oct 2015 05:30:58 +0000 (06:30 +0100)]
ITS#8263 fix cursor tracking in cursor_put

8 years agoITS#8264 fix cursor_del cursor tracking
Howard Chu [Tue, 6 Oct 2015 06:57:14 +0000 (07:57 +0100)]
ITS#8264 fix cursor_del cursor tracking

Some destination fixups need to happen immediately after nodes
are moved, before rebalancing

8 years agoCleanup
Howard Chu [Sat, 24 Oct 2015 05:48:41 +0000 (06:48 +0100)]
Cleanup

Log the same pointer in queue_csn as graduate_

8 years agoITS#8281 more for prev commit
Howard Chu [Sat, 24 Oct 2015 05:34:24 +0000 (06:34 +0100)]
ITS#8281 more for prev commit

8 years agoITS#8281 fix delta-mmr with interrupted refresh
Howard Chu [Fri, 23 Oct 2015 19:17:45 +0000 (20:17 +0100)]
ITS#8281 fix delta-mmr with interrupted refresh

Prevent spurious contextCSN generation
and ignore consumers when we have no contextCSN yet.
But make sure to propagate valid contextCSN updates to
accesslog/syncprov for delta consumers.

8 years agoITS#8280 Fix Windows EOL in test output
Howard Chu [Tue, 20 Oct 2015 23:46:01 +0000 (00:46 +0100)]
ITS#8280 Fix Windows EOL in test output

8 years agoITS#8277 simpler check for syncrepl on config DB
Howard Chu [Tue, 20 Oct 2015 20:27:21 +0000 (21:27 +0100)]
ITS#8277 simpler check for syncrepl on config DB

Windows mutexes are recursive so the trylock test will succeed
even though the mutex is already locked. Just compare be pointers.

8 years agomdb is the recommended backend to OpenLDAP
Quanah Gibson-Mount [Tue, 20 Oct 2015 16:20:26 +0000 (11:20 -0500)]
mdb is the recommended backend to OpenLDAP

8 years agoITS#8273 Windows file:// URL fixup
Howard Chu [Mon, 19 Oct 2015 07:52:28 +0000 (08:52 +0100)]
ITS#8273 Windows file:// URL fixup

8 years agoITS#8258
Howard Chu [Sun, 4 Oct 2015 02:02:04 +0000 (03:02 +0100)]
ITS#8258

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Sun, 4 Oct 2015 01:50:50 +0000 (02:50 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8258 fix rebalance/split
Howard Chu [Sun, 4 Oct 2015 00:56:25 +0000 (01:56 +0100)]
ITS#8258 fix rebalance/split

The tree height can also increase during rebalance, not just shrink.
This can happen if update_key needs to split a parent branch page.

8 years agoITS#8262 more
Howard Chu [Fri, 2 Oct 2015 04:14:53 +0000 (05:14 +0100)]
ITS#8262 more

extended ops

8 years agoITS#8262 add ldap_build_*_req functions
Howard Chu [Fri, 2 Oct 2015 04:02:15 +0000 (05:02 +0100)]
ITS#8262 add ldap_build_*_req functions

Basic ops except abandon and unbind; since they get no reply
it's not important for the caller to know their msgID.

8 years agoITS#8261 change sl_mem_detach to sl_mem_setctx
Howard Chu [Thu, 1 Oct 2015 22:55:10 +0000 (23:55 +0100)]
ITS#8261 change sl_mem_detach to sl_mem_setctx

8 years agoITS#8259 fix usage ordering
Howard Chu [Wed, 30 Sep 2015 17:11:20 +0000 (18:11 +0100)]
ITS#8259 fix usage ordering

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Tue, 29 Sep 2015 17:16:11 +0000 (18:16 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8221 fix typos
Howard Chu [Tue, 29 Sep 2015 16:31:56 +0000 (17:31 +0100)]
ITS#8221 fix typos

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Sun, 27 Sep 2015 21:38:18 +0000 (22:38 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8221, #8256
Howard Chu [Sun, 27 Sep 2015 21:37:28 +0000 (22:37 +0100)]
ITS#8221, #8256

8 years agoITS#8221 don't merge branch pages needlessly
Howard Chu [Sat, 26 Sep 2015 15:50:28 +0000 (16:50 +0100)]
ITS#8221 don't merge branch pages needlessly

8 years agoITS#8256 Create install directories if needed
Luke Yeager [Sat, 19 Sep 2015 01:06:43 +0000 (18:06 -0700)]
ITS#8256 Create install directories if needed

8 years agoITS#8230 add GnuTLS/nettle support
Howard Chu [Fri, 25 Sep 2015 18:28:18 +0000 (19:28 +0100)]
ITS#8230 add GnuTLS/nettle support

8 years agoITS#8230 fix padding count
Howard Chu [Fri, 25 Sep 2015 17:53:05 +0000 (18:53 +0100)]
ITS#8230 fix padding count

8 years agoITS#8230 Don't skip tval on big-endian
Howard Chu [Fri, 25 Sep 2015 17:52:24 +0000 (18:52 +0100)]
ITS#8230 Don't skip tval on big-endian

8 years agoITS#8233 (#8251)
Howard Chu [Tue, 22 Sep 2015 20:43:02 +0000 (21:43 +0100)]
ITS#8233 (#8251)

Schema parsing ignores some slapd.conf rules

8 years agoITS#8249 add option to return search entry
Howard Chu [Thu, 17 Sep 2015 19:41:58 +0000 (20:41 +0100)]
ITS#8249 add option to return search entry

8 years agoITS#7897 fix admin guide syncrepl TLS defaults
Ryan Tandy [Mon, 14 Jul 2014 16:42:14 +0000 (09:42 -0700)]
ITS#7897 fix admin guide syncrepl TLS defaults

In 2.4 syncrepl was changed to take its TLS defaults from the slapd
configuration (commit 1cc1f9b) and the man page was updated to document
that (commit 27dd7a5). This updates the admin guide to match.

8 years agoITS#8244 skip client controls in ldap_back_entry_get()
Howard Chu [Mon, 14 Sep 2015 04:42:20 +0000 (05:42 +0100)]
ITS#8244 skip client controls in ldap_back_entry_get()

8 years agoITS#7377, 8237
Howard Chu [Sat, 12 Sep 2015 22:08:14 +0000 (23:08 +0100)]
ITS#7377, 8237

8 years agoITS#8237 fix ITS#7589 regression
Howard Chu [Sun, 6 Sep 2015 18:18:19 +0000 (19:18 +0100)]
ITS#8237 fix ITS#7589 regression

8 years agoITS#7377 mdb_env_init_meta(): Catch calloc error
Hallvard Furuseth [Sun, 23 Aug 2015 09:12:45 +0000 (11:12 +0200)]
ITS#7377 mdb_env_init_meta(): Catch calloc error

8 years agoRevert "Revert "ITS#8240 remove obsolete assert""
Howard Chu [Sat, 12 Sep 2015 21:18:22 +0000 (22:18 +0100)]
Revert "Revert "ITS#8240 remove obsolete assert""

We have never documented our use of assert, so can't expect
builders to do the right thing.
This reverts commit 55dd4d3275d24c5190fdfada8dfae0320628b993.

8 years agoRevert "ITS#8240 remove obsolete assert"
Howard Chu [Sat, 12 Sep 2015 09:07:16 +0000 (10:07 +0100)]
Revert "ITS#8240 remove obsolete assert"

Not a bug.
This reverts commit 6fe51a9ab04fd28bbc171da3cf12f1c1040d6629.

8 years agoITS#8240 remove obsolete assert
Howard Chu [Wed, 9 Sep 2015 23:37:32 +0000 (00:37 +0100)]
ITS#8240 remove obsolete assert

8 years agoITS#7964 avoid double-unescaping rewrite rules
Ryan Tandy [Mon, 7 Sep 2015 04:09:51 +0000 (21:09 -0700)]
ITS#7964 avoid double-unescaping rewrite rules

config_fp_parse_line processes backslash escapes. When existing rewrite
rules were reloaded while inserting a new rule, this caused backslashes
to be lost from every rule except the most recently inserted one.
config_parse_ldif performs similar splitting, but leaves backslashes
alone.

8 years agoITS#7889 add olcDropUnrequested to olcRwmConfig
Ryan Tandy [Sun, 6 Sep 2015 00:59:38 +0000 (17:59 -0700)]
ITS#7889 add olcDropUnrequested to olcRwmConfig

8 years agoITS#8235 fix compiler warnings
Ryan Tandy [Wed, 2 Sep 2015 20:15:23 +0000 (13:15 -0700)]
ITS#8235 fix compiler warnings

8 years agoITS#8234 revert to default policy on failure
Ryan Tandy [Wed, 2 Sep 2015 02:19:57 +0000 (19:19 -0700)]
ITS#8234 revert to default policy on failure

8 years agoITS#7537 release entry on failure
Ryan Tandy [Wed, 2 Sep 2015 01:56:19 +0000 (18:56 -0700)]
ITS#7537 release entry on failure

8 years agoITS#8233 reject lines with unbalanced quotes
Howard Chu [Tue, 1 Sep 2015 00:09:46 +0000 (01:09 +0100)]
ITS#8233 reject lines with unbalanced quotes

8 years agoITS#8226 leave nested ops alone
Howard Chu [Mon, 31 Aug 2015 13:55:35 +0000 (14:55 +0100)]
ITS#8226 leave nested ops alone

8 years agoMore for batched writes
Howard Chu [Sun, 30 Aug 2015 04:46:01 +0000 (05:46 +0100)]
More for batched writes

Only usable if backend supports txns

8 years agoMore for batched writes
Howard Chu [Sun, 30 Aug 2015 04:34:42 +0000 (05:34 +0100)]
More for batched writes

8 years agoMore for batched write
Howard Chu [Sun, 30 Aug 2015 04:14:17 +0000 (05:14 +0100)]
More for batched write

8 years agoITS#8226 revert unintended commit
Howard Chu [Sun, 30 Aug 2015 04:01:59 +0000 (05:01 +0100)]
ITS#8226 revert unintended commit

8 years agoITS#8226 limit size of read txns in searches
Howard Chu [Thu, 27 Aug 2015 13:47:04 +0000 (14:47 +0100)]
ITS#8226 limit size of read txns in searches

8 years agoITS#8232 avoid redundant abandon processing
Howard Chu [Sat, 29 Aug 2015 18:44:33 +0000 (19:44 +0100)]
ITS#8232 avoid redundant abandon processing

8 years agoITS#8231 fix ITS#8042 regression
Howard Chu [Sat, 29 Aug 2015 17:29:32 +0000 (18:29 +0100)]
ITS#8231 fix ITS#8042 regression

8 years agoITS#8198 use #elif instead of #else for gnutls cases
Ryan Tandy [Sun, 23 Aug 2015 01:59:13 +0000 (18:59 -0700)]
ITS#8198 use #elif instead of #else for gnutls cases

Reserve #else for actual fallback cases.

8 years agoITS#8198 Optionally use libnettle instead of OpenSSL for crypto
Luca Bruno [Wed, 5 Nov 2014 14:32:33 +0000 (15:32 +0100)]
ITS#8198 Optionally use libnettle instead of OpenSSL for crypto

OpenLDAP can be configured to be either built with OpenSSL or
GnuTLS. This commit adds support for building pw-pbkbdf2 module
without OpenSSL, by using PBKDF2 crypto primitives provided by
libnettle.
Closes hamano/openldap-pbkdf2#2

Signed-off-by: Luca Bruno <luca.bruno@rocket-internet.de>
8 years agoITS#8198 Fix an always-true check
Luca Bruno [Wed, 5 Nov 2014 15:15:55 +0000 (16:15 +0100)]
ITS#8198 Fix an always-true check

Fixed asprintf return value check, in order to properly catch
error conditions. This has been caught by clang -Wtautological-compare:

pw-pbkdf2.c:132:17: warning: comparison of unsigned expression < 0 is always false
        if(msg->bv_len < 0){
           ~~~~~~~~~~~ ^ ~

Signed-off-by: Luca Bruno <luca.bruno@rocket-internet.de>
8 years agoThreadqueues - remove obsolete comment
Howard Chu [Sat, 22 Aug 2015 16:53:43 +0000 (17:53 +0100)]
Threadqueues - remove obsolete comment

8 years agoDoc tweak - MDB_RESERVE / DUPSORT incompat
Howard Chu [Sat, 22 Aug 2015 13:00:12 +0000 (14:00 +0100)]
Doc tweak - MDB_RESERVE / DUPSORT incompat

For those people who insist on ignoring the obvious.

8 years agoMore for threadqueues
Howard Chu [Sat, 22 Aug 2015 12:50:40 +0000 (13:50 +0100)]
More for threadqueues

Revert previous patch, just delete all the associated juggling.
No longer serves any purpose.

8 years agoReturn to release engineering
Howard Chu [Fri, 21 Aug 2015 20:42:25 +0000 (21:42 +0100)]
Return to release engineering

8 years agoAnother MDB_APPEND doc tweak
Howard Chu [Fri, 21 Aug 2015 20:40:33 +0000 (21:40 +0100)]
Another MDB_APPEND doc tweak

Missed this in 7ce29b9edbdaf34b7aeb545324008ed4dff62952

8 years agoMore for threadqueues
Howard Chu [Fri, 21 Aug 2015 20:19:16 +0000 (21:19 +0100)]
More for threadqueues

Catch threads that are finishing while pool was pausing

8 years agoITS#8220 fix prev commit
Howard Chu [Fri, 21 Aug 2015 10:39:05 +0000 (11:39 +0100)]
ITS#8220 fix prev commit

Dynamic startup was failing

8 years agoITS#8114 OpenLDAP WiredTiger Backend
HAMANO Tsukasa [Mon, 27 Apr 2015 01:27:58 +0000 (10:27 +0900)]
ITS#8114 OpenLDAP WiredTiger Backend

8 years agoITS#8082 plug benign memleak
Howard Chu [Wed, 19 Aug 2015 16:44:08 +0000 (17:44 +0100)]
ITS#8082 plug benign memleak

8 years agoITS#8218 zero filter after freeing
Howard Chu [Wed, 19 Aug 2015 14:25:46 +0000 (15:25 +0100)]
ITS#8218 zero filter after freeing

This appears to be cruft leftover from rev e8c58b4e7f21caa6c0b6006e3528cbad9b8aed45

8 years agoITS#8220 restore refint performance
Howard Chu [Wed, 19 Aug 2015 13:04:15 +0000 (14:04 +0100)]
ITS#8220 restore refint performance

8 years agoITS#8185 fix OID collision
Howard Chu [Sat, 15 Aug 2015 00:42:12 +0000 (01:42 +0100)]
ITS#8185 fix OID collision

8 years agoITS#8185 missing schema reference
Howard Chu [Fri, 14 Aug 2015 23:56:50 +0000 (00:56 +0100)]
ITS#8185 missing schema reference

8 years agoStrip down even more
Howard Chu [Wed, 3 Dec 2014 15:19:01 +0000 (15:19 +0000)]
Strip down even more

syslogd always overrides the timestamp, so just omit it
Don't use *printf if we don't need to.

8 years agoUse batched write txns in refresh
Howard Chu [Tue, 3 Feb 2015 08:21:13 +0000 (08:21 +0000)]
Use batched write txns in refresh

Experimental - write 500 updates per txn instead of 1:1

8 years agoITS#8133 avoid mods during dds_db_open
Ryan Tandy [Thu, 7 May 2015 04:39:10 +0000 (21:39 -0700)]
ITS#8133 avoid mods during dds_db_open

If dds is present early in the overlay stack, the modify ops from
dds_expire can trigger other overlays before they have initialized.
Avoid that by delaying the first expiry until startup has finished.

8 years agoFix copy/paste error in prev commit
Howard Chu [Fri, 14 Aug 2015 14:33:32 +0000 (15:33 +0100)]
Fix copy/paste error in prev commit

8 years agoITS#8185 add pwdMaxRecordedFailure
Howard Chu [Fri, 14 Aug 2015 14:19:46 +0000 (15:19 +0100)]
ITS#8185 add pwdMaxRecordedFailure

Limit the number of pwdFailureTime stamps to record, regardless
of lockout settings.

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Fri, 14 Aug 2015 00:03:42 +0000 (01:03 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoRelease 0.9.16 LMDB_0.9.16
Howard Chu [Fri, 14 Aug 2015 00:00:38 +0000 (01:00 +0100)]
Release 0.9.16

8 years agoMore filter tweaks
Howard Chu [Mon, 10 Aug 2015 18:36:06 +0000 (19:36 +0100)]
More filter tweaks

8 years agoShortcut name mapping
Howard Chu [Sun, 9 Aug 2015 19:56:23 +0000 (20:56 +0100)]
Shortcut name mapping

If the naming attribute is in the RDN we don't need to look it up.

8 years agoITS#8213 fix deleting rewrite rules
Ryan Tandy [Fri, 7 Aug 2015 21:03:45 +0000 (14:03 -0700)]
ITS#8213 fix deleting rewrite rules

From ITS#5940. Add path has the same code.

8 years agoMore filter mapping
Howard Chu [Fri, 7 Aug 2015 01:49:33 +0000 (02:49 +0100)]
More filter mapping

Was only handling (objectclass=<group>)(<memberUid>=bar).
Now handles (objectclass=<group>)(<groupname>=bar) too.

8 years agoAvoid timing issues in pcache
Howard Chu [Tue, 4 Aug 2015 12:27:01 +0000 (13:27 +0100)]
Avoid timing issues in pcache

8 years agoAvoid hex timestamp in middle of lines
Howard Chu [Tue, 4 Aug 2015 12:24:52 +0000 (13:24 +0100)]
Avoid hex timestamp in middle of lines

Tweaks commit 8d74f717ff8390e5ba611b170d8cf4b427e59114
Don't worry about threading/race conditions here, it's not important

8 years agoFix interaction with rwm
Howard Chu [Fri, 31 Jul 2015 23:35:44 +0000 (00:35 +0100)]
Fix interaction with rwm

8 years agoAlso remap explicitly requested attr names
Howard Chu [Fri, 31 Jul 2015 23:20:49 +0000 (00:20 +0100)]
Also remap explicitly requested attr names

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 29 Jul 2015 23:55:37 +0000 (00:55 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8192 fix reference to EINTR on WIN32 from ITS#8106
Howard Chu [Wed, 29 Jul 2015 19:01:34 +0000 (20:01 +0100)]
ITS#8192 fix reference to EINTR on WIN32 from ITS#8106

8 years agoUpdated for ITS#8181, #8190, #8200
Howard Chu [Tue, 28 Jul 2015 14:20:43 +0000 (15:20 +0100)]
Updated for ITS#8181, #8190, #8200

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Tue, 28 Jul 2015 14:14:10 +0000 (15:14 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'