Bug 782256 - httpd update broke PAM authentication
Summary: httpd update broke PAM authentication
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_auth_pam
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Ignacio Vazquez-Abrams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-17 00:08 UTC by Norman Gaywood
Modified: 2013-02-13 14:53 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 736104
Environment:
Last Closed: 2013-02-13 14:53:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Norman Gaywood 2012-01-17 00:08:47 UTC
+++ This bug was initially created as a clone of Bug #736104 +++

After updating from httpd-2.2.17-10.fc15.1.i686 to httpd-2.2.19-2.fc15.i686 
mod_auth_pam got broken.

This is the configuration:


<Directory /var/www/html/restricted/vpn>
   AuthPAM_Enabled on
   AuthType Basic
   AuthName "VPN Users"
   require group vpnadmins
</Directory>


I get 500 Internal server error with the following line in the log:


[Tue Sep 06 10:29:47 2011] [error] [client 192.168.17.80] AuthUserFile not specified in the configuration

--- Additional comment from updates on 2011-09-13 10:00:50 EDT ---

httpd-2.2.21-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/httpd-2.2.21-1.fc15

--- Additional comment from updates on 2011-09-14 18:37:10 EDT ---

Package httpd-2.2.21-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing httpd-2.2.21-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/httpd-2.2.21-1.fc15
then log in and leave karma (feedback).

--- Additional comment from updates on 2011-09-15 21:57:53 EDT ---

httpd-2.2.21-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

--- Additional comment from norm.edu.au on 2012-01-16 00:37:06 EST ---

I have the same issue in F16.

I see in koji that for the last F15 update we have:

* Tue Sep 13 2011 Joe Orton <jorton> - 2.2.21-1
- update to 2.2.21
- restore authnoprov patch (#736104)

But for the last F16 update we have:

* Tue Sep 13 2011 Joe Orton <jorton> - 2.2.21-1
- update to 2.2.21

Did the "restore authnoprov patch" not get applied to F16?

Comment 1 Norman Gaywood 2012-01-17 00:16:02 UTC
Hoping that the patch to allow mod_auth_pam can make it into F16.

I see that mod_auth_pam is "not supported and/or developed any longer" from http://pam.sourceforge.net/mod_auth_pam/index.html

However F16 still has mod_auth_pam as an installable option, so it probably should work.

For F17, perhaps it could be replaced by

http://code.google.com/p/mod-auth-external/

Comment 2 edwinh 2012-01-18 17:48:24 UTC
Same problem here

Comment 3 Joe Orton 2012-01-19 09:30:07 UTC
No, I've restored Fedora httpd to the upstream httpd behaviour; mod_auth_pam needs to be fixed to work with 2.2.

Comment 4 edwinh 2012-01-19 16:25:19 UTC
Based on some searching it will work if FallThrough is set to off?

(http://blog.thirsch.de/2007/02/21/how-to-get-mod_auth_pam-running-on-apache-22x/)

AuthPAM_FallThrough Off
AuthBasicAuthoritative Off

Seems to be working with the F16 httpd/mod_auth_pam, I need to test more to make sure its not allowing in things incorrectly.

Comment 5 Joe Orton 2012-01-19 17:17:46 UTC
Ah yes, I forgot there was a config workaround for it.  Adding "AuthBasicAuthoritative Off" should restore the httpd behaviour to that of 2.0.

Comment 6 John Florian 2012-02-02 01:38:44 UTC
(In reply to comment #4)
> Based on some searching it will work if FallThrough is set to off?
> 
> (http://blog.thirsch.de/2007/02/21/how-to-get-mod_auth_pam-running-on-apache-22x/)
> 
> AuthPAM_FallThrough Off
> AuthBasicAuthoritative Off
> 
> Seems to be working with the F16 httpd/mod_auth_pam, I need to test more to
> make sure its not allowing in things incorrectly.

I'm trying to get mod_auth_pam going with F16 and cannot.  I tried the above while searching for answers and eventually found this bug report.  Can anyone here state that the above workaround does work for them with httpd-2.2.21-1.fc16?  I don't know if I'm being bit by a bug or just stumped by what appears to be a simple problem.  I got close by disabling SELinux, but only then got this working just barely with lots of spurious auth requests as my pages were being rendered.  I'd rather not disable SELinux so any advice here would be most welcome.

Comment 7 Robert Hoekstra 2012-12-12 14:12:07 UTC
No update on this? Hitting the same issue

Comment 8 Robert Hoekstra 2012-12-12 14:14:09 UTC
(In reply to comment #7)
> No update on this? Hitting the same issue

Nevermind, got the workaround working, apologies for the spam

Comment 9 Fedora End Of Life 2013-01-16 13:56:39 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 10 Fedora End Of Life 2013-02-13 14:53:10 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.