Bug 197339

Summary: [patch] /etc/rc.d/kdc assumes kdc_program is heimdal
Product: Base System Reporter: David Shane Holden <dpejesh>
Component: binAssignee: freebsd-rc (Nobody) <rc>
Status: New ---    
Severity: Affects Some People CC: cy, delphij, ebay, hrs, john
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
kdc.patch none

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.