[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#441458: marked as done (boot failure (using local files) if ldap unavailable)



Your message dated Wed, 16 Nov 2022 01:20:11 +0000
with message-id <E1ov763-0016tp-7a@fasolo.debian.org>
and subject line Bug#1024140: Removed package(s) from unstable
has caused the Debian Bug report #441458,
regarding boot failure (using local files) if ldap unavailable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
441458: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441458
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libnss-ldap
Version: 256-1
Severity: normal

We have at least two systems running the libnss-ldap package, one Debian
lenny and one Ubuntu feisty. Both exhibit this same problem.

Both systems boot fine without libnss-ldap. My goal is for each system
to continue working with libnss-ldap: local passwd and group files
should override values from our LDAP directory. However I would like
users without local accounts to be able to login with their LDAP
account.

To this end, I changed the passwd and group lines in nsswitch.conf
(see entire file attached):

passwd:         compat ldap
group:          compat ldap

This works great when our LDAP server is available, but if it's not, I
still want users with local accounts to be able to login. Instead, if I
boot the system and our LDAP server is unavailable, no logins are
possible. Not even root is able to login. In this case, I need to reboot
the system in single user mode and remove ldap from nsswitch.conf before
anyone can login.

This is particularly a problem on the system actually running our LDAP
server, since our LDAP server is obviously never available when it
boots. In this case as well, I must boot in single user mode, remove
ldap from nsswitch.conf, finish booting, and finally return ldap to
nsswitch.conf. Once done, users can happily login with their LDAP
accounts.

I have also tried changing the passwd and group lines in nsswitch.conf:

passwd:         compat ldap [NOTFOUND=return]
group:          compat ldap [NOTFOUND=return]

This case behaves the same when our LDAP server is unavailalbe. When our
LDAP server is available, users with local accounts can login, but users
with LDAP accounts can't.

I've not yet installed nscd or either system.

Thanks for maintaining libnss-ldap in Debian, Jack

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

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

Versions of packages libnss-ldap depends on:
ii  debconf [debconf-2.0]       1.5.14       Debian configuration management sy
ii  libc6                       2.6.1-1+b1   GNU C Library: Shared libraries
ii  libkrb53                    1.6.dfsg.1-6 MIT Kerberos runtime libraries
ii  libldap2                    2.1.30-13.4  OpenLDAP libraries

Versions of packages libnss-ldap recommends:
ii  libpam-ldap                   184-2      Pluggable Authentication Module al
pn  nscd                          <none>     (no description available)

-- debconf information:
  libnss-ldap/dblogin: false
  libnss-ldap/override: true
* shared/ldapns/base-dn: dc=campcoop,dc=com
* shared/ldapns/ldap-server: ldap://ldap.campcoop.com
  libnss-ldap/confperm: false
* libnss-ldap/rootbinddn: cn=admin,dc=campcoop,dc=com
* shared/ldapns/ldap_version: 3
  libnss-ldap/binddn: cn=proxyuser,dc=example,dc=net
* libnss-ldap/nsswitch:
  libnss-ldap/dbrootlogin: true
# /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:         compat ldap
group:          compat ldap
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

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

netgroup:       nis

--- End Message ---
--- Begin Message ---
Version: 265-6+rm

Dear submitter,

as the package libnss-ldap has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1024140

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: