[Pkg-openldap-devel] Bug#722090: slapd: slapindex on back_mdb directory expands without limit, leading to failure

Jeremy Brandon Roman jbroman at csclub.uwaterloo.ca
Sat Sep 7 19:07:28 UTC 2013


Package: slapd
Version: 2.4.31-1+nmu2
Severity: normal

Dear Maintainer,

I just had to rebuild my LDAP directory because I made the mistake of trying
to reindex my back_mdb data (after changing indexes in slapd.conf). The file
grew until it hit its limit; increasing the limit did not solve this.

This issue seems to be known and solved in upstream:
http://www.openldap.org/lists/openldap-bugs/201209/msg00034.html

Some solution to this should be backported, as using slapindex and mdb is
a reasonable configuration that should work, especially on a stable Debian
release.

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages slapd depends on:
ii  adduser                     3.113+nmu3
ii  coreutils                   8.13-3.5
ii  debconf [debconf-2.0]       1.5.49
ii  libc6                       2.13-38
ii  libdb5.1                    5.1.29-5
ii  libgcrypt11                 1.5.0-5+deb7u1
ii  libgnutls26                 2.12.20-7
ii  libldap-2.4-2               2.4.31-1+nmu2
ii  libltdl7                    2.4.2-1.1
ii  libodbc1                    2.2.14p2-5
ii  libperl5.14                 5.14.2-21
ii  libsasl2-2                  2.1.25.dfsg1-6+deb7u1
ii  libslp1                     1.2.1-9
ii  libwrap0                    7.6.q-24
ii  lsb-base                    4.1+Debian8+deb7u1
ii  multiarch-support           2.13-38
ii  perl [libmime-base64-perl]  5.14.2-21
ii  psmisc                      22.19-1+deb7u1

Versions of packages slapd recommends:
ii  libsasl2-modules  2.1.25.dfsg1-6+deb7u1

Versions of packages slapd suggests:
ii  ldap-utils  2.4.31-1+nmu2

-- Configuration Files:
/etc/default/slapd changed:
SLAPD_CONF=
SLAPD_USER="openldap"
SLAPD_GROUP="openldap"
SLAPD_PIDFILE=
SLAPD_SERVICES="ldap:/// ldaps:/// ldapi:///"
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
SLAPD_OPTIONS=""


-- debconf information:
  slapd/allow_ldap_v2: false
  slapd/password_mismatch:
* slapd/invalid_config: true
  shared/organization: csclub.uwaterloo.ca
  slapd/upgrade_slapcat_failure:
  slapd/no_configuration: false
  slapd/move_old_database: true
  slapd/dump_database_destdir: /var/backups/slapd-VERSION
  slapd/purge_database: false
  slapd/domain: csclub.uwaterloo.ca
  slapd/backend: HDB
  slapd/dump_database: when needed



More information about the Pkg-openldap-devel mailing list