Bug 1193578 - IdM Client does not set udp_preference_limit on upgrade - may affect clients with 2FA authentication
Summary: IdM Client does not set udp_preference_limit on upgrade - may affect clients ...
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: Namita Soman
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-17 15:51 UTC by Martin Kosek
Modified: 2015-02-23 15:21 UTC (History)
3 users (show)

(edit)
Kerberos libraries on Identity Management clients communicate by default over the User Datagram Protocol (UDP). Using a one-time password (OTP) can cause additional delay, which can result in breaching Kerberos timeouts. As a consequence, the kinit command an other Kerberos operations can report communication errors, and the user can get locked out. 

To work around this problem, make communication using the slightly slower Transmission Control Protocol (TCP) default by setting the "udp_preference_limit" option to 0 in the /etc/krb5.conf file.
Clone Of:
(edit)
Last Closed: 2015-02-17 15:53:09 UTC


Attachments (Terms of Use)

Description Martin Kosek 2015-02-17 15:51:05 UTC
This bug is filed to log a Known Issue for feature tracked in Bug 919228 and in upstream ticket https://fedorahosted.org/freeipa/ticket/4725.

Changes done in Bug and Ticket involved setting "udp_preference_limit" setting in /etc/krb5.conf for new IdM Client or IdM Server installations. This setting forces Kerberos to operate on TCP protocol instead of UDP protocol which does is more resilient to longer processing time on the server if OTP is used (especially if OTP authentication is redirected to external OTP server via Radius protocol).

New RHEL-7.1 IdM clients are fixed and have the value as default. However, it was decided not do update krb5.conf on RHEL-7.0 to 7.1 upgrades. Users who want to use OTP and are just upgrading existing IdM RHEL-7.0 clients are encouraged to update this configuration manually:

/etc/krb5.conf:
...
[libdefaults]
...
 udp_preference_limit = 0
...


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