Package: libnss-ldapd
Version: 0.7.13
Severity: normal

ISSUE
========
After selecting Name services to configure, "ldap" is not placed after files
for each service, but new line is created instead. This causes serious issues
and no user including root can login.

Original
=========

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

  passwd:         files
  group:          files
  shadow:         files

  hosts:          files dns
  networks:       files

  protocols:      db files
  services:       db files
  ethers:         db files
  rpc:            db files

  netgroup:       nis


After configuration
=============
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

  passwd:         files
  group:          files
  shadow:         files

  hosts:          files dns
  networks:       files

  protocols:      db files
  services:       db files
  ethers:         db files
  rpc:            db files

  netgroup:       nis
group   ldap
hosts   ldap
passwd  ldap
shadow  ldap


Fix after reboot
============
If you do not reboot, then you can fix /etc/nssswitch.conf right away.

If you reboot you will end up with unusable machine. You are not able to login
and you will see some services to fails.

To fix this problem, you have edit GRUB menu entry and for "linux" prepend
init=/bin/bash

Boot into bash, remount filesystem as RW "mount -o remount,rw /" and put
/etc/nssswitch.conf to original state. Then reboot.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libnss-ldapd depends on:
ii  debconf [debconf-2.0]         1.5.41     Debian configuration management sy
ii  libc6                         2.13-18    Embedded GNU C Library: Shared lib
ii  nslcd                         0.7.13     Daemon for NSS and PAM lookups usi

libnss-ldapd recommends no packages.

libnss-ldapd suggests no packages.

-- debconf information:
* libnss-ldapd/nsswitch:
  libnss-ldapd/clean_nsswitch: false



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to