mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s4 dns: Make sure to remember incoming tkey name
This commit is contained in:
parent
140a8d86ac
commit
b5dd26cc69
@ -223,6 +223,10 @@ WERROR dns_verify_tsig(struct dns_server *dns,
|
||||
}
|
||||
|
||||
state->authenticated = true;
|
||||
state->key_name = talloc_strdup(mem_ctx, tkey->name);
|
||||
if (state->key_name == NULL) {
|
||||
return WERR_NOMEM;
|
||||
}
|
||||
|
||||
return WERR_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user