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

Bug#637427: marked as done (libc: nsswitch doesn't respect nsswitch.conf when looking up a single group)

Your message dated Fri, 12 Aug 2011 13:01:46 +0200
with message-id <20110812110146.GL5425@hall.aurel32.net>
and subject line Re: Bug#637427: Invalid bug report. Please close it.
has caused the Debian Bug report #637427,
regarding libc: nsswitch doesn't respect nsswitch.conf when looking up a single group
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

637427: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637427
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.11.2-10
Severity: important
File: libc

I have the following line in /etc/nsswitch.conf:

 group: ldap compat

LDAP source is provided by libnss-ldapd (aka nslcd). Now suppose I have
group foo in both the remote LDAP DB and local /etc/group, with
different values:

 (LDAP) foo:*:1500:user1
 (/etc/group) foo:x:500:user2


 getent group

will list the LDAP one before the local one, which is expected. However,

 getent group foo

will always show the local one, ie. foo:x:500:user2 instead of the
expected LDAP one. I tried running nslcd in debug mode with

 service nslcd stop && nslcd -d

And it's clear that when I call `getent group foo`, nslcd is *not*
queried. Thus I highly suspect this be a bug in glibc.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libc-bin                      2.11.2-10  Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.4.5-8  GCC support library

Versions of packages libc6 recommends:
ii  libc6-i686                    2.11.2-10  Embedded GNU C Library: Shared lib

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]   Debian configuration management sy
pn  glibc-doc                     <none>     (no description available)
ii  locales                       2.11.2-10  Embedded GNU C Library: National L

-- debconf information:
  glibc/upgrade: true

--- End Message ---
--- Begin Message ---
On Fri, Aug 12, 2011 at 09:42:49AM +0800, cheerXiao wrote:
> Sorry, my bad. Apparently nscd is caching the query result. Please
> close this bug report and mark it as invalid.

Closing it with this mail.

Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

--- End Message ---

Reply to: