]> 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, 29 Jan 2024 00:26:13 +0000 (16:26 -0800)
commit02f097e7f34199813201b940ad2b608b6f36bd83
tree7969d4a8d2fe41177e1eb0bfbda2cb4ec768a1ed
parent0d7fef9124c125f25e3c03740cc5d0a1f16391b7
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
Differential Revision: https://reviews.freebsd.org/D43523

(cherry picked from commit 91f78c32befa08bf4010db7afd4407277a3e585f)
libexec/rc/rc.d/kdc