1
0
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:
Kai Blin 2012-09-05 01:26:16 +02:00
parent 140a8d86ac
commit b5dd26cc69

View File

@ -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;
}