openldap.git
17 months agofix-build-top-mk
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
fix-build-top-mk

Gbp-Pq: Name fix-build-top-mk

17 months agoadd-tlscacert-option-to-ldap-conf
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
add-tlscacert-option-to-ldap-conf

Gbp-Pq: Name add-tlscacert-option-to-ldap-conf

17 months agoldap-conf-tls-cacertdir
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
ldap-conf-tls-cacertdir

Gbp-Pq: Name ldap-conf-tls-cacertdir

17 months agocontrib-makefiles
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
contrib-makefiles

Gbp-Pq: Name contrib-makefiles

17 months agodo-not-second-guess-sonames
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
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

17 months agogetaddrinfo-is-threadsafe
Steve Langasek [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
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

17 months agosasl-default-path
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
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

17 months agoindex-files-created-as-root
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
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

17 months agowrong-database-location
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
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

17 months agoldapi-socket-place
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
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

17 months agoslapi-errorlog-file
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
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

17 months agoman-slapd
Debian OpenLDAP Maintainers [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
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

17 months agoReplace upstream version with Debian version in version strings
Ryan Tandy [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
Replace upstream version with Debian version in version strings

Forwarded: not-needed

Gbp-Pq: Name debian-version

17 months agoopenldap (2.5.18+dfsg-2) unstable; urgency=medium
Ryan Tandy [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
openldap (2.5.18+dfsg-2) unstable; urgency=medium

  * Apply upstream patch to fix back-perl linking with libperl.
    (ITS#10221, LP: #2072976)
  * Add a superficial autopkgtest to ensure back_perl can be loaded.

[dgit import unpatched openldap 2.5.18+dfsg-2]

17 months agoImport openldap_2.5.18+dfsg-2.debian.tar.xz
Ryan Tandy [Sun, 14 Jul 2024 21:37:43 +0000 (14:37 -0700)]
Import openldap_2.5.18+dfsg-2.debian.tar.xz

[dgit import tarball openldap 2.5.18+dfsg-2 openldap_2.5.18+dfsg-2.debian.tar.xz]

18 months agoImport openldap_2.5.18+dfsg.orig.tar.xz
Ryan Tandy [Thu, 13 Jun 2024 02:23:12 +0000 (19:23 -0700)]
Import openldap_2.5.18+dfsg.orig.tar.xz

[dgit import orig openldap_2.5.18+dfsg.orig.tar.xz]