nscd fails when netgroups on ldap

Bug #997752 reported by Stephen
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 12.04 server amd64

nscd 2.15-0ubuntu10
libnss-ldapd 0.8.4
libpam-ldapd 0.8.4
ng-utils 0.7-1

nscd fails to return netgroup lists when netgroups are on ldap.

nscd.conf is default

_____nsswitch.conf_____
passwd: compat
passwd_compat: ldap
group: compat
shadow: compat

hosts: files dns
networks: files

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

netgroup: ldap
_____nsswitch.conf_____

With nscd running the command "netgroup -u admins" returns nothing and exits with a 0.

With nscd stopped the command "netgroup -u admins" returns the 6 users in the netgroup as expected.

Workaround:
 Disable netgroup caching in /etc/nscd.conf

     enable-cache netgroup no

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eglibc (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.