[16834] 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)
Wed May 25 16:57:58 2022

From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-1698424-1653512240-1469.9056-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9056":;
Date: Wed, 25 May 2022 16:57:20 -0400
MIME-Version: 1.0
Reply-To: rt@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


<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.

(cherry picked from commit cd61bdcd6339b10e6cf3feb9f6cb369213e8d7fc)

https://github.com/krb5/krb5/commit/0794ad7614fba5827388c8ea6efff574c9a4ada1
Author: Greg Hudson <ghudson@mit.edu>
Commit: 0794ad7614fba5827388c8ea6efff574c9a4ada1
Branch: krb5-1.20
 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