Bug 766913 - [RFE] Add option to select validate and FAST keytab principal name
Summary: [RFE] Add option to select validate and FAST keytab principal name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Stephen Gallagher
QA Contact: IDM QE LIST
URL:
Whiteboard:
: 785876 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-12 19:28 UTC by Jenny Severance
Modified: 2020-05-04 10:30 UTC (History)
6 users (show)

Fixed In Version: sssd-1.8.0-2.el6.beta2
Doc Type: Enhancement
Doc Text:
No documentation required
Clone Of:
Environment:
Last Closed: 2012-06-20 11:49:38 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 1742 0 None None None 2020-05-04 10:30:15 UTC
Red Hat Product Errata RHBA-2012:0747 0 normal SHIPPED_LIVE sssd bug fix and enhancement update 2012-06-19 19:31:43 UTC

Description Jenny Severance 2011-12-12 19:28:43 UTC
Description of problem:

We should default to using a keytab entry with the domain's Kerberos realm, but it should be possible to configure it to use a specific principal (possibly of another, trusted realm) for validation and setup of a FAST tunnel. 

Assuming these are the options that were added ...

       krb5_use_fast (string)
           Enables flexible authentication secure tunneling (FAST) for Kerberos pre-authentication. The following options are supported:

           never use FAST, this is equivalent to not set this option at all.

           try to use FAST, if the server does not support fast continue without.

           demand to use FAST, fail if the server does not require fast.

           Default: not set, i.e. FAST is not used.

           Please note that a keytab is required to use fast.

           Please note also that sssd supports fast only with MIT Kerberos version 1.8 and above. If sssd used with an older version using this option is a configuration
           error.

       krb5_fast_principal (string)
           Specifies the server principal to use for FAST.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Upstream ticket :: https://fedorahosted.org/sssd/ticket/700

Comment 1 Jenny Severance 2012-01-30 20:32:33 UTC
*** Bug 785876 has been marked as a duplicate of this bug. ***

Comment 4 Kaushik Banerjee 2012-05-08 11:48:25 UTC
Verified in version 1.8.0-25

Tested following scenarios:
1. krb5_fast_principal = <valid principal> & krb5_realm = EXAMPLE.COM
Result: krb5 auth succeeds and krb5_child.log shows "Principal matched to the sample  (<valid principal>@EXAMPLE.COM)"

2. krb5_fast_principal = <invalid principal> & krb5_realm = EXAMPLE.COM
Result: krb5 auth fails and krb5_child.log shows "No principal matching (<invalid principal>@EXAMPLE.COM)"

3. krb5_fast_principal = principal & krb5_realm = EXAMPLE.COM
Result: krb5_child.log shows "Trying to find principal principal in keytab"

Comment 5 Stephen Gallagher 2012-06-12 13:17:03 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation required

Comment 7 errata-xmlrpc 2012-06-20 11:49:38 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.

http://rhn.redhat.com/errata/RHBA-2012-0747.html


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