[16828] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9056] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Apr 12 18:38:40 2022

From: "Greg Hudson via RT" <rt-comment@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-4155045-1649803074-1275.9056-4-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9056":;
Date: Tue, 12 Apr 2022 18:37:54 -0400
MIME-Version: 1.0
Reply-To: rt-comment@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


Tue Apr 12 18:37:53 2022: Request 9056 was acted upon.
 Transaction: Ticket created by ghudson@mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson@mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9056 >



Fix iprop with fallback

kpropd produces a client principal name with
krb5_sname_to_principal(), then converts it to a string to pass as the
client principal to kadm5_init_with_skey().  This conversion loses the
name type, so no canonicalization is performed by libkadm5.

Commit dcb79089276624d7ddf44e08d35bd6d7d7e557d2 addresses this problem
for kadmin -k by looking for the referral realm, but kpropd sets the
realm in the krb5_sname_to_principal() result.  Add an additional
check for a two-component principal with kiprop as the first
component.

https://github.com/krb5/krb5/commit/cd61bdcd6339b10e6cf3feb9f6cb369213e8d7fc
Author: Greg Hudson <ghudson@mit.edu>
Commit: cd61bdcd6339b10e6cf3feb9f6cb369213e8d7fc
Branch: master
 src/lib/kadm5/clnt/client_init.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post