replmd: Fix talloc inconsistency in replmd_set_la_val()
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 28 Sep 2017 03:19:29 +0000 (16:19 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 20 Oct 2017 02:05:21 +0000 (04:05 +0200)
commitf183dcfad56c7eb9b188dcfbf4d4b7a2598ef08c
tree53fccba16cfe599baf01e01e2c03084824fd85fd
parenta607a3e83e1f355b73057af235f385c6db98f5c4
replmd: Fix talloc inconsistency in replmd_set_la_val()

All the other talloc_asprintf()s in this function use the mem_ctx, but
for some reason the vstring was using the dsdb_dn->dn. This probably
isn't a big deal, but might have unintentional side-effects.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13055

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c