Bug 748402 - RFE: Allow specifying principal name with sshd
Summary: RFE: Allow specifying principal name with sshd
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openssh
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Petr Lautrbach
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-24 11:09 UTC by Marko Myllynen
Modified: 2011-12-09 10:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-09 10:05:08 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Marko Myllynen 2011-10-24 11:09:32 UTC
Description of problem:
When joining an AD domain with "net ads join" a keytab /etc/krb5.keytab is being created and a valid Kerberos host principal in the file is HOSTNAME$@REALM (i.e., for host client-123.ad.example.com the principal would be CLIENT-123$@AD.EXAMPLE.COM). SSSD can be configured to use this principal with

ldap_sasl_mech = GSSAPI
ldap_sasl_authid = HOSTNAME$@REALM

Thus local logins using AD for id/auth work fine with SSSD but remote logins won't work since it is not possible to configure the host principal name with sshd.

It should be possible to configure the host principal name with sshd to make it possible to use the Samba provided Kerberos host principal from the host keytab.

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

Comment 2 Marko Myllynen 2011-10-26 14:09:43 UTC
Samba/net bug for invalid principals in the keytab is https://bugzilla.redhat.com/show_bug.cgi?id=749142.

Comment 3 RHEL Program Management 2011-10-30 05:47:21 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 Marko Myllynen 2011-11-01 12:26:53 UTC
It was discussed over IRC that this might not needed after all, it'd be better to fix the issue with Samba generating such a keytab described in bug 749142.

However, it should be noted that it was suggested in bug 748757 about this same issue with mount.cifs that it would make sense to try the AD style principal of HOSTNAME$@REALM if the host/fqdn@REALM principal does not work.

I'll leave it up to your judgement whether it would make sense to do anything with sshd.

Comment 6 RHEL Program Management 2011-12-09 10:05:08 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


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