--- src/providers/krb5/krb5_delayed_online_authentication.c.orig 2020-03-17 13:31:28 UTC +++ src/providers/krb5/krb5_delayed_online_authentication.c @@ -328,6 +328,7 @@ errno_t init_delayed_online_authentication(struct krb5 struct tevent_context *ev) { int ret; +#ifdef __linux__ hash_table_t *tmp_table; ret = get_uid_table(krb5_ctx, &tmp_table); @@ -347,6 +348,7 @@ errno_t init_delayed_online_authentication(struct krb5 "hash_destroy failed [%s].\n", hash_error_string(ret)); return EFAULT; } +#endif /* __linux__ */ krb5_ctx->deferred_auth_ctx = talloc_zero(krb5_ctx, struct deferred_auth_ctx);