]> git.sur5r.net Git - openldap/log
openldap
5 years agoITS#8051
Quanah Gibson-Mount [Tue, 3 Jul 2018 22:23:00 +0000 (22:23 +0000)]
ITS#8051

5 years agoITS#8051 use a regexp
Howard Chu [Wed, 4 Feb 2015 05:21:46 +0000 (05:21 +0000)]
ITS#8051 use a regexp

5 years agoITS#8051 add DN qualifier
Howard Chu [Wed, 4 Feb 2015 03:53:13 +0000 (03:53 +0000)]
ITS#8051 add DN qualifier

6 years agoReturn to engineering
Quanah Gibson-Mount [Thu, 22 Mar 2018 19:13:46 +0000 (19:13 +0000)]
Return to engineering

6 years agoPrep for release OPENLDAP_REL_ENG_2_4_46
Quanah Gibson-Mount [Thu, 22 Mar 2018 15:44:27 +0000 (15:44 +0000)]
Prep for release

6 years agoHappy New Year
Quanah Gibson-Mount [Thu, 22 Mar 2018 15:41:52 +0000 (15:41 +0000)]
Happy New Year

6 years agoITS#8818
Quanah Gibson-Mount [Thu, 22 Mar 2018 15:37:44 +0000 (15:37 +0000)]
ITS#8818

6 years agoITS#8818 SASL_MECH/SASL_REALM are not user-only
Howard Chu [Tue, 13 Mar 2018 18:55:50 +0000 (18:55 +0000)]
ITS#8818 SASL_MECH/SASL_REALM are not user-only

Changed as of ITS#4327 commit 86d10729

6 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Thu, 22 Mar 2018 15:36:04 +0000 (15:36 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

6 years agoUpdate release date LMDB_0.9.22
Quanah Gibson-Mount [Thu, 22 Mar 2018 15:23:05 +0000 (15:23 +0000)]
Update release date

6 years agoHappy New Year
Quanah Gibson-Mount [Thu, 22 Mar 2018 15:20:57 +0000 (15:20 +0000)]
Happy New Year

6 years agoRelease 0.9.22
Howard Chu [Wed, 21 Mar 2018 22:50:02 +0000 (22:50 +0000)]
Release 0.9.22

6 years agoITS#8819 can't use fakepage mp_ptrs directly
Howard Chu [Tue, 20 Mar 2018 18:34:56 +0000 (18:34 +0000)]
ITS#8819 can't use fakepage mp_ptrs directly

6 years agoITS#8800 -- Ensure there are no differences due to different checkpoints
Quanah Gibson-Mount [Wed, 28 Feb 2018 23:54:20 +0000 (23:54 +0000)]
ITS#8800 -- Ensure there are no differences due to different checkpoints
being logged to the underlying DB's contextCSN.

6 years agoITS#8789 revert previous patch
Howard Chu [Thu, 22 Feb 2018 14:59:41 +0000 (14:59 +0000)]
ITS#8789 revert previous patch

And try another approach. Always write contextCSN updates, but
don't set dont_replicate for updates we want propagated.

6 years agoITS#8789 avoid unnecessary writes of context entry
Howard Chu [Wed, 31 Jan 2018 15:19:58 +0000 (15:19 +0000)]
ITS#8789 avoid unnecessary writes of context entry

If syncprov is present, only write contextCSN attribute on
actual state changes, not on per-entry modifications.
Continue to update in-memory cookieState. Saves overhead,
syncprov will eventually checkpoint it into the DB anyway.

6 years agoAdd debug msg if adding entry to logDB fails
Howard Chu [Wed, 21 Feb 2018 19:50:45 +0000 (19:50 +0000)]
Add debug msg if adding entry to logDB fails

6 years agoITS#8752 accesslog: partially revert 3bb8b737ed8e444c6771c1465574eb6cf5b7f19a
Howard Chu [Wed, 21 Feb 2018 19:48:02 +0000 (19:48 +0000)]
ITS#8752 accesslog: partially revert 3bb8b737ed8e444c6771c1465574eb6cf5b7f19a

6 years agoITS#8800 -- Fix database name
Quanah Gibson-Mount [Tue, 13 Feb 2018 02:57:26 +0000 (02:57 +0000)]
ITS#8800 -- Fix database name

6 years agoITS#8800 -- Remove bash requirement
Quanah Gibson-Mount [Tue, 13 Feb 2018 01:42:35 +0000 (01:42 +0000)]
ITS#8800 -- Remove bash requirement

6 years agoWait for slapd to stop before proceeding. Otherwise this test may fail.
Quanah Gibson-Mount [Tue, 13 Feb 2018 00:34:09 +0000 (00:34 +0000)]
Wait for slapd to stop before proceeding.  Otherwise this test may fail.

Fix variable usage so it doesn't delete data/slapd.conf after running

6 years agoITS#4326 - Fix regression test so it operates correctly
Quanah Gibson-Mount [Mon, 12 Feb 2018 23:48:05 +0000 (23:48 +0000)]
ITS#4326 - Fix regression test so it operates correctly

6 years agoITS#4336 - Fix regression test to be valid
Quanah Gibson-Mount [Mon, 12 Feb 2018 23:50:17 +0000 (23:50 +0000)]
ITS#4336 - Fix regression test to be valid

6 years agoFix ITS#8100 description
Quanah Gibson-Mount [Sun, 11 Feb 2018 21:43:55 +0000 (21:43 +0000)]
Fix ITS#8100 description

6 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Sun, 11 Feb 2018 21:02:35 +0000 (21:02 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

6 years agoITS#8722
Quanah Gibson-Mount [Sun, 11 Feb 2018 21:02:05 +0000 (21:02 +0000)]
ITS#8722

6 years agoTweak ITS#8722 fix: Use XCURSOR_REFRESH()
Hallvard Furuseth [Sun, 10 Sep 2017 22:00:14 +0000 (00:00 +0200)]
Tweak ITS#8722 fix: Use XCURSOR_REFRESH()

This checks XCURSOR_INITED() and fixes the mn_flags check.

6 years agoXCURSOR_REFRESH() fixups/cleanup
Hallvard Furuseth [Sun, 10 Sep 2017 21:59:35 +0000 (23:59 +0200)]
XCURSOR_REFRESH() fixups/cleanup

* Check NUMKEYS(), similar to f34b61f9471d1c03fe0517b9d817c50c920e378a
  "ITS#8722 fix FIRST_DUP/LAST_DUP cursor bounds check".
* Move XCURSOR_INITED() into XCURSOR_REFRESH().  This adds a check in
  mdb_cursor_put, below /* converted, write the original data first */.
* Factor mc_ki[] out to XCURSOR_REFRESH().
* Replace an mc_pg[] with mp which is equal (mdb_cursor_del0).

6 years agoITS#8722 fix FIRST_DUP/LAST_DUP cursor bounds check
Howard Chu [Wed, 6 Sep 2017 20:15:48 +0000 (21:15 +0100)]
ITS#8722 fix FIRST_DUP/LAST_DUP cursor bounds check

6 years agoITS#8622
Quanah Gibson-Mount [Sun, 11 Feb 2018 20:58:54 +0000 (20:58 +0000)]
ITS#8622

6 years agoITS#8699 more for cursor_del ITS#8622
Howard Chu [Wed, 26 Jul 2017 20:37:40 +0000 (21:37 +0100)]
ITS#8699 more for cursor_del ITS#8622

Set C_DEL flag on reinit'd subcursor

6 years agoITS#8486
Quanah Gibson-Mount [Sun, 11 Feb 2018 20:57:03 +0000 (20:57 +0000)]
ITS#8486

6 years agoITS#8486 Don't keep sl_mutex locked when playing the sessionlog
Howard Chu [Fri, 19 Jan 2018 17:11:49 +0000 (17:11 +0000)]
ITS#8486 Don't keep sl_mutex locked when playing the sessionlog

6 years agoFix ITS location
Quanah Gibson-Mount [Fri, 9 Feb 2018 19:00:38 +0000 (19:00 +0000)]
Fix ITS location

6 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Fri, 9 Feb 2018 18:50:22 +0000 (18:50 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

6 years agoITS#8760
Quanah Gibson-Mount [Fri, 9 Feb 2018 18:47:21 +0000 (18:47 +0000)]
ITS#8760

6 years agoITS#8760 fix regression in 0.9.19
Howard Chu [Thu, 26 Oct 2017 18:04:37 +0000 (19:04 +0100)]
ITS#8760 fix regression in 0.9.19

6 years agoITS#8612
Quanah Gibson-Mount [Fri, 9 Feb 2018 18:46:06 +0000 (18:46 +0000)]
ITS#8612

6 years agoITS#8612 Fix Solaris builds with liblmdb
Quanah Gibson-Mount [Wed, 7 Jun 2017 20:42:51 +0000 (13:42 -0700)]
ITS#8612 Fix Solaris builds with liblmdb

This patch fixes liblmdb builds on Solaris and derivatives by defining
_POSIX_PTHREAD_SEMANTICS

6 years ago0.9.22 engineering
Quanah Gibson-Mount [Fri, 9 Feb 2018 18:45:20 +0000 (18:45 +0000)]
0.9.22 engineering

6 years agoITS#8800
Quanah Gibson-Mount [Fri, 9 Feb 2018 18:27:04 +0000 (18:27 +0000)]
ITS#8800

6 years agoRegression test for ITS8800
Quanah Gibson-Mount [Tue, 6 Feb 2018 03:41:17 +0000 (03:41 +0000)]
Regression test for ITS8800

6 years agoITS#8800 remove originator check in syncprov_search_response
Howard Chu [Fri, 2 Feb 2018 00:47:25 +0000 (00:47 +0000)]
ITS#8800 remove originator check in syncprov_search_response

Let the entryCSN check do all the work. Reloading a server from an old
backup needs this to go thru.

6 years agoITS#8801
Quanah Gibson-Mount [Fri, 9 Feb 2018 18:02:03 +0000 (18:02 +0000)]
ITS#8801

6 years agoITS#8801 Fix CSN queue processing
Howard Chu [Thu, 1 Feb 2018 22:32:45 +0000 (22:32 +0000)]
ITS#8801 Fix CSN queue processing

6 years agoITS#8607
Quanah Gibson-Mount [Fri, 9 Feb 2018 17:53:49 +0000 (17:53 +0000)]
ITS#8607

6 years agoITS#8607 Don't record checkpoints
Howard Chu [Wed, 31 Jan 2018 22:23:25 +0000 (22:23 +0000)]
ITS#8607 Don't record checkpoints

6 years agoITS#8100
Quanah Gibson-Mount [Fri, 9 Feb 2018 17:52:51 +0000 (17:52 +0000)]
ITS#8100

6 years agoITS#8100 fixes for delta-syncrepl with empty accesslog
Howard Chu [Tue, 30 Jan 2018 12:12:32 +0000 (12:12 +0000)]
ITS#8100 fixes for delta-syncrepl with empty accesslog

Update syncprov contextCSNs when context entry is added.
Fix accesslog to properly tag Add op when adding context entry.

6 years agoCleanup warnings
Howard Chu [Thu, 25 Jan 2018 15:36:00 +0000 (15:36 +0000)]
Cleanup warnings

6 years agoITS#8791
Quanah Gibson-Mount [Fri, 9 Feb 2018 17:42:30 +0000 (17:42 +0000)]
ITS#8791

6 years agoITS#8791 fix OpenSSL 1.1.1 BIO_method compat
Bradley Baetz [Fri, 8 Dec 2017 00:46:40 +0000 (11:46 +1100)]
ITS#8791 fix OpenSSL 1.1.1 BIO_method compat

Use the new methods unconditionally, define helper functions for older versions.

6 years agoITS#8796
Quanah Gibson-Mount [Fri, 9 Feb 2018 17:39:17 +0000 (17:39 +0000)]
ITS#8796

6 years agoITS#8796 Fix SSF reset
Ondřej Kuzník [Mon, 15 Jan 2018 16:07:59 +0000 (16:07 +0000)]
ITS#8796 Fix SSF reset

Maintain the SSF across SASL binds.

6 years agoITS#8484
Quanah Gibson-Mount [Fri, 9 Feb 2018 17:38:30 +0000 (17:38 +0000)]
ITS#8484

6 years agoITS#8484 - Fix MozNSS initialization
Soohoon Lee [Wed, 24 Aug 2016 02:07:42 +0000 (19:07 -0700)]
ITS#8484 - Fix MozNSS initialization

6 years agoITS#8782
Quanah Gibson-Mount [Fri, 9 Feb 2018 17:36:40 +0000 (17:36 +0000)]
ITS#8782

6 years agoITS#8782 plug memleaks in cancel
Howard Chu [Mon, 4 Dec 2017 15:59:33 +0000 (15:59 +0000)]
ITS#8782 plug memleaks in cancel

6 years agoITS#8778
Quanah Gibson-Mount [Fri, 9 Feb 2018 17:35:10 +0000 (17:35 +0000)]
ITS#8778

6 years agoITS#8778 Fix telephoneNumberNormalize("-" or " ")
Hallvard Furuseth [Sun, 26 Nov 2017 20:22:23 +0000 (21:22 +0100)]
ITS#8778 Fix telephoneNumberNormalize("-" or " ")

6 years agoBuild internal avl testing tools correctly
Ondřej Kuzník [Thu, 26 Oct 2017 10:49:16 +0000 (11:49 +0100)]
Build internal avl testing tools correctly

6 years agoITS#8650
Quanah Gibson-Mount [Fri, 9 Feb 2018 17:22:56 +0000 (17:22 +0000)]
ITS#8650

6 years agoITS#8650 retry gnutls_handshake after GNUTLS_E_AGAIN
Ryan Tandy [Sat, 6 May 2017 22:50:13 +0000 (22:50 +0000)]
ITS#8650 retry gnutls_handshake after GNUTLS_E_AGAIN

6 years agoITS#8752
Quanah Gibson-Mount [Tue, 17 Oct 2017 17:11:32 +0000 (10:11 -0700)]
ITS#8752

6 years agoITS#8752 accesslog: cleanup should only be called on failures
Howard Chu [Sat, 14 Oct 2017 10:22:53 +0000 (11:22 +0100)]
ITS#8752 accesslog: cleanup should only be called on failures

6 years agoITS#8752 fix syncrepl deadlock from updateCookie
Howard Chu [Fri, 13 Oct 2017 16:25:29 +0000 (17:25 +0100)]
ITS#8752 fix syncrepl deadlock from updateCookie

Must release cookieState->cs_mutex before invoking backend.
Add a condvar to serialize calls of updateCookie, so we can
release the mutex and still update sequentially.

Also added tid logging, useful in conjunction with
7ab0e1aff0cc48cdfb299ca7dbd27900a9e3d1a8

6 years agoITS#8752 additional debug info, thread ID of rmutex lockers
Howard Chu [Fri, 13 Oct 2017 16:24:19 +0000 (17:24 +0100)]
ITS#8752 additional debug info, thread ID of rmutex lockers

6 years agoITS#8752 fix syncrepl null_callback
Howard Chu [Thu, 5 Oct 2017 21:13:39 +0000 (22:13 +0100)]
ITS#8752 fix syncrepl null_callback

Make sure it's last in callback stack

6 years agoITS#8752 - Add regression test
Quanah Gibson-Mount [Thu, 5 Oct 2017 03:36:25 +0000 (20:36 -0700)]
ITS#8752 - Add regression test

6 years agoITS#8444 - Add regression test
Quanah Gibson-Mount [Tue, 10 Jan 2017 19:30:15 +0000 (11:30 -0800)]
ITS#8444 - Add regression test

6 years agoITS#8692
Quanah Gibson-Mount [Wed, 11 Oct 2017 20:08:53 +0000 (13:08 -0700)]
ITS#8692

6 years agoITS#8692 let back-sock generate increment: line in case of LDAP_MOD_INCREMENT (see...
Michael Ströder [Wed, 12 Jul 2017 18:18:22 +0000 (20:18 +0200)]
ITS#8692 let back-sock generate increment: line in case of LDAP_MOD_INCREMENT (see RFC 4525, section 3)

6 years agoITS#7389
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:47:24 +0000 (12:47 -0700)]
ITS#7389

6 years agoITS#7389 - MozNSS: load certificates from certdb, fallback to PEM
Jan Vcelak [Fri, 14 Sep 2012 12:24:29 +0000 (14:24 +0200)]
ITS#7389 - MozNSS: load certificates from certdb, fallback to PEM

If TLS_CACERT pointed to a PEM file and TLS_CACERTDIR was set to NSS
certificate database, the backend assumed that the certificate is always
located in the certificate database. This assumption might be wrong.

This patch makes the library to try to load the certificate from NSS
database and fallback to PEM file if unsuccessfull.

6 years agoITS#8167 Fix non-blocking TLS with referrals
Ian Puleston [Fri, 19 Sep 2014 01:48:50 +0000 (18:48 -0700)]
ITS#8167 Fix non-blocking TLS with referrals

6 years agoITS#8687
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:45:11 +0000 (12:45 -0700)]
ITS#8687

6 years agoITS#8687 - EGD is disabled by default in OpenSSL 1.1. We need to comment out this...
Quanah Gibson-Mount [Fri, 22 Sep 2017 21:25:20 +0000 (14:25 -0700)]
ITS#8687 - EGD is disabled by default in OpenSSL 1.1. We need to comment out this block if it is not detected. Particularly affects cross compilation.

6 years agoITS#8583
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:43:29 +0000 (12:43 -0700)]
ITS#8583

6 years agoITS#8583 - Fix C++ LDAP Control structure
Quanah Gibson-Mount [Wed, 5 Jul 2017 20:14:54 +0000 (13:14 -0700)]
ITS#8583 - Fix C++ LDAP Control structure

6 years agoITS#8578
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:41:57 +0000 (12:41 -0700)]
ITS#8578

6 years agoITS#8578 - remove unused-variables in RE24 testing call (2.4.45)
sca+openldap@andreasschulze.de [Fri, 1 Sep 2017 23:31:52 +0000 (16:31 -0700)]
ITS#8578 - remove unused-variables in RE24 testing call (2.4.45)

6 years agoITS#8404
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:40:07 +0000 (12:40 -0700)]
ITS#8404

6 years agoITS#8404 Fix an assertion failure during modify of olcDbRewrite in back-meta
Nadezhda Ivanova [Tue, 12 Sep 2017 14:14:30 +0000 (17:14 +0300)]
ITS#8404 Fix an assertion failure during modify of olcDbRewrite in back-meta

6 years agoITS#8121
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:39:03 +0000 (12:39 -0700)]
ITS#8121

6 years agoITS#8121 - Note ldap_sasl_bind and ldap_sasl_bind_s can be used to make simple binds...
Quanah Gibson-Mount [Sun, 23 Apr 2017 22:30:07 +0000 (15:30 -0700)]
ITS#8121 - Note ldap_sasl_bind and ldap_sasl_bind_s can be used to make simple binds via the LDAP_SASL_SIMPLE mechanism

6 years agoITS#7520
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:37:48 +0000 (12:37 -0700)]
ITS#7520

6 years agoITS#7520 - back-ldap omit-unknown-schema changes
Ted C. Cheng [Fri, 6 Feb 2015 01:19:39 +0000 (17:19 -0800)]
ITS#7520 - back-ldap omit-unknown-schema changes

6 years agoITS#7374
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:36:00 +0000 (12:36 -0700)]
ITS#7374

6 years agoITS#7374 - MozNSS: better file name matching for hashed CA certificate directory
Jan Vcelak [Wed, 29 Aug 2012 14:23:52 +0000 (16:23 +0200)]
ITS#7374 - MozNSS: better file name matching for hashed CA certificate directory

CA certificate files in OpenSSL compatible CACERTDIR were loaded if the
file extension was '.0'. However the file name should be 8 letters long
certificate hash of the certificate subject name, followed by a numeric
suffix which is used to differentiate between two certificates with the
same subject name.

Wit this patch, certificate file names are matched correctly (using
regular expressions).

6 years agoITS#7373
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:34:13 +0000 (12:34 -0700)]
ITS#7373

6 years agoITS#7373 - TLS: do not reuse tls_session if hostname check fails
Jan Vcelak [Tue, 28 Aug 2012 14:57:54 +0000 (16:57 +0200)]
ITS#7373 - TLS: do not reuse tls_session if hostname check fails

If multiple servers are specified, the connection to the first one
succeeds, and the hostname verification fails, *tls_session is not
dropped, but reused when connecting to the second server.

This is a problem with Mozilla NSS backend because another handshake
cannot be performed on the same file descriptor. From this reason,
hostname checking was moved into ldap_int_tls_connect() before
connection error handling.

6 years agoITS#7100
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:29:45 +0000 (12:29 -0700)]
ITS#7100

6 years agoITS#7100 Update entryTtl behaviour to match RFC 2589
Ondřej Kuzník [Sun, 22 Nov 2015 18:32:43 +0000 (18:32 +0000)]
ITS#7100 Update entryTtl behaviour to match RFC 2589

6 years agoITS#7100 Test for entryTtl reflecting time to live
Ondřej Kuzník [Sun, 22 Nov 2015 18:31:30 +0000 (18:31 +0000)]
ITS#7100 Test for entryTtl reflecting time to live

6 years agoITS#5048
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:28:36 +0000 (12:28 -0700)]
ITS#5048

6 years agoITS#5048 - index on entryCSN is mandatory
Quanah Gibson-Mount [Thu, 7 Sep 2017 15:44:28 +0000 (08:44 -0700)]
ITS#5048 - index on entryCSN is mandatory

6 years agoITS#8717, ITS#8720, ITS#8226
Quanah Gibson-Mount [Wed, 11 Oct 2017 19:16:35 +0000 (12:16 -0700)]
ITS#8717, ITS#8720, ITS#8226

6 years agoITS#8717 call connection delete callbacks
Howard Chu [Wed, 6 Sep 2017 20:46:09 +0000 (21:46 +0100)]
ITS#8717 call connection delete callbacks

When TLS fails to start

6 years agoITS#8720 use the configured exop timeout for StartTLS
Howard Chu [Thu, 31 Aug 2017 15:53:45 +0000 (16:53 +0100)]
ITS#8720 use the configured exop timeout for StartTLS

Also, there's no need for a retry loop here. Just wait for
the specified timeout or give up.

6 years agoITS#8226 optimization
Howard Chu [Tue, 1 Aug 2017 21:08:50 +0000 (22:08 +0100)]
ITS#8226 optimization

Don't release read txn unless there has actually been a new write txn