Bug 253997
Summary: | nss_ldap / setnetgrent() returns always 1 despite not retrieving any valid results. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Jose Plans <jplans> | ||||||||
Component: | nss_ldap | Assignee: | Nalin Dahyabhai <nalin> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 4.5 | CC: | jplans | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | RHSA-2008-0715 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2008-07-24 19:55:39 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Jose Plans
2007-08-23 15:04:19 UTC
Created attachment 168960 [details]
rawhide patch...
Created attachment 168982 [details]
nss_ldap-netgroup_rhel4.patch
If I'm reading it right, the patch won't give you the expected result if you have multiple search descriptors, and the netgroup's data isn't found in the first one (the LDAP search will succeed, you'll get back no answers, and you'll continue on until you run out of search descriptors). Not being able to tell when a group doesn't exist sounds wrong, though. agreed! this fails if we get multiple queries... looking into the key problem... This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Created attachment 299215 [details]
revised candidate patch
Jose, I think this adjusted patch will work. If you've got a system handy for
verifying, can you test it?
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2008-0715.html |