kadmind: Add -A option for async HDB writes

This commit is contained in:
Nicolas Williams
2025-12-08 18:17:14 -06:00
parent 16b4b386f2
commit 5a7ace809e
3 changed files with 10 additions and 0 deletions
+4
View File
@@ -37,6 +37,8 @@
#include <gssapi_krb5.h>
#include <gssapi_spnego.h>
extern int async_flag;
#define CHECK(x) \
do { \
int __r; \
@@ -1029,6 +1031,8 @@ process_stream(krb5_context contextp,
0, 0,
&server_handle);
INSIST(ret == 0);
if (async_flag)
realm_params.mask |= KADM5_CONFIG_ASYNC_HDB_WRITES;
}
INSIST(gctx.ctx != GSS_C_NO_CONTEXT);