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 1859315 - sssd does not use kerberos port that is set.
Summary: sssd does not use kerberos port that is set.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.2
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Iker Pedrosa
QA Contact: Jakub Vavra
URL:
Whiteboard: sync-to-jira
: 1807093 1807094 (view as bug list)
Depends On: 2039892
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-21 17:28 UTC by Eugene Keck
Modified: 2022-05-10 16:46 UTC (History)
12 users (show)

Fixed In Version: sssd-2.6.2-3.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 15:26:38 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2022:2070 0 None None None 2022-05-10 15:27:09 UTC

Description Eugene Keck 2020-07-21 17:28:08 UTC
Description of problem:
When setting a nonstandard kerberos port. sssd will use standard port

Version-Release number of selected component (if applicable):
sssd-2.2.3-20.el8

How reproducible:
Always

Steps to Reproduce:
1. krb5_server = kerberos.example.local:21088

Actual results:
Initiating TCP connection to stream 192.168.1.143:88

Expected results:
Initiating TCP connection to stream 192.168.1.143:21088

Additional info:

Using:

[sssd]
    services = nss, pam
    domains = EXAMPLE.LOCAL

[domain/EXAMPLE.LOCAL]
    id_provider = files
    auth_provider = krb5
    krb5_realm = EXAMPLE.LOCAL
    krb5_server = kerberos.example.local:21088
    krb5_validate = false
    debug_level = 9

sssd does see the new port

[sssd[be[EXAMPLE.LOCAL]]] [dp_get_options] (0x0400): Option krb5_server has value kerberos.example.local:21088
[sssd[be[EXAMPLE.LOCAL]]] [_krb5_servers_init] (0x0400): Added Server kerberos.example.local:21088

But when it sends to krb5_child it uses the standard port

[[sssd[krb5_child[53300]]]] [sss_child_krb5_trace_cb] (0x4000): [53300] 1595351372.25290: Sending initial UDP request to dgram 192.168.1.143:88
[[sssd[krb5_child[53300]]]] [sss_child_krb5_trace_cb] (0x4000): [53300] 1595351373.48234: Initiating TCP connection to stream 192.168.1.143:88
[[sssd[krb5_child[53300]]]] [sss_child_krb5_trace_cb] (0x4000): [53300] 1595351375.96372: Terminating TCP connection to stream 192.168.1.143:88
[[sssd[krb5_child[53300]]]] [sss_child_krb5_trace_cb] (0x4000): [53300] 1595351376.50495: Sending retry UDP request to dgram 192.168.1.143:88

Comment 2 Alexey Tikhonov 2021-08-26 16:19:22 UTC
*** Bug 1807094 has been marked as a duplicate of this bug. ***

Comment 3 Alexey Tikhonov 2021-08-26 16:19:42 UTC
*** Bug 1807093 has been marked as a duplicate of this bug. ***

Comment 4 Iker Pedrosa 2021-12-15 10:47:51 UTC
Upstream ticket:
https://github.com/SSSD/sssd/issues/5919

Comment 5 Iker Pedrosa 2021-12-15 11:29:38 UTC
Upstream PR:
https://github.com/SSSD/sssd/pull/5920

Comment 6 Alexey Tikhonov 2021-12-17 20:01:52 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5920

* `master`
    * 1e747fad4539ffb402010e73f78469fe57af408f - krb5: write kdcinfo.* file with port configuration

Comment 9 Alexey Tikhonov 2022-01-12 11:16:47 UTC
See also https://github.com/SSSD/sssd/issues/5947

Comment 10 Alexey Tikhonov 2022-01-17 17:05:15 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5949

* `master`
    * ca8cef0fc2f6066811105f4c201070cda38c4064 - krb5: AD and IPA don't change Kerberos port

Comment 20 errata-xmlrpc 2022-05-10 15:26: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 (sssd 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/RHBA-2022:2070


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