This commit is contained in:
2025-03-29 17:30:49 +01:00
parent 161e2b8ed7
commit cea03aebfb

View File

@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*/
#include <stdio.h>
#include "kadmin_locl.h"
#include <krb5-private.h>
#ifdef HAVE_SYSTEMD
@@ -1074,6 +1075,8 @@ handle_v5(krb5_context contextp,
unsigned kadm_version = 1;
kadm5_config_params realm_params;
printf("handle_v5\n");
ret = krb5_recvauth_match_version(contextp, &ac, &fd,
match_appl_version, &kadm_version,
NULL, KRB5_RECVAUTH_IGNORE_VERSION,
@@ -1156,6 +1159,8 @@ kadmind_loop(krb5_context contextp,
ssize_t n;
unsigned long len;
printf("kadmind_loop\n");
n = krb5_net_read(contextp, &sock, buf, 4);
if(n == 0)
exit(0);
@@ -1179,6 +1184,7 @@ kadmind_loop(krb5_context contextp,
} else
len = 4;
printf("handle_mit\n");
handle_mit(contextp, buf, len, sock, readonly);
return 0;