Bug 427789 - krb5 password changing uses incorrect sequence numbers for every server but the first
krb5 password changing uses incorrect sequence numbers for every server but t...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: krb5 (Show other bugs)
5.1
All Linux
urgent Severity low
: rc
: ---
Assigned To: Nalin Dahyabhai
Brian Brock
GSSApproved
: ZStream
Depends On:
Blocks: 436468
  Show dependency treegraph
 
Reported: 2008-01-07 11:11 EST by Nalin Dahyabhai
Modified: 2008-05-21 11:28 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2008-0381
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-21 11:28:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
candidate patch which fixes this for me (1.64 KB, patch)
2008-01-07 11:11 EST, Nalin Dahyabhai
no flags Details | Diff

  None (edit)
Description Nalin Dahyabhai 2008-01-07 11:11:59 EST
Description of problem:
When the libkrb5 password-change routines generate a set-password or
change-password request, they do so in a way that the sequence number included
in password-change requests destined for any server after the first are incorrect.

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

How reproducible:
Always

Steps to Reproduce:
1. Set multiple 'kpasswd_server' values for your realm in krb5.conf, with one
   which is known-good listed second (or third, or in any position except the
   first).
2. Run 'kpasswd' to attempt to change your password.
  
Actual results:
You'll get a decryption error from the server.

Expected results:
Not the error.

Additional information:
After we solve the client-doesn't-try-to-change-passwords-over-TCP problem, we
hit this when the client attempts to connect to the password-change service over
TCP.  My Windows Server 2003 box seems to ignore this, but it crops up with an
MIT server (heck, our own corporate server) and the FreeIPA kpasswd server.
Comment 1 Nalin Dahyabhai 2008-01-07 11:11:59 EST
Created attachment 290971 [details]
candidate patch which fixes this for me
Comment 10 errata-xmlrpc 2008-05-21 11:28:32 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0381.html

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