]> git.sur5r.net Git - openldap/log
openldap
7 years agoFix mdb_audit() printf format
Howard Chu [Sat, 19 Dec 2015 23:51:31 +0000 (23:51 +0000)]
Fix mdb_audit() printf format

7 years agoITS#8481 make shared lib suffix overridable
Howard Chu [Fri, 19 Aug 2016 16:24:25 +0000 (17:24 +0100)]
ITS#8481 make shared lib suffix overridable

7 years agoComment MDB_page
Hallvard Furuseth [Tue, 2 Aug 2016 20:17:54 +0000 (22:17 +0200)]
Comment MDB_page

7 years agoDoc fixes: VALID_FLAGS, mm_last_pg, mt_loose_count
Hallvard Furuseth [Tue, 2 Aug 2016 20:16:09 +0000 (22:16 +0200)]
Doc fixes: VALID_FLAGS, mm_last_pg, mt_loose_count

7 years agoSilence warning for initializer "mdb_copy my = {0}"
Hallvard Furuseth [Sat, 3 Sep 2016 07:41:30 +0000 (09:41 +0200)]
Silence warning for initializer "mdb_copy my = {0}"

1st struct member was not a scalar.

7 years agoITS#8209 MDB_CP_COMPACT: Handle empty or broken DB
Hallvard Furuseth [Sat, 25 Jun 2016 05:57:04 +0000 (07:57 +0200)]
ITS#8209 MDB_CP_COMPACT: Handle empty or broken DB

Preserve DB flags (use metapage#1) when main DB is empty.
Fail if metapage root != actual root in output file.

7 years agoITS#8209 MDB_CP_COMPACT: Threading/error handling
Hallvard Furuseth [Sat, 25 Jun 2016 05:55:34 +0000 (07:55 +0200)]
ITS#8209 MDB_CP_COMPACT: Threading/error handling

Handle errors.  Fix cond_wait condition so mc_new
is the sole control var.  Drop specious cond_waits.
Do not look at 'mo' while copythr writes it.

Don't know if posix_memalign() pointer is defined after failure.
Some _aligned_free() doc seems to say arg NULL = user error.

7 years agoAdd MDB_PREV_MULTIPLE (collected mdb.master changes)
Howard Chu [Thu, 7 Jan 2016 18:28:29 +0000 (18:28 +0000)]
Add MDB_PREV_MULTIPLE (collected mdb.master changes)

Logical counterpart to GET_MULTIPLE, NEXT_MULTIPLE

7 years agoFactor out refreshing sub-page pointers
Hallvard Furuseth [Thu, 1 Dec 2016 20:17:42 +0000 (21:17 +0100)]
Factor out refreshing sub-page pointers

7 years agoMore for ITS#8406 (xcursor fixups)
Howard Chu [Tue, 29 Nov 2016 19:19:45 +0000 (19:19 +0000)]
More for ITS#8406 (xcursor fixups)

Revert excess cursor fixup
xcursor fixup depends on init state

7 years agoCleanup: Add flag DB_DUPDATA, drop DB_DIRTY hack
Hallvard Furuseth [Thu, 8 Dec 2016 23:03:36 +0000 (00:03 +0100)]
Cleanup: Add flag DB_DUPDATA, drop DB_DIRTY hack

7 years agoFix "make its"/"make regressions" to actually run the regression suite for bdb/hdb...
Quanah Gibson-Mount [Mon, 12 Dec 2016 20:22:40 +0000 (12:22 -0800)]
Fix "make its"/"make regressions" to actually run the regression suite for bdb/hdb/mdb backends

7 years agoModify run.in so that it can run individual regression tests
Quanah Gibson-Mount [Mon, 12 Dec 2016 19:53:14 +0000 (11:53 -0800)]
Modify run.in so that it can run individual regression tests

7 years agoSpecifically test for error 32 on the consumer.
Quanah Gibson-Mount [Fri, 9 Dec 2016 01:14:38 +0000 (17:14 -0800)]
Specifically test for error 32 on the consumer.

7 years agoFix rootdn
Quanah Gibson-Mount [Fri, 9 Dec 2016 01:06:04 +0000 (17:06 -0800)]
Fix rootdn

7 years agoITS#8353 - Regenerate configure
Quanah Gibson-Mount [Thu, 8 Dec 2016 02:47:17 +0000 (18:47 -0800)]
ITS#8353 - Regenerate configure

7 years agoITS#8353 -- More for OpenSSL 1.1.0 compat
Quanah Gibson-Mount [Thu, 8 Dec 2016 02:10:14 +0000 (18:10 -0800)]
ITS#8353 -- More for OpenSSL 1.1.0 compat

8 years agoITS#8538 - Update information on the interval keyword, as it affects refreshAndPersis...
Quanah Gibson-Mount [Fri, 2 Dec 2016 21:27:56 +0000 (13:27 -0800)]
ITS#8538 - Update information on the interval keyword, as it affects refreshAndPersist in very specific circumstances

8 years agoITS#8521 - Updates to test to ensure it fails where it should fail and succeeds where...
Quanah Gibson-Mount [Fri, 2 Dec 2016 21:16:52 +0000 (13:16 -0800)]
ITS#8521 - Updates to test to ensure it fails where it should fail and succeeds where it should succeed.
Reference ITS#8281 as well, since these are related

8 years agoPass cursor to mdb_page_get(), mdb_node_read().
Hallvard Furuseth [Sun, 23 Aug 2015 18:33:02 +0000 (20:33 +0200)]
Pass cursor to mdb_page_get(), mdb_node_read().

No change in behavior.

8 years agoFix comment: SysV semaphores -> Posix semaphores
Hallvard Furuseth [Thu, 1 Dec 2016 20:56:35 +0000 (21:56 +0100)]
Fix comment: SysV semaphores -> Posix semaphores

8 years agoITS#8521 - Add testcase for this regression
Quanah Gibson-Mount [Thu, 1 Dec 2016 20:26:08 +0000 (12:26 -0800)]
ITS#8521 - Add testcase for this regression

8 years agoITS#8535 - Fix regression test for ITS#4337
Quanah Gibson-Mount [Wed, 30 Nov 2016 22:46:37 +0000 (14:46 -0800)]
ITS#8535 - Fix regression test for ITS#4337

8 years agoITS#8534 - Fix regression test to correctly load back-ldap if it is built as a module
Quanah Gibson-Mount [Wed, 30 Nov 2016 22:26:03 +0000 (14:26 -0800)]
ITS#8534 - Fix regression test to correctly load back-ldap if it is built as a module

8 years agoUse newer DES API so that smbk5pwd loads with newer OpenSSL
Emmanuel Dreyfus [Sun, 30 Oct 2016 04:34:58 +0000 (05:34 +0100)]
Use newer DES API so that smbk5pwd loads with newer OpenSSL

OpenSSL removed old DES API which used des_* functions.
https://github.com/openssl/openssl/commit/24956ca00f014a917fb181a8abc39b349f3f316f

In order to link with libcrypto from recent OpenSSL releases, we need
to replace the older API des_* functions by the newer API DES_* functions.

Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
8 years agoNote: previous commit was from hyc@openldap.org
Quanah Gibson-Mount [Fri, 4 Nov 2016 21:37:21 +0000 (14:37 -0700)]
Note: previous commit was from hyc@openldap.org

8 years agoMore for multival attrs
Quanah Gibson-Mount [Thu, 3 Nov 2016 22:50:26 +0000 (15:50 -0700)]
More for multival attrs

check for enumerated delete that deletes all values

8 years agoITS#8185 fix typo in man page
Ryan Tandy [Wed, 12 Oct 2016 04:45:32 +0000 (21:45 -0700)]
ITS#8185 fix typo in man page

8 years agoAdd -n 0 option to example slapadd command
Quanah Gibson-Mount [Sun, 28 Aug 2016 18:55:48 +0000 (11:55 -0700)]
Add -n 0 option to example slapadd command

8 years agoFix quickstart guide to reference etc/slapd.d instead of etc/cn=config
Quanah Gibson-Mount [Sat, 27 Aug 2016 20:22:40 +0000 (13:22 -0700)]
Fix quickstart guide to reference etc/slapd.d instead of etc/cn=config

8 years agoMore for ITS#8460
Howard Chu [Thu, 11 Aug 2016 16:27:35 +0000 (17:27 +0100)]
More for ITS#8460

accesslog can alter the timestamp on contextCSN updates

8 years agoITS#8460 fix slap_op_time
Howard Chu [Thu, 28 Jul 2016 22:40:57 +0000 (23:40 +0100)]
ITS#8460 fix slap_op_time

broken in 2d5996ac603391ddbd618425f88eb13e5e0e2cc0
Was allowing tv_usec to exceed 999999

8 years agoMore for multival attrs
Howard Chu [Fri, 22 Jul 2016 09:30:57 +0000 (10:30 +0100)]
More for multival attrs

Fix id2entry_delete when deleting last multival entry in DB

8 years agoFix a4c7943d39df0140edacb5774e977be3f72b694c
Howard Chu [Wed, 20 Jul 2016 23:34:25 +0000 (00:34 +0100)]
Fix a4c7943d39df0140edacb5774e977be3f72b694c

Modify/replace was broken if attr didn't already exist

8 years agoITS#8099 bindconf ciphersuite setting is 'tls_cipher_suite'
Ryan Tandy [Sat, 25 Jun 2016 01:14:17 +0000 (18:14 -0700)]
ITS#8099 bindconf ciphersuite setting is 'tls_cipher_suite'

8 years agoWIN64 needs off_t redefined too
Howard Chu [Wed, 20 Jan 2016 01:30:57 +0000 (01:30 +0000)]
WIN64 needs off_t redefined too

8 years agolmdb.h Caveats: Reserved vs. actual mem/disk usage
Hallvard Furuseth [Tue, 12 Jan 2016 22:18:06 +0000 (23:18 +0100)]
lmdb.h Caveats: Reserved vs. actual mem/disk usage

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 15 Jun 2016 10:44:41 +0000 (11:44 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8339, #8424
Howard Chu [Wed, 15 Jun 2016 10:43:46 +0000 (11:43 +0100)]
ITS#8339, #8424

8 years agomdb_env_setup_locks: Plug mutexattr leak on error
Hallvard Furuseth [Sun, 5 Jun 2016 21:42:44 +0000 (23:42 +0200)]
mdb_env_setup_locks: Plug mutexattr leak on error

8 years agoITS#8339 Solaris 10/11 robust mutex fixes
Howard Chu [Thu, 2 Jun 2016 20:01:27 +0000 (21:01 +0100)]
ITS#8339 Solaris 10/11 robust mutex fixes

Check for PTHREAD_MUTEX_ROBUST_NP definition (this doesn't work
on Linux/glibc because they used an enum). Zero out mutex before
initing.

8 years agoITS#8424 init cursor in mdb_env_cwalk
Howard Chu [Sat, 14 May 2016 23:44:54 +0000 (00:44 +0100)]
ITS#8424 init cursor in mdb_env_cwalk

8 years agoComment ovpage code in mdb_cursor_put()
Hallvard Furuseth [Tue, 10 May 2016 05:11:44 +0000 (07:11 +0200)]
Comment ovpage code in mdb_cursor_put()

8 years agoFix contrib prototypes - add ConfigReply*
Hallvard Furuseth [Sun, 12 Jun 2016 08:19:03 +0000 (10:19 +0200)]
Fix contrib prototypes - add ConfigReply*

8 years agoITS#8442 Fix uninitialized rs->sr_text in back-meta
Hallvard Furuseth [Sun, 12 Jun 2016 08:18:50 +0000 (10:18 +0200)]
ITS#8442 Fix uninitialized rs->sr_text in back-meta

8 years agoFix intro comments in test configs
Hallvard Furuseth [Sun, 12 Jun 2016 07:44:45 +0000 (09:44 +0200)]
Fix intro comments in test configs

8 years agoCatch slapmodify entry setup errors
Hallvard Furuseth [Sun, 12 Jun 2016 06:35:25 +0000 (08:35 +0200)]
Catch slapmodify entry setup errors

8 years agoITS#8435 Move sc_writewait to end of slap_callback
Hallvard Furuseth [Sun, 12 Jun 2016 06:31:18 +0000 (08:31 +0200)]
ITS#8435 Move sc_writewait to end of slap_callback

So any initializers in code predating sc_writewait
will find sc_private in the expected position.

8 years agoITS#8435 Fix uninited slap_callback.sc_writewait
Hallvard Furuseth [Sun, 12 Jun 2016 06:30:58 +0000 (08:30 +0200)]
ITS#8435 Fix uninited slap_callback.sc_writewait

8 years agoITS#8432 fix infinite looping mods in delta-mmr
Howard Chu [Thu, 9 Jun 2016 21:37:54 +0000 (22:37 +0100)]
ITS#8432 fix infinite looping mods in delta-mmr

8 years agoITS#8428 init sc_writewait
Howard Chu [Wed, 18 May 2016 11:30:31 +0000 (12:30 +0100)]
ITS#8428 init sc_writewait

8 years agoITS#8423 check for pause in accesslog_purge
Howard Chu [Sat, 14 May 2016 23:50:37 +0000 (00:50 +0100)]
ITS#8423 check for pause in accesslog_purge

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 4 May 2016 09:48:34 +0000 (10:48 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoRE 0.9.19
Howard Chu [Wed, 4 May 2016 09:47:32 +0000 (10:47 +0100)]
RE 0.9.19

8 years agoITS#8412 fix NEXT_DUP after cursor_del
Howard Chu [Tue, 26 Apr 2016 11:52:21 +0000 (12:52 +0100)]
ITS#8412 fix NEXT_DUP after cursor_del

8 years agoITS#8406 fix xcursors after cursor_del
Howard Chu [Mon, 18 Apr 2016 17:07:56 +0000 (18:07 +0100)]
ITS#8406 fix xcursors after cursor_del

Don't leave them uninit'd if they now point at a valid DUP node

8 years agomdb_drop optimization
Howard Chu [Sat, 9 Apr 2016 19:42:45 +0000 (20:42 +0100)]
mdb_drop optimization

If we know there are no sub-DBs and no overflow pages, skip leaf scan.

8 years agoITS#8393 fix MDB_GET_BOTH on non-dup record
Howard Chu [Mon, 28 Mar 2016 00:35:56 +0000 (01:35 +0100)]
ITS#8393 fix MDB_GET_BOTH on non-dup record

8 years agoTweak Win32 errmsg buffer
Howard Chu [Mon, 15 Feb 2016 00:07:04 +0000 (00:07 +0000)]
Tweak Win32 errmsg buffer

8 years agoITS#8414 - Remove use of "time", as it is non portable
Quanah Gibson-Mount [Sat, 30 Apr 2016 01:30:30 +0000 (18:30 -0700)]
ITS#8414 - Remove use of "time", as it is non portable

8 years agoITS#8413 fix prev commit
Howard Chu [Thu, 28 Apr 2016 09:54:47 +0000 (10:54 +0100)]
ITS#8413 fix prev commit

Filter needs AttributeAssertions

8 years agoITS#8413 don't use str2filter on precomputable filters
Howard Chu [Thu, 28 Apr 2016 02:04:16 +0000 (03:04 +0100)]
ITS#8413 don't use str2filter on precomputable filters

and more importantly, avoid escaping requirements that str2filter has

8 years agoITS#6826 conversion scripts
Devin J. Pohly [Fri, 4 Feb 2011 21:51:40 +0000 (21:51 +0000)]
ITS#6826 conversion scripts

These were provided as part of the original ITS but not previously committed.
Perl scripts to convert between Apache and OpenLDAP hash formats.

8 years agoMore for large multival attrs
Howard Chu [Fri, 1 Apr 2016 17:49:59 +0000 (18:49 +0100)]
More for large multival attrs

We can't persist the sorted flag since the sort order between
DB and attr schema don't necessarily agree

8 years agoITS#8385 Fix use-after-free with GnuTLS
Howard Chu [Sat, 12 Mar 2016 11:03:29 +0000 (11:03 +0000)]
ITS#8385 Fix use-after-free with GnuTLS

8 years agoITS#8303 Track pending ops per a_metasingleconn_t
Nadezhda Ivanova [Mon, 29 Feb 2016 12:01:12 +0000 (14:01 +0200)]
ITS#8303 Track pending ops per a_metasingleconn_t

so that unused target connections can be properly reset.

8 years agoITS#8303 Fixed an assertion error during test022
Nadezhda Ivanova [Tue, 9 Feb 2016 13:26:38 +0000 (15:26 +0200)]
ITS#8303 Fixed an assertion error during test022

The error was introduced with
commit 6cafdfa8d82134f78e68325c4b9c10dd37935d7a

8 years agoFix minor typo
Quanah Gibson-Mount [Sat, 27 Feb 2016 00:37:10 +0000 (18:37 -0600)]
Fix minor typo

8 years agoRegenerate for ITS#8303
Howard Chu [Mon, 8 Feb 2016 12:47:20 +0000 (12:47 +0000)]
Regenerate for ITS#8303

8 years agoITS#8303 Fixed an error in configure.in
Nadezhda Ivanova [Mon, 8 Feb 2016 12:16:58 +0000 (14:16 +0200)]
ITS#8303 Fixed an error in configure.in

This fixes an incorreclty named variable, introduced with
commit 6cafdfa8d82134f78e68325c4b9c10dd37935d7a

8 years agoMerge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
Quanah Gibson-Mount [Fri, 5 Feb 2016 23:56:54 +0000 (17:56 -0600)]
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap

8 years agoFix documentation changes to remove extra :
Quanah Gibson-Mount [Fri, 5 Feb 2016 23:56:20 +0000 (17:56 -0600)]
Fix documentation changes to remove extra :

8 years agoMore for large multival attrs
Howard Chu [Fri, 5 Feb 2016 21:59:43 +0000 (21:59 +0000)]
More for large multival attrs

Fix a4c7943d39df0140edacb5774e977be3f72b694c entry delete
Ignore when id2v table is empty

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Fri, 5 Feb 2016 21:23:01 +0000 (21:23 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoRelease 0.9.18 LMDB_0.9.18
Howard Chu [Fri, 5 Feb 2016 21:22:15 +0000 (21:22 +0000)]
Release 0.9.18

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Thu, 4 Feb 2016 17:36:48 +0000 (17:36 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#7992 Fix memleak in prev change
Hallvard Furuseth [Thu, 4 Feb 2016 02:23:13 +0000 (03:23 +0100)]
ITS#7992 Fix memleak in prev change

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Tue, 2 Feb 2016 19:42:40 +0000 (19:42 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8365 partially revert ITS#8281
Howard Chu [Tue, 2 Feb 2016 19:41:13 +0000 (19:41 +0000)]
ITS#8365 partially revert ITS#8281

Must setup psearch before snapshotting ctxcsn

8 years agoregenerate for ITS#8114 and ITS#8303
Howard Chu [Mon, 1 Feb 2016 19:23:56 +0000 (19:23 +0000)]
regenerate for ITS#8114 and ITS#8303

8 years agoITS#8303 fix prev commit
Howard Chu [Mon, 1 Feb 2016 19:22:46 +0000 (19:22 +0000)]
ITS#8303 fix prev commit

8 years agoITS#8303 Asynchronous meta back-end for OpenLDAP
Nadezhda Ivanova [Sat, 30 Jan 2016 18:14:29 +0000 (20:14 +0200)]
ITS#8303 Asynchronous meta back-end for OpenLDAP

8 years agoLarge multivalued attr support
Howard Chu [Sun, 31 Jan 2016 15:35:11 +0000 (15:35 +0000)]
Large multivalued attr support

Store attrs with a large number of values separately from the
main entry blob. Note - we need support for large DUPSORT values
for this to be generally usable.

8 years agoITS#8353 more for OpenSSL 1.1 compat
Howard Chu [Sun, 31 Jan 2016 03:29:28 +0000 (03:29 +0000)]
ITS#8353 more for OpenSSL 1.1 compat

tmp_rsa callback has been removed from OpenSSL 1.1
Use new X509_NAME accessor function to retrieve DER bytes

8 years agoHappy New Year
Howard Chu [Sat, 30 Jan 2016 12:55:03 +0000 (12:55 +0000)]
Happy New Year

8 years agoHappy New Year!
Quanah Gibson-Mount [Fri, 29 Jan 2016 19:32:05 +0000 (13:32 -0600)]
Happy New Year!

8 years agoMerge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
Quanah Gibson-Mount [Fri, 29 Jan 2016 19:22:10 +0000 (13:22 -0600)]
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap

8 years agoMinor fix BDB -> MDB
Quanah Gibson-Mount [Fri, 29 Jan 2016 19:21:55 +0000 (13:21 -0600)]
Minor fix BDB -> MDB

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Fri, 29 Jan 2016 00:57:31 +0000 (00:57 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS 8362 - Drop link to BDB altogether.
Quanah Gibson-Mount [Fri, 29 Jan 2016 00:47:13 +0000 (18:47 -0600)]
ITS 8362 - Drop link to BDB altogether.
Other documentation updates to make it clear that (L)MDB is preferred

8 years agoITS#8363
Howard Chu [Thu, 28 Jan 2016 04:22:26 +0000 (04:22 +0000)]
ITS#8363

8 years agoITS#8363 Fix off-by-one in mdb_midl_shrink
Howard Chu [Thu, 28 Jan 2016 04:18:14 +0000 (04:18 +0000)]
ITS#8363 Fix off-by-one in mdb_midl_shrink

8 years agoITS 8362 - Fix link to BerkeleyDB download location
Quanah Gibson-Mount [Wed, 27 Jan 2016 18:24:30 +0000 (12:24 -0600)]
ITS 8362 - Fix link to BerkeleyDB download location

8 years agoITS#8353 partial fix
Howard Chu [Tue, 26 Jan 2016 18:06:46 +0000 (18:06 +0000)]
ITS#8353 partial fix

Use newly added SSL_CTX_up_ref()
Still waiting for X509_NAME accessor

8 years agoITS#8360 tweak for LDAP_TXNs too
Howard Chu [Tue, 26 Jan 2016 13:39:53 +0000 (13:39 +0000)]
ITS#8360 tweak for LDAP_TXNs too

8 years agoITS#8360 fix ad info after failed txn
Howard Chu [Tue, 26 Jan 2016 13:28:17 +0000 (13:28 +0000)]
ITS#8360 fix ad info after failed txn

If an add or modify op referenced a previously unused attrtype,
the mi_ads/mi_numads would be incremented to include it. If the
op fails to commit, these additions must also be reverted.

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Sun, 24 Jan 2016 11:39:13 +0000 (11:39 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8355, doc update
Howard Chu [Sun, 24 Jan 2016 11:38:35 +0000 (11:38 +0000)]
ITS#8355, doc update

8 years agoITS#8355 fix subcursors
Howard Chu [Sun, 24 Jan 2016 11:32:49 +0000 (11:32 +0000)]
ITS#8355 fix subcursors

make sure C_DEL gets reset in subcursor after it moves.

8 years agoUpdate WRITEMAP doc
Howard Chu [Sat, 23 Jan 2016 16:51:42 +0000 (16:51 +0000)]
Update WRITEMAP doc