nscd segfaults when you attempt to query netgroup info

Bug #1000862 reported by Chris J Arges
This bug report is a duplicate of:  Bug #997096: nscd segmentation fault. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This affects 12.04 Precise.

Description:
This occurs when using libnss-ldap with gnutls for authentication. Previous versions of nscd did not cache netgroup information, but the version in precise does (2.15-0ubuntu5). When using a sudo rule file which uses netgroup membership in /etc/sudoers.d, using 'sudo' will cause an nscd segfault.

Reproducible: 100%

Steps to reproduce:
- Configure 12.04 to use nssldap authentication
- Configure a sudo rule that queries netgroups (example attached)
- Install nscd
- Issue sudo command
- There will be a segfault.

It is expected that there won't be a segfault and sudo will work correctly.

Chris J Arges (arges)
affects: ubuntu → eglibc (Ubuntu)
Chris J Arges (arges)
Changed in eglibc (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Mark Russell (marrusl) wrote :

example file to place in /etc/sudoers.d/

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

Bug attachments

Remote bug watches

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