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)
Fri, Apr 3, 12:55 AM
Unknown Object (File)
Sat, Mar 28, 12:07 AM
Unknown Object (File)
Tue, Mar 24, 11:03 PM
Unknown Object (File)
Wed, Mar 18, 12:09 AM
Unknown Object (File)
Tue, Mar 17, 1:02 PM
Unknown Object (File)
Wed, Mar 11, 12:23 AM
Unknown Object (File)
Tue, Mar 10, 11:41 AM
Unknown Object (File)
Tue, Mar 10, 3:52 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.