FreeBSD Bugzilla – Attachment 250065 Details for
Bug 278395
security/krb5: KDC has some issues if its LDAP servers are down
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
This should work.
kdc-version (text/plain), 948 bytes, created by
Cy Schubert
on 2024-04-18 18:51:37 UTC
(
hide
)
Description:
This should work.
Filename:
MIME Type:
Creator:
Cy Schubert
Created:
2024-04-18 18:51:37 UTC
Size:
948 bytes
patch
obsolete
>diff --git a/libexec/rc/rc.d/kdc b/libexec/rc/rc.d/kdc >index c3059f261e09..4d34f9c8a77e 100755 >--- a/libexec/rc/rc.d/kdc >+++ b/libexec/rc/rc.d/kdc >@@ -12,6 +12,7 @@ > name=kdc > desc="Kerberos 5 server" > rcvar=${name}_enable >+: ${kdc_restart:="NO"} > > set_rcvar_obsolete kerberos5_server_enable kdc_enable > set_rcvar_obsolete kerberos5_server kdc_program >@@ -21,6 +22,24 @@ set_rcvar_obsolete kerberos5_server_flags kdc_flags > load_rc_config $name > if [ "${kdc_program}" = /usr/libexec/kdc -o \ > "${kdc_program}" = /usr/local/libexec/kdc ]; then >- command_args="$command_args --detach" >+ detach="--detach" >+ flavor=heimdal >+else >+ flavor=mit >+ unset detach > fi >+case ${kdc_restart} in >+[Yy][Ee][Ss]) >+ if [ "$flavor" = mit ]; then >+ detach=-n >+ else >+ unset detach >+ fi >+ command_args="-r ${kdc_program} ${detach} ${command_args}" >+ kdc_program=/usr/sbin/daemon >+ ;; >+*) >+ command_args="${detach} ${command_args}" >+esac >+ > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278395
:
250061
|
250062
|
250064
|
250065
|
250066
|
250145
|
250146
|
250147