s4:dsdb: Allocate NT hash on to more appropriate memory context
authorJo Sutton <josutton@catalyst.net.nz>
Mon, 12 Feb 2024 03:25:10 +0000 (16:25 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 16 Feb 2024 02:41:36 +0000 (02:41 +0000)
commit72142253003c430cb10212961fc8fd88a88e7ee6
tree1b65cbe7ab071b94afdad2da1b2c8e9c14f4f7d9
parente1e28d42988d135376e25b97df78c79fe3f1d154
s4:dsdb: Allocate NT hash on to more appropriate memory context

The NT hash should live at least as long as the message to which it is
added.

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util.c