[Pkg-openldap-devel] Bug#626911: /etc/slapd.d are internal slapd data, not configuration files

Simone Piccardi piccardi at truelite.it
Mon May 16 10:36:30 UTC 2011


Package: slapd
Version: 2.4.25-1+b1
Severity: normal


As said by Howard Chu, OpenLDAP Chief Architect:

------------

The directory structure under slapd.d is private/internal to slapd.

Forget it is even there. As far as you're concerned, it does not even exist.

The only thing you should ever look at is the LDAP DIT, whether
returned by slapcat, ldapsearch, or your LDAP GUI browser of choice.

------------

(see here:
http://www.openldap.org/lists/openldap-technical/201104/msg00271.html)

so I putting that in /etc/ldap/ is not correct, they are not
configuration files, you should never modify them by hand (as
explicetely stated by Chu himself in the same thread).

So they should be placed in /var/lib/ldap like any other backend data.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages slapd depends on:
ii  adduser                   3.112+nmu2     add and remove users and groups
ii  coreutils                 8.5-1          GNU core utilities
ii  debconf [debconf-2.0]     1.5.39         Debian configuration management sy
ii  libc6                     2.13-4         Embedded GNU C Library: Shared lib
ii  libdb4.8                  4.8.30-8       Berkeley v4.8 Database Libraries [
ii  libgcrypt11               1.4.6-5        LGPL Crypto library - runtime libr
ii  libgnutls26               2.10.5-1+b1    the GNU TLS library - runtime libr
ii  libldap-2.4-2             2.4.25-1+b1    OpenLDAP libraries
ii  libltdl7                  2.4-2          A system independent dlopen wrappe
ii  libperl5.12               5.12.3-6       shared Perl library
ii  libsasl2-2                2.1.23.dfsg1-8 Cyrus SASL - authentication abstra
ii  libslp1                   1.2.1-7.8      OpenSLP libraries
ii  libwrap0                  7.6.q-19       Wietse Venema's TCP wrappers libra
ii  lsb-base                  3.2-27         Linux Standard Base 3.2 init scrip
ii  perl [libmime-base64-perl 5.12.3-6       Larry Wall's Practical Extraction 
ii  psmisc                    22.13-1        utilities that use the proc file s
ii  unixodbc                  2.2.14p2-2     ODBC tools libraries

Versions of packages slapd recommends:
ii  libsasl2-modules          2.1.23.dfsg1-8 Cyrus SASL - pluggable authenticat

Versions of packages slapd suggests:
ii  ldap-utils                   2.4.25-1+b1 OpenLDAP utilities

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





More information about the Pkg-openldap-devel mailing list