Bug 243686 - mod_auth_kerb on fc6 doesn't work - Unspecified GSS failure - (Cannot allocate memory)
mod_auth_kerb on fc6 doesn't work - Unspecified GSS failure - (Cannot allocat...
Product: Fedora
Classification: Fedora
Component: krb5 (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-06-11 08:56 EDT by Matthew Hannigan
Modified: 2008-05-06 15:40 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-06 15:40:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthew Hannigan 2007-06-11 08:56:11 EDT
I cannot get mod_auth_kerb on fc6 to work.

I can get fedora5, fedora7, rhel4u3 but /not/ fedora6 to work,
using the same realm, same /etc/krb5.conf,
at two different sites. 
At one site, the fedora6 is unpatched, at the other
it is fully patched.

The error in error_log is:

gss_accept_sec_context() failed: Unspecified GSS failure.  Minor code
may provide more information (Cannot allocate memory) 

I found another at least one other report similar
to mine, for someone trying apache 2.0.59 on fedora6:
(which is:

Using firebug on firefox, wireshark, kerbtray,
shows everything working as expected, but somehow
fedora6 doesn't like the final http request with the
kerberos negotiate header.

I've triply checked the configurations and duplicated
this now at two sites.

I'd be interested in any 'works-for-me' at the
very least!
Comment 1 Matthew Hannigan 2007-06-11 09:06:47 EDT
Another report, back in Nov 2006:

This was also for 2.0.59 on fedora6 as per other report.

I am however using all and only fedora6 rpms, installed via yum.
Comment 2 Matthew Hannigan 2007-06-11 19:18:55 EDT
updated title to be more descriptive
(however needless to say, the problem is not a lack of memory!)
Comment 3 Matthew Hannigan 2007-06-12 00:07:09 EDT
server in both cases for me was windows 2003 sp1
Comment 4 Mindaugas Riauba 2007-07-26 05:40:42 EDT
The same problem here in fully updated RHEL5.

Also I found description of the problem and the solution in:
Comment 5 Joe Orton 2007-07-26 05:44:58 EDT
This supposedly a bug in the krb5 library, according to the diagnosis on the
modauthkerb list.  I don't have a repro case for this though.

Mindaugas - how do you reproduce the problem?  Is the key the use of the Win2K3 KDC?
Comment 6 Joe Orton 2007-07-26 06:06:37 EDT
Ah, this is known and is tracked as bug 238847 for RHEL5.
Comment 7 Mindaugas Riauba 2007-07-26 06:27:43 EDT
  I can test some binary .rpm (64bit) if the problem is fixed. Maybe there 
exists some testing RPMs? In Fastrack?

  And yes - server is Win2003 server with SP1 installed.

Principal was initialized with command:
kinit -k -t /etc/httpd/conf/ssmonkeytab HTTP/ssmon.bite.lt

# cat krb5.conf 
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

 default_realm = BITE.LT
 dns_lookup_realm = false
 dns_lookup_kdc = false
 ticket_lifetime = 24h
 forwardable = yes

 BITE.LT = {
  kdc =
  admin_server =
  default_domain = bite.lt

 .bite.lt = BITE.LT

 profile = /var/kerberos/krb5kdc/kdc.conf

 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false

# cat kerb.conf
<Directory /var/www/fruity>
    AuthType Kerberos
    AuthName "Kerberos Login"
    KrbAuthRealms BITE.LT
    KrbServiceName HTTP
    Krb5Keytab /etc/httpd/conf/ssmonkeytab
    KrbMethodNegotiate on
    KrbMethodK5Passwd off
    require valid-user
Comment 8 Nalin Dahyabhai 2008-03-18 11:54:04 EDT
Sorry, FC6 went end-of-life before I got a fix out for it.  F7 and later include
1.6 or later, which fixed this.  Going to close this with resolution
Comment 9 Bug Zapper 2008-04-04 03:23:53 EDT
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.

If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.

If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
the change.

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we are following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
Comment 10 Bug Zapper 2008-05-06 15:40:49 EDT
This bug is open for a Fedora version that is no longer maintained and
will not be fixed by Fedora. Therefore we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen thus 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.