]> git.sur5r.net Git - openldap/log
openldap
7 years agoITS#8215 Manpage fixes
Ondřej Kuzník [Tue, 11 Aug 2015 12:22:15 +0000 (14:22 +0200)]
ITS#8215 Manpage fixes

7 years agoFix regression test suite logic
Quanah Gibson-Mount [Fri, 20 Jan 2017 19:41:47 +0000 (11:41 -0800)]
Fix regression test suite logic

7 years agoITS#8569, ITS#8571
Quanah Gibson-Mount [Wed, 18 Jan 2017 20:52:58 +0000 (12:52 -0800)]
ITS#8569, ITS#8571

7 years agoITS#8571 Added testsuite to cover the proxyauthz configuration for proxycache and...
Emmanuel Lecharny [Wed, 18 Jan 2017 08:24:09 +0000 (09:24 +0100)]
ITS#8571 Added testsuite to cover the proxyauthz configuration for proxycache and back-ldap

7 years agoITS#8569 Add a manpage for slapo-autogroup
Emily Backes [Mon, 16 Jan 2017 20:59:52 +0000 (12:59 -0800)]
ITS#8569 Add a manpage for slapo-autogroup

7 years agoITS#8565, ITS#8544
Quanah Gibson-Mount [Wed, 18 Jan 2017 16:04:04 +0000 (08:04 -0800)]
ITS#8565, ITS#8544

7 years agoITS#8544 - Grammar and escaping fixes
Quanah Gibson-Mount [Wed, 18 Jan 2017 15:56:59 +0000 (07:56 -0800)]
ITS#8544 - Grammar and escaping fixes

7 years agoITS#8565 - Clearly document rootdn requirement for the ppolicy overlay
Quanah Gibson-Mount [Wed, 18 Jan 2017 15:50:23 +0000 (07:50 -0800)]
ITS#8565 - Clearly document rootdn requirement for the ppolicy overlay

7 years agoITS#8562, ITS#8563
Quanah Gibson-Mount [Tue, 17 Jan 2017 18:43:15 +0000 (10:43 -0800)]
ITS#8562, ITS#8563

7 years agoITS#8563 - Fix missing mentions of back-mdb
Quanah Gibson-Mount [Tue, 17 Jan 2017 18:40:45 +0000 (10:40 -0800)]
ITS#8563 - Fix missing mentions of back-mdb

7 years agoITS#8562 - Various typo fixes
Quanah Gibson-Mount [Tue, 17 Jan 2017 18:35:32 +0000 (10:35 -0800)]
ITS#8562 - Various typo fixes

7 years agoITS#8570 - Fix typo
Quanah Gibson-Mount [Tue, 17 Jan 2017 16:49:26 +0000 (08:49 -0800)]
ITS#8570 - Fix typo

7 years agoITS#8568
Quanah Gibson-Mount [Sun, 15 Jan 2017 23:15:18 +0000 (15:15 -0800)]
ITS#8568

7 years agoITS#8568
Quanah Gibson-Mount [Sun, 15 Jan 2017 23:11:53 +0000 (15:11 -0800)]
ITS#8568

7 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Sat, 14 Jan 2017 19:47:01 +0000 (11:47 -0800)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

7 years agoFurther fix f8ce8a82717ddefdc912fa47c07f1bdee2a3336b
Howard Chu [Sat, 14 Jan 2017 19:22:34 +0000 (19:22 +0000)]
Further fix f8ce8a82717ddefdc912fa47c07f1bdee2a3336b

Fully revert the change to GET_MULTIPLE

7 years ago0.9.20 still baking
Howard Chu [Thu, 12 Jan 2017 13:36:35 +0000 (13:36 +0000)]
0.9.20 still baking

7 years agoFix f8ce8a82717ddefdc912fa47c07f1bdee2a3336b
Howard Chu [Thu, 12 Jan 2017 13:35:31 +0000 (13:35 +0000)]
Fix f8ce8a82717ddefdc912fa47c07f1bdee2a3336b

GET_MULTIPLE was broken

7 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Wed, 11 Jan 2017 17:05:07 +0000 (09:05 -0800)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

7 years agoAdd 8353/8533 OpenSSL 1.1.0 support
Quanah Gibson-Mount [Wed, 11 Jan 2017 17:01:48 +0000 (09:01 -0800)]
Add 8353/8533 OpenSSL 1.1.0 support

7 years agoITS#8533/ITS#8353 OpenSSL 1.1.0c compat
Howard Chu [Wed, 11 Jan 2017 14:11:34 +0000 (14:11 +0000)]
ITS#8533/ITS#8353 OpenSSL 1.1.0c compat

7 years agoRelease 0.9.20
Howard Chu [Wed, 11 Jan 2017 16:19:33 +0000 (16:19 +0000)]
Release 0.9.20

7 years agoHappy New Year
Howard Chu [Wed, 11 Jan 2017 14:39:08 +0000 (14:39 +0000)]
Happy New Year

7 years agoITS#8557
Howard Chu [Wed, 11 Jan 2017 11:23:26 +0000 (11:23 +0000)]
ITS#8557

7 years agoTweak cursor_next C_EOF check
Howard Chu [Wed, 11 Jan 2017 10:33:28 +0000 (10:33 +0000)]
Tweak cursor_next C_EOF check

Allow C_EOF flag to be stale

7 years agoITS#8557 fix mdb_cursor_last
Howard Chu [Wed, 11 Jan 2017 09:51:43 +0000 (09:51 +0000)]
ITS#8557 fix mdb_cursor_last

Optimize mdb_page_search_root(PS_LAST) when cursor is already near
last position, ignoring C_EOF flag for now.

7 years agoRE 0.9.20
Howard Chu [Fri, 6 Jan 2017 19:50:36 +0000 (19:50 +0000)]
RE 0.9.20

7 years agoITS#8558 fix mdb_load with escaped plaintext
Howard Chu [Fri, 6 Jan 2017 19:48:58 +0000 (19:48 +0000)]
ITS#8558 fix mdb_load with escaped plaintext

7 years agoHappy New Year!
Quanah Gibson-Mount [Tue, 3 Jan 2017 20:38:07 +0000 (12:38 -0800)]
Happy New Year!

7 years agoDelete extraneous line
Quanah Gibson-Mount [Thu, 29 Dec 2016 22:04:08 +0000 (14:04 -0800)]
Delete extraneous line

7 years agoITS#8538
Quanah Gibson-Mount [Wed, 28 Dec 2016 18:56:17 +0000 (10:56 -0800)]
ITS#8538

7 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

7 years agoITS#6794
Quanah Gibson-Mount [Wed, 28 Dec 2016 18:54:31 +0000 (10:54 -0800)]
ITS#6794

7 years agoFix its6794 test
Howard Chu [Wed, 21 Dec 2016 14:39:47 +0000 (14:39 +0000)]
Fix its6794 test

Must NULL out indexing cursors when closing tool txn

7 years agoITS8539
Quanah Gibson-Mount [Wed, 28 Dec 2016 18:53:35 +0000 (10:53 -0800)]
ITS8539

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

7 years agoITS#839 Modify run.in so that it can run individual regression tests
Quanah Gibson-Mount [Mon, 12 Dec 2016 19:53:14 +0000 (11:53 -0800)]
ITS#839 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#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

7 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

7 years agoITS#8535
Quanah Gibson-Mount [Wed, 28 Dec 2016 18:47:53 +0000 (10:47 -0800)]
ITS#8535

7 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

7 years agoITS#8534
Quanah Gibson-Mount [Wed, 28 Dec 2016 18:47:11 +0000 (10:47 -0800)]
ITS#8534

7 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

7 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Wed, 28 Dec 2016 18:44:45 +0000 (10:44 -0800)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

7 years agoRelease 0.9.19 LMDB_0.9.19
Howard Chu [Wed, 28 Dec 2016 18:35:05 +0000 (18:35 +0000)]
Release 0.9.19

7 years agoITS#8554
Howard Chu [Wed, 28 Dec 2016 18:33:10 +0000 (18:33 +0000)]
ITS#8554

7 years agoITS#8554 kFreeBSD is like BSD
Howard Chu [Wed, 28 Dec 2016 18:32:14 +0000 (18:32 +0000)]
ITS#8554 kFreeBSD is like BSD

Doesn't have POSIX robust mutexes - GNU userland on BSD kernel

7 years agoMore MDB_node doc
Hallvard Furuseth [Wed, 21 Dec 2016 20:40:14 +0000 (21:40 +0100)]
More MDB_node doc

7 years agoDoxygen fixes. Use DISTRIBUTE_GROUP_DOC.
Hallvard Furuseth [Wed, 21 Dec 2016 15:33:47 +0000 (16:33 +0100)]
Doxygen fixes. Use DISTRIBUTE_GROUP_DOC.

- DISTRIBUTE_GROUP_DOC makes doxygen give several fields the
  same doc: mn_hi + mn_lo in MDB_node.
- With mdb_mutex_t + mdb_mutexref_t, instead split them up.

7 years agoMore 0.9.19 updates
Howard Chu [Wed, 21 Dec 2016 13:02:00 +0000 (13:02 +0000)]
More 0.9.19 updates

7 years agoITS#8504 Fix prev commit: mc_error, #ifdef SIGPIPE
Hallvard Furuseth [Thu, 20 Oct 2016 07:51:22 +0000 (09:51 +0200)]
ITS#8504 Fix prev commit: mc_error, #ifdef SIGPIPE

Never clear mc_error, we could lose a failure in the other thread.

7 years agoITS#8504 mdb_env_copyfd2(): Don't abort on SIGPIPE
Lorenz Bauer [Thu, 20 Oct 2016 07:51:22 +0000 (09:51 +0200)]
ITS#8504 mdb_env_copyfd2(): Don't abort on SIGPIPE

Return EPIPE instead.

7 years agoITS#8542 mdb_dbi_open(): Protect mainDB cursors
Hallvard Furuseth [Tue, 13 Dec 2016 23:23:01 +0000 (00:23 +0100)]
ITS#8542 mdb_dbi_open(): Protect mainDB cursors

7 years agodoxygen cleanup
Hallvard Furuseth [Wed, 7 Dec 2016 18:04:19 +0000 (19:04 +0100)]
doxygen cleanup

7 years agoNote functions which must set MDB_TXN_ERROR on failure
Hallvard Furuseth [Wed, 7 Dec 2016 17:55:21 +0000 (18:55 +0100)]
Note functions which must set MDB_TXN_ERROR on failure

Other functions depend on them to do so.
For mdb_node_read(), instead remove such a dependence.

7 years agoOnly set me_mfd if needed. Drop unused read access.
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:45 +0000 (07:03 +0200)]
Only set me_mfd if needed. Drop unused read access.

7 years agoITS#8505 Clarify fork() caveat, mdb_env_get_fd(), flock->fcntl.
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:42 +0000 (07:03 +0200)]
ITS#8505 Clarify fork() caveat, mdb_env_get_fd(), flock->fcntl.

7 years agoITS#8505 Protect parent from fork()-pthread_exit()
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:40 +0000 (07:03 +0200)]
ITS#8505 Protect parent from fork()-pthread_exit()

7 years agoITS#8505 Set FD_CLOEXEC for me_mfd,env_copy as well
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:38 +0000 (07:03 +0200)]
ITS#8505 Set FD_CLOEXEC for me_mfd,env_copy as well

7 years agoMove opening files to mdb_fopen()
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:34 +0000 (07:03 +0200)]
Move opening files to mdb_fopen()

No change in functionality.

7 years agoFactor filename handling out to mdb_fname_*()
Hallvard Furuseth [Sat, 17 Sep 2016 19:31:04 +0000 (21:31 +0200)]
Factor filename handling out to mdb_fname_*()

No change in functionality, except needs less mallocing.

7 years agoITS#7992 Tighter utf8_to_utf16(), fix errcodes
Hallvard Furuseth [Tue, 6 Sep 2016 16:12:01 +0000 (18:12 +0200)]
ITS#7992 Tighter utf8_to_utf16(), fix errcodes

The 0xFFFD check seems due to misleading MultiByteToWideChar() doc.
Bad UTF-8 gives 0xFFFD in the output string, not the return value.

7 years agoClean up strange fcntl result check
Hallvard Furuseth [Tue, 6 Sep 2016 15:56:13 +0000 (17:56 +0200)]
Clean up strange fcntl result check

...and check !MDB_CLOEXEC in an 'if' rather than '#if'
to match its non-zero usage.

7 years agoDrop spurious Errcode() call
Hallvard Furuseth [Tue, 6 Sep 2016 15:48:31 +0000 (17:48 +0200)]
Drop spurious Errcode() call

7 years agoITS#7682 F_NOCACHE: Allow error, skip any O_DIRECT
Hallvard Furuseth [Tue, 6 Sep 2016 15:41:02 +0000 (17:41 +0200)]
ITS#7682 F_NOCACHE: Allow error, skip any O_DIRECT

We can run without F_NOCACHE if it fails. And we do not know
what combining it with O_DIRECT means, if a system has both.

7 years agoITS#8489 reset cursor EOF flag in cursor_set
Howard Chu [Wed, 31 Aug 2016 23:41:35 +0000 (00:41 +0100)]
ITS#8489 reset cursor EOF flag in cursor_set

It usually gets done anyway, but one of the fastpath shortcuts
bypassed this step.

7 years agoClean up MDB_USE_ROBUST #defines
Hallvard Furuseth [Sun, 21 Aug 2016 21:22:18 +0000 (23:22 +0200)]
Clean up MDB_USE_ROBUST #defines

Make explicit and default nonzero equivalent. Parenthesize.

7 years agoFix mdb_page_list() message
Hallvard Furuseth [Sun, 21 Aug 2016 21:20:22 +0000 (23:20 +0200)]
Fix mdb_page_list() message

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 agoITS#8353 regenerate configure
Quanah Gibson-Mount [Thu, 8 Dec 2016 17:13:17 +0000 (09:13 -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

7 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.

7 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

7 years agoITS#8525
Quanah Gibson-Mount [Tue, 29 Nov 2016 17:38:55 +0000 (09:38 -0800)]
ITS#8525

7 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>
7 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

7 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

7 years agoITS#8353 partial fixes
Howard Chu [Thu, 21 Jan 2016 18:01:17 +0000 (18:01 +0000)]
ITS#8353 partial fixes

ERR_remove_state() is deprecated since OpenSSL 1.0.0
Use X509_NAME_ENTRY_get_object() instead of direct access.

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

7 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

7 years agoITS#8435
Quanah Gibson-Mount [Fri, 4 Nov 2016 22:36:29 +0000 (15:36 -0700)]
ITS#8435

7 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.

7 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

7 years agoITS#8442
Quanah Gibson-Mount [Wed, 2 Nov 2016 17:48:37 +0000 (10:48 -0700)]
ITS#8442

7 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

7 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

7 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

7 years agoITS#8449
Quanah Gibson-Mount [Mon, 17 Oct 2016 18:06:00 +0000 (11:06 -0700)]
ITS#8449