Package: libnss-ldapd
Version: 0.9.4-3+deb8u1
Severity: minor

Dear Maintainer,

libnss-ldapd does not appear to respect the content of debconf when asking its
question of which items to configure in nsswitch.conf.

When you perform a dpkg-reconfigure on libnss-ldapd, it will show you the list
of databases as configured in nsswitch.conf, not as recorded in debconf.  It
does record the answer into debconf.

As an example, let's assume that I originally installed the package and selected
the passwd and group databases to look up using ldap.  This adjusts 
nsswitch.conf
and records in debconf that I'd selected passwd and group.   Next, I change that
answer (using debconf-set-selections) to only choose passwd.   Run
dpkg-reconfigure and it again shows both passwd and group, since that is what
nsswitch.conf is currently configured with.  I was expecting this to show me
just passwd as that is what is stored in debconf.

This bug prevents me from being able to change the answer in debconf and then
cause the package to apply that configuration via running:
"dpkg-reconfigure -fnoninteractive libnss-ldapd".  I would presume that this
would also prevent me from pre-answering the question before installing the
package too.

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

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libnss-ldapd depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  libc6                  2.19-18+deb8u4
ii  multiarch-support      2.19-18+deb8u4
ii  nslcd [nslcd-2]        0.9.4-3+deb8u1

libnss-ldapd recommends no packages.

libnss-ldapd suggests no packages.

-- debconf information:
  libnss-ldapd/clean_nsswitch: false
* libnss-ldapd/nsswitch: group, passwd

Reply via email to