#9402 OTP authentication failure on s390x
Closed: fixed 2 years ago by rcritten. Opened 2 years ago by frenaud.

Issue

The customer is using IPA on s390x and tries to enable OTP for a user, but OTP authentication fails with kinit: Preauthentication failed while getting initial credentials

Steps to Reproduce

  1. install ipa server
  2. create a user, assign a password: kinit admin; ipa user-add otpuser --first otp --last user --password
  3. the user resets his password: kinit otpuser
  4. enable otp for the user and assign a token: kinit admin; ipa user-mod otpuser --user-auth-type otp; ipa otptoken-add --owner otpuser
  5. try to obtain a kerberos ticket using otp: kdestroy -A; kinit -n; kinit -T KCM:0 otpuser, enter password and the 6-digits OTP

kinit fails with the error message kinit: Preauthentication failed while getting initial credentials

The issue happens on s390x but not on x86_64.


Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=2216872

2 years ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6898

2 years ago

master:

  • 7060e3a OTP: fix data type to avoid endianness issue

ipa-4-10:

  • 631dd72 OTP: fix data type to avoid endianness issue

ipa-4-9:

  • a7e1671 OTP: fix data type to avoid endianness issue

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Metadata Update from @abbra:
- Custom field changelog adjusted to Correct endianness issue that affected 2FA tokens use case for IPA server running on a mainframe (S390x architecture).

2 years ago

Log in to comment on this ticket.

Metadata