Page MenuHomeFreeBSD

rc.d: Add MIT KRB5 krb5kdc support
ClosedPublic

Authored by cy on Jun 12 2025, 3:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 16, 6:54 AM
Unknown Object (File)
Tue, Jun 16, 2:52 AM
Unknown Object (File)
Mon, Jun 15, 7:06 AM
Unknown Object (File)
Sat, Jun 13, 12:03 AM
Unknown Object (File)
Mon, Jun 8, 9:45 AM
Unknown Object (File)
Sun, May 31, 12:09 AM
Unknown Object (File)
Sun, May 24, 9:23 PM
Unknown Object (File)
May 17 2026, 12:32 AM
Subscribers
None

Details

Summary

MIT KRB5 krb5kdc differs from the Heimdal kdc.

  • The MIT kdc is named krb5kdc while the Heimdal one is named kdc.
  • krb5kdc -d flag has a different meaning. krb5kdc -d specifies a database name. While the Heimdal kdc uses the -d flag to daemonize it. krb5kdc automaticially daemonizes itself unless the -n flag is specified.

We do this by looking at the name of the kdc program to determine if
we assume it's a Heimdal kdc or the MIT krb5kdc.

Sponsored by: The FreeBSD Foundation

Test Plan

Running here for 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, 3:04 PM
cy created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Jun 16 2025, 2:53 AM
This revision was automatically updated to reflect the committed changes.