]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rc.d/kdc: Support start of MIT krb5kdc
authorCy Schubert <cy@FreeBSD.org>
Sat, 20 Jan 2024 13:52:35 +0000 (05:52 -0800)
committerCy Schubert <cy@FreeBSD.org>
Mon, 22 Jan 2024 00:06:26 +0000 (16:06 -0800)
commit91f78c32befa08bf4010db7afd4407277a3e585f
tree8d1da6fb420cbfa9e44747ee9cc885b8d7c57460
parentbf531bcc5f70e180807b6c58733b9e3b08a0eefa
rc.d/kdc: Support start of MIT krb5kdc

Some users wishing to use the MIT krb5kdc have discovered the
kdc script workaround applied to the MIT krb5 ports is insufficient.
Let's build into this rc script the smarts to determine whether
base or ports Hiemdal kdc is being invoked or the MIT krb5kdc.

While at it, remove kdc_start_precmd(). This will simplify a future
jail patch.

Suggested by: netchild
Original patch: netchild
Reviewed by: emaste, netchild
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43523
libexec/rc/rc.d/kdc