RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1208640 - Add service/HTTP section to default gssproxy.conf
Summary: Add service/HTTP section to default gssproxy.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gssproxy
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Robbie Harwood
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-02 18:19 UTC by Jan Pazdziora (Red Hat)
Modified: 2015-11-19 09:30 UTC (History)
4 users (show)

Fixed In Version: gssproxy-0.4.1-5.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 09:30:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2298 0 normal SHIPPED_LIVE gssproxy bug fix and enhancement update 2015-11-19 09:43:20 UTC

Description Jan Pazdziora (Red Hat) 2015-04-02 18:19:50 UTC
Description of problem:

When setting up GSS-Proxy to be used with Apache HTTP Server

   https://fedorahosted.org/gss-proxy/wiki/Apache

it is necessary to edit /etc/gssproxy/gssproxy.conf and prepend

[service/HTTP]
  mechs = krb5
  cred_store = keytab:/etc/gssproxy/http.keytab
  cred_store = ccache:/var/lib/gssproxy/clients/krb5cc_%U
  euid = 48

or similar block. This section has to be before any section which might have allow_any_uid = yes, namely service/nfs-client. People sometimes get that wrong.

It might be easier for users (admins) if that section was already there.

Its presence when no httpd is configured or running shouldn't harm.

Version-Release number of selected component (if applicable):

gssproxy-0.3.0-10.el7.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. Attempt to configure GSS-Proxy for use with Apache HTTP Server.
2. Check if you have to configure the service/HTTP section.

Actual results:

You have to do it, it's not in gssproxy.conf by default.

Expected results:

You don't have to do it, it's already there.

Additional info:

Comment 2 Dmitri Pal 2015-04-15 16:48:09 UTC
Upstream ticket:
https://fedorahosted.org/gss-proxy/ticket/143

Comment 3 Robbie Harwood 2015-08-19 18:48:29 UTC
Since this patch is distro-specific, we will carry it downstream.  Upstream, a cross-distro solution will be tracked at https://fedorahosted.org/gss-proxy/ticket/143 and eventually we will discard this.

Comment 5 Kaleem 2015-08-25 06:00:10 UTC
Verified.

[root@dhcp207-24 ~]# rpm -q gssproxy
gssproxy-0.4.1-6.el7.x86_64
[root@dhcp207-24 ~]#

snip from console output:
-------------------------

[root@dhcp207-24 tmp]# yum update gssproxy-0.4.1-6.el7.x86_64.rpm 
Loaded plugins: product-id, search-disabled-repos, subscription-manager
...
....
Updated:
  gssproxy.x86_64 0:0.4.1-6.el7                                                                                                                       

Complete!
[root@dhcp207-24 ~]# cat /etc/gssproxy/gssproxy.conf 
[gssproxy]

[service/HTTP]
  mechs = krb5
  cred_store = keytab:/etc/gssproxy/http.keytab
  cred_store = ccache:/var/lib/gssproxy/clients/krb5cc_%U
  euid = 48

[service/nfs-server]
  mechs = krb5
  socket = /run/gssproxy.sock
  cred_store = keytab:/etc/krb5.keytab
  trusted = yes
  kernel_nfsd = yes
  euid = 0

[service/nfs-client]
  mechs = krb5
  cred_store = keytab:/etc/krb5.keytab
  cred_store = ccache:FILE:/var/lib/gssproxy/clients/krb5cc_%U
  cred_store = client_keytab:/var/lib/gssproxy/clients/%U.keytab
  cred_usage = initiate
  allow_any_uid = yes
  trusted = yes
  euid = 0
[root@dhcp207-24 ~]#

Comment 7 errata-xmlrpc 2015-11-19 09:30:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2298.html


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