5670e1eed5
Copy from network/krb5 based on submit request 28402 from user coolo OBS-URL: https://build.opensuse.org/request/show/28402 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/krb5?expand=0&rev=45
28 lines
969 B
Plaintext
28 lines
969 B
Plaintext
Index: krb5-1.7/src/kdc/do_tgs_req.c
|
|
===================================================================
|
|
--- krb5-1.7.orig/src/kdc/do_tgs_req.c
|
|
+++ krb5-1.7/src/kdc/do_tgs_req.c
|
|
@@ -1158,7 +1158,7 @@ prep_reprocess_req(krb5_kdc_req *request
|
|
free(temp_buf);
|
|
if (retval) {
|
|
/* no match found */
|
|
- kdc_err(kdc_context, retval, 0);
|
|
+ kdc_err(kdc_context, retval, "unable to find realm of host");
|
|
goto cleanup;
|
|
}
|
|
if (realms == 0) {
|
|
Index: krb5-1.7/src/lib/kadm5/logger.c
|
|
===================================================================
|
|
--- krb5-1.7.orig/src/lib/kadm5/logger.c
|
|
+++ krb5-1.7/src/lib/kadm5/logger.c
|
|
@@ -188,6 +188,9 @@ klog_com_err_proc(const char *whoami, lo
|
|
char *cp;
|
|
char *syslogp;
|
|
|
|
+ if (whoami == NULL || format == NULL)
|
|
+ return;
|
|
+
|
|
/* Make the header */
|
|
snprintf(outbuf, sizeof(outbuf), "%s: ", whoami);
|
|
/*
|