Page MenuHomeFreeBSD

openssh: Support building with MIT KRB5
ClosedPublic

Authored by cy on Jun 10 2025, 7:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 2:25 PM
Unknown Object (File)
Sun, Feb 8, 4:45 AM
Unknown Object (File)
Sun, Feb 8, 2:09 AM
Unknown Object (File)
Sat, Feb 7, 10:36 PM
Unknown Object (File)
Fri, Jan 30, 4:10 PM
Unknown Object (File)
Sat, Jan 17, 9:58 PM
Unknown Object (File)
Wed, Jan 14, 12:43 PM
Unknown Object (File)
Dec 18 2025, 5:42 PM
Subscribers
None

Details

Summary

Remove HEIMDAL=1 from openssh/krb5_config.h and move the definition
to the Makefile in order to control whether we're building under
Heimdal or MIT.

Add MIT KRB5 LIBS and INCLUDES to the openssh build.

Sponsored by: The FreeBSD Foundation

Test Plan

Running here for about a month now.

Diff Detail

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

Event Timeline

cy requested review of this revision.Jun 10 2025, 7:54 PM
cy created this revision.
secure/ssh.mk
14

I believe we want to always compare with "no", so this should be ${MK_MITKRB5} == "no".

Applied markj@'s comment to compare MK_MITKRB5 against "no".

This revision is now accepted and ready to land.Jun 12 2025, 5:37 PM
This revision was automatically updated to reflect the committed changes.