openldap.git
4 years agocontrib-makefiles
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
contrib-makefiles

Gbp-Pq: Name contrib-makefiles

4 years agodo-not-second-guess-sonames
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
do-not-second-guess-sonames

Rip out code that second-guesses the libsasl soname / Debian shlibs.  If
cyrus sasl upstream is breaking the ABI, this needs to be fixed upstream
there, not kludged around upstream here!

Debian bug #546885

Upstream ITS #6302 filed.

Gbp-Pq: Name do-not-second-guess-sonames

4 years agogetaddrinfo-is-threadsafe
Steve Langasek [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
getaddrinfo-is-threadsafe

OpenLDAP upstream conservatively assumes that certain resolver functions
(getaddrinfo, getnameinfo, res_query, dn_expand) are not re-entrant; but we
know that the glibc implementations of these functions are thread-safe, so
we should bypass the use of this mutex.  This fixes a locking problem when
an application uses libldap and libnss-ldap is also used for hosts
resolution.

Closes Debian bug #340601.

Not suitable for forwarding upstream; might be made suitable by adding a
configure-time check for glibc and disabling the mutex only on known
thread-safe implementations.

Gbp-Pq: Name getaddrinfo-is-threadsafe

4 years agolibldap-symbol-versions
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
libldap-symbol-versions

Add symbol versioning to the public LDAP libraries.  This is required for
library transitions, such as the current transition from 2.1 to 2.4,
since programs will sometimes have both libraries loaded by different
dependency chains during the transition.

Not yet contributed upstream.

Upstream ITS #5365 filed requesting symbol versioning for libldap and
libber.

Gbp-Pq: Name libldap-symbol-versions

4 years agosasl-default-path
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
sasl-default-path

Add /etc/ldap/sasl2 to the SASL configuration search path.

Not submitted upstream.  Somewhat Debian-specific and probably not of
interest upstream.

Gbp-Pq: Name sasl-default-path

4 years agoindex-files-created-as-root
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
index-files-created-as-root

Document in the man page that slapindex should be run as the same user
as slapd, and print a warning if it's run as root (since Debian defaults
to running slapd as openldap).

Not suitable for upstream in this form.  This patch needs to be reworked
to check the BerkeleyDB database ownership and only warn if running as
root with a database that's not owned by root.

Upstream ITS #5356 filed requesting better handling of this.  Current
upstream discussion leans towards putting the check into the database
backend and aborting if slapd is run as a different user than the database
owner, which is an even better fix.

Gbp-Pq: Name index-files-created-as-root

4 years agowrong-database-location
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
wrong-database-location

Move the default slapd database location to /var/lib/ldap instead of
/var/openldap-data.

Debian-specific.

Gbp-Pq: Name wrong-database-location

4 years agoldapi-socket-place
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
ldapi-socket-place

Move the ldapi socket to /var/run/slapd from /var/run, since /var/run
is only writable by root and slapd runs as openldap.

Debian-specific.

Gbp-Pq: Name ldapi-socket-place

4 years agoslapi-errorlog-file
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
slapi-errorlog-file

The slapi error log file defaults to /var/errors given our setting
of --localstatedir.  Move it to /var/log/slapi-errors instead.

Debian-specific.

Gbp-Pq: Name slapi-errorlog-file

4 years agoevolution-ntlm
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
evolution-ntlm

Patch from evolution-exchange (2.10.3).  The ldap_ntlm_bind function is
actually called by evolution-data-server, checked at version 1.12.2.
Without this patch, the Exchange addressbook integration uses simple binds
with cleartext passwords.

Russ checked with openldap-software for upstream's opinion on this patch
on 2007-12-21.  Upstream had never received it as a patch submission and
given that it's apparently only for older Exchange servers that can't do
SASL and DIGEST-MD5, it's not very appealing.

Bug#457374 filed against evolution-data-server asking if this support is
still required on 2007-12-21.

Gbp-Pq: Name evolution-ntlm

4 years agoman-slapd
Debian OpenLDAP Maintainers [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
man-slapd

Patch the slapd man page to not refer to a header file that isn't
installed with the slapd package and to reference the correct path
for slapd.

Debian-specific.

Gbp-Pq: Name man-slapd

4 years agoReplace upstream version with Debian version in version strings
Ryan Tandy [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
Replace upstream version with Debian version in version strings

Forwarded: not-needed

Gbp-Pq: Name debian-version

4 years agoopenldap (2.4.57+dfsg-2) unstable; urgency=medium
Ryan Tandy [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
openldap (2.4.57+dfsg-2) unstable; urgency=medium

  * Fix slapd assertion failure in Certificate List Exact Assertion validation
    (ITS#9454) (CVE-2021-27212)

[dgit import unpatched openldap 2.4.57+dfsg-2]

4 years agoImport openldap_2.4.57+dfsg-2.debian.tar.xz
Ryan Tandy [Sun, 14 Feb 2021 17:26:41 +0000 (17:26 +0000)]
Import openldap_2.4.57+dfsg-2.debian.tar.xz

[dgit import tarball openldap 2.4.57+dfsg-2 openldap_2.4.57+dfsg-2.debian.tar.xz]

4 years agoImport openldap_2.4.57+dfsg.orig.tar.gz
Ryan Tandy [Sat, 23 Jan 2021 16:57:07 +0000 (16:57 +0000)]
Import openldap_2.4.57+dfsg.orig.tar.gz

[dgit import orig openldap_2.4.57+dfsg.orig.tar.gz]