openldap.git
3 years agoindex-files-created-as-root
Debian OpenLDAP Maintainers [Sat, 24 Sep 2022 19:40:21 +0000 (20:40 +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 [Sat, 24 Sep 2022 19:40:21 +0000 (20:40 +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 [Sat, 24 Sep 2022 19:40:21 +0000 (20:40 +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 [Sat, 24 Sep 2022 19:40:21 +0000 (20:40 +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 [Sat, 24 Sep 2022 19:40:21 +0000 (20:40 +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 [Sat, 24 Sep 2022 19:40:21 +0000 (20:40 +0100)]
Replace upstream version with Debian version in version strings

Forwarded: not-needed

Gbp-Pq: Name debian-version

3 years agoopenldap (2.5.13+dfsg-2) unstable; urgency=medium
Ryan Tandy [Sat, 24 Sep 2022 19:40:21 +0000 (20:40 +0100)]
openldap (2.5.13+dfsg-2) unstable; urgency=medium

  * d/tests/smbk5pwd: Grant slapd access to /var/lib/heimdal-kdc. Fixes the
    autopkgtest failure due to heimdal setting mode 700 on this directory.
    (Closes: #1020442)
  * d/source/lintian-overrides: Add wildcards to make overrides compatible
    with both older and newer versions of lintian.
  * d/slapd-contrib.lintian-overrides: Remove unused
    custom-library-search-path override now that krb5-config no longer sets
    -rpath.

[dgit import unpatched openldap 2.5.13+dfsg-2]

3 years agoImport openldap_2.5.13+dfsg-2.debian.tar.xz
Ryan Tandy [Sat, 24 Sep 2022 19:40:21 +0000 (20:40 +0100)]
Import openldap_2.5.13+dfsg-2.debian.tar.xz

[dgit import tarball openldap 2.5.13+dfsg-2 openldap_2.5.13+dfsg-2.debian.tar.xz]

3 years agoImport openldap_2.5.13+dfsg.orig.tar.xz
Sergio Durigan Junior [Sun, 18 Sep 2022 22:29:46 +0000 (23:29 +0100)]
Import openldap_2.5.13+dfsg.orig.tar.xz

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