openldap.git
3 years agoset-maintainer-name
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
set-maintainer-name

Gbp-Pq: Name set-maintainer-name

3 years agoSwitch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all...
Jan-Marek Glogowski [Tue, 18 May 2010 15:47:05 +0000 (17:47 +0200)]
Switch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all modules with RTLD_GLOBAL, needed so that back_perl can load non-trivial Perl extensions that require symbols from back_perl.so itself.

Bug-Debian: http://bugs.debian.org/327585

Gbp-Pq: Name switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff

3 years agofix-build-top-mk
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
fix-build-top-mk

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

3 years agoadd-tlscacert-option-to-ldap-conf
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
add-tlscacert-option-to-ldap-conf

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

3 years agoldap-conf-tls-cacertdir
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
ldap-conf-tls-cacertdir

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

3 years agocontrib-makefiles
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
contrib-makefiles

Gbp-Pq: Name contrib-makefiles

3 years agodo-not-second-guess-sonames
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
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

3 years agogetaddrinfo-is-threadsafe
Steve Langasek [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
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

3 years agosasl-default-path
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
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

3 years agoindex-files-created-as-root
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
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

3 years agowrong-database-location
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
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

3 years agoldapi-socket-place
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
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

3 years agoslapi-errorlog-file
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
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

3 years agoman-slapd
Debian OpenLDAP Maintainers [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
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

3 years agoReplace upstream version with Debian version in version strings
Ryan Tandy [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
Replace upstream version with Debian version in version strings

Forwarded: not-needed

Gbp-Pq: Name debian-version

3 years agoopenldap (2.5.12+dfsg-2) unstable; urgency=medium
Ryan Tandy [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
openldap (2.5.12+dfsg-2) unstable; urgency=medium

  * Stop slapd explicitly in prerm as a workaround for #1006147, which caused
    dpkg-reconfigure to not restart the service, so the new configuration was
    not applied. See also #994204. (Closes: #1010971)

[dgit import unpatched openldap 2.5.12+dfsg-2]

3 years agoImport openldap_2.5.12+dfsg-2.debian.tar.xz
Ryan Tandy [Mon, 23 May 2022 17:14:53 +0000 (18:14 +0100)]
Import openldap_2.5.12+dfsg-2.debian.tar.xz

[dgit import tarball openldap 2.5.12+dfsg-2 openldap_2.5.12+dfsg-2.debian.tar.xz]

3 years agoImport openldap_2.5.12+dfsg.orig.tar.gz
Ryan Tandy [Thu, 5 May 2022 01:00:16 +0000 (02:00 +0100)]
Import openldap_2.5.12+dfsg.orig.tar.gz

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