Page MenuHomeFreeBSD

pam_ksu: Proactively address MIT KRB5 build failure
ClosedPublic

Authored by cy on Jun 12 2025, 2:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 26, 5:35 AM
Unknown Object (File)
Thu, Jul 17, 6:51 AM
Unknown Object (File)
Sun, Jul 13, 12:21 PM
Unknown Object (File)
Sun, Jul 13, 10:55 AM
Unknown Object (File)
Sat, Jul 12, 3:02 AM
Unknown Object (File)
Jun 29 2025, 4:16 PM
Unknown Object (File)
Jun 28 2025, 3:27 PM
Unknown Object (File)
Jun 28 2025, 10:54 AM
Subscribers
None

Details

Summary

MIT KRB5 does not provide a krb5_make_principal() function. We need to
provide this ourselves for now. We provide the function for now while
MIT and Heimdal are both in the tree. When Heimdal is removed we can
inline the calls to krb5_get_default_realm() and
krb5_build_principal_va(). krb5_build_principal_va() is
deprecated in MIT KRB5. Its replacement, krb5_build_principal_alloc_va()
will be used instead at that time.

Sponsored by: The FreeBSD Foundation

Test Plan

Running here for about a month.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cy requested review of this revision.Jun 12 2025, 2:48 PM
cy created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Jun 16 2025, 2:52 AM
This revision was automatically updated to reflect the committed changes.