Bug 229755
Summary: | pam_succeed_if fails when it should succeed | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | John Robinson <john.robinson> | ||||||
Component: | pam | Assignee: | Tomas Mraz <tmraz> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Jay Turner <jturner> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.4 | CC: | srevivo | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2007-02-23 11:21:32 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
John Robinson
2007-02-23 07:12:10 UTC
I've followed this up and discovered that the "in" and "notin" feature was only added in August last year, and isn't present in EL4's PAM, which will be why it doesn't work. However, I really think the error message ought to say "no such operator" or something like that, instead of just "requirement not met". Just in case you're interested, I'll attach a patch to provide the feature (originally from http://pam.cvs.sourceforge.net/pam/Linux-PAM/modules/pam_succeed_if/pam_succeed_if.c?r1=1.11&r2=1.12&view=patch but modified to apply cleanly to your pam-0.77-66.17). Created attachment 148651 [details]
Add upstream "in" and "notin" list matching feature
Created attachment 148652 [details]
Patch to pam spec to (i) build cleanly and (ii) add list match feature
Build fails with unpackaged files error, so remove them (they're unnecessary
symlinks).
|