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 1822133 - Fix GSS-SPNEGO in TLS with maxssf=0 to work against Windows servers
Summary: Fix GSS-SPNEGO in TLS with maxssf=0 to work against Windows servers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cyrus-sasl
Version: 8.3
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: 8.3
Assignee: Simo Sorce
QA Contact: Ivan Nikolchev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-08 10:47 UTC by Isaac Boukris
Modified: 2021-05-03 07:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Windows servers do not allow seal/sign when over TLS, so we need a way to indicate not to negotiate them. While setting maxssf=0 works for GSSAPI, it doesn't for GSS-SPENGO. Consequence: Authentication against Windows services over a TLS channel and using the GSs-SPNEGO SASL mechanism can fail. Fix: Add support in cyrus-sasl to correctly handle maxssf=0 which will allow GSS-SPNEGO authentication to complete without failing. Result: Authentication against Windows Servers with GSS-SPNEGO over a TLS channel now works correctly.
Clone Of:
Environment:
Last Closed: 2020-11-04 01:47:40 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to enable a max_ssf of 0 (3.71 KB, patch)
2020-04-08 17:09 UTC, Simo Sorce
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Github cyrusimap cyrus-sasl pull 603 0 None open Allow GSS-SPNEGO to negotiate a ssf of 0 2020-11-26 20:26:42 UTC
Red Hat Bugzilla 1589410 0 unspecified CLOSED In Fedora 28+ I can't authenticate using gssapi (kerberos ticket) to Windows AD when TLS 2021-04-26 00:26:34 UTC
Red Hat Product Errata RHSA-2020:4497 0 None None None 2020-11-04 01:47:50 UTC

Internal Links: 1589410

Description Isaac Boukris 2020-04-08 10:47:06 UTC
Description of problem:

Windows servers do not allow seal/sign when over TLS, so we need a way to indicate not to negotiate them. While setting maxssf=0 works for GSSAPI, it doesn't for GSS-SPENGO.


How reproducible:

ldapsearch -h adc.acme.com -b dc=acme,dc=com cn=isaac -Y "GSS-SPNEGO" -N -ZZ -O
maxssf=0


Additional info:

Simo had posted a wip patch on the team list (works for me).

Comment 1 Simo Sorce 2020-04-08 17:09:43 UTC
Created attachment 1677313 [details]
Patch to enable a max_ssf of 0

Comment 2 Simo Sorce 2020-04-16 15:58:23 UTC
PR posted upstream

Comment 9 errata-xmlrpc 2020-11-04 01:47:40 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 (Moderate: cyrus-sasl security, bug fix, and enhancement update), 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://access.redhat.com/errata/RHSA-2020:4497


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