Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 290971 Details for
Bug 427789
krb5 password changing uses incorrect sequence numbers for every server but the first
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
candidate patch which fixes this for me
krb5-trunk-seqnum.patch (text/plain), 1.64 KB, created by
Nalin Dahyabhai
on 2008-01-07 16:11:59 UTC
(
hide
)
Description:
candidate patch which fixes this for me
Filename:
MIME Type:
Creator:
Nalin Dahyabhai
Created:
2008-01-07 16:11:59 UTC
Size:
1.64 KB
patch
obsolete
>Every KRB-PRIV message we generate to include as part of a password change >request we create (after the first one) will include sequence numbers which >look "wrong" to the recipient, because previously generating other KRB-PRIV >messages will mess with the counters in the auth_context. Because the >current code attempts to reuse auth_context structures (and changing that >would be more invasive), we'll just save the sequence number values as they >are after we build the AP-REQ, and restore them before generating requests. > >Index: src/lib/krb5/os/changepw.c >=================================================================== >--- src/lib/krb5/os/changepw.c (revision 20195) >+++ src/lib/krb5/os/changepw.c (working copy) >@@ -34,6 +34,7 @@ > #include "k5-int.h" > #include "os-proto.h" > #include "cm.h" >+#include "../krb/auth_con.h" > > #include <stdio.h> > #include <errno.h> >@@ -48,6 +49,7 @@ > krb5_principal set_password_for; > char *newpw; > krb5_data ap_req; >+ krb5_ui_4 remote_seq_num, local_seq_num; > }; > > >@@ -159,6 +161,9 @@ > &local_kaddr, NULL))) > goto cleanup; > >+ ctx->auth_context->remote_seq_number = ctx->remote_seq_num; >+ ctx->auth_context->local_seq_number = ctx->local_seq_num; >+ > if (ctx->set_password_for) > code = krb5int_mk_setpw_req(ctx->context, > ctx->auth_context, >@@ -225,6 +230,9 @@ > &callback_ctx.ap_req))) > goto cleanup; > >+ callback_ctx.remote_seq_num = callback_ctx.auth_context->remote_seq_number; >+ callback_ctx.local_seq_num = callback_ctx.auth_context->local_seq_number; >+ > do { > if ((code = krb5_locate_kpasswd(callback_ctx.context, > krb5_princ_realm(callback_ctx.context,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 427789
: 290971