mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s4:dns_server: make use of gensec_update_ev()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
b2b239a854
commit
31a2ddb361
@ -1311,7 +1311,7 @@ _PUBLIC_ isc_boolean_t dlz_ssumatch(const char *signer, const char *name, const
|
||||
return ISC_FALSE;
|
||||
}
|
||||
|
||||
nt_status = gensec_update(gensec_ctx, tmp_ctx, state->ev_ctx, ap_req, &ap_req);
|
||||
nt_status = gensec_update_ev(gensec_ctx, tmp_ctx, state->ev_ctx, ap_req, &ap_req);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
state->log(ISC_LOG_ERROR, "samba_dlz: spnego update failed");
|
||||
talloc_free(tmp_ctx);
|
||||
|
@ -414,8 +414,8 @@ static NTSTATUS accept_gss_ticket(TALLOC_CTX *mem_ctx,
|
||||
{
|
||||
NTSTATUS status;
|
||||
|
||||
status = gensec_update(tkey->gensec, mem_ctx, dns->task->event_ctx,
|
||||
*key, reply);
|
||||
status = gensec_update_ev(tkey->gensec, mem_ctx, dns->task->event_ctx,
|
||||
*key, reply);
|
||||
|
||||
if (NT_STATUS_EQUAL(NT_STATUS_MORE_PROCESSING_REQUIRED, status)) {
|
||||
*dns_auth_error = DNS_RCODE_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user