[Pkg-shadow-devel] Bug#498635: passwd: useradd -r and groupadd -r don't play nicely with ldap

Ben Poliakoff benp at reed.edu
Thu Sep 11 16:44:36 UTC 2008

Package: passwd
Version: 1:4.1.1-3
Severity: important

"useradd -r" and "groupadd -r" hang "forever" when run on a system that 
is configured to use libnss-ldap (with ldap references for "passwd" and
"group" in /etc/nsswitch.conf).  I use the following ldap related
configs in nsswitch.conf:

    passwd_compat: ldap
    group:      files ldap
    netgroup:   files ldap

The impact of this problem can be very ugly. In the case of an etch
to lenny upgrade, packages like libuuid1 try to create a "system"
group necessitates killing the stalled "apt-get dist-upgrade" process.

It'd be really really nice to resolve this before lenny's released.


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

Kernel: Linux 2.6.18-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages passwd depends on:
ii  debianutils                   2.30       Miscellaneous utilities specific t
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libpam-modules                1.0.1-4+b1 Pluggable Authentication Modules f
ii  libpam0g                      1.0.1-4+b1 Pluggable Authentication Modules l
ii  libselinux1                   2.0.65-4   SELinux shared libraries

passwd recommends no packages.

passwd suggests no packages.

-- debconf information:
  passwd/username: toor
  passwd/make-user: true
  passwd/shadow: true

More information about the Pkg-shadow-devel mailing list