Bug 197339 - [patch] /etc/rc.d/kdc assumes kdc_program is heimdal
Summary: [patch] /etc/rc.d/kdc assumes kdc_program is heimdal
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-rc (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-02-05 01:19 UTC by David Shane Holden
Modified: 2019-10-24 18:32 UTC (History)
5 users (show)

See Also:


Attachments
kdc.patch (1.04 KB, patch)
2015-02-05 01:19 UTC, David Shane Holden
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Shane Holden 2015-02-05 01:19:27 UTC
Created attachment 152568 [details]
kdc.patch

r270782 changed the kerberos related rc scripts and /etc/rc.d/kdc now always passes '--detach' to the daemon which breaks security/krb5.  Previously you could set

kerberos5_server="/usr/local/sbin/krb5kdc"
kerberos5_flags=" "

which would handle the management of the krb5kdc process, but the changes in r270782 will always pass '--detach' to krb5kdc which is an invalid argument.

The attached patch restores the previous behavior so you can control the flags passed to the kdc server.