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)
Fri, Mar 20, 12:52 AM
Unknown Object (File)
Thu, Mar 19, 8:46 AM
Unknown Object (File)
Tue, Mar 17, 8:23 AM
Unknown Object (File)
Tue, Mar 17, 8:23 AM
Unknown Object (File)
Tue, Mar 17, 8:23 AM
Unknown Object (File)
Feb 8 2026, 2:25 PM
Unknown Object (File)
Feb 8 2026, 4:45 AM
Unknown Object (File)
Feb 8 2026, 2:09 AM
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.