openldap.git
3 years agoindex-files-created-as-root
Debian OpenLDAP Maintainers [Sun, 18 Sep 2022 22:29:46 +0000 (23:29 +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 [Sun, 18 Sep 2022 22:29:46 +0000 (23:29 +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 [Sun, 18 Sep 2022 22:29:46 +0000 (23:29 +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 [Sun, 18 Sep 2022 22:29:46 +0000 (23:29 +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 [Sun, 18 Sep 2022 22:29:46 +0000 (23:29 +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 [Sun, 18 Sep 2022 22:29:46 +0000 (23:29 +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-1) unstable; urgency=medium
Sergio Durigan Junior [Sun, 18 Sep 2022 22:29:46 +0000 (23:29 +0100)]
openldap (2.5.13+dfsg-1) unstable; urgency=medium

  * d/rules: Remove get-orig-source, now unnecessary.
  * Check PGP signature when running uscan.
  * d/watch: Modernize watch file; use repacksuffix.
  * d/copyright: Update according to DEP-5.
  * d/control: Add myself to Uploaders.
  * New upstream release.

[dgit import unpatched openldap 2.5.13+dfsg-1]

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]

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

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